W
Wind
Hi All,
I need to conform a WSDL. The WSDL was generated in Axis. Our client has
generated their classes based on the given WSDL. Now the WSDL is as follows:
<wsdl:service name="TestService">
<wsdlort binding="impl:TestSoapBinding" name="Test">
<wsdlsoap:address location=http://localhost:8080/Test/services/Test/>
</wsdlort>
</wsdl:service>
I know the structure of the procedure and wrote the implementation. When I
generate the web service with .NET C#, the wsdl becomes as follows:
<wsdl:service name="Test">
<wsdlort name="TestSoap" binding="tns:TestSoap">
<soap:address location="http://localhost:8080/Test/services/Test.asmx" />
</wsdlort>
</wsdl:service>
If this is the case, our client gets the following error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Server did not recognize the value of HTTP Header SOAPAction: .
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:Server did not recognize the value
of HTTP Header SOAPAction: .
How can I modify <wsdl:service name="Test"> as <wsdl:service
name="TestService"> and
<wsdlort name="TestSoap" binding="tns:TestSoap"> as <wsdlort name="Test"
binding="tns:Test"> ?
Many thanks
Wind
I need to conform a WSDL. The WSDL was generated in Axis. Our client has
generated their classes based on the given WSDL. Now the WSDL is as follows:
<wsdl:service name="TestService">
<wsdlort binding="impl:TestSoapBinding" name="Test">
<wsdlsoap:address location=http://localhost:8080/Test/services/Test/>
</wsdlort>
</wsdl:service>
I know the structure of the procedure and wrote the implementation. When I
generate the web service with .NET C#, the wsdl becomes as follows:
<wsdl:service name="Test">
<wsdlort name="TestSoap" binding="tns:TestSoap">
<soap:address location="http://localhost:8080/Test/services/Test.asmx" />
</wsdlort>
</wsdl:service>
If this is the case, our client gets the following error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Server did not recognize the value of HTTP Header SOAPAction: .
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:Server did not recognize the value
of HTTP Header SOAPAction: .
How can I modify <wsdl:service name="Test"> as <wsdl:service
name="TestService"> and
<wsdlort name="TestSoap" binding="tns:TestSoap"> as <wsdlort name="Test"
binding="tns:Test"> ?
Many thanks
Wind