Manfred
Thanks in advance.
--
Mayur Patel
Application Development
Service Management Group, Inc.
403 Weathersby Rd.
Hattiesburg, MS 39402
Ph. 888.727.8726
Ph 601.268.7330
Fax 601.264.6737
ma...@servicemg.com
--
Mayur Patel
Application Development
Service Management Group, Inc.
403 Weathersby Rd.
Hattiesburg, MS 39402
Ph. 888.727.8726
Ph 601.268.7330
Fax 601.264.6737
ma...@servicemg.com
"Manni" <pcpo...@hotmail.com> wrote in message
news:Otebn46xCHA.2604@TK2MSFTNGP12...
Call the asmx file, choose a method and you will see how the service should be called!
I dont know, if there is a HTTPRequest in VB, but if it is yust give it a try by calling your service
with GET (shown in the ASMX page) like http://myserver/myservice.asmx?..........
You'l get back the XML as an easy parseable string (direkt or via XMLDOM) without a soap envelope!
You can even see it if your WS uses simple datatypes, by calling it from the ASMX page with IE.
Manfred
"Mayur Patel" <ma...@servicemg.com> wrote in message
news:OpNpJ26xCHA.1928@TK2MSFTNGP10...
The easiest way may be to load either the SOAP Toolkit 3.0 or SOAP Toolkit
2.0.
The following would be a good starting point.
http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid
=28000523
Hope this helps
Jay
"Mayur Patel" <ma...@servicemg.com> wrote in message
news:OpNpJ26xCHA.1928@TK2MSFTNGP10...
Dim x As New MSSOAPLib30.SoapClient30
x.MSSoapInit ("http://192.168.1.23:8081/smgnethub/default.asmx?wsdl")
Dim hash As String
Dim sessionlength As Integer
Dim hubaddresses As String
Dim message As String
message = x.AuthenticateGateway("login", "password", "192.168.1.1",
CLng(123), hash, sessionlength, hubaddresses)
But, when I try to implement the same code in the ASP:
Dim x
set x = server.createobject("MSSOAP.SoapClient30")
Dim hash
Dim sessionlength
Dim hubaddresses
Dim message
x.MSSoapInit
("http://smgtest.servicemg.com/smgnethub/default.asmx?wsdl")
I get the following error.
Error Type:
WSDLReader (0x80020009)
WSDLReader:XML Parser failed at linenumber 1, lineposition 0, reason is: No
data is available for the requested resource. HRESULT=0x1: Incorrect
function. - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057:
The parameter is incorrect. - Client:One of the parameters supplied is
invalid. HRESULT=0x80070057: The parameter is incorrect.
Any idea why this would happen?
--
Mayur Patel
Application Development
Service Management Group, Inc.
403 Weathersby Rd.
Hattiesburg, MS 39402
Ph. 888.727.8726
Ph 601.268.7330
Fax 601.264.6737
ma...@servicemg.com
"Mayur Patel" <ma...@servicemg.com> wrote in message
news:OpNpJ26xCHA.1928@TK2MSFTNGP10...
Can your browse to the URL you gave in the ASP, it almost sounds like its
not resolving to the server...
Hope this helps
Jay
"Mayur Patel" <ma...@servicemg.com> wrote in message
news:O#k0esHyCHA.1624@TK2MSFTNGP10...