A proxy service acts as a service hosted in the WSO2 ESB, and typically fronts an existing service endpoint. A proxy service can be created and exposed on a different transport, schema, WSDL, or QoS (such as WS-Security, WS-Reliable Messaging) other than the real service. It can mediate the messages before they are delivered to the actual endpoint, and the responses before they reach the client.
Clients can send requests for proxy services directly to the ESB, as the
client sees it hosted on the WSO2 ESB. For example it can perform the
?wsdl
function and view the WSDL of the virtual proxy service.
In the ESB configuration, such requests can be handled anyway you like. You
can process the message and send it to the actual service, probably running
on a different computer, but it is not necessary to always send the message
to the actual service. You can list a combination of tasks to be performed on
the messages received for the proxy service, and terminate the flow or send a
message back to the client even without sending it to the actual service.
In the navigator, under Manage/Service, click Proxy Services. The Add Proxy Service page appears.
Figure 1: Add Proxy Service
Figure 2: General Settings
Figure 3: Transport Options
Figure 4:In Sequence and endpoints options
Figure 5:In Sequence Options
Figure 6: Adding Anonymous Sequence
Figure 7: Endpoint Options
Figure 8: End point options
Figure 9: Out Sequencce options
Figure 10: Fault Sequence options
You can view your service on the Deployed Services page.
For more information please refer to the WSO2 library