Hi Bob This has been implemented as a new method SoapClient.setSoapEncodingStyle(). It is in trunk, and will be released in JiBX/WS 0.9.1. Logged as http://jira.codehaus.org/browse/JIBX-417.
cheers Nigel On 09/01/11 06:08, Bob Smith 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 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users