env: GT4.0.7
the math example
I want to invoke the MessageContext to setProperty to it from the client.
MessageContext mc = MessageContext.getCurrentContext();
mc.setUsername("ddd");
I add a handler in the service's reqeustFlow. to get the Username .
but I got errors.
If I put the codes above "math.add(5);". I got "NullPointerException“ at the
client.
If I put the codes after "math.add(5);".. I got "2008-07-13 16:39:08,959 WARN
handlers.FaultHandler [ServiceThread-112,getFrom:114] The WS-Addressing ''To''
request header is missing" at the service.
How can I deal with this problem?
must I rewrite the codes of the service and the client and rebuid.?
Thank you.
hawking.zn
2008-07-13