File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes  Questions about wsa.jar utility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark " Questions about wsa.jar utility " Watch " Questions about wsa.jar utility " New topic

Questions about wsa.jar utility

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230

I wasn't sure whether to post this in the Oracle forum or here.

I am trying to get a simple Web service going in OC4J The wsa.jar utility doesn't seem to generate everything needed to do this.

1) On the Web Service end, no JAX-RPC servlet is produced when using:

java -jar wsa.jar -assemble
-appName hello
-serviceName HelloService
-interfaceName oracle.demo.hello.HelloInterface
-className oracle.demo.hello.HelloImpl
-input ./build/classes/service
-output build
-ear dist/hello.ear
-uri HelloService

Isn't servlet essential to receive requests and send responses?

2) For the client, no Service implementation is produced by:

java -jar wsa.jar
-wsdl HelloService.wsdl
-output build -packageName oracle.demo.hello

I'm not sure what goes into a Service implementation.

Can anybody help me with these issues?
I agree. Here's the link:
subject: Questions about wsa.jar utility
It's not a secret anymore!