I am so sad to hear that. Let me see whether I can help you on this.

You can always add and remove soap headers (or any other element) to the
SOAP message by using a handler. If you want to do that for the incoming
message add a handler in the in-flow and remove the element.

One thing I noticed was in your case mustunderstand is said to false, so
there should not be any problem going through Axis2.

Deepal
>
> I would like to share my disappointing with this mailing list.
>
>  
>
> Yesterday was the second time (the first time was in 26/08/2010) I
> asked about removing the soapenv:mustUnderstand attribute from the
> SOAP message. Both of my messages was completely ignored.
>
>  
>
> This mailing list looks like a closed circuit, i.e., you guys discuss
> a lot between each other, but when someone out of the circuit ask
> something, nobody helps....This attitude isn't healthy for the community.
>
>  
>
> I'm using Axis in a very big project (Electronic Invoice) in Brazil,
> involving all the 27 states of Brazil and thousands of companies (like
> Vale, the world's biggest mining company).....like a lot of people
> that are working in big projects, I will have to run from Axis to
> Apache CXF that at this moment looks like much better.
>
>  
>
> Thanks,
>
> Fernando Cesar.
>
>  
>
>  
>
> *De:* Fernando Cesar Silva [mailto:[email protected]]
> *Enviada em:* segunda-feira, 27 de setembro de 2010 17:32
> *Para:* [email protected]
> *Cc:* 'Diogo Francisco Viviani Gallo'
> *Assunto:* How to remove the soapenv:mustUnderstand attribute
>
>  
>
> Hi,
>
>  
>
> I'm using release 1.5.1 and I have to remove the
> *soapenv:mustUnderstand* attribute from my header SOAP message. I
> tried to do this in earlier versions with no success. How can I do
> this? Any clue will be very helpful.
>
>  
>
> I'm sending below a sample SOAP Envelope with the attribute.
>
>  
>
> *<soap:Envelope xmlns:soap=http://www.w3.org/2003/05/soap-envelope
> xmlns:nfes="http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2";>*
>
> *<soap:Header>*
>
> *<nfeCabecMsg soapenv:mustUnderstand="false"
> xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2";><cUF>51</cUF><versaoDados>2.00</versaoDados></nfeCabecMsg>*
>
> *</soap:Header>*
>
> *<soap:Body>*
>
> *<nfeDadosMsg
> xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2";>*
>
> *<consStatServ xmlns=http://www.portalfiscal.inf.br/nfe versao="2.00">*
>
> *<tpAmb>1</tpAmb>*
>
> *<cUF>51</cUF>*
>
> *<xServ>STATUS</xServ>*
>
> *</consStatServ>*
>
> *</nfeDadosMsg>*
>
> *</soap:Body>*
>
> *</soap:Envelope>*
>
>  
>
> Thanks,
>
> Fernando Cesar.
>

Reply via email to