[Axis2] endpoint test, backward compatibilty and WSDL2Java

2006-05-16 Thread Mérième N
Hi,I want to test a SOAP endpoint ot the Version like in Axis 1.3.I type http://localhost:8080/axis2/services/versionor http://localhost:8080/axis2/services/version?method=getVersionthe page displayed the following message:Requested resource not found!The link in order to generate the WSDL works.However I follow step by step the guidelines in the installation guide. All the other pages are displayed as expected.An another question, I developed a Web Service under Axis 1.3. I wanted to upload the jar files via the administaton site. This service is displayed as a
 faulty service. In general, can Axis2 deployed a web service developed under a previous version?Can it have a backward compatibility?I try to enforce the WSDL2Java command line advised in the user guideWSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d xmlbeans-o ..\samples -p org.apache.axis2.userguideThis error is displayed. 'WSDL2Java' is not recognized as an internal or external command,operable program or batch file.Do I have to call this tool in another way ?Could you help me to fix that.Thanking you in advance.Merieme

Re: [Axis2] endpoint test, backward compatibilty and WSDL2Java

2006-05-16 Thread Ajith Ranabahu

Hi,
1. Axis2 services are not compatible with older versions. So you
cannot deploy services made for axis1x with axis2. we are thinking of
providing a converter but not in the foreseeable future :(

2. for the WSDL2Java batch file to execute you have to have it in the
path (and ofcourse the   AXIS2_HOME need to be set)

Ajith

On 5/16/06, Mérième N [EMAIL PROTECTED] wrote:



Hi,

I want to test a SOAP endpoint ot the Version like in Axis 1.3.

I type http://localhost:8080/axis2/services/version
or
http://localhost:8080/axis2/services/version?method=getVersion

the page displayed the following message:
Requested resource not found!

The link in order to generate the WSDL works.

However I follow step by step the guidelines in the installation guide. All
the other pages are displayed as expected.

An another question, I developed a Web Service under Axis 1.3. I wanted to
upload the jar files via the administaton site. This service is displayed as
a faulty service. In general, can Axis2 deployed a web service developed
under a previous version?

Can it have a backward compatibility?

I try to enforce the WSDL2Java command line advised in the user guide
WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss
-sd -d xmlbeans
-o ..\samples -p org.apache.axis2.userguide

This error is displayed.
'WSDL2Java' is not recognized as an internal or external command,
operable program or batch file.

Do I have to call this tool in another way ?

Could you help me to fix that.

Thanking you in advance.
Merieme




--
Ajith Ranabahu


Re : [Axis2] endpoint test, backward compatibilty and WSDL2Java

2006-05-16 Thread Mérième N
Hi,Thanks for your advice!I try again to enforce the WSDL2Java command line.My first value of AXIS2_HOME is C:\axis2-std-1.0-src.It displayed me this errorThe AXIS2_HOME environment variable is not defined correctlyThis environment variable is needed to run this programI modified the path of my AXIS2_HOME variable to C:\axis2-std-1.0-src\target\temp\warApparently, the WSDL2Java.bat seeks an Axis2_home containing a lib directory.When I try again to enforce the WSDL2Java command line:WSDL2Java -uri Ask.wsdl
 -ss -sd -d xmlbeans -o . -p tutu
Now, I have this errors message displayed :Using AXIS2_HOME: C:\axis2-std-1.0-src\target\temp\warUsing JAVA_HOME: C:\Program Files\Java\jdk1.5.0_06Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/WSDLException at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at
 org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)I put the xbean-2.1.0 jar file in the diretory lib located in AXIS2_HOME but no change.I still have problems with the test of a SOAP endpoint via an URL like in Axis1.3?Could you help me?Thanking you in advanceRegards,Merieme- Message d'origine De : Ajith Ranabahu [EMAIL PROTECTED]À : axis-user@ws.apache.org; Mérième N [EMAIL PROTECTED]Envoyé le : Mardi, 16 Mai 2006, 9h33mn 47sObjet: Re: [Axis2] endpoint test, backward compatibilty and WSDL2JavaHi,1. Axis2 services are not compatible with older versions. So youcannot deploy services made for axis1x with axis2. we are thinking ofproviding a converter but not in the foreseeable future :(2. for the WSDL2Java batch file to execute you have to have it in thepath (and ofcourse the AXIS2_HOME need to be
 set)AjithOn 5/16/06, Mérième N [EMAIL PROTECTED] wrote: Hi, I want to test a SOAP endpoint ot the Version like in Axis 1.3. I type http://localhost:8080/axis2/services/version or http://localhost:8080/axis2/services/version?method=getVersion the page displayed the following message: Requested resource not found! The link in order to generate the WSDL works. However I follow step by step the guidelines in the installation guide. All the other pages are displayed as expected. An another question, I developed a Web Service under Axis 1.3. I wanted to upload the jar files via the administaton site. This service is displayed
 as a faulty service. In general, can Axis2 deployed a web service developed under a previous version? Can it have a backward compatibility? I try to enforce the WSDL2Java command line advised in the user guide WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d xmlbeans -o ..\samples -p org.apache.axis2.userguide This error is displayed. 'WSDL2Java' is not recognized as an internal or external command, operable program or batch file. Do I have to call this tool in another way ? Could you help me to fix that. Thanking you in advance. Merieme-- Ajith Ranabahu