Need help with retrieving data from PeopleSoft WSDL using c#
Getting this error: System.Web.Services.Protocols.SoapException: null
WSDL requires username/password
WSDL requires one parameter (an integer)
WSDL works fine in SOAP UI with security header. Get response xml
C# code follows similar pattern in SOAP UI with the required parameter
Suspect security header is not correct
Not sure how to build security header in c#.
Tried this:
NetworkCredential emplCred = new NetworkCredential("", "");
Uri uri = new Uri(emplSrvc.Url);
ICredentials credentials = emplCred.GetCredential(uri, "Basic");
emplSrvc.Credentials = emplCred;
emplSrvc.PreAuthenticate = true;
Any suggestions?
Forum category: Forum / Help
Forum thread: Retrieving data from PeopleSoft WSDL using c#