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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...