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:definitio ns
targetNamespace ="http://localhost:8080/axis/services/PMRCUpdate"
xmlns="http://schemas.xmlsoap .org/wsdl/"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://localhost:8080/axis/services/PMRCUpdate"
xmlns:intf="htt p://localhost:8080/axis/services/PMRCUpdate"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns1="Ret urnedDataBeanns "
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:wsdlsoap= "http://schemas.xmlsoap .org/wsdl/soap/"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace ="ReturnedDataB eanns"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/" />
- <complexType name="ReturnedD ataBean">
- <sequence>
<element name="code" type="xsd:long" />
<element name="message" nillable="true" type="xsd:strin g" />
<element name="type" type="xsd:int" />
</sequence>
</complexType>
</schema>
</wsdl:types>
- <wsdl:message name="updatePMR CResponse">
<wsdl:part name="updatePMR CReturn" type="tns1:Retu rnedDataBean" />
</wsdl:message>
- <wsdl:message name="updatePMR CByKovetzRespon se">
<wsdl:part name="updatePMR CByKovetzReturn "
type="tns1:Retu rnedDataBean" />
</wsdl:message>
- <wsdl:message name="updatePMR CByKovetzReques t">
<wsdl:part name="updateSys tem" type="xsd:strin g" />
<wsdl:part name="MS_HAVILA " type="xsd:int" />
<wsdl:part name="pmRc" type="xsd:int" />
<wsdl:part name="SHEM_KOVE TZ" type="xsd:strin g" />
</wsdl:message>
- <wsdl:message name="updatePMR CRequest">
<wsdl:part name="updateSys tem" type="xsd:strin g" />
<wsdl:part name="MS_HAVILA " type="xsd:int" />
<wsdl:part name="pmRc" type="xsd:int" />
</wsdl:message>
- <wsdl:portTyp e name="PMRCUpdat e">
- <wsdl:operati on name="updatePMR C" parameterOrder= "updateSyst em
MS_HAVILA pmRc">
<wsdl:input message="impl:u pdatePMRCReques t" name="updatePMR CRequest"
/>
<wsdl:output message="impl:u pdatePMRCRespon se"
name="updatePMR CResponse" />
</wsdl:operation>
- <wsdl:operati on name="updatePMR CByKovetz"
parameterOrder= "updateSyst em MS_HAVILA pmRc SHEM_KOVETZ">
<wsdl:input message="impl:u pdatePMRCByKove tzRequest"
name="updatePMR CByKovetzReques t" />
<wsdl:output message="impl:u pdatePMRCByKove tzResponse"
name="updatePMR CByKovetzRespon se" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="PMRCUpdat eSoapBinding" type="impl:PMRC Update">
<wsdlsoap:bindi ng style="rpc"
transport="http ://schemas.xmlsoap .org/soap/http" />
- <wsdl:operati on name="updatePMR C">
<wsdlsoap:opera tion soapAction="" />
- <wsdl:input name="updatePMR CRequest">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://logic.pmrc" use="encoded" />
</wsdl:input>
- <wsdl:output name="updatePMR CResponse">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://localhost:8080/axis/services/PMRCUpdate"
use="encoded" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operati on name="updatePMR CByKovetz">
<wsdlsoap:opera tion soapAction="" />
- <wsdl:input name="updatePMR CByKovetzReques t">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://logic.pmrc" use="encoded" />
</wsdl:input>
- <wsdl:output name="updatePMR CByKovetzRespon se">
<wsdlsoap:bod y
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="PMRCUpdat eService">
- <wsdl:port binding="impl:P MRCUpdateSoapBi nding" name="PMRCUpdat e">
<wsdlsoap:addre ss
location="http://localhost:8080/axis/services/PMRCUpdate" />
</wsdl:port>
</wsdl:service>
</wsdl:definition s>
this is websphere's wsdl:
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitio ns targetNamespace ="http://logic.pmrc"
xmlns="http://schemas.xmlsoap .org/wsdl/"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://logic.pmrc" xmlns:intf="htt p://logic.pmrc"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:wsdlsoap= "http://schemas.xmlsoap .org/wsdl/soap/"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema elementFormDefa ult="qualified"
targetNamespace ="http://logic.pmrc"
xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="updatePMR C">
- <complexType>
- <sequence>
<element name="updateSys tem" nillable="true" type="xsd:strin g" />
<element name="MS_HAVILA " type="xsd:int" />
<element name="pmRc" type="xsd:int" />
</sequence>
</complexType>
</element>
- <complexType name="ReturnedD ataBean">
- <sequence>
<element name="code" type="xsd:long" />
<element name="message" nillable="true" type="xsd:strin g" />
<element name="type" type="xsd:int" />
</sequence>
</complexType>
- <element name="updatePMR CResponse">
- <complexType>
- <sequence>
<element name="updatePMR CReturn" nillable="true"
type="impl:Retu rnedDataBean" />
</sequence>
</complexType>
</element>
- <element name="updatePMR CByKovetz">
- <complexType>
- <sequence>
<element name="updateSys tem" nillable="true" type="xsd:strin g" />
<element name="MS_HAVILA " type="xsd:int" />
<element name="pmRc" type="xsd:int" />
<element name="SHEM_KOVE TZ" nillable="true" type="xsd:strin g" />
</sequence>
</complexType>
</element>
- <element name="updatePMR CByKovetzRespon se">
- <complexType>
- <sequence>
<element name="updatePMR CByKovetzReturn " nillable="true"
type="impl:Retu rnedDataBean" />
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
- <wsdl:message name="updatePMR CResponse">
<wsdl:part element="intf:u pdatePMRCRespon se" name="parameter s" />
</wsdl:message>
- <wsdl:message name="updatePMR CByKovetzReques t">
<wsdl:part element="intf:u pdatePMRCByKove tz" name="parameter s" />
</wsdl:message>
- <wsdl:message name="updatePMR CByKovetzRespon se">
<wsdl:part element="intf:u pdatePMRCByKove tzResponse"
name="parameter s" />
</wsdl:message>
- <wsdl:message name="updatePMR CRequest">
<wsdl:part element="intf:u pdatePMRC" name="parameter s" />
</wsdl:message>
- <wsdl:portTyp e name="PMRCUpdat e">
- <wsdl:operati on name="updatePMR C">
<wsdl:input message="intf:u pdatePMRCReques t" name="updatePMR CRequest"
/>
<wsdl:output message="intf:u pdatePMRCRespon se"
name="updatePMR CResponse" />
</wsdl:operation>
- <wsdl:operati on name="updatePMR CByKovetz">
<wsdl:input message="intf:u pdatePMRCByKove tzRequest"
name="updatePMR CByKovetzReques t" />
<wsdl:output message="intf:u pdatePMRCByKove tzResponse"
name="updatePMR CByKovetzRespon se" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="PMRCUpdat eSoapBinding" type="intf:PMRC Update">
<wsdlsoap:bindi ng style="document "
transport="http ://schemas.xmlsoap .org/soap/http" />
- <wsdl:operati on name="updatePMR C">
<wsdlsoap:opera tion soapAction="" />
- <wsdl:input name="updatePMR CRequest">
<wsdlsoap:bod y use="literal" />
</wsdl:input>
- <wsdl:output name="updatePMR CResponse">
<wsdlsoap:bod y use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operati on name="updatePMR CByKovetz">
<wsdlsoap:opera tion soapAction="" />
- <wsdl:input name="updatePMR CByKovetzReques t">
<wsdlsoap:bod y use="literal" />
</wsdl:input>
- <wsdl:output name="updatePMR CByKovetzRespon se">
<wsdlsoap:bod y use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="PMRCUpdat eService">
- <wsdl:port binding="intf:P MRCUpdateSoapBi nding" name="PMRCUpdat e">
<wsdlsoap:addre ss
location="http://bprdvlp:9080/BPR_WebServices/services/PMRCUpdate" />
</wsdl:port>
</wsdl:service>
</wsdl:definition s>