You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2012/05/10 08:02:17 UTC

[jira] [Updated] (AXIS2-4567) I can not send Map object as parameter.

     [ https://issues.apache.org/jira/browse/AXIS2-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated AXIS2-4567:
--------------------------------------

    Issue Type: New Feature  (was: Bug)
    
> I can not send Map object as parameter.
> ---------------------------------------
>
>                 Key: AXIS2-4567
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4567
>             Project: Axis2
>          Issue Type: New Feature
>          Components: client-api
>            Reporter: Chatree Srichart
>            Assignee: Sagara Gunathunga 
>             Fix For: 1.7.0
>
>
> 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...
> <serviceName><arg0>paramName</arg0><arg1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:Map"></arg1></serviceName>
> So, the arg1 should has content like this...
> <item>
>     <key>firstName</key>
>     <value>AAA</value>
>     <key>lastName</key>
>     <value>BBBB</value>
> </item>
> but it empty.
> Because I would like to migrate from Axis to Axis2. In Axis I use ..
> result = call.invoke(params)
> It work fine.
> Please any one tell me how should I do?
> Thank you...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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