LibraryToggle FramesPrintFeedback

To inject a proxy for an external service into a service provider's implementation do the following:

  1. Deploy the required WSDL documents in a well known location that all parts of the application can access.

    [Tip]Tip

    If you are deploying the application as a WAR file, it is recommended that you place all of the WSDL documents and XML Schema documents in the WEB-INF/wsdl folder of the WAR.

    [Tip]Tip

    If you are deploying the application as a JAR file, it is recommended that you place all of the WSDL documents and XML Schema documents in the META-INF/wsdl folder of the JAR.

  2. Configure a JAX-WS client endpoint for the proxy that is being injected.

  3. Inject the proxy into your service provide using the @Resource annotation.

Comments powered by Disqus
loading table of contents...