Hi Anne,
Here's the WSDL file referenced in the original WSDL
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- March 5, 2003
-->
- <wsdl:definitions name="third_party_calling_service_port"
targetNamespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"
xmlns:parlayx_third_party_calling_xsd="http://www.csapi.org/schema/parlayx/third_party_calling/v1_0"
xmlns:parlayx_common_faults="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"
xmlns:parlayx_common_xsd="http://www.csapi.org/schema/parlayx/common/v1_0">
<wsdl:import
namespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"
location="parlayx_common_faults.wsdl" />
- <wsdl:types>
- <xsd:schema elementFormDefault="qualified">
<xsd:import namespace="http://www.csapi.org/schema/parlayx/common/v1_0"
schemaLocation="parlayx_common_types.xsd" />
<xsd:import
namespace="http://www.csapi.org/schema/parlayx/third_party_calling/v1_0"
schemaLocation="parlayx_third_party_calling_types.xsd" />
</xsd:schema>
</wsdl:types>
- <wsdl:message name="UnknownCallIdentifierException">
<wsdl:part name="UnknownCallIdentifierException" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="CallTerminatedException">
<wsdl:part name="CallTerminatedException" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="CallConnectedException">
<wsdl:part name="CallConnnectedException" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="ThirdPartyCall_makeACallRequest">
<wsdl:part name="callingParty" type="parlayx_common_xsd:EndUserIdentifier"
/>
<wsdl:part name="calledParty" type="parlayx_common_xsd:EndUserIdentifier"
/>
<wsdl:part name="charging" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="ThirdPartyCall_makeACallResponse">
<wsdl:part name="result" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="ThirdPartyCall_getCallInformationRequest">
<wsdl:part name="callIdentifier" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="ThirdPartyCall_getCallInformationResponse">
<wsdl:part name="result"
type="parlayx_third_party_calling_xsd:CallInformationType" />
</wsdl:message>
- <wsdl:message name="ThirdPartyCall_endCallRequest">
<wsdl:part name="callIdentifier" type="xsd:string" />
</wsdl:message>
<wsdl:message name="ThirdPartyCall_endCallResponse" />
- <wsdl:message name="ThirdPartyCall_cancelCallRequestRequest">
<wsdl:part name="callIdentifier" type="xsd:string" />
</wsdl:message>
<wsdl:message name="ThirdPartyCall_cancelCallRequestResponse" />
- <wsdl:portType name="ThirdPartyCallPort">
- <wsdl:operation name="makeACall">
<wsdl:input message="tns:ThirdPartyCall_makeACallRequest" />
<wsdl:output message="tns:ThirdPartyCall_makeACallResponse" />
<wsdl:fault name="UnknownEndUserException"
message="parlayx_common_faults:UnknownEndUserException" />
<wsdl:fault name="InvalidArgumentException"
message="parlayx_common_faults:InvalidArgumentException" />
<wsdl:fault name="ServiceException"
message="parlayx_common_faults:ServiceException" />
</wsdl:operation>
- <wsdl:operation name="getCallInformation">
<wsdl:input message="tns:ThirdPartyCall_getCallInformationRequest" />
<wsdl:output message="tns:ThirdPartyCall_getCallInformationResponse" />
<wsdl:fault name="UnknownCallIdentifierException"
message="tns:UnknownCallIdentifierException" />
<wsdl:fault name="ServiceException"
message="parlayx_common_faults:ServiceException" />
</wsdl:operation>
- <wsdl:operation name="endCall">
<wsdl:input message="tns:ThirdPartyCall_endCallRequest" />
<wsdl:output message="tns:ThirdPartyCall_endCallResponse" />
<wsdl:fault name="CallTerminatedException"
message="tns:CallTerminatedException" />
<wsdl:fault name="UnknownCallIdentifierException"
message="tns:UnknownCallIdentifierException" />
<wsdl:fault name="ServiceException"
message="parlayx_common_faults:ServiceException" />
</wsdl:operation>
- <wsdl:operation name="cancelCallRequest">
<wsdl:input message="tns:ThirdPartyCall_cancelCallRequestRequest" />
<wsdl:output message="tns:ThirdPartyCall_cancelCallRequestResponse" />
<wsdl:fault name="CallConnectedException"
message="tns:CallConnectedException" />
<wsdl:fault name="UnknownCallIdentifierException"
message="tns:UnknownCallIdentifierException" />
<wsdl:fault name="ServiceException"
message="parlayx_common_faults:ServiceException" />
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
From: Anne Thomas Manes <[EMAIL PROTECTED]>
Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: Error in deserialization
Date: Sat, 28 May 2005 17:36:15 -0400
Kumar,
The WSDL you sent me contains this import:
<wsdl:import
namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"
location="parlayx_third_party_calling_service_port.wsdl" />
This imported WSDL contains the <types>, <message>, and <portType>
definitions. I need to see this WSDL to answer your questions.
Anne
On 5/28/05, Plorks mail <[EMAIL PROTECTED]> wrote:
>
>
> Sorry about the sending, i just clicked reply, didn't notice it wasn't
the
> axis-user
>
> What do you mean by the imported WSDL document?
>
> Many thanks for nay help
>
>
>
>
>
>
>
> >We also need the imported WSDL document.
> >
> >One problem I noticed with this WSDL is that it uses "rpc" style, but
> >it doesn't specify a namespace attribute in the <soap:body>
> >descriptions.
> >
> >Thanks,
> >Anne
> >
> >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote:
> > >
> > > Here is the WSDL
> > >
> > > Thanks for any help
> > >
> > >
> > > <?xml version="1.0" encoding="UTF-8" ?>
> > > - <!-- March 17, 2003
> > > -->
> > > - <wsdl:definitions name="third_party_calling_service"
> > >
>
>targetNamespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service"
> > > xmlns="http://schemas.xmlsoap.org/wsdl/"
> > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > >
>
>xmlns:tns="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service"
> > >
>
>xmlns:port="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port">
> > > <wsdl:import
> > >
>
>namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"
> > > location="parlayx_third_party_calling_service_port.wsdl" />
> > > - <wsdl:binding name="ThirdPartyCallBinding"
> >type="port:ThirdPartyCallPort">
> > > <soap:binding style="rpc"
> >transport="http://schemas.xmlsoap.org/soap/http"
> > > />
> > > - <wsdl:operation name="makeACall">
> > > <soap:operation soapAction="ThirdPartyCall#makeACall" style="rpc"
/>
> > > - <wsdl:input>
> > > <soap:body use="literal" />
> > > </wsdl:input>
> > > - <wsdl:output>
> > > <soap:body use="literal" />
> > > </wsdl:output>
> > > - <wsdl:fault name="UnknownEndUserException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="InvalidArgumentException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="ServiceException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > </wsdl:operation>
> > > - <wsdl:operation name="getCallInformation">
> > > <soap:operation soapAction="ThirdPartyCall#getCallInformation"
> >style="rpc"
> > > />
> > > - <wsdl:input>
> > > <soap:body use="literal" />
> > > </wsdl:input>
> > > - <wsdl:output>
> > > <soap:body use="literal" />
> > > </wsdl:output>
> > > - <wsdl:fault name="UnknownCallIdentifierException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="ServiceException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > </wsdl:operation>
> > > - <wsdl:operation name="endCall">
> > > <soap:operation soapAction="ThirdPartyCall#endCall" style="rpc" />
> > > - <wsdl:input>
> > > <soap:body use="literal" />
> > > </wsdl:input>
> > > - <wsdl:output>
> > > <soap:body use="literal" />
> > > </wsdl:output>
> > > - <wsdl:fault name="CallTerminatedException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="UnknownCallIdentifierException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="ServiceException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > </wsdl:operation>
> > > - <wsdl:operation name="cancelCallRequest">
> > > <soap:operation soapAction="ThirdPartyCall#cancelCallRequest"
> >style="rpc"
> > > />
> > > - <wsdl:input>
> > > <soap:body use="literal" />
> > > </wsdl:input>
> > > - <wsdl:output>
> > > <soap:body use="literal" />
> > > </wsdl:output>
> > > - <wsdl:fault name="CallConnectedException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="UnknownCallIdentifierException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > - <wsdl:fault name="ServiceException">
> > > <soap:fault use="literal" />
> > > </wsdl:fault>
> > > </wsdl:operation>
> > > </wsdl:binding>
> > > - <wsdl:service name="ThirdPartyCallService">
> > > - <wsdl:port name="ThirdPartyCallPort"
> >binding="tns:ThirdPartyCallBinding">
> > > <soap:address
> > >
>
>location="http://www.wwcc.bt.com:9000/ccx/parlayx_third_party_calling_service"
> > > />
> > > </wsdl:port>
> > > </wsdl:service>
> > > </wsdl:definitions>
> > >
> > >
> > >
> > >
> > >
> > > >From: Anne Thomas Manes <[EMAIL PROTECTED]>
> > > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]>
> > > >To: [email protected]
> > > >Subject: Re: Error in deserialization
> > > >Date: Fri, 27 May 2005 08:43:59 -0400
> > > >
> > > >Can you provide us with the WSDL?
> > > >
> > > >Somewhere in either the request or response message there is an
> > > >element of type EndUserIdentifier, and it appears that this element
> > > >isn't mapping properly.
> > > >
> > > >Anne
> > > >
> > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > Hi all
> > > > >
> > > > > I'm trying to access an external web service and get this error
when
> >it
> > > >gets
> > > > > to this line
> > > > >
> > > > > String result = (String)call.invoke(new Object[] {param1,
param2,
> > > >param3});
> > > > >
> > > > > Error in deserialization : failed deserializing value of type
> > > > > {http://www.api.org/schema/par/common/v1_0}
> > > > > EndUserIdentifier into class
> >org.api.www.par.common.EndUserIdentifier
> > > > >
> > > > >
> > > > >
> > > > > I'm been back to the supplier of the web service but i'm not
getting
> > > >much
> > > > > help from them. Does anyone know what this error means. I have
to
> >pass
> > > >up
> > > > > username and password in the http header and using the
> >passweord/usernme
> > > > > they gave me
> > > > >
> > > > > This is my code
> > > > >
> > > > > Can anyone see anything outstandingly wrong in my code
> > > > >
> > > > > Thanks for any help
> > > > >
> > > > >
> > > > >
> > > > > URL endpoint = new URL
> > > > >
> > >
> >
>("http://www.domain.com:9000/ccx/par_third_party_calling_service/encoded");
> > > > >
> > > > > Service service = new Service();
> > > > >
> > > > > Call call = (Call)service.createCall();
> > > > >
> > > > > call.setTargetEndpointAddress(endpoint);
> > > > >
> > > > > call.setOperationName("methodName");
> > > > >
> > > > > call.setUsername("username");
> > > > >
> > > > > call.setPassword("password");
> > > > >
> > > > > String result = (String)call.invoke(new Object[] {param1,
param2,
> > > >param3});
> > > > >
> > > > > System.out.println("call result " + result);
> > > > >
> > > > >
_________________________________________________________________
> > > > > Want to block unwanted pop-ups? Download the free MSN Toolbar
now!
> > > > > http://toolbar.msn.co.uk/
> > > > >
> > > > >
> > >
> > > _________________________________________________________________
> > > Winks & nudges are here - download MSN Messenger 7.0 today!
> > > http://messenger.msn.co.uk
> > >
> > >
>
> _________________________________________________________________
> Be the first to hear what's new at MSN - sign up to our free
newsletters!
> http://www.msn.co.uk/newsletters
>
>
_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today!
http://messenger.msn.co.uk