Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Problem with Sample application Fibonacci

 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am new to web services and I am trying the sample example from web page (fibonacci)

I am encountering the following problem:

I have downloaded the axis and placed th downloaded folder in c:\axis_1.4



I am using JDK 1.5 in windows 2000..

My Folder Structure:
D:\fibonacci\src\fibonacci

I have compiled Fibonacci.java and FibonacciImpl.java and generated the class files.

Now, as per the example given, I want to generate the WSDL from Fibonacci Interface. For that I have used the below cmd and I am getting the error message as "Unrecognized option: -o":


Can anyone know the reason for this..? Hopw to reolve it??

And also please suggesy some good books for Web Services for beginners to buy?
[ February 05, 2007: Message edited by: Micheal John ]
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like you are not actually giving a value for the classpath. Try:

java -cp %AXISCLASSPATH% org.apache.axis.wsdl.Java2WSDL -o fib.wsdl -l"http://localhost:8080/axis/services/fibonacci" -n urn:fibonacci -p "fibonacci" urn:fibonacci fibonacci.Fibonacci

Some books about developing WS with Java can be found here.
[ February 05, 2007: Message edited by: Ulf Dittmer ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic