• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

axis and axis 2

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

I have host address and port of the given webservice. I have written the javaclass client to send request and receive response using AXIS 1.4 (old version). i am able to get the response.

But my client wants to me use axis 2 . There is no defined wsdl. I am not sure if you can develop java client / stub etc in axis 2 without wsdl.

Can I generate the stub and java client using wsdl2java with just host and port address without wsdl file. If I form url http://hostname:port i can see the xml file.

Please help.
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like you have some custom made web service which is using some servlet to get the post.

I do remember using similar web service without WSDL. It was some awkward custom made web service which required posting xml document via HTTP. If this is your case, you can use HTTPClient and post xml.

But to make a long story short, you do need wsdl to use wsdl2java.

Hope it helps.

 
reply
    Bookmark Topic Watch Topic
  • New Topic