RE: Error when generating the proxies using xmlbeans
Thanks for your help, I found another workaround for my case, I commented the repeating imports and I could generate proxy classes then.. Thanks -Original Message- From: David Ojeda [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 11:02 AM To: axis-user@ws.apache.org Subject: Re: Error when generating the proxies using xmlbeans Hello Muhammed, I am not sure about this. When I faced this problem I wasn't sure which files should be deleted. I didn't find any docs about this but this -Ewdc was crucial for my project (generation time was 5min without it and 10seconds with it). The main problem was that there were duplicate classes in the jar generated by scomp and the classes generated by wsdl2java. What I did was erase everything but the ones I wrote in my last message[*] Then I encountered more problems since I now needed the soap, wsdl and xml xsd classes (Apparently the dummy classes of these xsd were generated by wsdl2java... but I did not have the implementation classes). So my solution was generating these classes with scomp as well. I am enclosing these xsd in case you need them. Hope it helps, but sorry I do not know the answer to your question [*] I forgot that I must delete also "schemaorg_apache_xmlbeans/**" On Wednesday 01 October 2008 10:16:31 Soyer, Muhammed A. wrote: > Hi David, > Thanks for your reply. It says that it will generate a dummy schema > but when I look at the generated files they look legitimate, which > files should be dummy? > > Thanks > > -Original Message- > From: David Ojeda [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2008 10:08 AM > To: axis-user@ws.apache.org > Subject: Re: Error when generating the proxies using xmlbeans > > In my experience, I have to delete everything except the skeleton, > message receiver, and fault classes if any. > > I do this with an ant task, so maybe this will help: > failonerror="true" > fork="true"> > > > > > > > > > > > > > > > > > > > > > > > > > > > Note that all my fault classes are named *Fault, so their classes are > not deleted. > > On Wednesday 01 October 2008 08:32:29 Soyer, Muhammed A. wrote: > > In able to continue my work I tried -Ewdc (for xmlbeans) options > > of wsdl2java, and I could generate the files using xmlbens scomp. > > Now which files should I replace ? > > > > Thanks > > > > -- > > -Ewdc (for xmlbeans) Generate code with a dummy schema. if someone > > use this option they have to generate the xmlbeans code seperately > > with the scomp command comes with the xmlbeans distribution and > > replace the Axis2 generated classes with correct classes > > > > > > > > From: Soyer, Muhammed A. [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 30, 2008 6:01 PM > > To: axis-user@ws.apache.org > > Subject: Error when generating the proxies using xmlbeans > > > > Hi, > > I have a WSDL file which imports other WSDL files and they import > > XSD files. Looks like one of the XSD is being referred multiple > > times. I guess normally this shouldn't be an issue but when I use > > the xmlbeans binding I am getting an error saying that I have > > "Duplicate global type ". When I use the default binding ADB I > > don't get an error message but I can't use ADB because of its > > limitations for inherited complex types. > > > > I am using axis2 1.4.1 . Do you have any suggestions to work > > around the issue? > > > > Thanks > > > > > > Using JAVA_HOME:d:\jdev\10g10134\jdk > > Retrieving document at 'CentralReservation.wsdl'. > > Retrieving document at 'XReservationService.wsdl', relative to > >'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving > >schema wsdl:imported from 'XReservationService.xsd', relative to > >'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving > >document at 'XClassService.wsdl', relative to > >'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving > >schema wsdl:imported from 'XClassService.xsd', relative to > >
Re: Error when generating the proxies using xmlbeans
Hello Muhammed, I am not sure about this. When I faced this problem I wasn't sure which files should be deleted. I didn't find any docs about this but this -Ewdc was crucial for my project (generation time was 5min without it and 10seconds with it). The main problem was that there were duplicate classes in the jar generated by scomp and the classes generated by wsdl2java. What I did was erase everything but the ones I wrote in my last message[*] Then I encountered more problems since I now needed the soap, wsdl and xml xsd classes (Apparently the dummy classes of these xsd were generated by wsdl2java... but I did not have the implementation classes). So my solution was generating these classes with scomp as well. I am enclosing these xsd in case you need them. Hope it helps, but sorry I do not know the answer to your question [*] I forgot that I must delete also "schemaorg_apache_xmlbeans/**" On Wednesday 01 October 2008 10:16:31 Soyer, Muhammed A. wrote: > Hi David, > Thanks for your reply. It says that it will generate a dummy schema but > when I look at the generated files they look legitimate, which files should > be dummy? > > Thanks > > -Original Message- > From: David Ojeda [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2008 10:08 AM > To: axis-user@ws.apache.org > Subject: Re: Error when generating the proxies using xmlbeans > > In my experience, I have to delete everything except the skeleton, message > receiver, and fault classes if any. > > I do this with an ant task, so maybe this will help: > failonerror="true" > fork="true"> > > > > > > > > > > > > > > > > > > > > > > > > > > > Note that all my fault classes are named *Fault, so their classes are not > deleted. > > On Wednesday 01 October 2008 08:32:29 Soyer, Muhammed A. wrote: > > In able to continue my work I tried -Ewdc (for xmlbeans) options of > > wsdl2java, and I could generate the files using xmlbens scomp. Now which > > files should I replace ? > > > > Thanks > > > > -- > > -Ewdc (for xmlbeans) Generate code with a dummy schema. if someone use > > this option they have to generate the xmlbeans code seperately with the > > scomp command comes with the xmlbeans distribution and replace the Axis2 > > generated classes with correct classes > > > > > > > > From: Soyer, Muhammed A. [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 30, 2008 6:01 PM > > To: axis-user@ws.apache.org > > Subject: Error when generating the proxies using xmlbeans > > > > Hi, > > I have a WSDL file which imports other WSDL files and they import XSD > > files. Looks like one of the XSD is being referred multiple times. I > > guess normally this shouldn't be an issue but when I use the xmlbeans > > binding I am getting an error saying that I have "Duplicate global type > > ". When I use the default binding ADB I don't get an error message > > but I can't use ADB because of its limitations for inherited complex > > types. > > > > I am using axis2 1.4.1 . Do you have any suggestions to work around the > > issue? > > > > Thanks > > > > > > Using JAVA_HOME:d:\jdev\10g10134\jdk > > Retrieving document at 'CentralReservation.wsdl'. > > Retrieving document at 'XReservationService.wsdl', relative to > > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > > wsdl:imported from 'XReservationService.xsd', relative to > > 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document > > at 'XClassService.wsdl', relative to > > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > > wsdl:imported from 'XClassService.xsd', relative to > > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at > > 'XReservationService.xsd', relative to > > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at > > 'XSpaService.wsdl', relative to > > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl
RE: Error when generating the proxies using xmlbeans
Hi David, Thanks for your reply. It says that it will generate a dummy schema but when I look at the generated files they look legitimate, which files should be dummy? Thanks -Original Message- From: David Ojeda [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 10:08 AM To: axis-user@ws.apache.org Subject: Re: Error when generating the proxies using xmlbeans In my experience, I have to delete everything except the skeleton, message receiver, and fault classes if any. I do this with an ant task, so maybe this will help: Note that all my fault classes are named *Fault, so their classes are not deleted. On Wednesday 01 October 2008 08:32:29 Soyer, Muhammed A. wrote: > In able to continue my work I tried -Ewdc (for xmlbeans) options of > wsdl2java, and I could generate the files using xmlbens scomp. Now which > files should I replace ? > > Thanks > > -- > -Ewdc (for xmlbeans) Generate code with a dummy schema. if someone use > this option they have to generate the xmlbeans code seperately with the > scomp command comes with the xmlbeans distribution and replace the Axis2 > generated classes with correct classes > > > > From: Soyer, Muhammed A. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2008 6:01 PM > To: axis-user@ws.apache.org > Subject: Error when generating the proxies using xmlbeans > > Hi, > I have a WSDL file which imports other WSDL files and they import XSD > files. Looks like one of the XSD is being referred multiple times. I guess > normally this shouldn't be an issue but when I use the xmlbeans binding I > am getting an error saying that I have "Duplicate global type ". When I > use the default binding ADB I don't get an error message but I can't use > ADB because of its limitations for inherited complex types. > > I am using axis2 1.4.1 . Do you have any suggestions to work around the > issue? > > Thanks > > > Using JAVA_HOME:d:\jdev\10g10134\jdk > Retrieving document at 'CentralReservation.wsdl'. > Retrieving document at 'XReservationService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document > at 'XClassService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XClassService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at > 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at > 'XSpaService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XSpaService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.wsdl'. Retrieving schema at > 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.xsd'. Retrieving document at > 'XCustomer.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at > 'XLocation.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XLocationObjects.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XLocation.wsdl'. Retrieving document at > 'XTee.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at > 'XDiningService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XDiningService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.wsdl'. Retrieving schema at > 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.xsd'. Retrieving document at > 'CentralReservation.wsdl'. > Retrieving document at 'XReservationService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XReservationService.xsd', relative to > '
Re: Error when generating the proxies using xmlbeans
In my experience, I have to delete everything except the skeleton, message receiver, and fault classes if any. I do this with an ant task, so maybe this will help: Note that all my fault classes are named *Fault, so their classes are not deleted. On Wednesday 01 October 2008 08:32:29 Soyer, Muhammed A. wrote: > In able to continue my work I tried -Ewdc (for xmlbeans) options of > wsdl2java, and I could generate the files using xmlbens scomp. Now which > files should I replace ? > > Thanks > > -- > -Ewdc (for xmlbeans) Generate code with a dummy schema. if someone use > this option they have to generate the xmlbeans code seperately with the > scomp command comes with the xmlbeans distribution and replace the Axis2 > generated classes with correct classes > > > > From: Soyer, Muhammed A. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2008 6:01 PM > To: axis-user@ws.apache.org > Subject: Error when generating the proxies using xmlbeans > > Hi, > I have a WSDL file which imports other WSDL files and they import XSD > files. Looks like one of the XSD is being referred multiple times. I guess > normally this shouldn't be an issue but when I use the xmlbeans binding I > am getting an error saying that I have "Duplicate global type ". When I > use the default binding ADB I don't get an error message but I can't use > ADB because of its limitations for inherited complex types. > > I am using axis2 1.4.1 . Do you have any suggestions to work around the > issue? > > Thanks > > > Using JAVA_HOME:d:\jdev\10g10134\jdk > Retrieving document at 'CentralReservation.wsdl'. > Retrieving document at 'XReservationService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document > at 'XClassService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XClassService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at > 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at > 'XSpaService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XSpaService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.wsdl'. Retrieving schema at > 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.xsd'. Retrieving document at > 'XCustomer.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at > 'XLocation.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XLocationObjects.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XLocation.wsdl'. Retrieving document at > 'XTee.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at > 'XDiningService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XDiningService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.wsdl'. Retrieving schema at > 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.xsd'. Retrieving document at > 'CentralReservation.wsdl'. > Retrieving document at 'XReservationService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XReservationService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document > at 'XClassService.wsdl', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema > wsdl:imported from 'XClassService.xsd', relative to > 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at > 'X
RE: Error when generating the proxies using xmlbeans
In able to continue my work I tried -Ewdc (for xmlbeans) options of wsdl2java, and I could generate the files using xmlbens scomp. Now which files should I replace ? Thanks -- -Ewdc (for xmlbeans) Generate code with a dummy schema. if someone use this option they have to generate the xmlbeans code seperately with the scomp command comes with the xmlbeans distribution and replace the Axis2 generated classes with correct classes From: Soyer, Muhammed A. [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 6:01 PM To: axis-user@ws.apache.org Subject: Error when generating the proxies using xmlbeans Hi, I have a WSDL file which imports other WSDL files and they import XSD files. Looks like one of the XSD is being referred multiple times. I guess normally this shouldn't be an issue but when I use the xmlbeans binding I am getting an error saying that I have "Duplicate global type ". When I use the default binding ADB I don't get an error message but I can't use ADB because of its limitations for inherited complex types. I am using axis2 1.4.1 . Do you have any suggestions to work around the issue? Thanks Using JAVA_HOME:d:\jdev\10g10134\jdk Retrieving document at 'CentralReservation.wsdl'. Retrieving document at 'XReservationService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document at 'XClassService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XClassService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at 'XSpaService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XSpaService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.xsd'. Retrieving document at 'XCustomer.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XLocation.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XLocationObjects.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XLocation.wsdl'. Retrieving document at 'XTee.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XDiningService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XDiningService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.xsd'. Retrieving document at 'CentralReservation.wsdl'. Retrieving document at 'XReservationService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document at 'XClassService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XClassService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at 'XSpaService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XSpaService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.xsd'. Retrieving document at 'XCustomer.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XLocation.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XLocationObjects.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XLocation.wsdl'. Retrieving document at 'XTee.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XDiningService.wsdl', rel
Error when generating the proxies using xmlbeans
Hi, I have a WSDL file which imports other WSDL files and they import XSD files. Looks like one of the XSD is being referred multiple times. I guess normally this shouldn't be an issue but when I use the xmlbeans binding I am getting an error saying that I have "Duplicate global type ". When I use the default binding ADB I don't get an error message but I can't use ADB because of its limitations for inherited complex types. I am using axis2 1.4.1 . Do you have any suggestions to work around the issue? Thanks Using JAVA_HOME:d:\jdev\10g10134\jdk Retrieving document at 'CentralReservation.wsdl'. Retrieving document at 'XReservationService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document at 'XClassService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XClassService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at 'XSpaService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XSpaService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.xsd'. Retrieving document at 'XCustomer.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XLocation.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XLocationObjects.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XLocation.wsdl'. Retrieving document at 'XTee.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XDiningService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XDiningService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.xsd'. Retrieving document at 'CentralReservation.wsdl'. Retrieving document at 'XReservationService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XReservationService.wsdl'. Retrieving document at 'XClassService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XClassService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XClassService.xsd'. Retrieving document at 'XSpaService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XSpaService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XSpaService.xsd'. Retrieving document at 'XCustomer.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XLocation.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XLocationObjects.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XLocation.wsdl'. Retrieving document at 'XTee.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving document at 'XDiningService.wsdl', relative to 'file:/D:/oa/Zzz2/Wsdl_New/CentralReservation.wsdl'. Retrieving schema wsdl:imported from 'XDiningService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.wsdl'. Retrieving schema at 'XReservationService.xsd', relative to 'file:/D:/oa/Zzz2/Wsdl_New/XDiningService.xsd'. [INFO] A SOAP port was not found - picking a random port! [INFO] Resolving schema with publicId [http://schemas.zzz.com/OpenActivity/1/0/Reservation/] and systemId [XReservationService.xsd] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:126) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224) ... 2 more Caused by: java.lang.reflect.InvocationTargetEx