Showing results for 
Search instead for 
Did you mean: 

XML serialization question

Super Contributor

XML serialization question

Hopefully I phrase my question correctly. In one of my request I have a datatype which has a few values (e.g A B C D E). some of these values are empty when the request is sent to the web server. In the response, I am supposed to see the same datatype along with some other elements.

I notice that some of the elements that were blank in the request are not present in the response. could it be possible that the way soapUI serializes the response, it omits any elements whose value is null/empty.

I am trying to figure out if the problem is with soapUI or the application code. Hopefully my question made sense.

Super Contributor

Hi Ali,

try turning off pretty printing (in the wsdl preferences tab) to see the actual response returned by the server before soapUI pretty-prints it.. maybe there you will see the removed elements!? Alternatively have a look at the response message in the HTTP Log to see what is actually returned from the server before soapUI processes it..

hope this helps!


New Here?
Join us and watch the welcome video:
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Get a full Raw JMS request


Compare an expected JSON value and actual response in Events


Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Top Kudoed Authors