<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld" 
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF7020"
	title	= "WebService"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:equals val1="{@XSLT}" val2="true" >
	<b>[WikiPediaAPI] URL:http://wikipedia.simpleapi.net/api</b>
	<br />※StringValueの検索キーワードからWikiPediaの情報を取得 → XSLTで変換
	<br />
	<og:urlConnect
		url			= "http://wikipedia.simpleapi.net/api"
		proxyHost	= "{@proxyHost}"
		proxyPort	= "{@proxyPort}"
		keys		= "keyword"
		vals		= "{@StringValue}"
		display 	= "true"
		xslFile		= "{@SYS.REAL_PATH}jsp/{@GAMENID}/wikipediaapi.xsl"
	/>
	<br />
	<hr />
</og:equals>

<og:equals val1="{@TableModel}" val2="true" >
	<b>[WikiPediaAPI] URL:http://wikipedia.simpleapi.net/api</b>
	<br />※StringValueの検索キーワードからWikiPediaの情報を取得 → DBTableModelに変換
	<br />-<br />
	<og:urlConnect
		url			= "http://wikipedia.simpleapi.net/api"
		proxyHost	= "{@proxyHost}"
		proxyPort	= "{@proxyPort}"
		keys		= "keyword"
		vals		= "{@StringValue}"
		rowKey		= "RESULT"
		colKeys		= "LANGUAGE,URL,TITLE,BODY,LENGTH,REDIRECT,STRICT,DATETIME,DUMMY"
	/>
	<og:view height="300px" />
	<hr />
</og:equals>

<og:equals val1="{@GF02}" val2="true" >
	<b>[GE02.xml Get] URL:GF02xml.jsp</b>
	<br />-<br />
	<og:urlConnect
		url			= "http://localhost:8824/gf/jsp/GF7020/GF02xml.jsp"
		keys		= "SYSTEM_ID,TBLSYU,TABLE_NAME"
		vals		= "{@SYSTEM_ID},{@TBLSYU},{@TABLE_NAME}"
		useSystemUser="false"
		authUserPass= "admin:admin"
		rowKey		= "ROW"
		colKeys		= "SYSTEM_ID,TBLSYU,TABLE_NAME,NAME_JA,SKENSU,JKENSU,TABLESPACE_NAME,COMMENTS,INITIAL_AUTO,INITIAL_EXTENT,FGJ"
		encode		= "UTF-8"
	/>
	<og:view command="NEW" />
	<hr />
</og:equals>

<og:equals val1="{@req}" val2="true" >
	<og:urlConnect
		url			= "http://localhost:8824/gf/jsp/GF7020/req.jsp"
		keys		= "GAMENID"
		vals		= "GF7020"
		useSystemUser="false"
		authUserPass= "admin:admin"
		method="PUT"
		display="true"
	/>

</og:equals>


<!--
<hr />
<b>[.NET系Webサービス] URL:http://www50.brinkster.com/vbfacileinpt/np.asmx</b>
<br />※IntValueに指定された数以下の素数を取得 → Attributeに変換
<br />
<og:urlConnect
	url				= "http://www50.brinkster.com/vbfacileinpt/np.asmx"
	proxyHost		= "{@proxyHost}"
	proxyPort		= "{@proxyPort}"
	method			= "SOAP"
	soapNameSpace	= "http://microsoft.com/webservices/"
	soapMethodName	= "GetPrimeNumbers"
	keys			= "@max"
	vals			= "{@IntValue}"
	rtnKeys			= "GetPrimeNumbersResult"
/>
<og:text>RTN = {@GetPrimeNumbersResult}</og:text><br/>
-->

<!--
<hr />
<b>[HelloWorld!(Java)]</b>
<br />
<og:urlConnect
	url				= "http://localhost:8080/hello"
	method			= "SOAP"
	soapNameSpace	= "http://server.ws/"
	soapMethodName	= "sayHello"
	keys			= "arg0"
	vals			= "18"
	rtnKeys			= "RETURN"
/>
<og:text>RTN = {@RETURN}</og:text><br/>
-->

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
