This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<proxy xmlns="http://ws.apache.org/ns/synapse" name="WAS_JMS_Receiver" startOnLoad="true" statistics="disable" trace="disable" transports="jms"> | |
<target> | |
<inSequence> | |
<log level="full"> | |
<property name="test" value="receiving message ..." /> | |
</log> | |
<drop /> | |
</inSequence> | |
</target> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<proxy xmlns="http://ws.apache.org/ns/synapse" name="WAS_JMS_Sender" startOnLoad="true" statistics="disable" trace="disable" transports="http"> | |
<target> | |
<inSequence> | |
<property name="OUT_ONLY" value="true" /> | |
<property name="FORCE_SC_ACCEPTED" scope="axis2" value="true" /> | |
<property action="remove" name="Accept-Encoding" scope="transport" /> | |
<property action="remove" name="Content-Length" scope="transport" /> | |
<property action="remove" name="User-Agent" scope="transport" /> | |
<property action="remove" name="Content-Type" scope="transport" /> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>WAS-client</groupId> | |
<artifactId>WAS-client</artifactId> | |
<version>9.0.0</version> | |
<packaging>bundle</packaging> |
This file contains hidden or 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
<Class_01> | |
<Students> | |
<Name>Lahiru</Name> | |
<Name>Peter</Name> | |
<Name /> | |
</Students> | |
</Class_01> |
This file contains hidden or 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
<Class_01> | |
<Students> | |
<Name>Lahiru</Name> | |
</Students> | |
</Class_01> |
This file contains hidden or 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
<Class_01> | |
<Students> | |
<Name>Lahiru</Name> | |
<Name>Peter</Name> | |
</Students> | |
</Class_01> |
This file contains hidden or 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
<Student> | |
<Name>Lahiru</Name> | |
<Marks>78</Marks> | |
</Student> |
This file contains hidden or 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
private void button2_Click(object sender, EventArgs e) | |
{ | |
echoSecured.echoSecuredPortTypeClient client = new echoSecured.echoSecuredPortTypeClient("echoSecuredHttpsSoap11Endpoint"); | |
CallProxyApplication.echoSecured.echoStringRequest echoStringRequest = new echoSecured.echoStringRequest(); | |
CallProxyApplication.echoSecured.echoStringResponse echoStringResponse = new echoSecured.echoStringResponse(); | |
client.ClientCredentials.UserName.UserName = "admin"; | |
client.ClientCredentials.UserName.Password = "admin"; | |
echoStringRequest.@in = textBox2.Text; |
This file contains hidden or 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
<binding name="echoSecuredSoap11Binding1"> | |
<security defaultAlgorithmSuite="Basic256" authenticationMode="UserNameOverTransport" | |
requireDerivedKeys="true" securityHeaderLayout="Lax" includeTimestamp="true"> | |
<localClientSettings detectReplays="false"/> | |
<localServiceSettings detectReplays="false"/> | |
</security> | |
<textMessageEncoding messageVersion="Soap11"/> | |
<httpsTransport/> | |
</binding> |
This file contains hidden or 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
private void button1_Click(object sender, EventArgs e) | |
{ | |
echoService.echoPortTypeClient client = new echoService.echoPortTypeClient("echoHttpSoap11Endpoint"); | |
CallProxyApplication.echoService.echoStringRequest echoStringRequest = new echoService.echoStringRequest(); | |
CallProxyApplication.echoService.echoStringResponse echoStringResponse = new echoService.echoStringResponse(); | |
echoStringRequest.@in = textBox1.Text; | |
try | |
{ | |
String response = client.echoString(echoStringRequest.@in); |