11-20-2007 09:24 AM - last edited on 03-25-2019 06:55 PM by ciscomoderator
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
Solved! Go to Solution.
11-28-2007 06:17 AM
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
11-28-2007 06:15 AM
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
11-28-2007 06:17 AM
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
11-28-2007 06:39 AM
Hi Robert,
thanks a lot, this seems to solve the problem.
A lot of classes are generated (not only two).
Regards
Axel
11-29-2007 06:04 AM
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
11-29-2007 10:45 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: