silly question...

T

Tasos Vogiatzoglou

You are trying to access a webservice using a GET request. First of all
you must have a way to define a "default method" because this way the
webservice does not understand what method to call. As far as I know,
such a mechanism does not exist.

In order to properly execute webservice's method, you need to send via
a POST method a proper SOAP request, declaring the wanted method and
the parameters you want to pass.

If you want to call a webservice from the browser you have to post a
form with the appropriate SOAP request.

Otherwise you can circumvent this and create an aspx page that handles
the webservice call and returns the XML via Response.Write. After the
XML is written you can call Response.End to stop processing.
 
W

Wendell Buckner

Thanks for your response... and thanks for the extra information... Our
customer was wanting to know why they couldn't just type the command
directly into the IE6 address bar to get back the information from the web
service... I found out as you pointed out that they would have to specify
the specific function that they would want to call (this makes sense) and
that I had not specified a "default" function... I'm glad you pointed out
that there is no way to specify a default function which will save me some
time searching for way to do this since it's not possible... I also
discovered that in the .NET framework 1.1 that GET/POST communications are
disabled by default, so it's impossible to do what the customer wants
without enabling them in the web.config and/or other appropriate files... If
anybody else has had this problem then read the following MS article should
help...

http://support.microsoft.com/default.aspx?scid=kb;en-us;819267
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top