When you want to create a proxy service with customized attributes (sequences, endpoints, transport settings, WSDL options, QoS settings) you will have to select the Custom Proxy option from the Create Proxy Service from Template page. This will launch the proxy service creation wizard which is a simple 3-step process for setting up a fully functional proxy service tailored to meet your exact mediation requirements. You can either use predefined sequences and endpoints in your proxy service, select dynamic sequences and endpoints saved in the registry or create in-line sequences and endpoints while creating the proxy service.
Also note that the same wizard is used to edit existing proxy services. You have the option of first setting up a simple basic proxy service using one of the existing templates and then editing it using the proxy service wizard to customize its attributes.
When creating a custom proxy service using the proxy service creation wizard you will be first taken to the Add Proxy Service page shown below.
Figure 1: Add Proxy Service
Figure 2: General Settings
Note: If user configure WSO2 ESB with WSO2 Governance Registry and if he uploads all the required files as *.gar file (described in WSO2 GREG documentation), uer can provide only the base WSDL under 'WSDl options'. There is no need to provide all required imported schemas as WSDL resources since ESB is able to resolve the imported resources using only the base WSDL. Please note that for the above function user needs to uncomment the following lines @ synapse.properties file which is avilable in ESB_HOME/lib/core/WEB_INF/classes folder.
synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
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.