- soap binding header 2007-07-13 - By eric@(protected)
Back 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 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|