[AXIS2] - Transaction rollback to backout requeue with IBM MQ is not working

2010-09-16 Thread Rajeev.Verma
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.

RE: [Axis2] How Do I Set mustUnderstand="0"?

2010-09-16 Thread Martin Gainty
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

Re: [Axis2] How Do I Set mustUnderstand="0"?

2010-09-16 Thread Aravi
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