Guys,
I am also facing same problem. I tried Mark’s suggestion, but Credentials method is not there for the stub. So not able to do "ws.Credentials = myCred ".
jtu100,
Could you please tell me what to put in the SOAP processor. What logic is required out there.
C# client call works for Anonymous ACL. I am using Visual studio 2008 and webMethods 7.12.
Thanks,
Sid
It’s done. I fgured out the process.
In visual studio 2008, way to add web reference is changed. Add service reference, Click Advance…, click Add web Reference. this will add web reference in the project.
Add following to call a webservice,
Creete stub
ICredentials icred = new NetworkCredential(uerid,password);
obj.Credentials = icred;
Console.WriteLine(stub.method name());
Console.ReadKey();
In webMethods 7.x, wrapper/ Custom SOAP processor is not required to handle authentication from .net based clients.
Thanks,
Sid
#soa#webMethods#API-Management