webwork/src/resources/web/examples/soap SOAPTest.jsp,NONE,1.1

[email protected] Mon, 20 May 2002 22:27:01 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/resources/web/examples/soap
In directory usw-pr-cvs1:/tmp/cvs-serv11834/resources/web/examples/soap

Added Files:
	SOAPTest.jsp 
Log Message:
-added support for VoiceXML JSP tags
-added support for SOAP JSP tags
-updated documentation

--- NEW FILE: SOAPTest.jsp ---
<%@ page contentType="text/html"%>

<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="soap" %>

<html>
<body>

<h1>SOAP test</h1>

<B>NOTE: The echo service must be running at: <a href="http://localhost:8080/axis/services/echo">http://localhost:8080/axis/services/echo</a></B>

<P>

<soap:invoke id="jeff"
      endpoint="'http://localhost:8080/axis/servlet/AxisServlet'"
      operation="'echoString'"
      namespace="'http://soapinterop.org/'">

    <webwork:param value="'Hello,World'"/>

</soap:invoke>

Invoked <pre>echoString</pre>, which returned: <pre><webwork:property value="@jeff"/></pre> <P>

<webwork:bean id="mymap" name="'java.util.HashMap'">
	<webwork:property value="@mymap/put('A','1')"/>
	<webwork:property value="@mymap/put('B','2')"/>
	<webwork:property value="@mymap/put('C','3')"/>
</webwork:bean>


<soap:invoke id="jeff2"
      endpoint="'http://localhost:8080/axis/services/echo'"
      operation="'echoMap'"
      namespace="'http://soapinterop.org/'">

    <webwork:param value="@mymap"/>

</soap:invoke>

Invoked <pre>echoMap</pre>, which returned: <pre><webwork:property value="@jeff2"/></pre>  <P>

</body>
</html>






_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm