[ 
https://issues.apache.org/jira/browse/AXIS2-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepal Jayasinghe reassigned AXIS2-1920:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> WSDL2JAVA generates CodeGenerationException and 
> java.lang.reflect.InvocationTargetException
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1920
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: Windows XP SP2, JVM 1.4.2_10-b03, Eclipse 3.2, Tomcat 
> 5.0.28
>            Reporter: Danny Lin
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: ConvictionSubject.zip
>
>
> The schema in a zip file is attached.
> Please see the following code: WSDL, and build.xml. When choosing to gerenate 
> the skeleton (with databinding="xmlbeans"), I got this error.
> Build output:
> init:
>     [mkdir] Created dir: C:\workspace\scdc-ws\build
> generate.skeleton:
> [wsdl2java] Retrieving schema at 'jxdm/3.0.3/jxdm.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/'.
> [wsdl2java] Retrieving schema at 'proxy/xsd/1.0/xsd.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'.
> [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/xsd/1.0/xsd.xsd'.
> [wsdl2java] Retrieving schema at 'proxy/census/1.0/census.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'.
> [wsdl2java] Retrieving schema at '../../../../census/1.0/census.xsd', 
> relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/census/1.0/census.xsd'.
> [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/census/1.0/census.xsd'.
> [wsdl2java] Retrieving schema at 'proxy/nibrs_misc/1.0.1/nibrs_misc.xsd', 
> relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'.
> [wsdl2java] Retrieving schema at 
> '../../../../nibrs_misc/1.0.1/nibrs_misc.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/nibrs_misc/1.0.1/nibrs_misc.xsd'.
> [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/nibrs_misc/1.0.1/nibrs_misc.xsd'.
> [wsdl2java] Retrieving schema at 'proxy/ncic_2000/1.0.2/ncic_2000.xsd', 
> relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'.
> [wsdl2java] Retrieving schema at '../../../../ncic_2000/1.0.2/ncic_2000.xsd', 
> relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/ncic_2000/1.0.2/ncic_2000.xsd'.
> [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 
> 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/ncic_2000/1.0.2/ncic_2000.xsd'.
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/3.0.3] and systemId [jxdm/3.0.3/jxdm.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/3.0.3/proxy/nibrs_misc/1.0.1] and systemId 
> [jxdm/3.0.3/proxy/nibrs_misc/1.0.1/nibrs_misc.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/3.0.3/proxy/xsd/1.0] and systemId 
> [jxdm/3.0.3/proxy/xsd/1.0/xsd.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/3.0.3/proxy/ncic_2000/1.0.2] and systemId 
> [jxdm/3.0.3/proxy/ncic_2000/1.0.2/ncic_2000.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/3.0.3/proxy/census/1.0] and systemId 
> [jxdm/3.0.3/proxy/census/1.0/census.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/nibrs_misc/1.0.1] and systemId 
> [jxdm/nibrs_misc/1.0.1/nibrs_misc.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/3.0.3] and systemId [jxdm/3.0.3/jxdm.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/ncic_2000/1.0.2] and systemId 
> [jxdm/ncic_2000/1.0.2/ncic_2000.xsd]
> [wsdl2java] Dec 28, 2006 1:07:04 PM 
> org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
> resolveEntity
> [wsdl2java] INFO: Resolving schema with publicId 
> [http://www.it.ojp.gov/jxdm/census/1.0] and systemId 
> [jxdm/census/1.0/census.xsd]
> BUILD FAILED
> C:\workspace\scdc-ws ADB\build.xml:41: 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> Total time: 6 seconds
> WSDL:
> <wsdl:definitions xmlns:axis2="http://ws.doc.state.sc.us/"; 
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
>       xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
> xmlns:scdc="http://ws.doc.state.sc.us/xsd";
>       xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
> xmlns:j="http://www.it.ojp.gov/jxdm/3.0.3";
>       targetNamespace="http://ws.doc.state.sc.us/";>
>       <wsdl:types>
>               <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> attributeFormDefault="qualified" elementFormDefault="qualified"
>                       targetNamespace="http://ws.doc.state.sc.us/xsd";>
>                       <xsd:import 
> namespace="http://www.it.ojp.gov/jxdm/3.0.3"; 
> schemaLocation="jxdm/3.0.3/jxdm.xsd" />
>                       <xsd:element name="getInmateList">
>                               <xsd:complexType>
>                                       <xsd:sequence>
>                                               <xsd:element 
> ref="j:PersonSurName" minOccurs="1" maxOccurs="1" />
>                                       </xsd:sequence>
>                               </xsd:complexType>
>                       </xsd:element>
>                       <xsd:element name="getInmateListResponse">
>                               <xsd:complexType>
>                                       <xsd:sequence>
>                                               <xsd:element 
> ref="j:ConvictionSubject" minOccurs="0" maxOccurs="unbounded" />
>                                       </xsd:sequence>
>                               </xsd:complexType>
>                       </xsd:element>
>               </xsd:schema>
>       </wsdl:types>
>       <wsdl:message name="getInmateListMessage">
>               <wsdl:part name="part1" element="scdc:getInmateList" />
>       </wsdl:message>
>       <wsdl:message name="getInmateListResponseMessage">
>               <wsdl:part name="part1" element="scdc:getInmateListResponse" />
>       </wsdl:message>
>       <wsdl:portType name="InmateMatchServicePortType">
>               <wsdl:operation name="getInmateList">
>                       <wsdl:input message="axis2:getInmateListMessage" />
>                       <wsdl:output 
> message="axis2:getInmateListResponseMessage" />
>               </wsdl:operation>
>       </wsdl:portType>
>       <wsdl:binding name="InmateMatchServiceSOAP11Binding" 
> type="axis2:InmateMatchServicePortType">
>               <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
> style="document" />
>               <wsdl:operation name="getInmateList">
>                       <soap:operation soapAction="urn:getInmateList" 
> style="document" />
>                       <wsdl:input>
>                               <soap:body use="literal" 
> namespace="http://ws.doc.state.sc.us/"; />
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap:body use="literal" 
> namespace="http://ws.doc.state.sc.us/"; />
>                       </wsdl:output>
>               </wsdl:operation>
>       </wsdl:binding>
>       <wsdl:binding name="InmateMatchServiceSOAP12Binding" 
> type="axis2:InmateMatchServicePortType">
>               <soap12:binding 
> transport="http://schemas.xmlsoap.org/soap/http"; style="document" />
>               <wsdl:operation name="getInmateList">
>                       <soap12:operation soapAction="urn:getInmateList" 
> style="document" />
>                       <wsdl:input>
>                               <soap12:body use="literal" 
> namespace="http://ws.doc.state.sc.us/"; />
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap12:body use="literal" 
> namespace="http://ws.doc.state.sc.us/"; />
>                       </wsdl:output>
>               </wsdl:operation>
>       </wsdl:binding>
>       <wsdl:service name="InmateMatchService">
>               <wsdl:port name="InmateMatchServiceSOAP11port" 
> binding="axis2:InmateMatchServiceSOAP11Binding">
>                       <soap:address 
> location="http://localhost:8080/axis2/services/InmateMatchService"; />
>               </wsdl:port>
>               <wsdl:port name="InmateMatchServiceSOAP12port" 
> binding="axis2:InmateMatchServiceSOAP12Binding">
>                       <soap12:address 
> location="http://localhost:8080/axis2/services/InmateMatchService"; />
>               </wsdl:port>
>       </wsdl:service>
> </wsdl:definitions>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to