IBM Support

Differences in webservice WSDL file structure based on Application Servers

Question & Answer


Question

Differences in webservice WSDL file structure based on Application Servers

Answer

A WSDL file is generated based on the Application Server. There is no change in the structure of the WSDL file generated across versions of MCF/MCSF 8.x products. The difference in WSDL file structure is due to the Application Server.

For example, the WSDL generated for JBoss Application Server is different from the one generated for Websphere. To illustrate this better, here are a few examples:

• The element name for arguments in Websphere is envString and apiString, while in JBoss it is String_1 and String_2.
• The response element name is “return” in Websphere, while in JBoss it is “result”.
• There are also differences in port-type and binding.
• The message name has YIFWebService appended in JBoss.
 

Sample WDSL message tag generated for JBoss Application server:
 
<message name='YIFWebService_createOrder'>
        <part name='String_1' type='xsd:string'/>
         <part name='String_2' type='xsd:string'/>
 </message>
 <message name='YIFWebService_createOrderResponse'>
         <part name='result' type='xsd:string'/>
 </message>

Sample WDSL message tag generated for Websphere Application Server:
 
<wsdl:message name="createOrderRequest">
        <wsdl:part name="envString" type="xsd:string"/>
        <wsdl:part name="apiString" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="receiveGetATPResponse">
        <wsdl:part name="receiveGetATPReturn" type="xsd:string" />
</wsdl:message>
 
The webservice client program needs to be created in compliance with the WSDL file.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

FAQ3619

Document Information

Modified date:
16 June 2018

UID

swg21518487