The answer may be contained in the rest of the Exception stack trace. You could look there for clues and if you still can't figure it out, post the entire trace.
-----Original Message----- From: TomazM [mailto:[email protected]] Sent: Thursday, May 21, 2009 10:34 AM To: axis Subject: wsdl2java I have error when using jbix %AXIS2_HOME%\bin\wsdl2java -uri jibx\META-INF\IPIS_JIBX.wsdl -Ebindingfile jibx\META-INF\binding.xml -p service.jibx -d jibx -s -ss -sd -ssi -uw -o build_jibx Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL Is there any way to determine in which line of wsdl is error. wsdl: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://aris.ipis/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://arnes.ipis/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> <wsdl:documentation>IPISOZ</wsdl:documentation> <wsdl:types> <xsd:schema xmlns:tns="http://arnes.ipis/" targetNamespace="http://arnes.ipis/"> <xsd:complexType name="Organizacija"> <xsd:sequence> <xsd:element minOccurs="0" name="fax" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="id" nillable="true" type="xsd:int"/> <xsd:element minOccurs="0" name="ime" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="maticna" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="mesto" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="opombe" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="org_mat" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="posta" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="telefon" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="ulica" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="updated" nillable="true" type="xsd:dateTime"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="Exception"> <xsd:sequence> <xsd:element minOccurs="0" name="Exception" nillable="true" type="xsd:anyType"/> </xsd:sequence> </xsd:complexType> <xsd:element name="Exception"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" name="Exception" nillable="true" type="tns:Exception"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="login"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" name="user" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="pass" nillable="true" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="loginResponse"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" name="return" type="xsd:boolean"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="getOrgList_pooblascenec"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" name="user" nillable="true" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="getOrgList_pooblascenecResponse"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="tns:OrganizacijaSmal"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="OrganizacijaSmal"> <xsd:sequence> <xsd:element minOccurs="0" name="id" nillable="true" type="xsd:int"/> <xsd:element minOccurs="0" name="ime" nillable="true" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> </wsdl:types> <wsdl:message name="getOrgList_pooblascenecRequest"> <wsdl:part name="parameters" element="tns:getOrgList_pooblascenec"/> </wsdl:message> <wsdl:message name="getOrgList_pooblascenecResponse"> <wsdl:part name="parameters" element="tns:getOrgList_pooblascenecResponse"/> </wsdl:message> <wsdl:message name="Exception"> <wsdl:part name="parameters" element="tns:Exception"/> </wsdl:message> <wsdl:message name="loginRequest"> <wsdl:part name="parameters" element="tns:login"/> </wsdl:message> <wsdl:message name="loginResponse"> <wsdl:part name="parameters" element="tns:loginResponse"/> </wsdl:message> <wsdl:portType name="IPISOZPortType"> <wsdl:operation name="getOrgList_pooblascenec"> <wsdl:input message="tns:getOrgList_pooblascenecRequest"/> <wsdl:output message="tns:getOrgList_pooblascenecResponse"/> <!-- <wsdl:fault message="tns:Exception" name="Exception"/> --> </wsdl:operation> <wsdl:operation name="login"> <wsdl:input message="tns:loginRequest"/> <wsdl:output message="tns:loginResponse"/> <!-- <wsdl:fault message="tns:Exception" name="Exception"/> --> </wsdl:operation> </wsdl:portType> <wsdl:binding name="IPISOZBinding" type="tns:IPISOZPortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="getOrgList_pooblascenec"> <soap:operation soapAction="urn:getOrgList_pooblascenec" style="document"/> <wsdl:input> <soap:body use="literal" namespace=""/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> <!-- <wsdl:fault name="Exception"> <soap:fault use="literal" name="Exception"/> </wsdl:fault> --> </wsdl:operation> <wsdl:operation name="login"> <soap:operation soapAction="urn:login" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> <!-- <wsdl:fault name="Exception"> <soap:fault use="literal" name="Exception"/> </wsdl:fault> --> </wsdl:operation> </wsdl:binding> <wsdl:service name="IPISOZ"> <wsdl:port name="IPISOZHttpSoap11Endpoint" binding="tns:IIPISOZBinding"> <soap:address location="http://jalovec.arnes.si:8080/axis2/services/IPISOZ"/> </wsdl:port> </wsdl:service> </wsdl:definitions> STATEMENT OF CONFIDENTIALITY: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify WHI Solutions immediately at [email protected], and destroy all copies of this message and any attachments.
