ASP.NET WebService called from VB6 Client

Discussion in 'ASP .Net Web Services' started by Graeme Anderson, Nov 2, 2003.

  1. Hi,

    I have a webservice written in ASP.Net which returns to calling clients one
    or more files in zip format. The application works a treat with a .NET test
    client but my target audience is for VB6 users.

    I use Soap 3.0 and msxml 4 from vb6.

    I can trace into the webservice when running the VB6 code no problems and it
    does everything expected until the attachments are returned to the vb6
    client.

    The message is
    *********************************************
    SoapMapper:Restoring data into SoapMapper ReturnFilesResult failed
    HRESULT= xxxnumbersxxxx The parameter is incorrect.
    - Client : Unspecified client error .....
    *********************************************

    Here is a code snippet:
    soapTestURL.MSSoapInit2 sWSDLURL, "", "DataPump", "DataPumpSoap", ""
    Dim ReturnFilesResult As MSSOAPLib30.ReceivedAttachments30
    soapTestURL.ReturnFiles skey, "File234.zip", "FredSmith",
    ReturnFilesResult

    I have modified the wsdl file to ensure it meets the correct format.

    Any suggestions?

    regards
    Graeme
     
    Graeme Anderson, Nov 2, 2003
    #1
    1. Advertisements

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. Carl Howarth

    ASP3/VB6 to ASP.NET/VB.NET

    Carl Howarth, Jul 8, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    521
    Steve C. Orr, MCSD
    Jul 8, 2003
  2. George Ter-Saakov

    Re: ASP.NET -> VB.NET -> VB6.0 DCOM

    George Ter-Saakov, Jun 2, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    741
    George Ter-Saakov
    Jun 3, 2004
  3. Andrea Raimondi
    Replies:
    1
    Views:
    723
  4. NN
    Replies:
    1
    Views:
    1,066
    =?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
    Jul 14, 2006
  5. Radu
    Replies:
    7
    Views:
    946
    charlie_Stell
    Aug 28, 2009
  6. Ghislain Tanguay

    Execution time consuming the same Webservice Vb6 vs VB.Net

    Ghislain Tanguay, Jul 29, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    263
    Ghislain Tanguay
    Jul 29, 2004
  7. NN

    WebService with VB6 y ASP.NET

    NN, Jul 14, 2006, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    239
    Nicolas
    Jul 18, 2006
  8. Felix
    Replies:
    1
    Views:
    514
    Felix
    Sep 29, 2006
Loading...