Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 41440 invoked by uid 500); 20 Nov 2002 20:08:23 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 41358 invoked from network); 20 Nov 2002 20:08:21 -0000 Reply-To: From: "Vijetha Vadlakonda \(vijetha\)" To: Subject: Unable to find Deserializer Date: Wed, 20 Nov 2002 12:08:25 -0800 Message-ID: <02f701c290d0$95962e80$1bccea0c@amer.cisco.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02F8_01C2908D.8772EE80" X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: High X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_02F8_01C2908D.8772EE80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I have an element, say XYZ, which was a part of an XSD file and used to referred using one namespace, say xmlns:axl=" http://www.abc.com/AXL/1.0". But,later I moved it into the WSDL file and refer to it usinf this namespace, namely, xmlns:axlapi="http://www.abc.com/AXLAPI/1.0". I then ran the WSDL2Java tool on this WSDL file and got the stubs. Everything went fine. Then, I created the Client which uses the XYZ element. But when I run the client, it gives out an error as follows, org.xml.sax.SAXException: No deserializer for {http://www.abc.com/AXL/1.0}XYZ at org.apache.axis.encoding.DeserializerImpl.onStartElement(Deserializer Impl.java:447) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm pl.java:394) at org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese rializationContextImpl.java:906) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja va:200) at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen t.java:684) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:241) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265) at org.apache.axis.client.Call.invoke(Call.java:1871) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at com.cisco.axlapi.AXLAPIBindingStub.getPhone(AXLAPIBindingStub.java:20 42) at com.cisco.axlapi.PhoneClient.main(PhoneClient.java:31) How come it is looking for the Deserializer for {http://www.abc.com/AXL/1.0}XYZ when I use {http://www.abc.com/AXLAPI/1.0}XYZ ? Please help. I have no clue as to what might me happening and it is pretty urgent. Thanks Vijetha ------=_NextPart_000_02F8_01C2908D.8772EE80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hi,
 
I have an=20 element, say XYZ, which was a part of an XSD file and used to referred = using one=20 namespace, say xmlns:axl=3D"http://www.abc.com/AXL/1.0". But,later I moved = it into the=20 WSDL file and refer to it usinf this namespace, namely, = xmlns:axlapi=3D"http://www.abc.com/AXLAPI/1.0"= .=20
 
I then = ran the=20 WSDL2Java tool on this WSDL file and got the stubs. Everything went = fine. Then,=20 I created the Client which uses the XYZ element. But when I run the = client, it=20 gives out an error as follows,
 
org.xml.sax.SAXException: No deserializer for=20 {http://www.abc.com/AXL/1.0}XYZ
      &n= bsp; at=20 org.apache.axis.encoding.DeserializerImpl.onStartElement(Deserializer
= Impl.java:447)
       =20 at=20 org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm
= pl.java:394)
       =20 at=20 org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
= rializationContextImpl.java:906)
      &= nbsp;=20 at=20 org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
= va:200)
       =20 at=20 org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
= t.java:684)
       =20 at=20 org.apache.axis.message.RPCElement.deserialize(RPCElement.java:241)
&n= bsp;      =20 at=20 org.apache.axis.message.RPCElement.getParams(RPCElement.java:265)
&nbs= p;      =20 at=20 org.apache.axis.client.Call.invoke(Call.java:1871)
   &= nbsp;   =20 at=20 org.apache.axis.client.Call.invoke(Call.java:1777)
   &= nbsp;   =20 at=20 org.apache.axis.client.Call.invoke(Call.java:1315)
   &= nbsp;   =20 at=20 com.cisco.axlapi.AXLAPIBindingStub.getPhone(AXLAPIBindingStub.java:20
= 42)
       =20 at = com.cisco.axlapi.PhoneClient.main(PhoneClient.java:31)
 
How = come it is=20 looking for the Deserializer for {http://www.abc.com/AXL/1.0}XYZ when I = use=20 {http://www.abc.com/AXLAPI/1.0}XYZ ?
 
Please = help. I have=20 no clue as to what might me happening and it is pretty=20 urgent.
 
Thanks
Vijetha


------=_NextPart_000_02F8_01C2908D.8772EE80--