Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4567

I can not send Map object as parameter.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • client-api
    • None

    Description

      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...

      Attachments

        Activity

          People

            sagara Sagara Gunathunga
            chatree Chatree Srichart
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: