all groups > dotnet web services > october 2004 >
You're in the

dotnet web services

group:

Access a JAVA WebService (SOAP/LTPA/LDAP) from a C++.NET application


Access a JAVA WebService (SOAP/LTPA/LDAP) from a C++.NET application microcode2004 NO[at]SPAM hotmail.com
10/26/2004 1:38:51 AM
dotnet web services:
Hi all...

I've programmed an application that must access to a JAVA webservice
for authentication on a LDAP/LTPA server.

Here's the code on the C++.NET client application :

myWS::myService* pWebService = new myWS::myService();
int iRet;
pWebService->Credentials = new
NetworkCredential("username","password");
iRet = pWebService->exportedMethod1();



Expected result :
iRet should be set to an integer (incremented each time).


Error info on server side :
No security token found...



I tried to sniff the SOAP request sent to the server but I can't see
any "username" (normally non-encoded in base64) and no "password"
(normal, this last one should be encoded in base64).


Could anyone help ?

Re: Access a JAVA WebService (SOAP/LTPA/LDAP) from a C++.NET application Dino Chiesa [Microsoft]
10/26/2004 11:45:59 AM
i think we need to see the WSDL ?


[quoted text, click to view]

RE: Access a JAVA WebService (SOAP/LTPA/LDAP) from a C++.NET application microcode2004 NO[at]SPAM hotmail.com
2/3/2005 9:00:40 PM
Sorry I've just came back here and seen your answer.

I've resolved the problem now it was a security configuration that was not to the good value on the server side. It had not to be set to LTPA but there was just the security.xml file to modify...



Posted via DevelopmentNow Groups
www.developmentnow.com/g
AddThis Social Bookmark Button