Hi I am using JBoss 3.2.2, as we are using this version in production I can not easily 
use another version.

I am trying to send java beans with inner classes using JBoss.net. It seems to be 
working fine when my Ejb populates an inner class and returns it. But when I want to 
send an inner class as a request. Axis can not find a constructor to create the 
innerclass.

This is most likely an Axis question but as I am using JBoss.net I thought I would 
start here, just to see if anyone has successfully send inner classes from client to a 
JBoss.net service.

My inner classes are registered like this in the web-service/xml file
<beanMapping qname="ns:CustQueryInBean" 
                                        xmlns:ns="http://bean.ea.eit.dep.com";
                                
languageSpecificType="java:com.dep.eit.ea.bean.CustomerByBusinessPartnerBean$CustQueryInBean"/>

This is how my error looks
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Unable to create JavaBean of type 
com.dep.eit.ea.bean.CustomerByBusinessPartnerBean$CustQueryInBean.  Missing default 
constructor?  Error was: java.lang.InstantiationException: 
com.dep.eit.ea.bean.CustomerByBusinessPartnerBean$CustQueryInBean.
 faultActor: 

My inner class has a default constructor so that is not the problem.

Sorry for the long post!

Thanks, Mike


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844569#3844569

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844569


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to