This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Problem with Sample application Fibonacci  RSS feed

 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • 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: 42974
76
  • Mark post as helpful
  • send pies
  • 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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!