Accessing Webservice
Hello,
i am trying to access a ASP.NET Webservice by SOAP, but i don't get any result back. Here is my BuddyScript Code:
// WSDLhttp://localhost/agenttest/Service.asmx?WSDL
datasource HelloWorldTest() => HelloWorldResult {timeout=40}
soap
proxyhttp://localhost/agenttest/Service.asmx
name HelloWorld
namespacehttp://localhost/services/
actionhttp://localhost/services/HelloWorld
simple xml
return
HelloWorldResult
+ hello
RES = HelloWorldTest()
- Test RES
This is the Debug Info:
Soap Request thruhttp://localhost/agenttest/Service.asmx
http://localhost/agenttest/Service.asmx">http://localhost/agenttest/Service.asmx
<?xmlversion="1.0" encoding="utf-8"?>>" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><HELLOWORLDRESPONSE< A> xmlns="http://localhost/services/">Hallo Leute
Request cluster : MenuCore for user 4
Need to load from the DB
Loaded MenuCore:
Set Next Offset to 0
enumeration: Closing the enumeration
A "hello" gives me only "Test" back, nothing more. Anyone can help me?
Greetings
Boris
Edit:
Here is the code of my Webservice, very simple:
Imports
System.WebImports
System.Web.ServicesImports
System.Web.Services.Protocols<WebService(Namespace:=
"http://localhost/services/")> _<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<
Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _Public
Class ServiceInherits System.Web.Services.WebService
<WebMethod()> _
PublicFunction HelloWorld()AsStringReturn"Hallo Leute"
EndFunction
EndClass

