wood burning stoves 2.0*
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
Author

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: 984

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SOAPHeaderElement element = envelope.getHeaderByName
 
Similar Threads
Create SOAP headers
Question Bank ID : 4
Done with SCJP; Advices and Error in K&B
add soap header method
Sign soap header with handler in WebSphere 6.1