> [Lcom.demo.order.server.Order;

That's an array. You'll need special handling in case
orderClass.isArray() is true.

oc.


On Wed, 2011-11-02 at 12:07 -0700, dmsilva wrote:
> Hi,
> In the client code, when I trying to instantiate a list of objects I get
> this error: 
> <code>Exception in thread "main" java.lang.InstantiationException:
> [Lcom.demo.order.server.Order;</code>
> 
> this is my client code: 
> <code> // Get the input class Order
>               Class<?> orderClass = partInfo.getTypeClass();
>               System.out.println(orderClass.getName());
>               Object orderObject = orderClass.newInstance();
> </code>
> 
> webservice: <code>
> @WebService
> public interface OrderProcess {
>     String processOrder(ArrayList<Order> order);
> </code>
> 
> 
> some help?
> 
> thaks..
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Dynamic-client-issue-when-trying-to-instantiate-a-list-of-objects-tp4959032p4959032.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Conscience is a mother-in-law whose visit never ends. -- H. L. Mencken

Reply via email to