Hi All,
we have an asp.net application which is consuming a third party java
web service.In order to access the web service a login and password are
required and they're passed as SOAP headers. The headers will look like
this:
<?xml version="1.0"?>
<ns1:Header xmlns:ns1="http ://schemas.xmlsoap .org/soap/envelope/">
<LincolnHierarc hyServicesLogin >
em***********@l nc.com
</LincolnHierarch yServicesLogin>
<LincolnHierarc hyServicesPassw ord>
password
</LincolnHierarch yServicesPasswo rd>
</ns1:Header>
We need to include this header in the soap message request. There is no
separate method available for authentication in the web service. We
have no control over the web service methods. We are just generating
the proxy class and using it.