Skip to Content
0
Former Member
May 19, 2010 at 12:38 AM

Web service URL with multiple parameters

1056 Views

Hi all,

I'm trying to make use of a web service that takes multiple parameters without the use of a proxy (we're using NW 7/7.1 and proxies aren't supported - i.e. i'm getting the same thing as described here: Proxy object to consume web service)

So instead I'm trying to follow a method similar to what is done [here|http://sample-code-abap.blogspot.com/2009/05/simple-code-consume-web-service-using.html]

When I put the web service url into a browser and click on the operation it comes up with

http://portLocation/company/webservice.asmx?op=operation

and comes up with the sample SOAP request and response as normal.

Now with most web services with one parameter, the url translates to something like: http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry?CountryName=australia

Which works fine.

However, the web service i'm using has 4 parameters and when I try and translate my url to be like this (http://portLocation/Company/WebService.asmx/Operation?parameter1=XX&parameter2=XX&parameter3=XX&parameter4=XX) I get, "The page cannot be displayed"

Can anyone suggest a way that I might be able to get around this or what I'm doing wrong.

Thanks in advance.