• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

WSDL2JAVA not generating all the classes with Axis 1.4

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are trying to move to Java 1.5, as a result I upgraded the Axis to version 1.4. But noticed the axis 1.4 does not generate all the classes from the WSDL. Has anyone been able to resolve the issue? Thanks in advance.
 
kalpana gali
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this a bug in Axis 1.4 or does the wsdl need to be modified?
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I was also facing the same issue... But I tried WSDL2Java tool and it generated the required classes.... I did like this

C:\>"C:\Program Files\Java\jdk1.5.0\bin\java" -classpath %CLASSPATH% org.apache.axis.wsdl.WSDL2Java -v -o -s d:\generate C:\axis\PQSSProvisioning.wsdl

Hope it will help you...
 
Pradeep Chaubey
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I kept this command in a batch file and ran the batch file from cmd...prompt
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

kalpana gali wrote:We are trying to move to Java 1.5, as a result I upgraded the Axis to version 1.4.


While there may be other reasons to upgrade Axis (the latest version of which is 1.5, by the way, not 1.4), upgrading the JRE version is not one of them. Java's backwards compatibility should ensure that newer JREs run older Axis versions just fine.
 
kalpana gali
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Pradeep, I will try it this way.

Ulf-- when we upgrade to java 1.5 it gives a compile error with enum's. In axis 1.2 there is a package org.apache.axis.enum which needs to be changed.
 
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic