You can use the WSDL2Java-Tool to generate a mapping class.
Due to some limitations of the tool, it's not always possible but in
many cases.

----- Original Message -----
From: "kulin parikh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 5:47 PM
Subject: Complex types from Axis Client


> I was going through the samples provided with Axis
>
> /samples/userguide/example5
>
> If i see Client.java
>
> To send complex type what this code does is
>
> Order order = new Order();
> order.setCustomerName("Glen Daniels");
> order.setShippingAddress("275 Grove Street, Newton, MA");
>
>
> And then
>
> call.registerTypeMapping(Order.class, qn,
> new org.apache.axis.encoding.ser.BeanSerializerFactory(Order.class, qn),
> new org.apache.axis.encoding.ser.BeanDeserializerFactory(Order.class,
qn));
>
> And class Order is available.
>
> But what do i do if i am acessing a service published by someone else
> where i dont have access to the class which maps to complex types?
>
> Or have i misunderstood something??
>
> regards
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>

Reply via email to