[jboss-svn-commits] JBL Code SVN: r37476 - in labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway: src/org/jboss/soa/esb/samples/quickstart/httpgateway and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Sep 23 10:04:37 EDT 2011
Author: tcunning
Date: 2011-09-23 10:04:37 -0400 (Fri, 23 Sep 2011)
New Revision: 37476
Modified:
labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/readme.txt
labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/src/org/jboss/soa/esb/samples/quickstart/httpgateway/MyAction.java
Log:
JBESB-3689
Change BodyParam byte[] to BodyParam String.
Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/readme.txt 2011-09-23 11:08:31 UTC (rev 37475)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/readme.txt 2011-09-23 14:04:37 UTC (rev 37476)
@@ -17,7 +17,8 @@
a) http://localhost:8080/Quickstart_http_gateway/http/sales/a/b/c - Will be routed to the Sales:List
service. Will return some details about the request. This Service's <http-gateway> references a
"secureFriends" bus, which contains login configurations. The login username is "kermit" and the
- password is "thefrog". It usee the "java:/jaas/JBossWS" security domain, which is already installed
+ password is "thefrog". If you are running this quickstart within SOA-P, you will need to
+ uncomment the line which specifies it in server/<config>/conf/props/jbossws-users.properties. The request uses the "java:/jaas/JBossWS" security domain, which is already installed
in your JBoss ESB/App Server.
b) http://localhost:8080/Quickstart_http_gateway/http/index/XXXX/yyy?a=1,b=2 - Will be routed to the Index:List
service. Will return some details about the request. This Service's <http-gateway> does not refer
Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/src/org/jboss/soa/esb/samples/quickstart/httpgateway/MyAction.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/src/org/jboss/soa/esb/samples/quickstart/httpgateway/MyAction.java 2011-09-23 11:08:31 UTC (rev 37475)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/http_gateway/src/org/jboss/soa/esb/samples/quickstart/httpgateway/MyAction.java 2011-09-23 14:04:37 UTC (rev 37476)
@@ -41,7 +41,7 @@
}
@Process
- public String printHttpRequestInfo(@BodyParam byte[] httpPayload, @PropertyParam HttpRequest requestInfo ) {
+ public String printHttpRequestInfo(@BodyParam String httpPayload, @PropertyParam HttpRequest requestInfo ) {
System.out.println("&&&&&&&&&&&&&&&& MyAction &&&&&&&&&&&&&&&&&&&&&");
System.out.println("");
More information about the jboss-svn-commits
mailing list