• 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

Web service client

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am trying to build a web service client to consume MS academic search api's. I am using Netbeans 7 IDE. And after some quick reference on net, I used IDE wizard to create stubs from a WSDL URL.
Now I also see that there is one java class under "Web Services" with all methods that API is providing, however, these are just blank methods with no empty method body.
I want to invoke one one of the method from this class into a servlet to fetch the results from the web service. Now as the method bodies are empty, I guess I need to provide the definition to them.
But then I am not sure what to code for that. My simple understanding was I will get the stubs generated by netbeans, so that I can simply consume the API with appropriate params like API-KEY, Search String, etc. So I am stuck now on how to go ahead. This is my first project dealing with web services. I would really appreciate any help on my problem.

Thanks.
 
Kevin Fedric
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone please help?
 
Have you no shame? Have you no decency? Have you no tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic