Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Soap headers with axis, and non java client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Soap headers with axis, and non java client" Watch "Soap headers with axis, and non java client" New topic
Author

Soap headers with axis, and non java client

alain martin
Ranch Hand

Joined: Apr 11, 2005
Posts: 43
I'm searching how develop a web service with user and password soap headers.
I found this:
http://weblogs.asp.net/jdanforth/archive/2006/03/13/440116.aspx
But the web service cliente use SOAPHeaderElement class, and it won't run in non java clients.

Do you know how develop web service with soap headers and non java clients?

Thankss

_____________________
http://www.hhdirecto.net
http://www.dechiste.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41015
    
  43
I'd have thought that SOAP headers (which are standardized, after all) are supported in all SOAP libraries, whether Java or not. Doesn't the one you use?


Ping & DNS - my free Android networking tools app
alain martin
Ranch Hand

Joined: Apr 11, 2005
Posts: 43
I read for add soap header in client to axis ws:


And In WSDL I don't see any special.



But in C# client by example I do:


Because in WSDL I have:
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41015
    
  43
I'm unfamiliar with dotnet, but this article seems to explain how to create SOAP headers.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Soap headers with axis, and non java client
 
Similar Threads
Lomboz EJB and Weblogic
Lomboz not creating XDoclet code
(axis) Return object in WS, with style="wrapped" use="literal"
Configuring Lomboz
http gzip compreses in tomcat