Hello,
We have been struggling in setting up the jms transport with transaction
rollback. This is what we are doing:
We have enabled JMS transportreceiver and JMS transportsender on axis2 (v1.4)
to connect to IBM Websphere MQ v7.0.1.2. My application is deployed on Tomcat
v6.0.28 and services.
i would do the assignment before referecning the entity in the step e.g.
for (Iterator iter = omElementToadd.getChildren(); iter.hasNext();){
omNode = (OMNode) iter.next(); /* do the
assignment of omNode first */
soapHeaderBlock.addChild
Use axis2 and override the method addHeader in your stub class as below
protected void addHeader(OMElement omElementToadd, SOAPEnvelope
envelop, boolean mustUnderstand)
{
SOAPHeaderBlock soapHeaderBlock =
envelop.getHeader().addHeaderBlock(omElementToadd.getLocalName(),
omElementTo