I would like to send Map object as SOAP message. I try to create OMElement
by send Map object in array like this...
OMElement payload = BeanUtil.getOMElement(serviceName, new Object[]
{mapObject}, null, false, typeTable);
But I got...
paramNamehttp://www.w3.org/2001/XMLSchema-instance";
xsi:type
Hello Sreenidhi,
As your error message says "Deserializer" I think the problem lies in
the response SOAP message.
Could you show us the (full) response SOAP message and the stacktrace of
your SAXException (at least up to your calling code).
Looking at your WSDL, I suppose the body should look
]]
Sent: 02 March 2005 06:08
To: axis-user@ws.apache.org
Subject: Re: object as parameter
There is Call.registerTypeMapping method. First register your bean to
some XMLType QName and then use that XMLType in the addParameter. That
should do the job.
e.g.
/* obtain instances of
Thanks for that!
Just one more question, if there is more than one bean class do I do a
type mapping for each one?
Thanks
-Original Message-
From: jayachandra [mailto:[EMAIL PROTECTED]
Sent: 02 March 2005 06:08
To: axis-user@ws.apache.org
Subject: Re: object as parameter
There is
There is Call.registerTypeMapping method. First register your bean to
some XMLType QName and then use that XMLType in the addParameter. That
should do the job.
e.g.
/* obtain instances of BeanSerializerFactory and
BeanDeserializerFactory as sf and df respecitively
*/
MyXMLType = new QName("http://
Hi,
Can anyone tell if there is a
different approach to adding a java bean (simple types) as a parameter for an
axis web service using a java client.
For strings and ints the following is used
call.addParameter("name", XMLType.XSD_STRING,
ParameterMode.IN);
what would be