webservice-test-no-output.xaction 1014 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?xml version="1.0" encoding="UTF-8"?>
<action-sequence> 
  <title>XQuery - Getting Nodes from SOAP</title>
  <inputs/>
  
  <outputs/>

  <resources> 
    <document> 
      <url> 
        <location><![CDATA[http://search.yahooapis.com/WebSearchService/V1/webSearch?appid=ee4849XV34FxSKgKNxZ5Jl7FLmnlNJ.5WrWeuzGbQ11wOkmaVs_Xnz6p9gTX8iMROt6Rdg--&amp;query=pentaho]]></location>  
        <mime-type>text/xml</mime-type> 
      </url> 
    </document> 
  </resources>
  
  <actions> 
    <action-definition> 
      <component-name>org.pentaho.plugin.webservice.WebServiceLookupRule</component-name>
      <action-type>XML</action-type>
      <action-resources> 
        <document type="resource"/> 
      </action-resources>
      <action-outputs> 
        <query-result type="result-set" mapping="soap_response"/> 
      </action-outputs>
      <component-definition>
        <query><![CDATA[//*[name() = 'Title']]]></query>
      </component-definition> 
    </action-definition>
 
  </actions> 
</action-sequence>