[jboss-user] [JBossWS] - soap binding header
eric@attask.com
do-not-reply at jboss.com
Fri Jul 13 14:01:03 EDT 2007
I'm trying to create this in jbossWS
| <soapenv:Header>
| <urn:SessionHeader>
| <urn:sessionId>QwWsHJyTPW.1pd0_jXlNKOSU</urn:sessionId>
| </urn:SessionHeader>
| </soapenv:Header>
I've tried doing the following but haven't had any luck
StubExt soapStub = (StubExt)soapBinding;
| QName headerQ = new QName(service.getServiceName().getNamespaceURI(), "SessionHeader");
| QName sessionId = new QName(service.getServiceName().getNamespaceURI(), "SessionHeader", "sessionId");
| soapStub.addUnboundHeader(headerQ, Constants.TYPE_LITERAL_STRING, String.class, ParameterMode.IN);
| soapStub.setUnboundHeaderValue(sessionId, "QwWsHJyTPW.1pd0_jXlNKOSU");
|
reference http://wiki.apexdevnet.com/index.php/Enterprise_Describe_Global
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064105#4064105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064105
More information about the jboss-user
mailing list