CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    India
    Posts
    18

    Question Calling C# Webservice using gSoap Library

    Hello All,

    I'm trying to call a web service written in C# and located at http:// path, using gSoap library.

    Below given is the code which i've written:

    <code>
    struct soap *pSoap = soap_new ();
    _NonSecure1__ValidateResource pValidateRequest = new _NSLicense__ValidateResource ();
    _NonSecure1__ValidateResourceResponse pValidateResponse = new _NSLicense__ValidateResourceResponse ();
    ValidateRequest.strResource = szTemp;
    pSoap->namespaces = namespaces;

    iRet = soap_call___NonSecure2__ValidateResource (pSoap, m_strEndPoint, NULL, &ValidateRequest, &ValidateResponse);
    bRetVal = ValidateResponse.ValidateResourceResult;

    </code>


    I debugged my code with SOAP_DEBUG preprocessor which generates three files SENT.log, RECV.log and TEST.log. These log shows that the message length which i'm trying to send is 0.

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Calling C# Webservice using gSoap Library

    Ask your question in the C# section. This is for C++.

  3. #3
    Join Date
    Oct 2004
    Location
    India
    Posts
    18

    Re: Calling C# Webservice using gSoap Library

    My client (The code which calls Web Service) is written in C++ (Web Service is in C#).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured