IBM Support

Using WSDL2Java for Microsoft .NET document/literal "wrapped" style WSDL file

Troubleshooting


Problem

If the WSDL conforms to the Microsoft .NET document/literal "wrapped" style, WSDL2Java assumes that the WSDL originated from .NET and generates Java™ files accordingly.

Resolving The Problem

To force WSDL2Java not to treat the WSDL as a .NET document literal "wrapped" WSDL, the -noWrappedOperations parameter must be added to the WSDL2Java command line. If the service side is indeed a .NET service or intends to emulate a .NET service, it would be best to work with the Java files generated by WSDL2Java without the additional parameter.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Application Client","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF012","label":"IBM i"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0;7.0;6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21229657