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 -----
Από: "Oliver Adler" <[EMAIL PROTECTED]>
Ημερομηνία: Δευτέρα, Φεβρουάριος 17, 2003 10:06π.μ.
Θέμα: 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 όber neue Lφ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ίlich fόr den/die in der E- Mail
> bezeichneten Empfδnger bestimmt. Wir dόrfen Sie bitten, sofern Sie
> nicht dem Empfδngerkreis angehφren, uns durch die
> Rόcksendung dieser E-Mail von deren irrtό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ό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
>
>