Webservice Client cannot be created by JAXWS:wsimport
Hoi ,
I have Netbeans 5.5 and Server Application 9. I made and webserver and i want to conecct with web service client, and i am getting the next error. How can i solve it?
////////////////////Error dialog//////////////////////
Webservice Client cannot be created by JAXWS:wsimport
Reason: illega attempt to exit early
////////////////ouput///////////////////////////////
error: 'stringArray' is already defined
line 9 of file:/C:/Documents%20and%20Settings/Rupan%20Panchalingam/Bureaublad/WebService%20en%20Client%20v0.6/WSClient/WSClient/src/conf/xml-resources/web-service-references/WebKiezerService/wsdl/rupan_8080/WebKiezer/WebKiezerService/__container_publishing_subctx/WEB-INF/wsdl/WebKiezerService_schema1.xsd
error: (related to above error) the first definition appears here
line 4 of file:/C:/Documents%20and%20Settings/Rupan%20Panchalingam/Bureaublad/WebService%20en%20Client%20v0.6/WSClient/WSClient/src/conf/xml-resources/web-service-references/WebKiezerService/wsdl/rupan_8080/WebKiezer/WebKiezerService/__container_publishing_subctx/WEB-INF/wsdl/WebKiezerService_schema1.xsd
error: org.xml.sax.SAXParseException: (related to above error) the first definition appears here
BUILD SUCCESSFUL (total time: 1 second)
thx,
rupan
[1326 byte] By [
Rupana] at [2007-11-26 16:48:21]

# 1
have you already solved that problem? i also encounter the same error in creating a webservice client. please i need your help
error: 'stringArray' is already defined
line 9 of file:/C:/Sun/SDK/samples/javaeetutorial5/examples/jaxws/simpleclient/src/conf/xml-resources/web-service-references/querydbService/wsdl/carmi_8080/scienceph/querydbService/__container_publishing_subctx/WEB-INF/wsdl/QuerydbService_schema2.xsd
error: (related to above error) the first definition appears here
line 4 of file:/C:/Sun/SDK/samples/javaeetutorial5/examples/jaxws/simpleclient/src/conf/xml-resources/web-service-references/querydbService/wsdl/carmi_8080/scienceph/querydbService/__container_publishing_subctx/WEB-INF/wsdl/QuerydbService_schema2.xsd
error: org.netbeans.core.execution.ExitSecurityException: Exit from within execution engine, normal
# 3
here is my QueryDBService_schema2.xsd
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" targetNamespace="http://jaxb.dev.java.net/array" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="stringArray" final="#all">
<xs:sequence>
<xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
# 4
I getting the same type of error.
NB 5.5, JAXB 2.0,
error: 'TRetConsStatServ' is already defined
line 19 of file:/C:/eduardo_novo/NFE/nfe-cliente/xml-resources/web-service-references/HelloWorldService/wsdl/geinf110_8080/nfe-ws/HelloWorldService/__container_publishing_subctx/WEB-INF/wsdl/HelloWorldService_schema1.xsd
error: (related to above error) the first definition appears here
line 4 of file:/C:/eduardo_novo/NFE/nfe-cliente/xml-resources/web-service-references/HelloWorldService/wsdl/geinf110_8080/nfe-ws/HelloWorldService/__container_publishing_subctx/WEB-INF/wsdl/HelloWorldService_schema1.xsd
Those WebServices are ok. They were created in .NET and a couple of people are using it without any problem.
Hope I've found a solution.
thx