You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Srinath K <sr...@aztecsoft.com> on 2006/08/21 16:12:25 UTC

Exception in Axis while returning an array of objects..

Hi All,

I know there has been many posts regarding this error
"org.xml.sax.SAXException: No deserializer defined for array type "

But I didn't find any workaround approach or something to solve this
issue.

Is this something a known limitation or something

How do we solve this, please help me..


Thanks in advance

-Srinath


Aug 21, 2006 7:36:41 PM org.apache.axis.client.Call invoke
SEVERE: Exception:
org.xml.sax.SAXException: No deserializer defined for array type
{http://hellows
}HelloBean
        at
org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(ArrayDe
serializer.java:276)
        at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm
pl.java:393)
        at
org.apache.axis.encoding.DeserializationContext.startElement(Deserial
izationContext.java:1048)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:165)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.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:2525)
        at org.apache.axis.client.Call.invoke(Call.java:2424)
        at org.apache.axis.client.Call.invoke(Call.java:1835)
        at HelloWSClient.main(HelloWSClient.java:38)
Exception in thread "main" AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: No deserializer defined for
array type {
http://hellows}HelloBean
 faultActor:
 faultNode:


The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

www.aztecsoft.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Exception in Axis while returning an array of objects..

Posted by Anne Thomas Manes <at...@gmail.com>.
You must define a type mapping for HelloBean.

On 8/21/06, Srinath K <sr...@aztecsoft.com> wrote:
>
> Hi All,
>
> I know there has been many posts regarding this error
> "org.xml.sax.SAXException: No deserializer defined for array type "
>
> But I didn't find any workaround approach or something to solve this
> issue.
>
> Is this something a known limitation or something
>
> How do we solve this, please help me..
>
>
> Thanks in advance
>
> -Srinath
>
>
> Aug 21, 2006 7:36:41 PM org.apache.axis.client.Call invoke
> SEVERE: Exception:
> org.xml.sax.SAXException: No deserializer defined for array type
> {http://hellows
> }HelloBean
>         at
> org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(ArrayDe
> serializer.java:276)
>         at
> org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm
> pl.java:393)
>         at
> org.apache.axis.encoding.DeserializationContext.startElement(Deserial
> izationContext.java:1048)
>         at
> org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
> va:165)
>         at
> org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
> t.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:2525)
>         at org.apache.axis.client.Call.invoke(Call.java:2424)
>         at org.apache.axis.client.Call.invoke(Call.java:1835)
>         at HelloWSClient.main(HelloWSClient.java:38)
> Exception in thread "main" AxisFault
>  faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode:
>  faultString: org.xml.sax.SAXException: No deserializer defined for
> array type {
> http://hellows}HelloBean
>  faultActor:
>  faultNode:
>
>
> The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
>
> www.aztecsoft.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org