You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/08/01 04:14:39 UTC

cvs commit: xml-cocoon2/src/webapp/samples/webserviceproxy README.txt

vgritsenko    2002/07/31 19:14:39

  Modified:    src/webapp/samples/webserviceproxy README.txt
  Log:
  fix some bugs
  
  Revision  Changes    Path
  1.4       +18 -21    xml-cocoon2/src/webapp/samples/webserviceproxy/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/webserviceproxy/README.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- README.txt	4 Jul 2002 21:19:06 -0000	1.3
  +++ README.txt	1 Aug 2002 02:14:39 -0000	1.4
  @@ -35,29 +35,26 @@
   
       <map:pipeline>
         <map:match pattern="amazon/searchform">
  -          <map:generate src="AmazonForm.xml"/>
  -          <map:transform src="AmazonForm2html.xsl"/>
  -          <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
  -          <map:serialize type="html"/>
  -        </map:act>
  +        <map:generate src="AmazonForm.xml"/>
  +        <map:transform src="AmazonForm2html.xsl"/>
  +        <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
  +        <map:serialize type="html"/>
         </map:match>  
   
         <map:match pattern="amazon/search*">
  -
  -          <map:generate type="wsproxy" src="http://rcm.amazon.com/e/cm{1}">
  -              <!-- The WebSericeProxy generator takes 3 arguments: -->
  -              <!-- 1) The URL of the targeted web service -->
  -              <!-- 2) The binding method: GET, POST, SOAP-RPC or SOAP-DOC -->
  -              <!-- 3) Optionally, name of the session to the remote service, which allows scoping and grouping between different sitemap sections. -->
  -              <!-- Only 1) is required. 2) and 3) are optional and should not be used for most applications -->
  -              <map:parameter name="wsproxy-method" value="GET"/>
  -              <map:parameter name="wsproxy-session" value="myAmazonSession"/>
  -          </map:generate>
  -
  -          <map:transform src="amazonform2html.xsl"/>
  -          <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
  -          <map:serialize type="html"/>
  -        </map:act>
  +        <map:generate type="wsproxy" src="http://rcm.amazon.com/e/cm{1}">
  +          <!-- The WebSericeProxy generator takes 3 arguments: -->
  +          <!-- 1) The URL of the targeted web service -->
  +          <!-- 2) The binding method: GET, POST, SOAP-RPC or SOAP-DOC -->
  +          <!-- 3) Optionally, name of the session to the remote service, which allows scoping and grouping between different sitemap sections. -->
  +          <!-- Only 1) is required. 2) and 3) are optional and should not be used for most applications -->
  +          <map:parameter name="wsproxy-method" value="GET"/>
  +          <map:parameter name="wsproxy-session" value="myAmazonSession"/>
  +        </map:generate>
  +
  +        <map:transform src="amazonform2html.xsl"/>
  +        <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>
  +        <map:serialize type="html"/>
         </map:match>  
       </map:pipeline>
   
  @@ -67,7 +64,7 @@
   
   <?xml version="1.0" ?>
   <document xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002">
  -  <xf:form id="form-amazon" view="search" action="amazon/search?t=myAmazonId-02-20&l=st1&mode=books&p=102&o=1&f=xml">
  +  <xf:form id="form-amazon" view="search" action="amazon/search?t=myAmazonId-02-20&amp;l=st1&amp;mode=books&amp;p=102&amp;o=1&amp;f=xml">
       <xf:caption>Amazon book search by keyword</xf:caption>    
       <xf:textbox ref="search">
           <xf:caption>Keywords</xf:caption>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org