You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Xinjun Chen <xj...@gmail.com> on 2006/09/23 15:35:40 UTC

Re: No deserializer error

But {http://www.w3.org/2001/XMLSchema}string seems not to be and
user-defined type. It is simply built-in XMLSchema type. I guess there must
be some missing step or misconfiguration. Rodrigo Faria, have you found the
reason and solution? Could you also post the answer to the forum if you have
got the answer?


Regards,
Xinjun


On 8/29/06, Anne Thomas Manes <at...@gmail.com> wrote:
>
> You must define a deserializer for your User type.
>
> Anne
>
> On 8/29/06, Rodrigo Faria <ro...@ecore.com.br> wrote:
> > I am facing a "No deserializer" error coming from Apache Axis code.
> >
> > This is the installed version:
> > Manifest-Version: 1.0
> > Ant-Version: Apache Ant 1.5.3
> > Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.)
> > Name: org/apache/axis
> > Implementation-Title: Apache Axis
> > Implementation-Version: 1.1 1021 June 13 2003
> > Implementation-Vendor: Apache Web Services
> >
> > This was the log error:
> > 2006-08-27 18:06:56,941 DEBUG [Servlet.Engine.Transports : 9]
> builder.AxisDIIWebServiceBuilder (AxisDIIWebServiceBuilder.java:333) -
> Loop: getUserByLogin getUserByLogin
> > 2006-08-27 18:06:56,941 DEBUG [Servlet.Engine.Transports : 9]
> builder.AxisDIIWebServiceBuilder (AxisDIIWebServiceBuilder.java:336) -
> Found operation
> > 2006-08-27 18:06:56,942 DEBUG [Servlet.Engine.Transports : 9]
> builder.AxisDIIWebServiceBuilder (AxisDIIWebServiceBuilder.java:338) -
> Parameters
> > returnParam = (QName:         {http://user.dvo.core.sac.abc.com}User
> > name:          null
> > isReferenced?  true
> > Class:         org.apache.axis.wsdl.symbolTable.DefinedType
> > Base?:         false
> > Undefined?:    false
> > isSimpleType?  false
> > Node:          [complexType: null]
> > Dims:
> > RefType:       null
> > , getUserByLoginReturn, OUT)
> > faults = {SACFault=Fault: name=SACFault
> > Message: name={http://service.ws.sac.abc.com}SACFault
> > Part: name=fault
> > typeName={http://fault.ws.sac.abc.com}SACFault}
> > signature = null
> > (inputs, inouts, outputs) = (2, 0, 1)
> > list = [(QName:         {http://www.w3.org/2001/XMLSchema}string
> > name:          null
> > isReferenced?  true
> > Class:         org.apache.axis.wsdl.symbolTable.BaseType
> > Base?:         true
> > Undefined?:    false
> > isSimpleType?  false
> > Node:          null
> > Dims:
> > RefType:       null
> > , clientId, IN), (QName:         {
> http://www.w3.org/2001/XMLSchema}string
> > name:          null
> > isReferenced?  true
> > Class:         org.apache.axis.wsdl.symbolTable.BaseType
> > Base?:         true
> > Undefined?:    false
> > isSimpleType?  false
> > Node:          null
> > Dims:
> > RefType:       null
> > , isiUserId, IN)]
> >
> >
> > 2006-08-27 18:06:56,982 ERROR [Servlet.Engine.Transports : 9]
> adapter.AxisDIIWebServiceAdapter (AxisDIIWebServiceAdapter.java:137) -
> com.adp.windward.fmwk.adapter.AxisDIIWebServiceAdapter.invoke(): Remote
> Exception is an Axis Fault.; nested exception is:
> >  org.xml.sax.SAXException: No deserializer for {
> http://www.w3.org/2001/XMLSchema}string
> > AxisFault
> > faultCode: {
> http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > faultSubcode:
> > faultString: org.xml.sax.SAXException: No deserializer for {
> http://www.w3.org/2001/XMLSchema}string
> > faultActor:
> > faultNode:
> > faultDetail:
> >  {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: No
> deserializer for {http://www.w3.org/2001/XMLSchema}string
> >  at org.apache.axis.encoding.DeserializerImpl.onStartElement(
> DeserializerImpl.java(Compiled Code))
> >  at org.apache.axis.encoding.DeserializerImpl.startElement(
> DeserializerImpl.java(Compiled Code))
> >  at org.apache.axis.encoding.DeserializationContextImpl.startElement(
> DeserializationContextImpl.java(Compiled Code))
> >  at org.apache.axis.message.SAX2EventRecorder.replay(
> SAX2EventRecorder.java(Compiled Code))
> >  at org.apache.axis.message.MessageElement.publishToHandler(
> MessageElement.java(Inlined Compiled Code))
> >  at org.apache.axis.encoding.DeserializerImpl.startElement(
> DeserializerImpl.java(Compiled Code))
> >  at org.apache.axis.encoding.ser.BeanDeserializer.startElement(
> BeanDeserializer.java(Compiled Code))
> >  at org.apache.axis.encoding.DeserializationContextImpl.startElement(
> DeserializationContextImpl.java(Compiled Code))
> >  at org.apache.axis.message.SAX2EventRecorder.replay(
> SAX2EventRecorder.java(Compiled Code))
> >  at org.apache.axis.message.MessageElement.publishToHandler(
> MessageElement.java:722)
> >  at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
> >  at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
> >  at org.apache.axis.client.Call.invoke(Call.java:2272)
> >  at org.apache.axis.client.Call.invoke(Call.java:2171)
> >  at org.apache.axis.client.Call.invoke(Call.java:1691)
> >
> >
> > Does somebody faced this problem before? Any clues to debug this issue?
> >
> > Thanks,
> > Rodrigo Faria
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>