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 SOAPHeaderElement element = envelope.getHeaderByName Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPHeaderElement element = envelope.getHeaderByName " Watch "SOAPHeaderElement element = envelope.getHeaderByName " New topic

SOAPHeaderElement element = envelope.getHeaderByName

dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
Please can someone help me

I'm trying to implement the above line of code but stuck as to what to put in the first parameter

SOAPHeaderElement element = envelope.getHeaderByName("http://localhost:8080....what goes in here", "headername");

Can some please help me

Many thanks
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Here is an artical with an example.
[ May 10, 2005: Message edited by: William Barnes ]

Please ignore post, I have no idea what I am talking about.
I agree. Here's the link:
subject: SOAPHeaderElement element = envelope.getHeaderByName
It's not a secret anymore!