hi.. i have a small Web Service which is consumed by dotnet application
the webservice is located in 2 places. the first is my local tomcat,
and the second is in websphere server.
problems is that if i generate a proxy from the wsdl in websphere, i
can't get the databean if refer the proxy's url my tomcat's (i simply
recive null).
this is my tomcats's wsdl:
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/PMRCUpdate"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost:8080/axis/services/PMRCUpdate"
xmlns:intf="http://localhost:8080/axis/services/PMRCUpdate"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="ReturnedDataBeanns"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace="ReturnedDataBeanns"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType name="ReturnedDataBean">
- <sequence>
<element name="code" type="xsd:long" />
<element name="message" nillable="true" type="xsd:string" />
<element name="type" type="xsd:int" />
</sequence>
</complexType>
</schema>
</wsdl:types>
- <wsdl:message name="updatePMRCResponse">
<wsdl:part name="updatePMRCReturn" type="tns1:ReturnedDataBean" />
</wsdl:message>
- <wsdl:message name="updatePMRCByKovetzResponse">
<wsdl:part name="updatePMRCByKovetzReturn"
type="tns1:ReturnedDataBean" />
</wsdl:message>
- <wsdl:message name="updatePMRCByKovetzRequest">
<wsdl:part name="updateSystem" type="xsd:string" />
<wsdl:part name="MS_HAVILA" type="xsd:int" />
<wsdl:part name="pmRc" type="xsd:int" />
<wsdl:part name="SHEM_KOVETZ" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="updatePMRCRequest">
<wsdl:part name="updateSystem" type="xsd:string" />
<wsdl:part name="MS_HAVILA" type="xsd:int" />
<wsdl:part name="pmRc" type="xsd:int" />
</wsdl:message>
- <wsdl:portType name="PMRCUpdate">
- <wsdl:operation name="updatePMRC" parameterOrder="updateSystem
MS_HAVILA pmRc">
<wsdl:input message="impl:updatePMRCRequest" name="updatePMRCRequest"
/>
<wsdl:output message="impl:updatePMRCResponse"
name="updatePMRCResponse" />
</wsdl:operation>
- <wsdl:operation name="updatePMRCByKovetz"
parameterOrder="updateSystem MS_HAVILA pmRc SHEM_KOVETZ">
<wsdl:input message="impl:updatePMRCByKovetzRequest"
name="updatePMRCByKovetzRequest" />
<wsdl:output message="impl:updatePMRCByKovetzResponse"
name="updatePMRCByKovetzResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="PMRCUpdateSoapBinding" type="impl:PMRCUpdate">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="updatePMRC">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="updatePMRCRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://logic.pmrc" use="encoded" />
</wsdl:input>
- <wsdl:output name="updatePMRCResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/PMRCUpdate"
use="encoded" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="updatePMRCByKovetz">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="updatePMRCByKovetzRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://logic.pmrc" use="encoded" />
</wsdl:input>
- <wsdl:output name="updatePMRCByKovetzResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/PMRCUpdate"
use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="PMRCUpdateService">
- <wsdl:port binding="impl:PMRCUpdateSoapBinding" name="PMRCUpdate">
<wsdlsoap:address
location="http://localhost:8080/axis/services/PMRCUpdate" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
this is websphere's wsdl:
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://logic.pmrc"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://logic.pmrc" xmlns:intf="http://logic.pmrc"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema elementFormDefault="qualified"
targetNamespace="http://logic.pmrc"
xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="updatePMRC">
- <complexType>
- <sequence>
<element name="updateSystem" nillable="true" type="xsd:string" />
<element name="MS_HAVILA" type="xsd:int" />
<element name="pmRc" type="xsd:int" />
</sequence>
</complexType>
</element>
- <complexType name="ReturnedDataBean">
- <sequence>
<element name="code" type="xsd:long" />
<element name="message" nillable="true" type="xsd:string" />
<element name="type" type="xsd:int" />
</sequence>
</complexType>
- <element name="updatePMRCResponse">
- <complexType>
- <sequence>
<element name="updatePMRCReturn" nillable="true"
type="impl:ReturnedDataBean" />
</sequence>
</complexType>
</element>
- <element name="updatePMRCByKovetz">
- <complexType>
- <sequence>
<element name="updateSystem" nillable="true" type="xsd:string" />
<element name="MS_HAVILA" type="xsd:int" />
<element name="pmRc" type="xsd:int" />
<element name="SHEM_KOVETZ" nillable="true" type="xsd:string" />
</sequence>
</complexType>
</element>
- <element name="updatePMRCByKovetzResponse">
- <complexType>
- <sequence>
<element name="updatePMRCByKovetzReturn" nillable="true"
type="impl:ReturnedDataBean" />
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
- <wsdl:message name="updatePMRCResponse">
<wsdl:part element="intf:updatePMRCResponse" name="parameters" />
</wsdl:message>
- <wsdl:message name="updatePMRCByKovetzRequest">
<wsdl:part element="intf:updatePMRCByKovetz" name="parameters" />
</wsdl:message>
- <wsdl:message name="updatePMRCByKovetzResponse">
<wsdl:part element="intf:updatePMRCByKovetzResponse"
name="parameters" />
</wsdl:message>
- <wsdl:message name="updatePMRCRequest">
<wsdl:part element="intf:updatePMRC" name="parameters" />
</wsdl:message>
- <wsdl:portType name="PMRCUpdate">
- <wsdl:operation name="updatePMRC">
<wsdl:input message="intf:updatePMRCRequest" name="updatePMRCRequest"
/>
<wsdl:output message="intf:updatePMRCResponse"
name="updatePMRCResponse" />
</wsdl:operation>
- <wsdl:operation name="updatePMRCByKovetz">
<wsdl:input message="intf:updatePMRCByKovetzRequest"
name="updatePMRCByKovetzRequest" />
<wsdl:output message="intf:updatePMRCByKovetzResponse"
name="updatePMRCByKovetzResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="PMRCUpdateSoapBinding" type="intf:PMRCUpdate">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="updatePMRC">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="updatePMRCRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
- <wsdl:output name="updatePMRCResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="updatePMRCByKovetz">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="updatePMRCByKovetzRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
- <wsdl:output name="updatePMRCByKovetzResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="PMRCUpdateService">
- <wsdl:port binding="intf:PMRCUpdateSoapBinding" name="PMRCUpdate">
<wsdlsoap:address
location="http://bprdvlp:9080/BPR_WebServices/services/PMRCUpdate" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>