Hi,
I am facing issues while generating code using c++ with STSService.wsdl
e:\SOAPGENERATION>E:\SOAPGENERATION\gsoap-2.8\gsoap\bin\win32\wsdl2h.exe -t E:\SOAPGENERATION\typemap_vmwareapi.dat .\w
sdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0.xsd .\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0-exte
nsions.xsd .\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0-types.xsd .\wsdl\ssoclient\wsdl\profiled-sstc-saml
-delegation.xsd .\wsdl\ssoclient\wsdl\profiled-wsse-header.xsd .\wsdl\ssoclient\wsdl\profiled-wss-wssecurity-utility-1.
0.xsd .\wsdl\ssoclient\wsdl\profiled-ws-trust.xsd .\wsdl\ssoclient\wsdl\ws-addr.xsd .\wsdl\ssoclient\wsdl\ws-trust-1.4-e
xtensions.xsd .\wsdl\ssoclient\wsdl\xmldsig-core-schema.xsd .\wsdl\ssoclient\wsdl\STSService.wsdl -o .\wsdlout\ssoService.h
** The gSOAP WSDL/Schema processor for C and C++, wsdl2h release 2.8.0
** Copyright (C) 2000-2010 Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The wsdl2h tool is released under one of the following two licenses:
** GPL or the commercial license by Genivia Inc. Use option -l for details.
Saving .\wsdlout\ssoService.h
Reading type definitions from type map file 'E:\SOAPGENERATION\typemap_vmwareapi.dat'
Reading file '.\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0.xsd'
Reading file '.\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0-extensions.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0-extensions.xsd'
Reading file '.\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0-types.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-saml-schema-assertion-2.0-types.xsd'
Reading file '.\wsdl\ssoclient\wsdl\profiled-sstc-saml-delegation.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-sstc-saml-delegation.xsd'
Reading file '.\wsdl\ssoclient\wsdl\profiled-wsse-header.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-wsse-header.xsd'
Reading file '.\wsdl\ssoclient\wsdl\profiled-wss-wssecurity-utility-1.0.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-wss-wssecurity-utility-1.0.xsd'
Reading file '.\wsdl\ssoclient\wsdl\profiled-ws-trust.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\profiled-ws-trust.xsd'
Reading file '.\wsdl\ssoclient\wsdl\ws-addr.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\ws-addr.xsd'
Reading file '.\wsdl\ssoclient\wsdl\ws-trust-1.4-extensions.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\ws-trust-1.4-extensions.xsd'
Reading file '.\wsdl\ssoclient\wsdl\xmldsig-core-schema.xsd'...
Done reading '.\wsdl\ssoclient\wsdl\xmldsig-core-schema.xsd'
Reading file '.\wsdl\ssoclient\wsdl\STSService.wsdl'...
Warning: unexpected element 'jaxws:bindings' at level 3 is skipped (safe to ignore)
Done reading '.\wsdl\ssoclient\wsdl\STSService.wsdl'
PolicyReference URI="#IssueRequestPolicy" not found
PolicyReference URI="#RenewRequestPolicy" not found
PolicyReference URI="#STSSecPolicy" not found
===========================================================
If I check STSService.wsdl, it shows following lines:
Because of this we are getting warnings: Warning: unexpected element 'jaxws:bindings' at level 3 is skipped (safe to ignore)
And it is not able to find few definitions like IssueRequestPolicy.
How to generate code using wsdl2h.exe to get ride of these errors?