manually passing function name and params to a webservice in browser

this is a stupid question but im going to ask it anyway as ive not done it before.

I have a webservice that i am trying to call from java.

It is a simple function called HelloWorld that expects the param name and then just returns the hello name string

If my webservice url is:

how can i pass the method name to call and pass the name param just using the browser?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can't.  You have to generate a SOAP message and send it to the service.  You cannot just type the values into the browser (or the URL).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
scm0smlAuthor Commented:
"If you open web browser on the machine hosting the web service and type in the same parameters you are using here, does the response come back as expected?  That would be a good double check. "

is a suggestions towards the bottom of this thread:

Kevin CrossChief Technology OfficerCommented:
Open up Internet Explorer and type in the address you have above.  You will get a screen listing the web methods contained in the webservice defined by the ASMX file above.

Click on the web method you want and it will provide you with a form to fill in the parameters needed to execute the web method.  Fill in the form and click the submit button for the form.  A response XML will come back.

This same page will show you the example XML for SOAP request and SOAP response documents.
I think they are referring to the test form which can be run from the local machine.  You can use that to select a service and enter parameters.  That being said, you cannot simply "send" the method name and parameters to the service.  What you are asking for is a GET request, but .NET web services use POST requests.

If you go to http://localhost:2458/SimpleService/Service.asmx in your browser, you should be presented with a list of web methods.  Clicking the "HelloWorld" service will give you that test form.

The test form will only work if you access it from the local machine.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.