So, if I understand correctly, from the dynamic point of view, I would first use programmatically the wsdl2java tool to create the client's representation of my bean and then register its type mapping. Which means that the problem shifts now to finding the inners of the wsdl2java tool: which classes and methods it uses to produce the bean class. Any docs/sample code on that?
----- Original Message ----- &Agr;&pgr;&oacgr;: "Oliver Adler" <[EMAIL PROTECTED]> &EEgr;&mgr;&egr;&rgr;&ogr;&mgr;&eegr;&ngr;&iacgr;&agr;: &Dgr;&egr;&ugr;&tgr;&eacgr;&rgr;&agr;, &PHgr;&egr;&bgr;&rgr;&ogr;&ugr;&aacgr;&rgr;&igr;&ogr;&sfgr; 17, 2003 11:43&pgr;.&mgr;. &THgr;&eacgr;&mgr;&agr;: AW: AW: Using DII with complex types > The client should generate it' s own classes (using a tool (axis: > wsdl2java)) from the wsdl. If you have a look into the generated > stub you can see the registration of the generated classes > > -----Urspr?ngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 17. Februar 2003 10:31 > An: [EMAIL PROTECTED] > Betreff: Re: AW: Using DII with complex types > > > Thanks. I understand that this is how it should work in theory. > But > what about when I try to make it real? All I want to do on the > client- side is to deserialize the XML (using the BeanDeserializer > provided in > axis.jar) into the Bean class and then use a some getters to get > the > respected fields. If I use the call.RegisterTypeMapping() method I > mentioned earlier I have to map the xml QName to a Java class. If > I > give just any name of a class (imaginary-not already existing) in > this > method, the file won't even compile. Javac complains about unknown > class name and it's right! > > So, what I'm saying is, what way is there to do exactly what you > describe as "handle the XML" on the client when I'm receiving a > bean > and need a standard-normal deserialization? > > Thanks again. > > ----- Original Message ----- > &Agr;&pgr;&oacgr;: "Oliver Adler" <[EMAIL PROTECTED]> > &EEgr;&mgr;&egr;&rgr;&ogr;&mgr;&eegr;&ngr;&iacgr;&agr;: &Dgr;&egr;&ugr;&tgr;&eacgr;&rgr;&agr;, &PHgr;&egr;&bgr;&rgr;&ogr;&ugr;&aacgr;&rgr;&igr;&ogr;&sfgr; 17, 2003 10:06&pgr;.&mgr;. > &THgr;&eacgr;&mgr;&agr;: AW: Using DII with complex types > > > No, > > > > all you have to do is to decribe teh structure of your data in > > wsdl. It' s up to the client how he wants to do with the xml. > > > > ____________________________________________________________________ > > Oliver Adler, Senior Consultant > > SYRACOM Systems AG - "The IT-Architects" > > Otto-von-Guericke-Ring 15 > > D-65205 Wiesbaden > > Tel +49 6122-9176-0 > > Fax +49 6122-9176-11 > > Mobil +49 175-1853998 > > E-Mail: [EMAIL PROTECTED] > > www.SYRACOM.de > > Ein Unternehmen der SYRACOM Gruppe - "The Business- & IT- > > Architects" > > ____________________________________________________________________ > > > > Informieren Sie sich &oacgr;ber neue L&phgr;sungswege zur Strategieumsetzung > > und Unternehmenssteuerung > > mit Managementinstrumenten bei der Ueberreuter-Fachkonferenz zum > > Thema "Balanced Scorecard > > bei Banken und Sparkassen" vom 02. bis zum 04. April 2003 in > > Frankfurt am Main. > > Bei Ihrer Anmeldung unter der Angabe "SYRACOM" erhalten Sie > einen > > Preisvorteil von 10%! > > Weitere Informationen finden Sie unter: > > > www.syracom.de/veranst/ueberr0103.htm.__________________________________ > __________________________________ > > > > Der Inhalt dieser E-Mail ist ausschlie&iacgr;lich f&oacgr;r den/die in der E- > Mail > > bezeichneten Empf&dgr;nger bestimmt. Wir d&oacgr;rfen Sie bitten, sofern > Sie > > nicht dem Empf&dgr;ngerkreis angeh&phgr;ren, uns durch die > > R&oacgr;cksendung dieser E-Mail von deren irrt&oacgr;mlichen Versand an Sie > in > > Kenntnis zu setzen. > > This e-mail may only be read by those persons to whom it is > > addressed. If you have received this > > e-mail message in error, please notify us immediately by > returning > > this e-mail to the sender and > > delete this message. > > > > > > > > -----Urspr&oacgr;ngliche Nachricht----- > > Von: Costas Polychronopoulos [mailto:[EMAIL PROTECTED]] > > Gesendet: Sonntag, 16. Februar 2003 15:44 > > An: Axis mailing list > > Betreff: Using DII with complex types > > > > > > Hi everyone! > > > > I've been reading into the JAX-RPC specs and DII for some time > but > > I couldn't figure out one thing. If I want on the client-side to > > receive as a result of a WS invocation a JavaBean from a service > > I've created, do I have to have a copy of the JavaBean at the > > client? I understand that I should use the registerTypeMapping > > method to register the Bean(De)Serializer for what I get through > > SOAP from the server-side, but is it necessary to have a copy > of > > the bean, too? > > > > In other words, is there a way to get a Bean on the client-side > > without creating the stubs - using WSDL2Java? > > > > Thanx > > > > > >
