Here is an example; the following wsdl was generated by JBossWS for my service:
| <definitions name='CalculatorService' targetNamespace='http://services/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://services/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> | <types></types> | <message name='Calculator_add'> | <part name='int_1' type='xsd:int'/> | <part name='int_2' type='xsd:int'/> | </message> | <message name='Calculator_addResponse'> | <part name='result' type='xsd:int'/> | </message> | <portType name='Calculator'> | <operation name='add' parameterOrder='int_1 int_2'> | <input message='tns:Calculator_add'/> | <output message='tns:Calculator_addResponse'/> | </operation> | </portType> | <binding name='CalculatorBinding' type='tns:Calculator'> | <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> | <operation name='add'> | <soap:operation soapAction=''/> | <input> | <soap:body namespace='http://services/jaws' use='literal'/> | </input> | <output> | <soap:body namespace='http://services/jaws' use='literal'/> | </output> | </operation> | </binding> | <service name='CalculatorService'> | <port binding='tns:CalculatorBinding' name='CalculatorPort'> | <soap:address location='http://Dogbook.local:8080/test-services/CalculatorBean'/> | </port> | </service> | </definitions> | If I send a request message in tags <Calculator_add> then the service endpoint reports that the porttype does not contain an operation named <Calculator_add>. Instead the service expects tags . Similarly, the service will return instead of <Calculator_addResponse> which was described in the wsdl. Why does this mismatch exist? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968143#3968143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968143 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
