Axis2 does not support SOAP Encoding. Try Axis instead. Or use a flatter object model. Keep in mind that SOAP is not a distributed object middleware system. XML is good for exchanging hierarchical data structures. It's not so good at exchanging rich object graphs.
Anne On Thu, Jun 12, 2008 at 2:58 PM, Rahul Juneja <[EMAIL PROTECTED]> wrote: > I am trying to create a Webservice client in eclipse and i am using > AXIS2(1.4) environment but when i try wsdl to java, i get the following > exception. > > Exception occurred while code generation for WSDL : > org.apache.axis2.AxisFault: Encoded use is not supported > > My WSDL has the following encoding. I couldn't understand why is this not > supported. As I have used this encoding because I was getting the Circular > reference serializing problem. > > @SOAPBinding(style = SOAPBinding.Style.RPC, use= SOAPBinding.Use.ENCODED) > > code: > <input> > <soap:body use="encoded" namespace="http://service.ejb/" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> > </input> > <output> > <soap:body use="encoded" namespace="http://service.ejb/" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="return"/> > </output> > > > > Any pointers are appreciated. > > Thanks, > Rahul > > This electronic message contains information from CTIS Inc., which may be > company sensitive, proprietary, privileged or otherwise protected from > disclosure. The information is intended to be used solely by the recipients > named above. If you are not an intended recipient, be aware that any > review,disclosure, copying, distribution or use of this transmission or its > contents is prohibited. If you have received this transmission in error, > please notify us immediately at [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
