Yeah I too could do the simple "Hello World", but i don't know how to include a complex type, such as
| <soapenv:Header> | <urn:SessionHeader> | <urn:sessionId>QwWsHJyTPW.1pd0_jXlNKOSU</urn:sessionId> | </urn:SessionHeader> | </soapenv:Header> as a header. Notice it wraps sessionId inside SessionHeader. I've tried a number of things including 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"); but that only managed to produce: | <ns1:SessionHeader xmlns:ns1='urn:partner.soap.sforce.com'>QwWsHJyTPW.1pd0_jXlNKOSU</ns1:SessionHeader> I've tried several other things bug I haven't had much luck. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068906#4068906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068906 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
