Add SOAP Header to BAT Web Service

Topics: CAB & Smart Client Software Factory
Mar 10, 2006 at 3:59 AM
originally posted by: mqlin

Hi All,

My web service requires user to pass their username, password through SOAP Header as following:

service.CredentialSoapHeaderValue = header;

I wonder in BAT, is it possible to pass the Soap Header? If so, where is the best play to do so.

Mar 30, 2006 at 4:34 AM
originally posted by: PJackson

I have this need as well.

Although I haven't implemented anything yet, my plan would be to build this into the ServiceProxy or some variation of it if I identify a need to have authenticated and unauthenticated services.
Mar 30, 2006 at 7:54 AM
originally posted by: kozaczynski

The Service Agent is the placeholder we have created for that kind of logic. Keep in mind that it is not strictly the client logic, but the service boudary logic. This is why we think it should be hiddent from the rest of the client inside the agent.