-
February 15th, 2010, 01:44 AM
#1
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.
-
February 15th, 2010, 02:21 AM
#2
Re: Calling C# Webservice using gSoap Library
Ask your question in the C# section. This is for C++.
-
February 15th, 2010, 03:10 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|