|
If you
WSDL contains the corresponding SOAP header information at the right place, then
.NET will pick it up automatically and the generated code when adding the web
reference will take care of it automatically (check WSDL spec to see how SOAP
headers are declared in the WSDL).
One
thing to be aware of: .NET cannot handle the header automatically if it is not a
complex type (if it is just one element of type xsd:string like it is in
the soap header session handler sample delivered with axis, it will
not work, you need to have a specific complex type, even if this type has only
one field which is a string).
Thomas
Hi!
I've a service in
Axis that uses SOAP header-based sessions it works fine but if I wan't to use
this service from a C# program how do I add the sessionID to the SOAP header
in the request?
Regards!
/Niklas
|