You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sagar Pidaparthi <Sa...@chordiant.com> on 2004/09/10 20:55:00 UTC

Unable to create JavaBean Client side exception

Hi,

I get the following exception on the client which uses proxies.

I have created a constructor on the Person class mentioned below.  
What else can I do on the client to get my client working?

The server does not show any exceptions.  In fact the SOAP monitor shows
that the response message is coming back!

Regards

Sagar 

- Exception:
org.xml.sax.SAXException: Unable to create JavaBean of type
businessClasses.pmf.chordiant.com.Person.  Missing default constructor?
Error was: java.lang.InstantiationException:
businessClasses/pmf/chordiant/com/Person. 



Code


PmfCustomerClientAgentServiceLocator customerLocator = new
PmfCustomerClientAgentServiceLocator();
System.out.println("Step 2: created Customer Locator");
PmfCustomerClientAgent customerCA =
customerLocator.getPmfCustomerClientAgent();
System.out.println("Step 3: created customer port");
aCustomer = new Customer();
aCustomer.setCustomerNumber("536477");
aCustomer = (Customer)customerCA.getCommonObject(userID, authentication,
aCustomer);