Ok, thanks for the explanation, that makes things a little more clear. Unfortunately, I don't control the WSDL-definition, I just received it and have to create a C++-client for it. My knowledge about WSDL itself is rather limited, guess I will have to look deeper into that first...
-----Original Message----- From: John Hawkins [mailto:[EMAIL PROTECTED] Sent: woensdag 30 november 2005 17:13 To: Apache AXIS C User List Subject: RE: Invalid C++ with ignoring anonymous type > Iwan Tomlow <[EMAIL PROTECTED]> wrote on 30/11/2005 11:38:13: > Rpc or doc: the default for WSDL2Ws, that is rpc/enc as I gather from the > documentation? Rpc or doc is related to your WSDL definition - not what wsdl2ws produces. In you care you using rpc/encoded. I would recommend using doc/literal as this is ws-i compliant and rpc/encoded is not. We support doc/literal far better. You've also got refs in here - which are not supported. They might be supported in 1.6 which is due out in the next few weeks. I suggest, if you can, recreate the wsdl with doc/literal bindings and without refs. > My command is "java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws ref_mod.wsdl > -o./Out -lc++ -sclient" > > I did see an issue in jira stating that refs didn't work, but the sample > provided in axis-c-1-5\deploy\wsdls\ref.wsdl produced C++ code without > problems? > > I attached the modified ref.wsdl again, hope it comes through this way. > > Thanks for your help > > [attachment "ref_mod.wsdl" deleted by John Hawkins/UK/IBM]