Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

AXL: WSDL2Java anyone, who did this sucessfully?

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
New Member

Re: AXL: WSDL2Java anyone, who did this sucessfully?

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

5 REPLIES
New Member

Re: AXL: WSDL2Java anyone, who did this sucessfully?

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

New Member

Re: AXL: WSDL2Java anyone, who did this sucessfully?

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

New Member

Re: AXL: WSDL2Java anyone, who did this sucessfully?

Hi Robert,

thanks a lot, this seems to solve the problem.

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

Regards

Axel

New Member

Re: AXL: WSDL2Java anyone, who did this sucessfully?

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

New Member

Re: AXL: WSDL2Java anyone, who did this sucessfully?

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

350
Views
5
Helpful
5
Replies
CreatePlease to create content