0

I have a RESTful webservice in WCF.

How can I create/generate a RESTful webservice client for it in Netbeans?

Ultimately, I would like to use it in a JSF web application.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Marshall
  • 1,195
  • 6
  • 30
  • 47
  • This problem is beyond JSF. You should ask how to create a webservice client instead of how to invoke a webservice client (which you don't have yet at all) in JSF. – BalusC Jan 08 '13 at 15:21
  • 1
    I improved it further. It's as said *beyond* JSF. A webservice client is not specific to a particular frontend. A webservice client is just reusable on all kinds of frontends. You should ultimately be able to create/run it in a plain vanilla Java application with `main()` method (which allows for much easier testing than a web application, by the way). Once you got that far, just invoke exactly the same code in (post)constructor of a JSF managed bean. – BalusC Jan 08 '13 at 15:30
  • Because WCF REST service does not provide neither WADL or WSDL 2.0 document describing available resources you will most probably have to write the client yourselves. – Ladislav Mrnka Jan 08 '13 at 16:07
  • Ok. Thanks i will try on plain java app and then on web. I'm afk right now. – Marshall Jan 08 '13 at 17:06

0 Answers0