File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Processing Headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Processing Headers" Watch "Processing Headers" New topic

Processing Headers

JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
Hi all,
If I set Header entries in my consumer, how can I read these entries in my java class exposed as a RPC - LITERAL web service.
Actually, sounds like I need to reconstruct the envelope, but I don't know how to do that.
I use Apache soap 2.3, but if you have some clues with Axis, I'm interested too.

/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
Is it impossible to read information written in a SOAP header when we are using RPC communication model ??
I'm able to change the header on the client side using
But I can't figure out how to read it from the server side.
Any clue ?
[ July 21, 2003: Message edited by: Jean-Louis Marechaux ]
I agree. Here's the link:
subject: Processing Headers
It's not a secret anymore!