Forum Discussion

roryLIT's avatar
roryLIT
Contributor
12 years ago

SoapUI Pro formatting XML issue

I am seeing an issue when using a web service in SoapUI PRO. The tags have additional text added in the body (xs:type="type:string") and then drops the closed tag if it does not contain any value. See below XML for example. Once it is reformatted in Pro, the file is corrupt in the project. Is there a setting in Pro that is causing this?

Original Request:

<RequestId xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" />
<Requestor xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" />
<UserID xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" />

Request updated by Pro as soon as I open the service:

<RequestId xsi:type="soapenc:string" xn:type="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xn="http://www.w3.org/2000/xmlns/" />
<Requestor xsi:type="soapenc:string" xs:type="type:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" />
<UserID xsi:type="soapenc:string" xs:type="type:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" />
No RepliesBe the first to reply