Consuming WebService from vbscript

Discussion in 'ASP .Net Web Services' started by mzam, Apr 22, 2005.

  1. mzam

    mzam Guest

    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:

    Error:
    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?

    Cheers.
    mzam, Apr 22, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    Consuming webservice

    John, Jun 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    351
  2. =?Utf-8?B?TWF0dGhldyBCLiBMZWhybWFu?=

    Underlying connection closed error when consuming webservice from.

    =?Utf-8?B?TWF0dGhldyBCLiBMZWhybWFu?=, Jan 28, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    457
    =?Utf-8?B?TWF0dGhldyBCLiBMZWhybWFu?=
    Jan 28, 2006
  3. kamig
    Replies:
    0
    Views:
    429
    kamig
    Feb 25, 2006
  4. alok
    Replies:
    1
    Views:
    602
    Danno
    Dec 26, 2005
  5. joycey8
    Replies:
    0
    Views:
    398
    joycey8
    Feb 4, 2004
Loading...

Share This Page