logo       

RE: SOAP header-based sessions and .NET: msg#00116

Subject: RE: SOAP header-based sessions and .NET
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 
-----Original Message-----
From: Niklas Magnusson [mailto:niklas@xxxxxxxxxxxxxxx]
Sent: Tuesday, January 07, 2003 10:43 AM
To: axis-user@xxxxxxxxxxxxxx
Subject: SOAP header-based sessions and .NET

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
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe