IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

webMethods 8 auto generated wsdl not consumable by axis and cxf

  • 1.  webMethods 8 auto generated wsdl not consumable by axis and cxf

    Posted Thu October 13, 2011 05:44 PM

    Hi,

    I have auto-generated a WSDL from the provider WSD to be consumed by clients using Axis and CXF frameworks. It seems the auto-generated WSDLs are causing them problems, specifically the wsdl having same parts name as in the below example (highlighted in blue):

    [SIZE=1]
    <wsdl:message name=“abc_PortType_abcRequest”>
    <wsdl:part name=“parameters” element=“tns:abcRequest”/>
    </wsdl:message>
    <wsdl:message name=“abc_PortType_abcResponse”>
    <wsdl:part name=“parameters” element=“tns:abcResponse”/>
    </wsdl:message>
    <wsdl:message name=“abcHeader”>
    <wsdl:part name=“parameters” element=“HDR1:tHeader”/>
    </wsdl:message>

    <wsdl:portType name=“abc_PortType”>
    <wsdl
    [/SIZE]
    :operation name=“abc”>
    <wsdl:input message=“tns:abc_PortType_abcRequest”/>
    <wsdl
    :output message=“tns:abc_PortType_abcResponse”/>
    </wsdl
    :o[SIZE=1]peration>
    </wsdl:portType>

    <wsdl:binding name=“abcSOAP” type=“tns:abc_PortType”>
    <soap:binding style=“document” transport=“http://schemas.xmlsoap.org/soap/http”/>
    <wsdl:operation name=“abc”>
    <soap
    [/SIZE]
    :operation soapAction=“urn:abc.abc” style=“document”/>
    wsdl:input
    <soap:body parts=“parameters” use=“literal”/>
    <soap:header message=“tns:abcHeader” part=“parameters” use=“literal”/>
    </wsdl:input>
    <wsdl
    :output>
    <soap:body parts=“parameters” use=“literal”/>
    </wsdl
    :output>
    </wsdl
    :o[SIZE=1]peration>
    </wsdl:binding>

    [FONT=Verdana]Queries:

    1. Has anyone faced this problem ? If yes, is it anything simple that I have missed ?

    2. Any way to control the auto-generation ?

    [SIZE=1]Thanks,
    Shiv
    [/size][/SIZE][/FONT]


    #soa
    #API-Management
    #webMethods