Dear,
i am trying to call a soap web service from my .net application and getting
"Error 407 Proxy authentication is required."
in soap document model they have written this credential to pass but i have no idea to pass this information while calling the service.
i am calling serive by adding web reference in visual studio 2008.
My code is this
**************************************
//Creating Input objects
MyImportLead[] leads = new MyImportLead[1];
MyImportLead ld = new MyImportLead();
MyInput inpt =new MyInput();
inpt.ListOfMyImportLead = leads;
//Creating Cleint
MyService clt = new MyService();
//Calling Service & getting output
MessageBox.Show("Service is about to launch");
MyOutput outPut = clt.GetOutput(inpt);
MessageBox.Show("Srvice is launched successfully");
****************************************
********************SOAP Envelop****************
- <soapenv:Header>
<UsernameToken xmlns="http://siebel.com/webservices">SADMIN</UsernameToken>
<PasswordText xmlns="http://siebel.com/webservices">SADM1N13PGL</PasswordText>
<SessionType xmlns="http://siebel.com/webservices">None</SessionType>
</soapenv:Header>
****************************************************
Can any one help me how to call this service passing these credentials which our client has given in soap envelope.
thanks