199
Views
1
Comments
SOAP Response - invalid XML
Question

Hi, i have an exposed webservice (SOAP) call "respostaAuditoriaWS".

In my response, outsystems include a node "respostaAuditoriaWSResponse" encapsulating my structure.

My response must have like this:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema"><soap:Body><confirmacaoWS xmlns="https://ptu.unimed.coop.br/schemas/V60_00"><cabecalhoTransacao>[...]

But outsystems response this:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema"><soap:Body><respostaAuditoriaWSResponse xmlns="https://ptu.unimed.coop.br/schemas/V60_00"><confirmacaoWS><cabecalhoTransacao>[...]

how to remove this "structure"?

Thanks!


Structure.png
2015-12-15 19-07-43
João Amorim

Hello Rodrigo

Can you extract the output structure attributes to be outputs of the web service? Instead of having something like this:


Have something like this:

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.