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 khurana <kh...@yahoo.com> on 2008/01/30 02:08:44 UTC
How to handle No deserializer for anyType for external service
Hi Guys
I am getting "No deserializer for {http://www.w3.org/2001/XMLSchema}anyType"
exception while accessing some other project web service. Looking at the
forum and documentation, solution is to use
<typeMapping> in wsdd file. But in this scenario I am user of Web service
and can't change anything related to Web service deployment. WSDL file
contains an element of xsd:anyType. I am trying to access the web service
using Stub approach using wsdl2Java utility. Running this utility is
providing Object type for element having type "xsd"anyType" and not the
SOAPElement. Does anybody have any insight in this issue?
Thanks
Khurana
--
View this message in context: http://www.nabble.com/How-to-handle-No-deserializer-for-anyType-for-external-service-tp15173523p15173523.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Logging SOAP messages
Posted by Charitha Kankanamge <ch...@wso2.com>.
Hi David,
You can use logging module as explianed in
http://ws.apache.org/axis2/1_3/modules.html#MyService_with_a_Logging_Module
regards
Charitha
David Meiklejohn wrote:
>Thanks.
>This looks like it will do what I'm after, it sounds similar to TcpMon with some logging functionality.
>
>However, if I was able to avoid using another piece of software to act as a proxy for logging that would be nicer. Is there a way for Axis2 to deliver the same logging functionality; saving the XML messages sent/received to a specified log file?
>
>David Meiklejohn
>--
>
>
>-----Original Message-----
>From: Kraus, David [mailto:dkraus@MicroStrategy.com]
>Sent: Wednesday, 30 January 2008 11:43 AM
>To: axis-user@ws.apache.org
>Subject: RE: Logging SOAP messages
>
>Try using the TcpTrace tool to trace/log SOAP messages. It can be
>downloaded for free.
>
>-----Original Message-----
>From: David Meiklejohn [mailto:dmeiklejohn@iseek.com.au]
>Sent: Tuesday, January 29, 2008 5:30 PM
>To: 'axis-user@ws.apache.org'
>Subject: Logging SOAP messages
>
>Hi,
>
>Out of curiosity, is there a simple way to turn on logging of SOAP
>messages in/out of Axis2 web services? Do I have to install a module to
>do this, and if so, is there a recommended module?
>
>Thanks
>
>David Meiklejohn
>--
>
>
>---------------------------------------------------------------------
>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
>
>
>---------------------------------------------------------------------
>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
RE: Logging SOAP messages
Posted by David Meiklejohn <dm...@iseek.com.au>.
Thanks.
This looks like it will do what I'm after, it sounds similar to TcpMon with some logging functionality.
However, if I was able to avoid using another piece of software to act as a proxy for logging that would be nicer. Is there a way for Axis2 to deliver the same logging functionality; saving the XML messages sent/received to a specified log file?
David Meiklejohn
--
-----Original Message-----
From: Kraus, David [mailto:dkraus@MicroStrategy.com]
Sent: Wednesday, 30 January 2008 11:43 AM
To: axis-user@ws.apache.org
Subject: RE: Logging SOAP messages
Try using the TcpTrace tool to trace/log SOAP messages. It can be
downloaded for free.
-----Original Message-----
From: David Meiklejohn [mailto:dmeiklejohn@iseek.com.au]
Sent: Tuesday, January 29, 2008 5:30 PM
To: 'axis-user@ws.apache.org'
Subject: Logging SOAP messages
Hi,
Out of curiosity, is there a simple way to turn on logging of SOAP
messages in/out of Axis2 web services? Do I have to install a module to
do this, and if so, is there a recommended module?
Thanks
David Meiklejohn
--
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: Logging SOAP messages
Posted by "Kraus, David" <dk...@MicroStrategy.com>.
Try using the TcpTrace tool to trace/log SOAP messages. It can be
downloaded for free.
-----Original Message-----
From: David Meiklejohn [mailto:dmeiklejohn@iseek.com.au]
Sent: Tuesday, January 29, 2008 5:30 PM
To: 'axis-user@ws.apache.org'
Subject: Logging SOAP messages
Hi,
Out of curiosity, is there a simple way to turn on logging of SOAP
messages in/out of Axis2 web services? Do I have to install a module to
do this, and if so, is there a recommended module?
Thanks
David Meiklejohn
--
---------------------------------------------------------------------
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
Logging SOAP messages
Posted by David Meiklejohn <dm...@iseek.com.au>.
Hi,
Out of curiosity, is there a simple way to turn on logging of SOAP messages in/out of Axis2 web services? Do I have to install a module to do this, and if so, is there a recommended module?
Thanks
David Meiklejohn
--
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: How to handle No deserializer for anyType for external service
Posted by Anne Thomas Manes <at...@gmail.com>.
You can either define a client config file or you can register the
serializer/deserializer in your client code.
Anne
On Jan 29, 2008 8:08 PM, khurana <kh...@yahoo.com> wrote:
>
> Hi Guys
>
> I am getting "No deserializer for {http://www.w3.org/2001/XMLSchema}anyType"
> exception while accessing some other project web service. Looking at the
> forum and documentation, solution is to use
> <typeMapping> in wsdd file. But in this scenario I am user of Web service
> and can't change anything related to Web service deployment. WSDL file
> contains an element of xsd:anyType. I am trying to access the web service
> using Stub approach using wsdl2Java utility. Running this utility is
> providing Object type for element having type "xsd"anyType" and not the
> SOAPElement. Does anybody have any insight in this issue?
>
> Thanks
> Khurana
> --
> View this message in context: http://www.nabble.com/How-to-handle-No-deserializer-for-anyType-for-external-service-tp15173523p15173523.html
> Sent from the Axis - User mailing list archive at Nabble.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