This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<datasource> | |
<name>WSO2_CARBON_DB</name> | |
<description>The datasource used for registry and user manager</description> | |
<jndiConfig> | |
<name>jdbc/WSO2CarbonDB</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:jtds:sqlserver://localhost:1433/testDB;integratedSecurity=true;</url> | |
<driverClassName>net.sourceforge.jtds.jdbc.Driver</driverClassName> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DeploymentSynchronizer> | |
<Enabled>true</Enabled> | |
<AutoCommit>true</AutoCommit> | |
<AutoCheckout>true</AutoCheckout> | |
<RepositoryType>svn</RepositoryType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DeploymentSynchronizer> | |
<Enabled>true</Enabled> | |
<AutoCommit>false</AutoCommit> | |
<AutoCheckout>true</AutoCheckout> | |
<RepositoryType>svn</RepositoryType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<proxy xmlns="http://ws.apache.org/ns/synapse" | |
name="testProxy" | |
transports="https,http" | |
statistics="disable" | |
trace="disable" | |
startOnLoad="true"> | |
<target> | |
<inSequence> | |
<log level="full"/> | |
<log> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<proxy name="IpFilteringProxy" | |
transports="https http" | |
startOnLoad="true" | |
trace="disable"> | |
<description/> | |
<target> | |
<inSequence> | |
<log level="full"> | |
<property name="TO Property" expression="get-property('axis2','REMOTE_ADDR')"/> | |
</log> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<proxy name="StockQuoteProxy" | |
transports="https http" | |
startOnLoad="true" | |
trace="disable"> | |
<description/> | |
<target> | |
<inSequence> | |
<sequence key="delivery_seq"/> | |
</inSequence> | |
<outSequence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ns:return> | |
value1 | |
</ns:return> | |
<ns:return> | |
value2 | |
</ns:return> | |
<ns:return> | |
value3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public workOrderResponse getWorkOrders(String version){ | |
System.out.println( "City Works Service,get workorders "); | |
return new workOrderResponse(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class workOrderResponse { | |
String workOrderId; | |
String name; | |
String address; | |
public workOrderResponse (){ | |
workOrderId= "A1234"; | |
name= "WSO2 Inc"; | |
address= "787 Castro Street, Mountain View, CA 94041"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ns:return xmlns:ax21="http://sample.wso2.com/xsd"> | |
<ax21:workorderid>A1234</ax21:workorderid> | |
<ax21:name>WSO2 Inc</ax21:name> | |
<ax21:address>787 Castro Street, Mountain View, CA 94041</ax21:address> | |
</ns:return> |
OlderNewer