Ask a Question

Response always shows -1 for different inputs

tommy33
New Member

Response always shows -1 for different inputs

I am learning SOAP UI and used the below webservice for my learning. The response always shows -1 , ni matter what currency value i provide that it always return -1. Is it something with respect to settings that is providing this kind of response

 

WSDL Used : http://www.webservicex.com/CurrencyConvertor.asmx?wsdl

 

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET/">
<soapenv:Header/>
<soapenv:Body>
<web:ConversionRate>
<web:FromCurrency>EUR</web:FromCurrency>
<web:ToCurrency>USD</web:ToCurrency>
</web:ConversionRate>
</soapenv:Body>
</soapenv:Envelope>

 

Response:

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ConversionRateResponse xmlns="http://www.webserviceX.NET/">
<ConversionRateResult>-1</ConversionRateResult>
</ConversionRateResponse>
</soap:Body>
</soap:Envelope>

 

Thanks

Prakash

Prakash
2 REPLIES 2
nmrao
Champion Level 3

SoapUI or forum member can do nothing in this regard as that is some public web service which are you using.


Regards,
Rao.
sanj
Super Contributor

Check the web

That web services  has been used to give tutorials on SOAP

cancel
Showing results for 
Search instead for 
Did you mean: