Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Consuming WebService from vbscript

Thread Tools

Consuming WebService from vbscript

Posts: n/a
Hi everyone,

I have a vbscript which is consuming WebMethods from a WebService. Whenever
the WebMethod returns a string or integer then no problem but when
the WebMethod returns a DataSet then the following error appears:

Attachment:Maximum retry on the connection exceeded. HRESULT=0x80004005:
Unspecified error
- Client:An unanticipated error occurred during the processing of this
request. HRESULT=0x80004005: Unspecified error
- Client:Sending the Soap message failed or no recognizable response was
received HRESULT=0x80004005: Unspecified error
- Client:Unspecified client error. HRESULT=0x80004005: Unspecified error

Here is the code:

Dim SOAPClient
Dim AppName
Dim User
Dim Result

AppName = "HFIF"
User = "DOMAIN\UserId"

Set SOAPClient = CreateObject("MSSOAP.SOAPClient30")

SOAPClient.mssoapinit ("http://localhost/ARMService.asmx?wsdl")

Result = SOAPClient.GetUserRights( AppName,User) 'Here is where the
exception is thrown. The WebMethod returns a DataSet.

Can anyone tell me what the problem could be?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Consuming my webService in a windows application give denied acces! kamig ASP .Net 0 02-25-2006 12:43 PM
Underlying connection closed error when consuming webservice from. =?Utf-8?B?TWF0dGhldyBCLiBMZWhybWFu?= ASP .Net 0 01-28-2006 06:26 AM
Consuming .NET webservice in Java Applet alok Java 1 12-26-2005 06:25 PM
Consuming webservice John ASP .Net 1 06-21-2004 11:29 PM
Consuming a webservice from an XSD joycey8 XML 0 02-04-2004 10:44 PM