Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions about wsa.jar utility

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:

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 10.1.3.3. 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
-targetNamespace http://hello.demo.oracle

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

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

java -jar wsa.jar
-genInterface
-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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic