Does anyone know why Axis is duplicating the root tag of the payload
document in the following client request:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
   xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 
      <soapenv:Body>  
         <getPersonDetails xmlns="http://www.myurl.com";>   
            <getPersonDetails xsi:type="xsd:anyType">    
               <get-person-query xmlns="">         
                  <search-term>               
                     ...more elements here...        
                  </search-term>
               </get-person-query>   
            </getPersonDetails>  
         </getPersonDetails> 
      </soapenv:Body>
   </soapenv:Envelope>

The service is a simple message style service with seemingly trivial
wsdl.
The service response has the same behaviour if I expose a method of the
signature:
public Document getPersonDetails( Document requestDoc )

But it seems to behave correctly (ie: a single root element) if I expose
a method of the signature:
public Element[] getPersonDetails( Element[] requestDocs )

Any ideas??

regards,
Nick.
-- 
  Nick Ardlie
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

Reply via email to