Using JaxView as a Proxy Server


About Proxy Servers

A proxy server is an intermediary that sits between the client and the server. The client will send the requests to the proxy server instead of the server and is the proxy server's responsibility to forward the request to the intended server.

Using JaxView as a Proxy Server

To get a copy of the messages to and from web services that are not created using a standard such as SOAP and don't have an API for a generic handler at the container layer. For JaxView to manage these REST type services JaxView needs to be installed as a proxy server to get a copy of the messages to these web services. Basically JaxView will map the original server to a client message and forwards the message to the original intended recipient of the message..

NOTE: If there are no REST services added, for listening for SOAP requests using a proxy at least one service needs to have a Port number. This will tell JaxView to start listening for all requests on that port.

Service Virtualization with JaxView

When JaxView is installed as a proxy server, and the service location is:

http://myService:2222/myService

When JaxView is used as a proxy server the client will send its request to:

http://jaxViewserver:9595/myservice

JaxView then will forward the request to myService. Also if the client makes the call:

http://jaxViewserver:9595/myservice?wsdl

JaxView will retrieve the myService wsdl file and Replaces the service location attribute in the WSDL with its own location so in this case it will replace http://myService:2222/myService with http://jaxViewserver:9595/myservice before sending the WSDL to the client. This is known as Service Virtualazation since as far as the client is concerned JaxView is the Web service location or endpoint.