We have support to bound and unbound headers.
| public void testUnboundInHeader() throws Exception
| {
| // Add a header to the stub
| StubExt stub = (StubExt)port;
| QName xmlName = new QName("http://otherns", "HeaderValue");
| stub.addUnboundHeader(xmlName, Constants.TYPE_LITERAL_STRING, String.class,
ParameterMode.IN);
| stub.setUnboundHeaderValue(xmlName, "Unbound IN header message");
|
| port.testInHeader("Hello world!", "IN header message");
|
| String unboundRet = (String)stub.getUnboundHeaderValue(xmlName);
| assertEquals("Unbound OUT header message", unboundRet);
| }
|
This should work for jaxrpc and jaxws
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068897#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...