Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

Problems accessing Web Service...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sharon McCarty - 05 Nov 2004 00:34 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.