Forum Discussion

tommy33's avatar
tommy33
New Member
7 years ago

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

2 Replies

  • nmrao's avatar
    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.
    • sanj's avatar
      sanj
      Super Contributor

      Check the web

      That web services  has been used to give tutorials on SOAP