Re: InvocationTargetException - Error in deserialization of response of web service
It seems to be this statement is causing this error: dSer.onStartElement(namespace, localName, prefix, attributes, context); the problem could be determined by looking at the wsdl ..so can we see the wsdl? M- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Jose Manuel Valladares Pernas" <[EMAIL PROTECTED]> To: Sent: Monday, September 25, 2006 9:25 AM Subject: InvocationTargetException - Error in deserialization of response of web service > Hello, > I have a web service client code that creates a hotel > reservation in a online reseravation system. > > The java classes were generated with wsdl2java from a > wsdl file with several schema files. > > The call to the webservice works fine (I see the > traffic exchange with tcpdump) but when the response > soap message has to be converted to java objects it > throws an InvocationTargetException. > > java.lang.reflect.InvocationTargetException >at > org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462) >at > org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393) >at > org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154) >at > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) >at > org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) >at > org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) >at > org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) >at > org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) >at > org.apache.axis.client.Call.invoke(Call.java:2448) >at > org.apache.axis.client.Call.invoke(Call.java:2347) >at > org.apache.axis.client.Call.invoke(Call.java:1804) >at > com.oracle.xmlns.OTA_HotelRes.OTA_HotelResBindingStub.process(OTA_HotelResBindingStub.java:6269) >at > ota_client.nh.NHHotelWSCaller$NHHotelReservationWS.doHotelReservationQuote(NHHotelWSCaller.java:853) >at > ota_client.nh.NHHotelWSCaller.doHotelReservationQuote(NHHotelWSCaller.java:157) >at > controllers.HotelReservationController.preReserveRooms(HotelReservationController.java:121) >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:585) >at > org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) >at > org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) >at > javax.faces.component.UICommand.broadcast(UICommand.java:106) >at > javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) >at > javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) >at > org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) >at > org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) >at > javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) >at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) >at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >at > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) >at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) >at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >at > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) >at > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) >
InvocationTargetException - Error in deserialization of response of web service
Hello, I have a web service client code that creates a hotel reservation in a online reseravation system. The java classes were generated with wsdl2java from a wsdl file with several schema files. The call to the webservice works fine (I see the traffic exchange with tcpdump) but when the response soap message has to be converted to java objects it throws an InvocationTargetException. java.lang.reflect.InvocationTargetException at org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393) at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2448) at org.apache.axis.client.Call.invoke(Call.java:2347) at org.apache.axis.client.Call.invoke(Call.java:1804) at com.oracle.xmlns.OTA_HotelRes.OTA_HotelResBindingStub.process(OTA_HotelResBindingStub.java:6269) at ota_client.nh.NHHotelWSCaller$NHHotelReservationWS.doHotelReservationQuote(NHHotelWSCaller.java:853) at ota_client.nh.NHHotelWSCaller.doHotelReservationQuote(NHHotelWSCaller.java:157) at controllers.HotelReservationController.preReserveRooms(HotelReservationController.java:121) 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:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 11:18:30,060 ERROR [STDERR] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.reflect.InvocationTargetException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.lang.reflect.InvocationTargetException at org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393)
Re: Error in deserialization
Hi, I just stumbled over this question and I guess you have solved the problem yourself by now, but in case you haven't, here are some hints... The EndUserIdentifier is defined in an xml-schema. You can find this schema at http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_common_types.xsd or download all the files from www.parlay.org (but then you need to know which version to select and you will have to edit the location URL to point to the correct server) Anyway, here is what the EndUserIdentifier looks like: Axis will map this to the java type org.apache.axis.types.URI And here is what your code might look like: org.apache.axis.types.URI callingParty = new org.apache.axis.types.URI("tel:+440123456789;vnd.bt.cli-presentation=available";); Note that when you compile the wsdl files with axis wsdl2java, all the wsdl and xml-schema files must be present in the same directory. Unfortunately the wsdl2java does, as far as I know, not have any equivalence to javas classpath. It just assumes that files imported into a wsdl are in the same directory. Regards, Andreas Bjarlestam Hello, I've tried that but i get a type mismatch error - connot convert a String to EndUserIdentifier Thanks for your help From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Subject: Re: Error in deserialization Date: Wed, 1 Jun 2005 08:19:36 -0400 Very simple. Change these statements: String callingparty = " <tel:+440123456789;vnd.bt.cli-presentation=available%22>;; String calledparty = " <tel:+440123456789;vnd.bt.cli-presentation=available%22>;; to this: EndUserIdentifier callingparty = " <tel:+440123456789;vnd.bt.cli-presentation=available%22>;; EndUserIdentifier calledparty = " <tel:+440123456789;vnd.bt.cli-presentation=available%22>;; Anne On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > Hi Anne, > > I've created stubs as you have suggested and I have 4 packages with several > java in each > > There one java file EndUserIdentifier.java > > I've then looked at the method i'm trying to call (makeACall) that look like > this : > > public String makeACall(EndUserIdentifier callingParty, EndUserIdentifier > calledParty, String charging) > > The parameters i'm trying to pass are : > > callingParty = " <tel:+44123456789;vnd.bt.cli-presentation=available%22>;; > calledParty = " <tel:+44123456789;vnd.bt.cli-presentation=available%22>;; > String charging ="9F" > > By looking at the method callingParty and calledParty must be of type > EndUserIdentifier, I think this is my problem, I am passing these values in > as Strings but I must pass them in as EndUserIdentifier types but i'm not > sure how i convert to this > > Am i looking in the right direction? Can you help me convert my > callingParty and calledParty to type EndUserIdentifier? > > Thanks very much for your help > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >Subject: Re: Error in deserialization > >Date: Tue, 31 May 2005 08:34:38 -0400 > > > >Kumar, > > > >This WSDL imports another WSDL and two schemas. Can you send us those also? > >Also, can you tell us how you built and configured your client? I > >noticed that you're using the call interface. Have you tryied creating > >a stub client and invoking operations on the stub? > > > >Anne > > > >On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > Hello again > > > > > > Sorry clicked send too soon > > > > > > In the 2nd WSDL there's another reference to a WSDL, heres that WSDL > > > > > >
Re: Error in deserialization
Hello, I've tried that but i get a type mismatch error - connot convert a String to EndUserIdentifier Thanks for your help From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Subject: Re: Error in deserialization Date: Wed, 1 Jun 2005 08:19:36 -0400 Very simple. Change these statements: String callingparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; String calledparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; to this: EndUserIdentifier callingparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; EndUserIdentifier calledparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; Anne On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > Hi Anne, > > I've created stubs as you have suggested and I have 4 packages with several > java in each > > There one java file EndUserIdentifier.java > > I've then looked at the method i'm trying to call (makeACall) that look like > this : > > public String makeACall(EndUserIdentifier callingParty, EndUserIdentifier > calledParty, String charging) > > The parameters i'm trying to pass are : > > callingParty = "tel:+44123456789;vnd.bt.cli-presentation=available";; > calledParty = "tel:+44123456789;vnd.bt.cli-presentation=available";; > String charging ="9F" > > By looking at the method callingParty and calledParty must be of type > EndUserIdentifier, I think this is my problem, I am passing these values in > as Strings but I must pass them in as EndUserIdentifier types but i'm not > sure how i convert to this > > Am i looking in the right direction? Can you help me convert my > callingParty and calledParty to type EndUserIdentifier? > > Thanks very much for your help > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >Subject: Re: Error in deserialization > >Date: Tue, 31 May 2005 08:34:38 -0400 > > > >Kumar, > > > >This WSDL imports another WSDL and two schemas. Can you send us those also? > >Also, can you tell us how you built and configured your client? I > >noticed that you're using the call interface. Have you tryied creating > >a stub client and invoking operations on the stub? > > > >Anne > > > >On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > Hello again > > > > > > Sorry clicked send too soon > > > > > > In the 2nd WSDL there's another reference to a WSDL, heres that WSDL > > > > > > Thanks for any help you can ofer, much apreciated > > > > > > P > > > > > > > > > > > > - > > > - > > > targetNamespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; > > > xmlns="http://schemas.xmlsoap.org/wsdl/"; > > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > > > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >To: axis-user@ws.apache.org > > > >Subject: Re: Error in deserialization > > > >Date: Sat, 28 May 2005 17:36:15 -0400 > > > > > > > >Kumar, > > > > > > > >The WSDL you sent me contains this 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 , , and > > > >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 > >
Re: Error in deserialization
Very simple. Change these statements: String callingparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; String calledparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; to this: EndUserIdentifier callingparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; EndUserIdentifier calledparty = "tel:+440123456789;vnd.bt.cli-presentation=available";; Anne On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > Hi Anne, > > I've created stubs as you have suggested and I have 4 packages with several > java in each > > There one java file EndUserIdentifier.java > > I've then looked at the method i'm trying to call (makeACall) that look like > this : > > public String makeACall(EndUserIdentifier callingParty, EndUserIdentifier > calledParty, String charging) > > The parameters i'm trying to pass are : > > callingParty = "tel:+44123456789;vnd.bt.cli-presentation=available";; > calledParty = "tel:+44123456789;vnd.bt.cli-presentation=available";; > String charging ="9F" > > By looking at the method callingParty and calledParty must be of type > EndUserIdentifier, I think this is my problem, I am passing these values in > as Strings but I must pass them in as EndUserIdentifier types but i'm not > sure how i convert to this > > Am i looking in the right direction? Can you help me convert my > callingParty and calledParty to type EndUserIdentifier? > > Thanks very much for your help > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >Subject: Re: Error in deserialization > >Date: Tue, 31 May 2005 08:34:38 -0400 > > > >Kumar, > > > >This WSDL imports another WSDL and two schemas. Can you send us those also? > >Also, can you tell us how you built and configured your client? I > >noticed that you're using the call interface. Have you tryied creating > >a stub client and invoking operations on the stub? > > > >Anne > > > >On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > Hello again > > > > > > Sorry clicked send too soon > > > > > > In the 2nd WSDL there's another reference to a WSDL, heres that WSDL > > > > > > Thanks for any help you can ofer, much apreciated > > > > > > P > > > > > > > > > > > > - > > > - > > targetNamespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; > > > xmlns="http://schemas.xmlsoap.org/wsdl/"; > > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > > > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >To: axis-user@ws.apache.org > > > >Subject: Re: Error in deserialization > > > >Date: Sat, 28 May 2005 17:36:15 -0400 > > > > > > > >Kumar, > > > > > > > >The WSDL you sent me contains this 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 , , and > > > >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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: Error in deserialization
Hi Anne, I've created stubs as you have suggested and I have 4 packages with several java in each There one java file EndUserIdentifier.java I've then looked at the method i'm trying to call (makeACall) that look like this : public String makeACall(EndUserIdentifier callingParty, EndUserIdentifier calledParty, String charging) The parameters i'm trying to pass are : callingParty = "tel:+44123456789;vnd.bt.cli-presentation=available";; calledParty = "tel:+44123456789;vnd.bt.cli-presentation=available";; String charging ="9F" By looking at the method callingParty and calledParty must be of type EndUserIdentifier, I think this is my problem, I am passing these values in as Strings but I must pass them in as EndUserIdentifier types but i'm not sure how i convert to this Am i looking in the right direction? Can you help me convert my callingParty and calledParty to type EndUserIdentifier? Thanks very much for your help From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Subject: Re: Error in deserialization Date: Tue, 31 May 2005 08:34:38 -0400 Kumar, This WSDL imports another WSDL and two schemas. Can you send us those also? Also, can you tell us how you built and configured your client? I noticed that you're using the call interface. Have you tryied creating a stub client and invoking operations on the stub? Anne On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > Hello again > > Sorry clicked send too soon > > In the 2nd WSDL there's another reference to a WSDL, heres that WSDL > > Thanks for any help you can ofer, much apreciated > > P > > > > - > - targetNamespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; > xmlns="http://schemas.xmlsoap.org/wsdl/"; > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > - > > > - > > > - > > > - > > > - > > > - > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >Subject: Re: Error in deserialization > >Date: Sat, 28 May 2005 17:36:15 -0400 > > > >Kumar, > > > >The WSDL you sent me contains this 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 , , and > >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 > > > >descriptions. > > > > > > > >Thanks, > > > >Anne > > > > > > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Here is the WSDL > > > > > > > > > > Thanks for any help > > > > > > > > > > > > > > > > > > > > - > > > > > - > > > > > > > > > >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";> > > > > >
Re: Error in deserialization
Hi Anne, Here are the 3 links to the WSDL files http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_third_party_calling_service.wsdl http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_third_party_calling_service_port.wsdl http://uddi.bt.com/WSDL/parlayx/thirdpartycallservice/rpc-lit/parlayx_common_faults.wsdl I can't see the reference to the schemas. Are they in the parlayx_common_faults.wsdl file? I have created a stub client but i'm unsure how to call it. I'm familiar with the Call interface and know how to use it. I've inc. my java file to invoke their uddi regesrty and call the method passing the parameters Thanks for your help From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Subject: Re: Error in deserialization Date: Tue, 31 May 2005 08:34:38 -0400 Kumar, This WSDL imports another WSDL and two schemas. Can you send us those also? Also, can you tell us how you built and configured your client? I noticed that you're using the call interface. Have you tryied creating a stub client and invoking operations on the stub? Anne On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > Hello again > > Sorry clicked send too soon > > In the 2nd WSDL there's another reference to a WSDL, heres that WSDL > > Thanks for any help you can ofer, much apreciated > > P > > > > - > - targetNamespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; > xmlns="http://schemas.xmlsoap.org/wsdl/"; > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > - > > > - > > > - > > > - > > > - > > > - > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >Subject: Re: Error in deserialization > >Date: Sat, 28 May 2005 17:36:15 -0400 > > > >Kumar, > > > >The WSDL you sent me contains this 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 , , and > >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 > > > >descriptions. > > > > > > > >Thanks, > > > >Anne > > > > > > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Here is the WSDL > > > > > > > > > > Thanks for any help > > > > > > > > > > > > > > > > > > > > - > > > > > - > > > > > > > > > >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";> > > > > >> > > > > > > > > >namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"; > > > > > location="parlayx_third_party_calling_service_port.wsdl" /> > > > > > - > > >type="port:ThirdPartyCallPort"> >
Re: Error in deserialization
Kumar, This WSDL imports another WSDL and two schemas. Can you send us those also? Also, can you tell us how you built and configured your client? I noticed that you're using the call interface. Have you tryied creating a stub client and invoking operations on the stub? Anne On 5/31/05, Plorks mail <[EMAIL PROTECTED]> wrote: > Hello again > > Sorry clicked send too soon > > In the 2nd WSDL there's another reference to a WSDL, heres that WSDL > > Thanks for any help you can ofer, much apreciated > > P > > > > - > - targetNamespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; > xmlns="http://schemas.xmlsoap.org/wsdl/"; > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > - > > > - > > > - > > > - > > > - > > > - > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >Subject: Re: Error in deserialization > >Date: Sat, 28 May 2005 17:36:15 -0400 > > > >Kumar, > > > >The WSDL you sent me contains this 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 , , and > >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 > > > >descriptions. > > > > > > > >Thanks, > > > >Anne > > > > > > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Here is the WSDL > > > > > > > > > > Thanks for any help > > > > > > > > > > > > > > > > > > > > - > > > > > - > > > > > > > > > >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";> > > > > >> > > > > > > > > >namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"; > > > > > location="parlayx_third_party_calling_service_port.wsdl" /> > > > > > - > > >type="port:ThirdPartyCallPort"> > > > > >> > >transport="http://schemas.xmlsoap.org/soap/http"; > > > > > /> > > > > > - > > > > >>/> > > > > > - > > > > > > > > > > > > > > > - > > > > > > > > > > > > > > > - > > > > > > > > > > > > > > > - > > > > > > > > > > > > > > > - > > > > > > > > > > > > > > > > > > > > - > > > > >> > >style="rpc" > > > > > /> > > > > > - > > > > > > > > > > > > > > > - > > > > > > > > > >
Re: Error in deserialization
Hello again Sorry clicked send too soon In the 2nd WSDL there's another reference to a WSDL, heres that WSDL Thanks for any help you can ofer, much apreciated P - - targetNamespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> - - - - - - From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Subject: Re: Error in deserialization Date: Sat, 28 May 2005 17:36:15 -0400 Kumar, The WSDL you sent me contains this import: 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 , , and 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 > >descriptions. > > > >Thanks, > >Anne > > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > > > > Here is the WSDL > > > > > > Thanks for any help > > > > > > > > > > > > - > > > - > > > >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";> > > >> > > >namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"; > > > location="parlayx_third_party_calling_service_port.wsdl" /> > > > - >type="port:ThirdPartyCallPort"> > > >>transport="http://schemas.xmlsoap.org/soap/http"; > > > /> > > > - > > > /> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > >>style="rpc" > > > /> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > >>style="rpc" > > > /> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > > > > - > > > - >binding="tns:ThirdPartyCallBinding"> > > >> > > >location="http://www.wwcc.bt.com:9000/ccx/parlayx_third_party_calling_service"; > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >To: axis-user@ws.apache.org > > > >Subject: Re: Error in deserialization > > > >Date: Fri, 27 May 2005 08:43:59 -0400 > > > > > > > >Can you provide us with the WSDL? > &
Re: Error in deserialization
Hi Anne, Here's the WSDL file referenced in the original WSDL - - 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";> namespace="http://www.csapi.org/wsdl/parlayx/common_faults/v1_0"; location="parlayx_common_faults.wsdl" /> - - http://www.csapi.org/schema/parlayx/common/v1_0"; schemaLocation="parlayx_common_types.xsd" /> namespace="http://www.csapi.org/schema/parlayx/third_party_calling/v1_0"; schemaLocation="parlayx_third_party_calling_types.xsd" /> - - - - /> /> - - - type="parlayx_third_party_calling_xsd:CallInformationType" /> - - - - message="parlayx_common_faults:UnknownEndUserException" /> message="parlayx_common_faults:InvalidArgumentException" /> message="parlayx_common_faults:ServiceException" /> - message="tns:UnknownCallIdentifierException" /> message="parlayx_common_faults:ServiceException" /> - message="tns:CallTerminatedException" /> message="tns:UnknownCallIdentifierException" /> message="parlayx_common_faults:ServiceException" /> - message="tns:CallConnectedException" /> message="tns:UnknownCallIdentifierException" /> message="parlayx_common_faults:ServiceException" /> From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Subject: Re: Error in deserialization Date: Sat, 28 May 2005 17:36:15 -0400 Kumar, The WSDL you sent me contains this import: 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 , , and 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 > >descriptions. > > > >Thanks, > >Anne > > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > > > > Here is the WSDL > > > > > > Thanks for any help > > > > > > > > > > > > - > > > - > > > >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";> > > >> > > >namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"; > > > location="parlayx_third_party_calling_service_port.wsdl" /> > > > - >type="port:ThirdPartyCallPort"> > > >>transport="http://schemas.xmlsoap.org/soap/http"; > > > /> > > > - > > > /> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > >>style="rpc" > > > /> > > > - > > > > > >
Re: Error in deserialization
Kumar, The WSDL you sent me contains this import: 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 , , and 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 > >descriptions. > > > >Thanks, > >Anne > > > >On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > > > > Here is the WSDL > > > > > > Thanks for any help > > > > > > > > > > > > - > > > - > > > >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";> > > >> > > >namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"; > > > location="parlayx_third_party_calling_service_port.wsdl" /> > > > - >type="port:ThirdPartyCallPort"> > > >>transport="http://schemas.xmlsoap.org/soap/http"; > > > /> > > > - > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > >>style="rpc" > > > /> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > - > > >>style="rpc" > > > /> > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > - > > > > > > > > > > > > > > > - > > > - >binding="tns:ThirdPartyCallBinding"> > > >> > > >location="http://www.wwcc.bt.com:9000/ccx/parlayx_third_party_calling_service"; > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > > > >To: axis-user@ws.apache.org > > > >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 > &g
Re: Error in deserialization
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 descriptions. Thanks, Anne On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > Here is the WSDL > > Thanks for any help > > > > - > - > 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";> > > namespace="http://www.csapi.org/wsdl/parlayx/third_party_calling/v1_0/service_port"; > location="parlayx_third_party_calling_service_port.wsdl" /> > - type="port:ThirdPartyCallPort"> > transport="http://schemas.xmlsoap.org/soap/http"; > /> > - > > - > > > - > > > - > > > - > > > - > > > > - > style="rpc" > /> > - > > > - > > > - > > > - > > > > - > > - > > > - > > > - > > > - > > > - > > > > - > style="rpc" > /> > - > > > - > > > - > > > - > > > - > > > > > - > - binding="tns:ThirdPartyCallBinding"> > > location="http://www.wwcc.bt.com:9000/ccx/parlayx_third_party_calling_service"; > /> > > > > > > > > > >From: Anne Thomas Manes <[EMAIL PROTECTED]> > >Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]> > >To: axis-user@ws.apache.org > >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
Re: Error in deserialization
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/ > >
Error in deserialization
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/
Error in deserialization
Hi all I'm trying to access an external web service and get the error on call.invoke 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 Can anyone tell me what this means. Would it be best to go back to the web service supplier with the error? I have to pass credentials which the web service provider have given me, and passing them like this Thanks for any help Service service = new Service(); Call call = (Call)service.createCall(); call.setTargetEndpointAddress(endpoint); call.setUsername("username"); call.setPassword("password"); call.setOperationName("method"); . _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters