Hello all
I'm invoking an external web service using this WSDL
http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_third_party_calling_service.wsdl
this WSDL calls another WSDL
http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_third_party_calling_service_port.wsdl
and this WSDL calls another WSDL
http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_common_types.xsd
When i look at the 2nd WSDL the method makeACall takes 3 parameters
<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>
The first and seconds params are type="parlayx_common_xsd:EndUserIdentifier
I'm using the Call interface
When i invoke the method how do i make sure the
type="parlayx_common_xsd:EndUserIdentifier is accessed/know where to find
it?
If i do this (code below), if fails because it doesn't know about the type
"EndUserIdentifier"
I'm missing something from my call but i don't know what. I think the
EndUserIdentifier type is found here, but if i put this in my browser is
doesn't exist http://www.csapi.org/schema/parlayx/common/v1_0
Please can someone help me solve this
URL endpoint = new URL
("http://www.wwcc.bt.com:9000/ccx/parlayx_third_party_calling_service");
String callingparty = "tel:+44123456789;vnd.bt.cli-presentation=available";
String calledparty = "tel:+44123456789;vnd.bt.cli-presentation=available";
Service service = new Service();
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(endpoint);
call.setOperationName("makeACall");
call.setUsername("username");
call.setPassword("password");
//call.addParameter("callingparty",XMLType.XSD_ANYURI, ParameterMode.IN);
//call.addParameter("calledparty",XMLType.XSD_ANYURI,ParameterMode.IN);
//call.addParameter("charging",XMLType.XSD_STRING,ParameterMode.IN);
//call.setReturnType(XMLType.XSD_STRING);
String result = (String)call.invoke(new Object[] {callingparty, calledparty,
charging})
Thsi is the error i get
Error in deserialization : failed deserializing value of type
{http://www.csapi.org/schema/parlayx/common/v1_0}EndUserIdentifier into
class org.csapi.www.parlayx.common.EndUserIdentifier
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee�
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963