Both actions require us to manually add JAX-RPC libs to the project because as you will see by default JAX-WS service and proxy are created when we try to consume or create a web service.
- Creating JAX-RPC Web Services
By default you can only select JAX-WS web service.
To be able to create a JAX-RPC web service we need to add JAX-RPC libs to the project so in project properties we head to Libraries and Classpath and click on 'Add library'.
Then we have to selec 'JAX-RPC 11 Web Services' and click 'OK'.
Now, if we try to create the web service again we can see that the wizard don't force us to choose JAX-WS.
- Consuming JAX-RPC Web Services
As the error message suggest, we have to include JAX-RPC libs to the project.
Then we can create the proxy using the wizard.
And if we try the proxy we can see that the web service works fine.
Thank you Ruben,
ReplyDelete