users@jersey.java.net

Re: [Jersey] Creating Clients for REST Web Service in OSB

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 20 Jan 2010 11:45:32 +0000

On Jan 20, 2010, at 6:26 AM, anant.shyam.mahajan_at_accenture.com wrote:

> Hi,
>
> I need to a create a client to invoke my REST web service developed
> in Oracle Service Bus. I intend to generate stubs so that I can test
> the REST web service through my client developed in java.
>
> Could you please guide me on how I can do this?
>

Have you tried to use the Jersey client API for testing,? IMHO, you
don't really need to create stubs if you are using such client API.

We have a test framework that makes it easy to use the client API with
unit tests that communicate with Web services (externally or embedded
deployments). See:

https://jersey.dev.java.net/nonav/documentation/latest/user-
guide.html#d4e1031

Paul.



Paul.

> Thanks,
> Anant
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you
> have received it in error, please notify the sender immediately and
> delete the original. Any other use of the email by you is prohibited.
>