Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-02-01 Thread robert lazarski
What is the structure of your AAR, ie, what files are in it and where ? The problem seems env related . Robert On 2/1/07, Bo Xie [EMAIL PROTECTED] wrote: Thanks a lot, Rebert, for your advice. I tried the sample XMLBean program with some simple derived type, it indeed work with the

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-02-01 Thread robert lazarski
Most if not all of those jars are in WEB-INF/lib already, and the rest can safely be placed there. Have you tried keeping only one copy of those jars under WEB-INF/lib ? The classes in those jars under WEB-INF/lib will be visible inside the aar. There are of course cases wher it makes sense to

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-01-31 Thread robert lazarski
Are you aware of the ServiceTCCL param ? parameter name=ServiceTCCL locked=falseservice/parameter Try adding that services.xml. See the spring example here: http://ws.apache.org/axis2/1_1/spring.html#263 Some more information is here:

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-01-31 Thread robert lazarski
One of the oldest axis2 tutorials uses xmlbeans with ant and goes thru a simple example on the service and client side. I tested this before the 1.1 release and some other volunteers also tested it and improved the docs a bit. I would say spend 20 minutes going thru that simple example and see if

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-01-30 Thread Bo Xie
Hi all, I need some advice for the following. 0. I use WSDL2JAVA with XmlBean binding to generate the service side code following the quickstartxmlbean example. 1. Our service related XMLBean types/element xsd are packaged in XBean-packaged.jar in our .aar file under services. 2. Looks like

Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-01-22 Thread Bo Xie
Hi, My previous issue is caused by org.apache.xmlbeans.impl .schema.SchemaTypeLoaderImpl's findTypeRef () not be able to load the following resource in service: schemaorg_apache_xmlbeans/type/http_3A_2F_2Fquickstart_2Esamples_2Fxsd/EU_2DAddress.xsb This resource is actually in my .aar

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-01-22 Thread Ajith Ranabahu
Hi, Is the packaged jar file inside the lib folder in the aar ? actually if you use the generated ant build this would placed at the right folder Ajith On 1/22/07, Bo Xie [EMAIL PROTECTED] wrote: Hi, My previous issue is caused by org.apache.xmlbeans.impl .schema.SchemaTypeLoaderImpl's

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-01-22 Thread Bo Xie
Thanks, Ajith. The packaged jar XBean-packaged.jar is under lib subdir within .aar. I am using the generated ant build.xml. -Bo Ajith Ranabahu wrote: Hi, Is the packaged jar file inside the lib folder in the aar ? actually if you use the generated ant build this would placed at the right