Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guyz,

Need some help here:

how can i hide this mother object in soap : <parameter>

sample soap request:

XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:even="http://mystic">
   <soap:Header/>
   <soap:Body>
      <Method>
         <ID>?</ID>
         <ParameterMother>
            <!--Zero or more repitition:-->
         <Parameter>
            <!--Optional:-->
            <Type>?</Type>
            <!--Optional:-->
            <Value>?</Value>
         </Parameter>
         </ParameterMother>
      </Method>
   </soapenv:Body>

</soapenv:Envelope>



what i need is to get rid/hide of <ParameterMother> </ParameterMother>

should be like this:


XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:even="http://mystic">
   <soap:Header/>
   <soap:Body>
      <Method>
         <ID>?</ID>
            <!--Zero or more repitition:-->
         <Parameter>
            <!--Optional:-->
            <Type>?</Type>
            <!--Optional:-->
            <Value>?</Value>
         </Parameter>
      </Method>
   </soapenv:Body>
</soapenv:Envelope>


Thankss!!
Posted
Updated 27-Mar-14 18:25pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900