Forum Discussion

MrGreen's avatar
MrGreen
Occasional Contributor
12 years ago

Form-Tab corrupts Request: Deletes CDATA Section, adds <

Hi soapUI pro Team,

we discovered an anoying bug. Our webservice requests are in a single CDATA-Section.
If we use the FORM-Tab and switch back to the XML-Tab then soapUI 4.0 pro and soapUI 4.5 pro changes all "lower than brackets" and deletes the CDATA-Section in the request.

Here you see an example of our (working) request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://generated.procuct.company.de">
<soapenv:Header/>
<soapenv:Body>
<gen:call>

<request>
<![CDATA[
<request xmlns="http://www.company.de/protocol"
clientname="${#Project#CLIENTNAME}"
clientversion="${#Project#CLIENTVERSION}"
version="${#Project#VERSION_SERVERSPEZ_CLIENT}">

<servicecall name="serviceName" id="999" lang="de" />

</request>
]]>
</request>

</gen:call>
</soapenv:Body>
</soapenv:Envelope>


In the attached picture you can see what happens with this request.
It is very dangerous for all our testcases, because they will not work any more if we open them with the Form-Tab.

What can we do about this issue?


Kind Regards,

MrGreen

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    thanks for reporting - can you attach the WSDL that defines this request? (or your soapUI project already containing both the WSDL and the Request)

    regards,

    /Ole
    SmartBear Software
  • MrGreen's avatar
    MrGreen
    Occasional Contributor
    Hi Ole,

    thank you for the fast reply.
    I've send you an e-mail.

    -MrGreen
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Alexander!

    I've verified this and created a issue in our bug tracker for it (SOAPUI-4208).

    We'll notify you when we have any updated on this.

    --
    Regards

    Erik
    SmartBear Sweden