Forum Discussion
nmrao
Champion Level 3
How does your request look like?
Have you tried validating the same request?
In the above excerpt, it is not showing exception from soapUI meaning it does not seem to be problem in soapUI, IMO.
Have you tried validating the same request?
In the above excerpt, it is not showing exception from soapUI meaning it does not seem to be problem in soapUI, IMO.
PeceKr
9 years agoNew Contributor
Here is my request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:quer="http://wowway.com/Care/Query"> <soapenv:Header/> <soapenv:Body> <com: SearchAddress> <!--Optional:--> <com:addressSearchRequest> <!--Optional:--> <com: Address1>Test</com:Address1> <com: State/> <!--Optional:--> <com: Zip/> <!--Optional:--> <com: UserName>Test</com:UserName> </com: addressSearchRequest> </com: SearchAddress> </soapenv:Body> </soapenv:Envelope>
I have validation , but this error is thrown instantly from SoapUI, so I can't even debug it.
If I validate the request in SoapUI , I'm getting error message saying "Invalid decimal value: expected at least one digit" .
Thanks.
- nmrao9 years agoChampion Level 3It is showing correct the error that is present in the request.
<com: Zip/> is not valid as per the error.
Make it like a valid one, such as
<com: Zip>23456</com: Zip>- PeceKr9 years agoNew Contributor
Hi ,
Thx for your reply.
The thing is that Zip field is optional , so the user can leave it empty. If this is empty the SoapUI can't deserialize it , because it is type of int.
Thank you.
- nmrao9 years agoChampion Level 3When you say optional, is that element optional or the value? Hope it is the element, so remove it and try validating it and then proceed calling your service.
Related Content
Recent Discussions
- 14 days agosmilnik