Hi Everyone,
I have the default HelloWorld webservice in asp.net. I'm trying to
access it using VBSCript, with the code:
-------------------------------------------------------------
dim oX
set oX = CreateObject("Microsoft.XMLHTTP")
oX.open "POST", "http://localhost/SampleWebServiceinC/SampleWebServiceinC.asmx?HelloWorld",
false
oX.setRequestHeader "Content-Type", "text/xml"
ox.send
MsgBox oX.responseText
-------------------------------------------------------------
I'm trying to grab the string, "Hello World" from the MsgBox.
Running this, I get the error message:
System.Web.Services.Protocols.SoapException: Unable to handle request
without a valid action parameter. Please supply a valid soap action.
Does anyone know about this?
Thank you~
Sharon
Martin Kulov - 05 Nov 2004 09:03 GMT
Hi Sharon,
Your web service requires correct soap requests. You should use the soap toolkit instead of manually create xml packet.
Kind regards,
Martin Kulov
www.codeattest.com
Ben Strackany - 09 Nov 2004 22:38 GMT
Or try a GET rather than POST call?

Signature
Ben Strackany
www.developmentnow.com
<a href="http://www.developmentnow.com">dn</a>
> Hi Everyone,
>
[quoted text clipped - 22 lines]
> Thank you~
> Sharon