Fwd: [AXIS2] Unable to call Deployed Service Operation from Code Generated from Generated WSDL
Sheeraz Junejo <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CADf-WA8+8n13f076-Kyf_eFy0k=FBCoYTgUbwiZWkN2jjTP15A@mail.gmail.com> |
Any idea about following question? ---------- Forwarded message ---------- From: Sheeraz Junejo <[email protected]> Date: Mon, Dec 24, 2012 at 6:28 PM Subject: [AXIS2] Unable to call Deployed Service Operation from Code Generated from Generated WSDL To: [email protected] Hi, I have tried everything but nothing seems to be working, could someone please help. The problem is that I generate WSDL using following command using java2wsdl in axis2-1.5.5 release from a web service class; *java2wsdl -o C:\temp -cp %CLASSPATH% -tn http://OFSConnectorServiceWs -cn com.temenos.webservices.ofsconnector.OFSConnectorServiceWS* Deployed the service in jBoss successfully and now if I generate client using *wsimport* via * http://localhost:9090/axis2/services/OFSConnectorServiceWS?wsdl (Attached as file OFSConnectorServiceWS-Deployed.xml) *, everything is OK and I am able to call my methods perfectly. Now I want to do the same by generating client using the WSDL file (*Attached as OFSConnectorServiceWS.wsdl*) I generated in first step using java2wsdl utility, within maven I have this task; <build> <plugins> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <executions> <execution> <id>generate-sources</id> <phase>generate-sources</phase> <configuration> <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/resources/OFSConnectorServiceWS.wsdl</wsdl> <serviceName>OFSConnectorServiceWS</serviceName> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>*wsdl2java*</goal> </goals> </execution> </executions> </plugin> </plugins> </build> I got the client JAR and wrote simple test class (*Attached as OfsConnectorWSClientTest.java*) to access the method on deployed service but getting following exception; javax.xml.ws.soap.SOAPFaultException: namespace mismatch require http://OFSConnectorServiceWs found http://ofsconnector.webservices.temenos.com at com.sun.xml.internal.ws.fault.SOAP12Fault.getProtocolException(SOAP12Fault.java:210) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78) at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107) at $Proxy34.processOFS(Unknown Source) at com.temenos.webservices.ofsconnector.client.OfsConnectorWSClientTest.testProcessOfsUsingJavaWSForSuccess(OfsConnectorWSClientTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Can someone please help? Thanks -- Sheeraz Junejo --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
OFSConnectorServiceWS-Deployed.xml
(text/xml, 11 KB)
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://OFSConnectorServiceWs" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax23="http://response.data.ofsconnector.services.temenos.com/xsd" xmlns:ax24="http://data.ofsconnector.services.temenos.com/xsd" xmlns:ax21="http://data.services.soa.temenos.com/xsd" xmlns:xs="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://OFSConnectorServiceWs">
<wsdl:documentation>OFSConnectorWebService</wsdl:documentation>
<wsdl:types>
<xs:schema xmlns:ax25="http://data.ofsconnector.services.temenos.com/xsd" xmlns:ax26="http://data.services.soa.temenos.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://response.data.ofsconnector.services.temenos.com/xsd">
<xs:import namespace="http://data.ofsconnector.services.temenos.com/xsd"/>
<xs:import namespace="http://data.services.soa.temenos.com/xsd"/>
<xs:complexType name="ProcessOFSwithOFSSourceIdResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ofsResponse" nillable="true" type="ax24:OFSConnResponse"/>
<xs:element minOccurs="0" name="responseDetails" nillable="true" type="ax21:ResponseDetails"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProcessOFSResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ofsResponse" nillable="true" type="ax24:OFSConnResponse"/>
<xs:element minOccurs="0" name="responseDetails" nillable="true" type="ax21:ResponseDetails"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:ax27="http://response.data.ofsconnector.services.temenos.com/xsd" xmlns:ax22="http://data.services.soa.temenos.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://OFSConnectorServiceWs">
<xs:import namespace="http://data.services.soa.temenos.com/xsd"/>
<xs:import namespace="http://response.data.ofsconnector.services.temenos.com/xsd"/>
<xs:element name="processOFSwithOFSSourceId">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="userDetails" nillable="true" type="ax22:T24UserDetails"/>
<xs:element minOccurs="0" name="ofsRequest" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ofsSourceId" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processOFSwithOFSSourceIdResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:ProcessOFSwithOFSSourceIdResponse"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processOFS">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="userDetails" nillable="true" type="ax22:T24UserDetails"/>
<xs:element minOccurs="0" name="ofsRequest" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processOFSResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:ProcessOFSResponse"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://data.ofsconnector.services.temenos.com/xsd">
<xs:complexType name="OFSConnResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ofsResponse" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://data.services.soa.temenos.com/xsd">
<xs:complexType name="T24UserDetails">
<xs:sequence>
<xs:element minOccurs="0" name="coCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="user" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ResponseDetails">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="responses" nillable="true" type="ax21:Response"/>
<xs:element minOccurs="0" name="returnCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Response">
<xs:sequence>
<xs:element minOccurs="0" name="responseCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="responseInfo" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="responseText" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="responseType" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="processOFSwithOFSSourceIdRequest">
<wsdl:part name="parameters" element="ns:processOFSwithOFSSourceId"/>
</wsdl:message>
<wsdl:message name="processOFSwithOFSSourceIdResponse">
<wsdl:part name="parameters" element="ns:processOFSwithOFSSourceIdResponse"/>
</wsdl:message>
<wsdl:message name="processOFSRequest">
<wsdl:part name="parameters" element="ns:processOFS"/>
</wsdl:message>
<wsdl:message name="processOFSResponse">
<wsdl:part name="parameters" element="ns:processOFSResponse"/>
</wsdl:message>
<wsdl:portType name="OFSConnectorServiceWSPortType">
<wsdl:operation name="processOFSwithOFSSourceId">
<wsdl:input message="ns:processOFSwithOFSSourceIdRequest" wsaw:Action="urn:processOFSwithOFSSourceId"/>
<wsdl:output message="ns:processOFSwithOFSSourceIdResponse" wsaw:Action="urn:processOFSwithOFSSourceIdResponse"/>
</wsdl:operation>
<wsdl:operation name="processOFS">
<wsdl:input message="ns:processOFSRequest" wsaw:Action="urn:processOFS"/>
<wsdl:output message="ns:processOFSResponse" wsaw:Action="urn:processOFSResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="OFSConnectorServiceWSSoap11Binding" type="ns:OFSConnectorServiceWSPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="processOFSwithOFSSourceId">
<soap:operation soapAction="urn:processOFSwithOFSSourceId" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="processOFS">
<soap:operation soapAction="urn:processOFS" 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="OFSConnectorServiceWSSoap12Binding" type="ns:OFSConnectorServiceWSPortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="processOFSwithOFSSourceId">
<soap12:operation soapAction="urn:processOFSwithOFSSourceId" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="processOFS">
<soap12:operation soapAction="urn:processOFS" 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="OFSConnectorServiceWSHttpBinding" type="ns:OFSConnectorServiceWSPortType">
<http:binding verb="POST"/>
<wsdl:operation name="processOFSwithOFSSourceId">
<http:operation location="OFSConnectorServiceWS/processOFSwithOFSSourceId"/>
<wsdl:input>
<mime:content type="text/xml" part="processOFSwithOFSSourceId"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="processOFSwithOFSSourceId"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="processOFS">
<http:operation location="OFSConnectorServiceWS/processOFS"/>
<wsdl:input>
<mime:content type="text/xml" part="processOFS"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="processOFS"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="OFSConnectorServiceWS">
<wsdl:port name="OFSConnectorServiceWSHttpSoap11Endpoint" binding="ns:OFSConnectorServiceWSSoap11Binding">
<soap:address location="http://localhost:9090/axis2/services/OFSConnectorServiceWS.OFSConnectorServiceWSHttpSoap11Endpoint/"/>
</wsdl:port>
<wsdl:port name="OFSConnectorServiceWSHttpSoap12Endpoint" binding="ns:OFSConnectorServiceWSSoap12Binding">
<soap12:address location="http://localhost:9090/axis2/services/OFSConnectorServiceWS.OFSConnectorServiceWSHttpSoap12Endpoint/"/>
</wsdl:port>
<wsdl:port name="OFSConnectorServiceWSHttpEndpoint" binding="ns:OFSConnectorServiceWSHttpBinding">
<http:address location="http://localhost:9090/axis2/services/OFSConnectorServiceWS.OFSConnectorServiceWSHttpEndpoint/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
OFSConnectorServiceWS.wsdl
(text/xml, 10.9 KB)
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://ofsconnector.webservices.temenos.com" xmlns:ax23="http://response.data.ofsconnector.services.temenos.com/xsd" xmlns:ax24="http://data.ofsconnector.services.temenos.com/xsd" xmlns:ax21="http://data.services.soa.temenos.com/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:axis2="http://OFSConnectorServiceWs" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://OFSConnectorServiceWs">
<wsdl:types>
<xs:schema xmlns:ax25="http://data.ofsconnector.services.temenos.com/xsd" xmlns:ax26="http://data.services.soa.temenos.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://response.data.ofsconnector.services.temenos.com/xsd">
<xs:import namespace="http://data.ofsconnector.services.temenos.com/xsd"/>
<xs:import namespace="http://data.services.soa.temenos.com/xsd"/>
<xs:complexType name="ProcessOFSwithOFSSourceIdResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ofsResponse" nillable="true" type="ax24:OFSConnResponse"/>
<xs:element minOccurs="0" name="responseDetails" nillable="true" type="ax21:ResponseDetails"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProcessOFSResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ofsResponse" nillable="true" type="ax24:OFSConnResponse"/>
<xs:element minOccurs="0" name="responseDetails" nillable="true" type="ax21:ResponseDetails"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://data.ofsconnector.services.temenos.com/xsd">
<xs:complexType name="OFSConnResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ofsResponse" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:ax27="http://response.data.ofsconnector.services.temenos.com/xsd" xmlns:ax22="http://data.services.soa.temenos.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ofsconnector.webservices.temenos.com">
<xs:import namespace="http://data.services.soa.temenos.com/xsd"/>
<xs:import namespace="http://response.data.ofsconnector.services.temenos.com/xsd"/>
<xs:element name="processOFSwithOFSSourceId">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="userDetails" nillable="true" type="ax22:T24UserDetails"/>
<xs:element minOccurs="0" name="ofsRequest" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ofsSourceId" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processOFSwithOFSSourceIdResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:ProcessOFSwithOFSSourceIdResponse"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processOFS">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="userDetails" nillable="true" type="ax22:T24UserDetails"/>
<xs:element minOccurs="0" name="ofsRequest" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processOFSResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:ProcessOFSResponse"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://data.services.soa.temenos.com/xsd">
<xs:complexType name="T24UserDetails">
<xs:sequence>
<xs:element minOccurs="0" name="coCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="user" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ResponseDetails">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="responses" nillable="true" type="ax21:Response"/>
<xs:element minOccurs="0" name="returnCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Response">
<xs:sequence>
<xs:element minOccurs="0" name="responseCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="responseInfo" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="responseText" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="responseType" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="processOFSwithOFSSourceIdRequest">
<wsdl:part name="parameters" element="ns:processOFSwithOFSSourceId"/>
</wsdl:message>
<wsdl:message name="processOFSwithOFSSourceIdResponse">
<wsdl:part name="parameters" element="ns:processOFSwithOFSSourceIdResponse"/>
</wsdl:message>
<wsdl:message name="processOFSRequest">
<wsdl:part name="parameters" element="ns:processOFS"/>
</wsdl:message>
<wsdl:message name="processOFSResponse">
<wsdl:part name="parameters" element="ns:processOFSResponse"/>
</wsdl:message>
<wsdl:portType name="OFSConnectorServiceWSPortType">
<wsdl:operation name="processOFSwithOFSSourceId">
<wsdl:input message="axis2:processOFSwithOFSSourceIdRequest" wsaw:Action="urn:processOFSwithOFSSourceId"/>
<wsdl:output message="axis2:processOFSwithOFSSourceIdResponse" wsaw:Action="urn:processOFSwithOFSSourceIdResponse"/>
</wsdl:operation>
<wsdl:operation name="processOFS">
<wsdl:input message="axis2:processOFSRequest" wsaw:Action="urn:processOFS"/>
<wsdl:output message="axis2:processOFSResponse" wsaw:Action="urn:processOFSResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="OFSConnectorServiceWSSoap11Binding" type="axis2:OFSConnectorServiceWSPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="processOFSwithOFSSourceId">
<soap:operation soapAction="urn:processOFSwithOFSSourceId" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="processOFS">
<soap:operation soapAction="urn:processOFS" 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="OFSConnectorServiceWSSoap12Binding" type="axis2:OFSConnectorServiceWSPortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="processOFSwithOFSSourceId">
<soap12:operation soapAction="urn:processOFSwithOFSSourceId" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="processOFS">
<soap12:operation soapAction="urn:processOFS" 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="OFSConnectorServiceWSHttpBinding" type="axis2:OFSConnectorServiceWSPortType">
<http:binding verb="POST"/>
<wsdl:operation name="processOFSwithOFSSourceId">
<http:operation location="OFSConnectorServiceWS/processOFSwithOFSSourceId"/>
<wsdl:input>
<mime:content type="text/xml" part="processOFSwithOFSSourceId"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="processOFSwithOFSSourceId"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="processOFS">
<http:operation location="OFSConnectorServiceWS/processOFS"/>
<wsdl:input>
<mime:content type="text/xml" part="processOFS"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="processOFS"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="OFSConnectorServiceWS">
<wsdl:port name="OFSConnectorServiceWSHttpSoap11Endpoint" binding="axis2:OFSConnectorServiceWSSoap11Binding">
<soap:address location="http://localhost:8080/axis2/services/OFSConnectorServiceWS"/>
</wsdl:port>
<wsdl:port name="OFSConnectorServiceWSHttpSoap12Endpoint" binding="axis2:OFSConnectorServiceWSSoap12Binding">
<soap12:address location="http://localhost:8080/axis2/services/OFSConnectorServiceWS"/>
</wsdl:port>
<wsdl:port name="OFSConnectorServiceWSHttpEndpoint" binding="axis2:OFSConnectorServiceWSHttpBinding">
<http:address location="http://localhost:8080/axis2/services/OFSConnectorServiceWS"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
OfsConnectorWSClientTest.java
(application/octet-stream, 3.3 KB) - not displayed