I can not send Map object as parameter.

2009-11-27 Thread Chatree Srichart
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

Re: Axis client for document/literal or Wrapped service not working when trying to pass complex object as parameter

2006-02-24 Thread Dies Koper
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

Re: object as parameter

2005-03-02 Thread Bill Keese
]] 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

RE: object as parameter

2005-03-02 Thread Suzy Fynes
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

Re: object as parameter

2005-03-01 Thread jayachandra
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://

object as parameter

2005-03-01 Thread Suzy Fynes
  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