Remove Spacename from the classes generated by the WSDL client

0

I have a problem generating the classes of a wsdl in JAVA, in the XML response I do not want the namespace to be generated:

Output:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:consultaRegistrosAltaRespResponse xmlns:ns2="http://LEServicios">
         <id_consulta>?</id_consulta>
      </ns2:consultaRegistrosAltaRespResponse>
   </S:Body>
</S:Envelope>

Desired output:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:consultaRegistrosAltaRespResponse>
         <id_consulta>?</id_consulta>
      </ns2:consultaRegistrosAltaRespResponse>
   </S:Body>
</S:Envelope>

Could it be possible? Thank you very much.

    
asked by Veronica 20.02.2018 в 17:59
source

0 answers