mercredi 6 mai 2015

Warnings in generating wsdl and soap stub codes using ws-security plugin and gsoap

I have a header file say myService.h in which I have included #import wsse.h in top of the file. Now,

soapcpp2 -S -x -e -Igsoap-2.8/gsoap/import -c myService.h

After firing the above command, I am getting 50 warnings:

**WARNING**: SOAP RPC encoding does not support XML attributes (detected at line 76 in wsu.h)

**WARNING**: SOAP RPC encoding does not support XML attributes (detected at line 118 in wsse.h)

and so on.....

I have tried adding two following lines in myService.h:

//gsoap myService schema elementForm: qualified

//gsoap myService schema attributeForm: qualified

But it didn't work...

What should I do to get rid of these warnings?

Aucun commentaire:

Enregistrer un commentaire