You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Chatree Srichart <ch...@gmail.com> on 2009/12/22 03:19:37 UTC

Re: [jira] Commented: (OFBIZ-3363) Upgrading Axis V1 to V2 in OFbiz's Web Service and Complex Type Supported

Hi, Chris Snow

Because XmlSerializer of OFBiz use tag's name for serialize/deserialze. So
SOAP xml message don't need  prefix for each tag. Can you change your code
like this...

{code}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://ofbiz.apache.org/service/">
  <soapenv:Header/>
  <soapenv:Body>
     <ser:findPartiesById>
        <map-Map>
           <map-Entry>
              <map-Key>
                <std-String value="idToFind"/>
              </map-Key>
              <map-Value>
                <std-String value="admin"/>
              </map-Value>
           </map-Entry>
        </map-Map>
     </ser:findPartiesById>
  </soapenv:Body>
</soapenv:Envelope>
{code}

How do you think about this solution or it should can use prefix in XML
message?

Thank you
Chatree Srichart