Ok, as
you probably already have figured out I'm trying to use the SimpleSessionHandler
class which I have added in the request and response flow of the service. So
.NET must have a complex type get it work. Do you have a tip on how I fix this?
Right now I don't have a clue....
Thanks!
/Niklas
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 7 januari 2003 16:50
To: [EMAIL PROTECTED]
Subject: RE: SOAP header-based sessions and .NETIf 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-----Original Message-----
From: Niklas Magnusson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 10:43 AM
To: [EMAIL PROTECTED]
Subject: SOAP header-based sessions and .NETHi!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
