empty service.xml

2006-11-07 Thread Philipp Perner

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]



RE: empty service.xml

2006-11-07 Thread VF
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: axis-user@ws.apache.org
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]



Re: empty service.xml

2006-11-07 Thread Deepal Jayasinghe
Hi Philipp ;

Can you please try with either Axis2 1.1 RC2 release or Axis2 nightly
builds.
As I know the problem is fixed in the current SVN.

Thanks
Deepal

 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]




-- 
Thanks,
Deepal

The highest tower is built one brick at a time



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



Re: empty service.xml

2006-11-07 Thread Philipp Perner

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: axis-user@ws.apache.org
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]



Re: empty service.xml

2006-11-07 Thread Philipp Perner

you are right - but that's what Axis2 Code Generator has done for me!
Am I doing anything wrong?

the way i want do produce my web service:

1) write web service
2) generate wsdl from WebService (Axis2 Code Generator)
3) generate web service archive (Axis2 Service Archiver) using web 
service class and generated wsdl-file

4) deploy webservice.jar in axis2 administrator

is this the correct procedure?

philipp

VF schrieb:

But this wsdl is not valid when i check it in Eclipse.
  



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