scm0sml
asked on
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:
http://localhost:2458/SimpleService/Service.asmx
how can i pass the method name to call and pass the name param just using the browser?
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:
http://localhost:2458/SimpleService/Service.asmx
how can i pass the method name to call and pass the name param just using the browser?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
ASKER
is a suggestions towards the bottom of this thread:
https://www.experts-exchange.com/questions/23850280/calling-a-vb-net-webservice-from-java.html
?