cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
783
Views
5
Helpful
5
Replies

AXL: WSDL2Java anyone, who did this sucessfully?

schemberg
Level 1
Level 1

Hi,

anyone, who did the wsdl2java-stuff with the AXLAPI.wsdl sucessfully?

If so, please provide some information:

- What tool + version did you use (e.g. AXIS)?

- What is the commandline for generating?/What the options for the tool?

- How many class-files did you receive?

We tried this for a couple of days now whithout sucess ... really hard stuff!

Regards

Axel

1 Accepted Solution

Accepted Solutions

probert100
Level 1
Level 1

Hi,

I copied the AXLAPI.wsdl and AXLSoap.xsd from the WSDL-AXIS folder to the

axis-1_4\lib folder

Then I used the following command:

F:\AXL6.0\axis-bin-1_4\axis-1_4\lib>java -cp axis.jar;axis-ant.jar;wsdl4j-1.5.1

.jar;log4j-1.2.8.jar;commons-logging-1.0.4.jar;commons-discovery-0.2.jar;jaxrpc.

jar;saaj.jar org.apache.axis.wsdl.WSDL2Java AXLAPI.wsdl -v --timeout -1

Hope this helps.

Robert

View solution in original post

5 Replies 5

probert100
Level 1
Level 1

Hi,

I copied the AXLAPI.wsdl and AXLSoap.xsd from the WSDL-AXIS folder to the

axis-1_4\lib folder

Then I used the following command:

F:\AXL6.0\axis-bin-1_4\axis-1_4\lib>java -cp axis.jar;axis-ant.jar;wsdl4j-1.5.1

.jar;log4j-1.2.8.jar;commons-logging-1.0.4.jar;commons-discovery-0.2.jar;jaxrpc.

jar;saaj.jar org.apache.axis.wsdl.WSDL2Java AXLAPI.wsdl -v --timeout -1

Hope this helps.

Robert

probert100
Level 1
Level 1

Hi,

I copied the AXLAPI.wsdl and AXLSoap.xsd from the WSDL-AXIS folder to the

axis-1_4\lib folder

Then I used the following command:

F:\AXL6.0\axis-bin-1_4\axis-1_4\lib>java -cp axis.jar;axis-ant.jar;wsdl4j-1.5.1

.jar;log4j-1.2.8.jar;commons-logging-1.0.4.jar;commons-discovery-0.2.jar;jaxrpc.

jar;saaj.jar org.apache.axis.wsdl.WSDL2Java AXLAPI.wsdl -v --timeout -1

Hope this helps.

Robert

Hi Robert,

thanks a lot, this seems to solve the problem.

A lot of classes are generated (not only two).

Regards

Axel

Hi Robert,

I did this, but now I have 29 Errors. The first one is AddRegionReqRegion, line 21 "constructer undefined".

Did you have such problems?

Regards

Axel

Hi,

Yes I did have the same problem. I edited the constructors with the issues and removed the calls to the "super". Now I just use the setters and getters instead of the constructors with the full parameters.

Robert