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]