hi VF,

When i use wsdl2java in the shell (path=axis2-std-1.0-bin\test) with the command: "..\bin\WSDL2Java.bat -uri Pseudonymisierung.wsdl -ss -sd -d xmlbeans -o \generated -p healthgate.axis.service.Pseudonymisierung"

i always get the following fault:
Using AXIS2_HOME:   D:\downloads\axis2-std-1.0-bin
Using JAVA_HOME:    D:\Java\j2sdk1.4.2_12
log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:94)
       at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
       at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.AxisFault: Schema for namespace 'http://net.java/xsd' already contains type 'URLStreamHandlerFactory; nested exception is: java.lang.RuntimeException: Schema for namespace 'http://net.java/xsd' already contains type 'URLStreamHandlerFactory at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:87)
       ... 2 more
Caused by: java.lang.RuntimeException: Schema for namespace 'http://net.java/xsd' already contains type 'URLStreamHandlerFactory at org.apache.ws.commons.schema.XmlSchema.addType(XmlSchema.java:244) at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:110) at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:250) at org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:959) at org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221)
       ... 3 more

Next post is my wsdl file

kind regards,

Philipp


VF schrieb:
I noticed it too. I use services.xml which I generated with wsdl2java task.
Also button finish is in this plugin disabled till checkbox generate
services.xml is checked und unchecked.

   Vladi

-----Original Message-----
From: Philipp Perner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 11:41 AM
To: [email protected]
Subject: empty service.xml

Hi guys,

I am using the eclipse plugin "Axis2 Service Archiver", for deploying my web service. I have a generated wsdl file from my service class - generated from "Axis2 Code Generator" eclipse plugin. But every time i am making the archive (btw it's a jar archive) the created service.xml file is empty.
and axis2 recognizes the service as a faulty service.

I am using Eclipse3.2, Tomcat 5.5, axis2 1.0 and jdk1.4.2 on win2k

Any proposals?

kind regards,

philipp


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


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




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

Reply via email to