Interoperability of Using JAX-WS Client to Invoke Service
This example illustrates the interoperability of using JAX-WS client to invoke service exposed on TIBCO ActiveMatrix BusinessWorks™.
Prerequisites
Copy the jaxws_sample.wsdl from TIBCO_HOME\bw\n.n\samples\binding\soap\http\JAXWSInterop to the directory specified for “CONCRETE_WSDL_LOCATION_URL” property.
Procedure
Result
Response for : Sending JAX-WS client request...
Understanding the Configuration
The sample consists of two processes:
- tibco.bw.sample.binding.soap.http.jaxwsinterop.Client
- tibco.bw.sample.binding.soap.http.jaxwsinterop.ServerProcess
Service process exposes an operation to accept an input string and returns string as part of response.
Client process uses a concrete WSDL generated from service to send a request with input parameters and then writes the response to file.
Client process uses a Java Invoke activity that passes the concrete WSDL location to the Java invoke (tibco.bw.sample.binding.soap.http.jaxwsinterop.Client.java) , and JAX-WS client code sets value ("Sending JAX-WS client request...") as input and then sends the request.