XML serialization question

soapUI pro announcements and discussions

XML serialization question

Postby alibaba82 » 14 Sep 2007 18:55

hello,
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.

thanks
Ali
alibaba82
soapui pro users
soapui pro users
 
Posts: 875
Joined: 18 Apr 2007 23:00

Re: XML serialization question

Postby omatzura » 14 Sep 2007 19:06

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!

regards,

/Ole
eviware.com
omatzura
Administrator
Administrator
 
Posts: 1918
Joined: 05 Jan 2007 23:39


Return to soapUI Pro Support