Forum Discussion

fastbill's avatar
12 years ago

Unmarshalling Error

When a "Not SOAP Fault" assertion fails, soapUI often returns this response:
<faultstring>Unmarshalling Error: cvc-datatype-valid.1.2.1: '' is not a valid value for 'integer'.</faultstring>

Unfortunately, it gives no indication where the missing integer occurs in the request message.

It would be extremely helpful if soapUI displayed the request line number and character position where it has detected this fault.

2 Replies

  • nmrao's avatar
    Champion Level 3

    I believe, the response was received from the server, not sure if soapUI can interfere there.

    A request can be validated against wsdl easily by key strokes of Alt+v which will reveal line numbers which are having problem.

    There is also possibility to validate against the wsdl for each outgoing request using Preferences, so this can validate request automatically before hitting the server.
    Hope this helps.

    • daisyaxing's avatar

      You can click the Request in SoapUI, then find "Remove Empty Content" in the "Request Properties", change the value from false to true, the "Unmarshalling Error" will disappear.