c# - Set custom tag in WSDL + WCF -


is possible convert fragment of wsdl:

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://com.lsc.services.financialsystem">    <soapenv:header/>    <soapenv:body>       <com:crearcuentaporcobrar>          <!--optional:-->          <com:crearcuentaporcobrarrq>             <com:inforequest>                <com:requestid>?</com:requestid>                <com:fecha>?</com:fecha>                <com:aplicacioncliente>?</com:aplicacioncliente>                <com:terminal>?</com:terminal>                <com:ip>?</com:ip>             </com:inforequest>           </com:crearcuentaporcobrarrq>       </com:crearcuentaporcobrar>    </soapenv:body> </soapenv:envelope> 

to solution:

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://com.lsc.services.financialsystem">        <soapenv:header/>        <soapenv:body>           <com:crearcuentaporcobrar>              <!--optional:-->              <crearcuentaporcobrarrq>                 <inforequest>                    <requestid>?</com:requestid>                    <fecha>?</com:fecha>                    <aplicacioncliente>?</com:aplicacioncliente>                    <terminal>?</com:terminal>                    <ip>?</com:ip>                 </inforequest>               </crearcuentaporcobrarrq>           </com:crearcuentaporcobrar>        </soapenv:body>     </soapenv:envelope> 

you can observe in second wsdl don't want use index: 'com' subitems, in container (crearcuentaporcobrar). observe posts like: controlling wcf response format , namespaces not mi interest establish more code on wsdl.

there way build this???

thk lot!!!


Comments