Hi Bob, I'll look at adding something to SoapClient to handle this more elegantly.
Thanks for the feedback. Nigel On 9 Jan 2011 06:10, "Bob Smith" <ob_tr...@yahoo.fr> wrote: > Hello, > > I am using the JiBX-WS SoapClient to talk to a client application. > However, I noticed this application would not respond correctly if the encodingStyle attribute was missing in the Envelope tag. > > I know this is optional and the client application is faulty at this level, but is there anyway to configure the SoapClient to add this? > > The only workaround I found is to re-use the SoapClient code and add this line to startMessage() of org.jibx.ws.soap.SoapWriter: > > m_writer.addAttribute(SOAP_NS_IDX, "encodingStyle", " http://schemas.xmlsoap.org/soap/encoding/"); > > Thanks, > Bob > > > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users