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 Sunil Iyengar <s....@eim.surrey.ac.uk> on 2003/10/28 15:09:43 UTC
handlers and custom types
Hello everyone,
I have a web service which returns a string. I have added security
handlers to the client side and server side and they work and everything
is okay.
I have another service which returns custom types, which work perfectly
fine without handlers. But when using the security handlers on the
client and server side I get the following error on the client
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a
child element, which is NOT expected, in something it was trying to
deserialize.
faultActor: null
faultDetail:
stackTrace: org.xml.sax.SAXException: SimpleDeserializer
encountered
a child element, which is NOT expected, in something it was trying to
deserialize.
at
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeseriali
zer.java:188)
Any help or insight into the problem would be appreciated.
Cheers
Sunny
--
***********************************************************
Sunil Iyengar,
University Of Surrey, Guildford GU2 7XH,
Surrey, England, United Kingdom.
Office: +44 (0)1483 686008
***********************************************************
Re: handlers and custom types
Posted by vairamuthu thayapavan <vt...@vijayaba.cse.mrt.ac.lk>.
hi!
problem might occur in the serialization and deserialization part by handler
invoke. u can observe the soap serialization message patteren using tcp
monitor. then u can find out, what wrong in the serialization and
deserialization .
hope this 'll help u
regards
vtpavan
----- Original Message -----
From: "Sunil Iyengar" <s....@eim.surrey.ac.uk>
To: "axis-user" <ax...@ws.apache.org>
Sent: Tuesday, October 28, 2003 8:09 PM
Subject: handlers and custom types
> Hello everyone,
> I have a web service which returns a string. I have added security
> handlers to the client side and server side and they work and everything
> is okay.
> I have another service which returns custom types, which work perfectly
> fine without handlers. But when using the security handlers on the
> client and server side I get the following error on the client
>
>
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.userException
> faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a
>
> child element, which is NOT expected, in something it was trying to
> deserialize.
> faultActor: null
> faultDetail:
> stackTrace: org.xml.sax.SAXException: SimpleDeserializer
> encountered
> a child element, which is NOT expected, in something it was trying to
> deserialize.
> at
>
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeseriali
>
> zer.java:188)
>
> Any help or insight into the problem would be appreciated.
>
> Cheers
> Sunny
>
> --
> ***********************************************************
> Sunil Iyengar,
> University Of Surrey, Guildford GU2 7XH,
> Surrey, England, United Kingdom.
> Office: +44 (0)1483 686008
> ***********************************************************
>
>
>
RE: handlers and custom types
Posted by chris <ch...@cobia.net>.
Do you have the custom types registered? Registration is either via
code or WSDD.
/Chris
http://cvs.apache.org/~haddadc
-----Original Message-----
From: Sunil Iyengar [mailto:s.iyengar@eim.surrey.ac.uk]
Sent: Tuesday, October 28, 2003 9:10 AM
To: axis-user
Subject: handlers and custom types
Hello everyone,
I have a web service which returns a string. I have added security
handlers to the client side and server side and they work and everything
is okay.
I have another service which returns custom types, which work perfectly
fine without handlers. But when using the security handlers on the
client and server side I get the following error on the client
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a
child element, which is NOT expected, in something it was trying to
deserialize.
faultActor: null
faultDetail:
stackTrace: org.xml.sax.SAXException: SimpleDeserializer
encountered
a child element, which is NOT expected, in something it was trying to
deserialize.
at
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeser
iali
zer.java:188)
Any help or insight into the problem would be appreciated.
Cheers
Sunny
--
***********************************************************
Sunil Iyengar,
University Of Surrey, Guildford GU2 7XH,
Surrey, England, United Kingdom.
Office: +44 (0)1483 686008
***********************************************************