A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
web service context is null
Joined: Apr 15, 2005
May 10, 2005 10:04:00
I'm writing a web service that has methods that i expose and methods i don't. the methods i expose call unexposed methods.
One method calls a addsoapheader method, but the messagecontext is null. Can anyone see what is wrong
addSOAPHeader(String token) throws Exception
Service service = new Service();
Call call = (Call)service.createCall();
SOAPHeaderElement tokenHeader = new SOAPHeaderElement("","TokenHeader");
context = MessageContext.getCurrentContext();
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: web service context is null
add soap header method
Web service handler could not registered/called in client web service
How do I read WSS Username Token after validation?
Sign soap header with handler in WebSphere 6.1
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015