cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/docs/samples/soap/service dynamic.xml dynamic1.xml
Date Wed, 30 Jan 2002 23:32:34 GMT
dims        02/01/30 15:32:34

  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp
                        SOAPHelper.java
               src/webapp sitemap.xmap
  Added:       src/webapp/docs/samples/soap fortune.xml getquote.xml
                        joke.xml temperature.xml
  Removed:     lib/optional axis-samples.jar axis.jar
               src/webapp/docs/samples/soap soap-lib.xsl soap.xml soap.xsl
               src/webapp/docs/samples/soap/service dynamic.xml
                        dynamic1.xml
  Log:
  1. Added some samples for SOAP logicsheet.
  - temperature and getquote works
  - fortune and joke does not work yet.
  2. SOAP Logicsheet 3.0 does not use Axis at all. So we don't need it for now.
  
  Revision  Changes    Path
  1.2       +0 -1      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/SOAPHelper.java
  
  Index: SOAPHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/SOAPHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SOAPHelper.java	3 Jan 2002 12:31:10 -0000	1.1
  +++ SOAPHelper.java	30 Jan 2002 23:32:33 -0000	1.2
  @@ -78,7 +78,6 @@
               try {
                 StringBuffer bodyBuffer
                   = new StringBuffer(super.generateRequestBody(params));
  -              bodyBuffer.append("\n");
   
                 // Write the SOAP request
                 InputSource saxInputStream = xscriptObject.getInputSource();
  
  
  
  1.22      +1 -7      xml-cocoon2/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- sitemap.xmap	30 Jan 2002 22:34:13 -0000	1.21
  +++ sitemap.xmap	30 Jan 2002 23:32:33 -0000	1.22
  @@ -1121,14 +1121,8 @@
   
   
      <!-- ========================== SOAP ============================== -->
  -   <map:match pattern="soap/*.xsp">
  +   <map:match pattern="soap/*">
       <map:generate type="serverpages" src="docs/samples/soap/{1}.xml"/>
  -    <map:transform src="docs/samples/soap/{1}.xsl"/>
  -    <map:serialize/>
  -   </map:match>
  -
  -   <map:match pattern="soap/service/*.xsp">
  -    <map:generate type="serverpages" src="docs/samples/soap/service/{1}.xml"/>
       <map:serialize type="xml"/>
      </map:match>
   
  
  
  
  1.1                  xml-cocoon2/src/webapp/docs/samples/soap/fortune.xml
  
  Index: fortune.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
    xmlns:xscript="http://apache.org/xsp/xscript/1.0"
    xmlns:soap="http://apache.org/xsp/soap/3.0"
    >
    
    <page>
        <soap:call url="http://www.lemurlabs.com:80/rpcrouter">
          <m:getAnyFortune xmlns:m="urn:lemurlabs-Fortune">
          </m:getAnyFortune>
        </soap:call>
    </page>
  </xsp:page>
  
  
  1.1                  xml-cocoon2/src/webapp/docs/samples/soap/getquote.xml
  
  Index: getquote.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
    xmlns:xscript="http://apache.org/xsp/xscript/1.0"
    xmlns:soap="http://apache.org/xsp/soap/3.0"
    >
    
    <page>
        <soap:call url="http://services.xmethods.net:80/soap">
          <ns1:getQuote xmlns:ns1="urn:xmethods-delayed-quotes">
            <soap:enc/>
            <symbol xsi:type="xsd:string" 
                    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/1999/XMLSchema">SUNW</symbol>
          </ns1:getQuote>
        </soap:call>
    </page>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/src/webapp/docs/samples/soap/joke.xml
  
  Index: joke.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
    xmlns:xscript="http://apache.org/xsp/xscript/1.0"
    xmlns:soap="http://apache.org/xsp/soap/3.0"
    >
    
    <page>
        <soap:call url="http://thor.velocigen.com:80/vx_engine/soap-trigger.pperl">
          <ns1:JokeOfTheDay xmlns:ns1="urn:vgx-joke">
            <soap:enc/>
          </ns1:JokeOfTheDay>
        </soap:call>
    </page>
  </xsp:page>
  
  
  1.1                  xml-cocoon2/src/webapp/docs/samples/soap/temperature.xml
  
  Index: temperature.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
    xmlns:xscript="http://apache.org/xsp/xscript/1.0"
    xmlns:soap="http://apache.org/xsp/soap/3.0"
    >
    
    <page>
        <soap:call url="http://services.xmethods.net:80/soap/servlet/rpcrouter">
          <ns1:getTemp xmlns:ns1="urn:xmethods-Temperature">
            <soap:enc/>
   		  <zipcode xsi_type="xsd:string">90210</zipcode> 
          </ns1:getTemp>
        </soap:call>
    </page>
  </xsp:page>
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message