Synapse is running on port 8008 The web service is deployed on Apache Tomcat 6.0.14 on port 8080 The JSP client is deployed on Apache Tomcat 6.0.14 on port 8080
----->>>>>BEGINNING OF THE ORIGINAL WSDL: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.2-b05-RC1. --> <definitions targetNamespace="http://calculator.me.org/" name="CalculatorWSService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://calculator.me.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> <types> <xsd:schema> <xsd:import namespace="http://calculator.me.org/" schemaLocation="CalculatorWSService_schema1.xsd"/> </xsd:schema> </types> <message name="multiply"> <part name="parameters" element="tns:multiply"/> </message> <message name="multiplyResponse"> <part name="parameters" element="tns:multiplyResponse"/> </message> <portType name="CalculatorWS"> <operation name="multiply"> <input message="tns:multiply"/> <output message="tns:multiplyResponse"/> </operation> </portType> <binding name="CalculatorWSPortBinding" type="tns:CalculatorWS"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <operation name="multiply"> <soap:operation soapAction=""/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="CalculatorWSService"> <port name="CalculatorWSPort" binding="tns:CalculatorWSPortBinding"> <soap:address location="REPLACE_WITH_ACTUAL_URL"/> </port> </service> </definitions> ------>END OF THE ORIGINAL WSDL ----->>>>>BEGINNING OF THE WSDL USED BY THE CLIENT(generated by synapse and adapted by me because of a bug in the JAX wsimport tool): <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:tns="http://calculator.me.org/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://calculator.me.org/"> <wsdl:types> <xs:schema xmlns:ax21="http://services.samples/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://calculator.me.org/" attributeFormDefault="qualified" elementFormDefault="qualified"> <xs:element name="multiply" type="tns:multiply"/> <xs:element name="multiplyResponse" type="tns:multiplyResponse"/> <xs:complexType name="multiply"> <xs:sequence> <xs:element name="i" type="xs:int"/> </xs:sequence> </xs:complexType> <xs:complexType name="multiplyResponse"> <xs:sequence> <xs:element name="return" type="xs:int"/> </xs:sequence> </xs:complexType> </xs:schema> </wsdl:types> <wsdl:message name="multiply"> <wsdl:part name="parameters" element="tns:multiply"/> </wsdl:message> <wsdl:message name="multiplyResponse"> <wsdl:part name="parameters" element="tns:multiplyResponse"/> </wsdl:message> <wsdl:portType name="CalculatorProxyPortType"> <wsdl:operation name="multiply"> <wsdl:input message="tns:multiply" wsaw:Action="http://calculator.me.org/CalculatorWS/multiplyRequest"/> <wsdl:output message="tns:multiplyResponse" wsaw:Action="http://calculator.me.org/CalculatorWS/multiplyResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="CalculatorProxySOAP11Binding" type="tns:CalculatorProxyPortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="multiply"> <soap:operation soapAction="" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="CalculatorProxySOAP12Binding" type="tns:CalculatorProxyPortType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="multiply"> <soap12:operation soapAction="" style="document"/> <wsdl:input> <soap12:body use="literal"/> </wsdl:input> <wsdl:output> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="CalculatorProxyHttpBinding" type="tns:CalculatorProxyPortType"> <http:binding verb="POST"/> <wsdl:operation name="multiply"> <http:operation location="CalculatorProxy/multiply"/> <wsdl:input> <mime:content type="text/xml" part="multiply"/> </wsdl:input> <wsdl:output> <mime:content type="text/xml" part="multiply"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="CalculatorProxy"> <wsdl:port name="CalculatorProxySOAP11port_http" binding="tns:CalculatorProxySOAP11Binding"> <soap:address location="http://localhost.localdomain:8008/soap/CalculatorProxy"/> </wsdl:port> <wsdl:port name="CalculatorProxySOAP12port_http" binding="tns:CalculatorProxySOAP12Binding"> <soap12:address location="http://localhost.localdomain:8008/soap/CalculatorProxy"/> </wsdl:port> <wsdl:port name="CalculatorProxyHttpport" binding="tns:CalculatorProxyHttpBinding"> <http:address location="http://localhost.localdomain:8008/soap/CalculatorProxy"/> </wsdl:port> </wsdl:service> </wsdl:definitions> ------>END OF THE WSDL USED BY THE CLIENT --------------------------------- Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
