Hi,

I'm trying to use the WS-Security plugin. This requires to recompile 
stdsoap2.c/pp, dom.c/pp, smdevp.c, wsseapi.c and my source files, but the 
compilation fails.
Here's my compile command:

gcc -DDEBUG -DWITH_DOM -DWITH_OPENSSL -o ec2testc ec2testc.c soapC.c 
soapClient.c -lssl -lcrypto stdsoap2.c dom.c smdevp.c wsseapi.c


and the compile result:

In file included from wsseapi.c:720:
wsseapi.h:178: warning: `enum wsse__FaultcodeEnum' declared inside parameter 
list
wsseapi.h:178: warning: its scope is only this definition or declaration, which 
is probably not what you want
wsseapi.c: In function `soap_wsse_add_Security':
wsseapi.c:825: error: `struct SOAP_ENV__Header' has no member named 
`wsse__Security'
wsseapi.c:826: error: `struct SOAP_ENV__Header' has no member named 
`wsse__Security'
wsseapi.c:826: error: `_wsse__Security' undeclared (first use in this function)
wsseapi.c:826: error: (Each undeclared identifier is reported only once
wsseapi.c:826: error: for each function it appears in.)
wsseapi.c:826: error: expected expression before `)' token
wsseapi.c:827: error: `struct SOAP_ENV__Header' has no member named 
`wsse__Security'
wsseapi.c:829: error: `struct SOAP_ENV__Header' has no member named 
`wsse__Security'
wsseapi.c: In function `soap_wsse_add_Security_actor':
wsseapi.c:841: error: `_wsse__Security' undeclared (first use in this function)
wsseapi.c:841: error: `security' undeclared (first use in this function)
wsseapi.c: In function `soap_wsse_delete_Security':
wsseapi.c:859: error: `struct SOAP_ENV__Header' has no member named 
`wsse__Security'



Any ideas on what I'm doing wrong, anyone?

Adrian

Reply via email to