JP6332533B2 - Information processing apparatus, processing method thereof, and program - Google Patents
Information processing apparatus, processing method thereof, and program Download PDFInfo
- Publication number
- JP6332533B2 JP6332533B2 JP2017129516A JP2017129516A JP6332533B2 JP 6332533 B2 JP6332533 B2 JP 6332533B2 JP 2017129516 A JP2017129516 A JP 2017129516A JP 2017129516 A JP2017129516 A JP 2017129516A JP 6332533 B2 JP6332533 B2 JP 6332533B2
- Authority
- JP
- Japan
- Prior art keywords
- web service
- input
- output
- application
- items
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、アプリケーションを構築するためのサーバに関する。 The present invention relates to a server for building an application.
従来から、入出力定義やデータモデル定義などを設定し、Webアプリケーションを構築するWebアプリケーション構築ツールが存在する。 Conventionally, there are Web application construction tools for setting an input / output definition, a data model definition, and the like to construct a Web application.
Webアプリケーション構築ツールには、Webアプリケーション開発者が使用する情報処理装置にインストールしてWebアプリケーションを構築するタイプや、ブラウザ等を用いてクラウド上で提供されるWebアプリケーション構築サービスにアクセスしてWebアプリケーションを構築するタイプ等がある。本発明は、後者のタイプに関する発明である。 The Web application construction tool includes a type that is installed in an information processing apparatus used by a web application developer to construct a web application, and a web application construction service provided on the cloud using a browser or the like to access the web application There are types to build. The present invention relates to the latter type.
一方、Webアプリケーションの持つ機能を、他のアプリケーション等から利用できるようにすべく、Webサービス化したいという要望があった。 On the other hand, there has been a demand for a Web service so that the functions of the Web application can be used from other applications.
しかし、特許文献1の仕組みでは、Webアプリケーション構築ツールによって構築したWebアプリケーションをWebサービス化することができないという問題があった。
However, the mechanism disclosed in
そこで、本発明の目的は、既存のアプリケーションを容易にWebサービス化する仕組みを提供することである。 Accordingly, an object of the present invention is to provide a mechanism for easily converting an existing application into a Web service.
アプリケーションが持つ機能をWebサービス化する情報処理装置であって、前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理手段と、前記アプリケーション入力項目管理手段により管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、前記Webサービス定義情報生成手段により生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行するWebサービスを構築するWebサービス構築手段とを備えることを特徴とする情報処理装置。
An information processing apparatus that converts a function of an application into a Web service, an application input item management unit that manages input items input to the application, and an input item managed by the application input item management unit, on the basis of the input items that have been selected as the input data items to be input to the Web service, a Web service definition information generating means for generating definition information of a Web service, the Web service generated by the Web service definition information generating means An information processing apparatus comprising: a web service construction unit configured to construct a web service that executes the function using input data corresponding to the input data item included in a request made according to definition information.
本発明によれば、既存のアプリケーションを容易にWebサービス化する仕組みを提供することができる。 According to the present invention, it is possible to provide a mechanism for easily converting an existing application into a Web service.
以下、図面を参照して本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
〔第1の実施形態〕
図1は、本実施形態の情報処理システム100の構成の一例を示す図である。
[First Embodiment]
FIG. 1 is a diagram illustrating an example of a configuration of an
図1に示すように、情報処理システム100は、情報処理装置101およびサーバ102が、ネットワーク103により通信可能に接続された構成をとる。
As shown in FIG. 1, the
情報処理装置101は、Webアプリケーション開発者が使用する、デスクトップPC、携帯電話、スマートフォン、タブレット端末、ノートPC、およびPDA端末などの端末であって、ネットワーク103を介してサーバ102の記憶装置に記憶されている情報を取得し、インストールされているブラウザなどのアプリケーションを用いてディスプレイ装置210に表示する。
The
サーバ102は、Webアプリケーション構築サービスを提供するサーバであって、情報処理装置101からの要求に応じて、情報の検索を行い、検索結果を返信する。情報処理装置101とサーバ102間の通信は、HTTPのリクエスト・レスポンスでもよいし、SOAPなどを利用したウェブサービスに用いられるリクエスト・レスポンスなどであってもよい。
The
つまり、情報処理装置101は、サーバ102が提供するWebアプリケーション構築サービスにアクセスして、Webアプリケーションを構築する。
That is, the
なお、本実施形態においては、Webアプリケーション構築サービスで構築されるアプリケーションは、アプリケーション利用者の情報処理装置のブラウザを利用するWebアプリケーションとしたが、Webアプリケーションに限定するものではなく、Web以外の技術を用いたアプリケーションであってもよい。 In the present embodiment, the application constructed by the web application construction service is a web application that uses the browser of the information processing apparatus of the application user. However, the application is not limited to the web application, and is a technology other than the web. It may be an application using.
また、本実施形態においては、情報処理システム100は、情報処理装置101がサーバ102の記憶装置に記憶されているテーブルのデータを検索するシステムとしたが、これに限定するものではなく、情報処理装置101がサーバ102以外の記憶装置に記憶されている情報の検索結果を表示する仕組みであってもよい。
In this embodiment, the
以下、図2を用いて、図1に示した情報処理装置101およびサーバ102に適用可能なハードウエア構成の一例について説明する。
Hereinafter, an example of a hardware configuration applicable to the
図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な各種プログラム等が記憶されている。
In FIG. 2,
202はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM203あるいは外部メモリ211からRAM202にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。
A
また、205は入力コントローラで、入力装置209等からの入力を制御する。206はビデオコントローラで、液晶ディスプレイ等のディスプレイ装置210への表示を制御する。なお、ディスプレイ装置は、液晶ディスプレイに限られず、CRTディスプレイなどであっても良い。これらは必要に応じてクライアントが使用するものである。
An
207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。
A
208は通信I/Fコントローラで、ネットワーク103を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。
A communication I /
なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ装置210上での表示を可能としている。また、CPU201は、ディスプレイ装置210上の不図示のマウスカーソル等でのユーザ指示を可能とする。
Note that the
ハードウエア上で動作する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
Various programs that operate on the hardware are recorded in the
なお、全ての装置がこれらの構成を備えているわけではなく、必要なものを夫々備えていればよい。
It should be noted that not all devices have these configurations, and it is only necessary to provide necessary devices.
図3は、情報処理装置101の機能構成の一例を示すブロック図である。
FIG. 3 is a block diagram illustrating an example of a functional configuration of the
アプリケーション画面生成部301は、データベースに登録されているレコードを選択するレコード選択部品を含む、アプリケーション画面を生成する機能部である。 The application screen generation unit 301 is a functional unit that generates an application screen including a record selection component that selects a record registered in the database.
アプリケーション入出力定義情報取得部302は、アプリケーションの定義情報を読み取り、当該アプリケーションへ入力する入力データ及び/又は当該アプリケーションから出力される出力データの定義情報を取得する機能部である。 The application input / output definition information acquisition unit 302 is a functional unit that reads definition information of an application and acquires definition information of input data input to the application and / or output data output from the application.
また、アプリケーション入出力定義情報取得部302は、アプリケーションの定義情報を読み取り、当該アプリケーションの画面を介して入力される入力データ及び/又は当該アプリケーションの画面に出力される出力データの定義情報を取得する機能部である、ということもできる。 Further, the application input / output definition information acquisition unit 302 reads the definition information of the application, and acquires the definition information of the input data input via the screen of the application and / or the output data output to the screen of the application. It can also be said that it is a functional part.
Webサービス構築部303は、アプリケーション入出力定義情報取得部302により取得された入力データの定義情報に従ってWebサービスを構築する機能部である。
The web
アプリケーション入出力項目管理部311は、アプリケーションが当該アプリケーションの画面を介して入力を受け付ける入力項目及びアプリケーションが当該アプリケーションの画面に出力する出力項目を管理する機能部である。
アプリケーション入力項目取得部312は、アプリケーション入出力項目管理部311により管理されている入力項目の情報を取得する機能部である。
Webサービス公開部313は、アプリケーションの持つ機能をWebサービスとして公開する機能部である。
入力データ項目管理部314は、アプリケーション入力項目取得部312により取得された入力項目からWebサービスへ入力する入力データ項目の選択を受け付け、受け付けた入力データ項目を管理する機能部である。
入力データ受信部315は、入力データ項目管理部314により管理されている入力データ項目に対応する入力データを受信する機能部である。
Webサービス実行部316は、入力データ受信部315により受信した入力データを用いて、Webサービス公開部313により公開されている機能を実行する機能部である。
The application input / output item management unit 311 is a functional unit that manages input items that an application accepts input via the application screen and output items that the application outputs to the application screen.
The application input item acquisition unit 312 is a functional unit that acquires information on input items managed by the application input / output item management unit 311.
The web
The input data
The input data receiving unit 315 is a functional unit that receives input data corresponding to the input data item managed by the input data
The web
アプリケーション出力項目取得部317は、アプリケーション入出力項目管理部311により管理されている出力項目の情報を取得する機能部である。
出力データ項目管理部318は、アプリケーション出力項目取得部317により取得された出力項目からWebサービスが出力する出力データ項目の選択を受け付け、受け付けた出力データ項目を管理する機能部である。
出力データ送信部319は、Webサービス実行部316により機能が実行された後、出力データ項目管理部318により管理されている出力データ項目に従って出力データを送信する機能部である。
The application output
The output data
The output data transmission unit 319 is a functional unit that transmits output data according to the output data item managed by the output data
Webサービス定義情報生成部320は、入力データ項目管理部314により管理されている入力データ項目をWebサービスへ入力する入力データ項目とし、出力データ項目管理部318により管理されている出力データ項目をWebサービスが出力する出力データ項目として定義したWebサービス定義情報を生成する機能部である。
追加入力データ項目受付部321は、アプリケーション入力項目取得部312により取得された入力項目以外の項目をWebサービスへ入力する入力データ項目として追加する指示を受け付ける機能部である。
追加入力データ受信部322は、追加入力データ項目受付部321により受け付けた入力データ項目に対応する追加入力データを受信する機能部である。
Webサービス実行部316は、入力データ受信部315により受信した入力データ及び追加入力データ受信部315により受信した追加入力データを用いて、Webサービス公開部313により公開されているアプリケーションの持つ機能を実行する機能部である。
The Web service definition information generation unit 320 sets the input data item managed by the input data
The additional input data item receiving unit 321 is a functional unit that receives an instruction to add items other than the input items acquired by the application input item acquiring unit 312 as input data items to be input to the Web service.
The additional input data receiving unit 322 is a functional unit that receives additional input data corresponding to the input data item received by the additional input data item receiving unit 321.
The web
追加出力データ項目受付部323は、アプリケーション出力項目取得部317により取得された出力項目以外の項目をWebサービスから出力する出力データ項目として追加する指示を受け付ける機能部である。
出力データ送信部319は、Webサービス実行部316により機能が実行された後、追加出力データ項目受付部323により受け付けた出力データ項目に対応する出力データを送信する機能部である。
The additional output data item reception unit 323 is a functional unit that receives an instruction to add an item other than the output item acquired by the application output
The output data transmission unit 319 is a functional unit that transmits output data corresponding to the output data item received by the additional output data item reception unit 323 after the function is executed by the Web
入力データ項目管理部314は、アプリケーションの機能ごとに入力データ項目を管理する機能部である。
機能識別情報受信部324は、機能を識別する機能識別情報を受信する機能部である。、
入力データ受信部315は、機能識別情報受信部324により受信した機能識別情報に対応する機能に対応付けて入力データ項目管理部314により管理されている入力データ項目に対応する入力データを受信する機能部である。
Webサービス実行部316は、入力データ受信部315により受信した入力データを用いて、機能識別情報受信部324により受信した機能識別情報に対応する機能を実行する機能部である。
The input data
The function identification information receiving unit 324 is a function unit that receives function identification information for identifying a function. ,
The input data receiving unit 315 receives input data corresponding to the input data item managed by the input data
The Web
アプリケーション機能設定管理部331は、アプリケーションが持つ機能の設定を管理する機能部である。
アプリケーション機能選択受付部332は、アプリケーション機能設定管理部331により管理されている機能のうち、Webサービスとして公開する機能の選択を受け付ける機能部である。
The application function setting management unit 331 is a function unit that manages the setting of functions that the application has.
The application function selection receiving unit 332 is a functional unit that receives a selection of a function to be disclosed as a Web service among the functions managed by the application function setting management unit 331.
第1アプリケーション機能設定変更部333は、アプリケーション機能選択受付部332により受け付けた機能をWebサービスとして公開するために設定を変更する機能部である。
Webサービス公開部334は、アプリケーション機能選択受付部332により受け付けた機能をWebサービスとして公開する機能部である。
第2アプリケーション機能設定変更部335は、アプリケーション機能設定管理部331により管理されている設定のうち、アプリケーション機能選択受付部332により受け付けた機能を利用する設定を、第1アプリケーション機能設定変更部333による変更に従って変更する機能部である。
The first application function
The web
The second application function setting changing unit 335 uses the first application function
図19は、第1の実施形態のサーバ102にて管理するテーブルの一例である。
画面テーブル1910は、画面を管理するテーブルであり、「画面ID(主キー)」「画面名」のカラムを持つ。Webアプリケーション画面を作成する画面600(図6)にて画面が作成されると、画面テーブル1910にレコードが登録される。
画面部品テーブル1920は、画面に配置した部品を管理するテーブルであり、「画面ID」「部品ID」「x座標」「y座標」「部品種別」「部品名」「文字数」「必須」「部品属性1」「部品属性2」…のカラムを持つ。画面を作成する画面600にて画面部品を配置し、保存ボタン619の押下を受け付けると、画面部品テーブル1920にレコードが登録される。すなわち、画面部品テーブル1920は、アプリケーションの定義情報の一例である。
FIG. 19 is an example of a table managed by the
The screen table 1910 is a table for managing screens, and has columns of “screen ID (primary key)” and “screen name”. When a screen is created on the screen 600 (FIG. 6) for creating a Web application screen, a record is registered in the screen table 1910.
The screen component table 1920 is a table for managing components arranged on the screen, and includes “screen ID” “component ID” “x coordinate” “y coordinate” “component type” “component name” “number of characters” “required” “component” It has columns of “
なお、「x座標」「y座標」には、部品の配置された位置を記憶し、「部品種別」には、テキストボックス・ラジオボタン・セレクトボックスなどの部品の種別を記憶する。また、「部品属性1」「部品属性2」…には、「部品種別」毎に異なる属性の値を持つことができる。
The “x coordinate” and “y coordinate” store the position where the component is arranged, and the “component type” stores the type of the component such as a text box, radio button, or select box. Further, “
顧客マスタテーブル1930は、作成した画面(顧客マスタ登録画面1820にて登録されたレコードが記憶されるテーブルである。
顧客マスタテーブル1930は、顧客情報を管理するマスタテーブルであり、「顧客ID(主キー)」「顧客名」「住所」「電話」「メール」のカラムを持つ。
The customer master table 1930 is a table in which the created screen (records registered on the customer
The customer master table 1930 is a master table for managing customer information, and has columns of “customer ID (primary key)” “customer name” “address” “phone” “mail”.
図6は、第1の実施形態の情報処理装置101が表示する、画面を作成する画面の一例を示す図である。画面600は、画面部品部601と部品配置部602から成る。
FIG. 6 is a diagram illustrating an example of a screen for creating a screen displayed by the
画面部品部601には、画面に配置する画面部品のアイコン(ボタン)が表示されており、これらのアイコンをドラッグし、部品配置部602にドロップすることで、画面部品を画面に配置することができる。画面部品には、文字を表示するテキスト611(ラベルとも言う)、テキストボックス612、テキストエリア613、ラジオボタン614、チェックボックス615、セレクトボックス616、他画面のデータの値を参照する他画面データコピー617(ルックアップとも言う)、ボタン618などの種類がある。
The
部品配置部602に画面部品を配置し、保存ボタン619を押下することにより、配置した画面部品の情報がサーバ102に送信され、画面部品テーブル1920に記憶される。
By placing a screen part on the
図4は、第1の実施形態のWebアプリケーション画面に基づきWebサービスを構築するフローチャートである。 FIG. 4 is a flowchart for constructing a web service based on the web application screen according to the first embodiment.
ステップS401において、情報処理装置101のCPU201は、Webアプリケーション画面構築処理を行う。詳細は、後述する図5にて説明する。
In step S401, the
ステップS402において、情報処理装置101のCPU201は、「この画面をWebサービス化しますか?」ダイアログ640(図6)を表示し、Webサービス化する指示を受け付けた後、Webサービスの入出力項目選択を受け付け(図6の631、図7の731、732)、選択された入出力項目をサーバ102に送信する。すなわち、ステップS402は、取得された入力項目からWebサービスへ入力する入力データ項目の選択を受け付ける処理の一例を示すステップである。また、ステップS402は、取得された出力項目からWebサービスが出力する出力データ項目の選択を受け付ける処理の一例を示すステップである。
In step S <b> 402, the
つまり、アプリケーション開発者は、アプリケーション構築画面(例:図6の630、図7の730)において、Webサービスへの入出力項目としたい画面項目にチェックを入れることで、そのチェックに従ったWSDLを作成することができるため、構築したアプリケーションをWebサービスとして公開することができるようになる。 In other words, the application developer checks a screen item to be used as an input / output item for the Web service on the application construction screen (eg, 630 in FIG. 6 and 730 in FIG. 7), and the WSDL corresponding to the check is checked. Since it can be created, the constructed application can be published as a Web service.
ステップS403において、サーバ102のCPU201は、選択された入出力項目を受信する。
In step S403, the
ステップS404において、サーバ102のCPU201は、受信した入出力項目を記憶する。具体的には、画面部品テーブル1920における、受信した入出力項目に対応するレコードについて、「Webサービス」カラムに“I”または“O”を登録する。「Webサービス」カラムに“I”または“O”のどちらを登録するかは、画面630に存在するアクションボタンの種類で決定する。例えば、画面630のようにアクションボタン=“登録”、“更新”、“削除”、“検索”が存在する場合は“I”、画面730の下画面のように“登録”、“更新”、“削除”、“検索”のアクションボタンが存在しない場合は“O”とする。すなわち、ステップS404は、取得された入力項目からWebサービスへ入力する入力データ項目の選択を受け付け、受け付けた入力データ項目を管理する処理の一例を示すステップである。また、ステップS404は、取得された出力項目からWebサービスが出力する出力データ項目の選択を受け付け、受け付けた出力データ項目を管理する処理の一例を示すステップである。
In step S404, the
また、画面部品テーブル1920は、Webサービスへ入力する入力データ項目を管理する手段の一例である。また、画面部品テーブル1920は、Webサービスが出力する出力データ項目を管理する手段の一例である。 The screen component table 1920 is an example of a unit that manages input data items to be input to the Web service. The screen component table 1920 is an example of a unit that manages output data items output by the Web service.
ステップS405において、情報処理装置101のCPU201は、WebアプリケーションとWebサービスの提供の開始の指示を受け付ける。
In step S405, the
ステップS406において、情報処理装置101のCPU201は、WebアプリケーションとWebサービスの提供の要求をサーバ102に送信する。
In step S <b> 406, the
ステップS407において、サーバ102のCPU201は、WebアプリケーションとWebサービスの提供の要求を受信する。
In step S407, the
ステップS408において、サーバ102のCPU201は、Webアプリケーションの設定情報を取得する。すなわち、ステップS408は、アプリケーションへ入力する入力データおよび当該アプリケーションから出力される出力データの定義情報を取得する処理の一例を示すステップである。また、ステップS408は、管理されている入力項目の情報を取得する処理の一例を示すステップである。また、ステップS408は、管理されている出力項目の情報を取得する処理の一例を示すステップである。
In step S <b> 408, the
ステップS409において、サーバ102のCPU201は、取得したWebアプリケーションの設定情報を用いて、Webアプリケーションの提供を開始する。具体的には、画面テーブル1910および画面部品テーブル1920の情報を取得し、Webアプリ利用者の要求に応じて、画面情報を生成することで、Webアプリケーションとして動作させる。
In step S409, the
ステップS410において、サーバ102のCPU201は、Webサービスの設定情報を取得する。具体的には、画面テーブル1910および画面部品テーブル1920のWebサービス=“I”または“O”の情報を取得する。
In step S410, the
ステップS411において、サーバ102のCPU201は、取得したWebサービスの設定情報にWebサービスの入出力項目(Webサービスカラム=“I”または“O”の項目)が存在するか判定する。有ると判定した場合はステップS412に進み、無いと判定した場合は図4の処理を終了する。
In step S <b> 411, the
ステップS412において、サーバ102のCPU201は、WSDLの作成処理を行う。詳細は、後述する図8にて説明する。
In step S412, the
ステップS413において、サーバ102のCPU201は、取得したWebサービスの設定情報を用いて、Webサービスの提供を開始する。すなわち、ステップS412及びステップS413は、取得された入力データの定義情報に従ってWebサービスを構築する処理の一例を示すステップである。また、ステップS413は、アプリケーションの持つ機能をWebサービスとして公開する処理の一例を示すステップである。具体的には、画面テーブル1910および画面部品テーブル1920のWebサービス=“I”または“O”の情報を取得し、Webサービスのリクエスト文の受信に応じて、Webサービスのオペレーションを実行し、レスポンス文を返信する。
In step S413, the
以上で、図4の説明を終了する。 This is the end of the description of FIG.
以上により、構築したアプリケーションを用いて、アプリケーションを容易にWebサービス化することができる。
As described above, an application can be easily converted into a Web service by using the constructed application.
図5は、第1の実施形態のWebアプリケーション画面構築のフローチャートである。図5を用いて、Webアプリケーション画面を構築する処理について説明する。 FIG. 5 is a flowchart of building a Web application screen according to the first embodiment. Processing for constructing a Web application screen will be described with reference to FIG.
ステップS501において、情報処理装置101のCPU201は、Webアプリケーション画面を作成する開発者のログインを受け付ける。
In step S501, the
ステップS502において、情報処理装置101のCPU201は、Webアプリケーション画面を作成する操作を受け付ける。具体的には、表示されたメニュー(不図示)から、画面作成ボタンの押下を受け付ける。
In step S502, the
ステップS503において、情報処理装置101のCPU201は、Webアプリケーション画面の作成要求をサーバ102に送信する。
In step S <b> 503, the
ステップS504において、サーバ102のCPU201は、Webアプリケーション画面の作成要求を受信する。
In step S504, the
ステップS505において、サーバ102のCPU201は、Webアプリケーション画面を作成する画面情報を生成する。
In step S505, the
ステップS506において、サーバ102のCPU201は、生成した画面情報を情報処理装置101に送信する。
In step S <b> 506, the
ステップS507において、情報処理装置101のCPU201は、Webアプリケーション画面を作成する画面情報を受信する。
In step S507, the
ステップS508において、情報処理装置101のCPU201は、受信した画面情報を用いて、Webアプリケーション画面作成画面600(図6)を表示する。
In step S508, the
ステップS509において、情報処理装置101のCPU201は、画面作成操作を受け付け、判定する。部品が配置された場合はステップS510に進み、設定ボタンが押下された場合はステップS511に進み、保存ボタンが押下された場合はステップS514に進む。
In step S509, the
ステップS510において、情報処理装置101のCPU201は、画面部品部601からドラッグされた画面部品を、部品配置部602のドロップされた位置に表示する。ここでは、顧客マスタ登録画面のデザインとして図6の620のように画面部品(621〜628)が配置されたとする。
In step S <b> 510, the
ステップS511において、情報処理装置101のCPU201は、配置された画面部品の詳細情報を設定可能な属性設定画面(不図示)を表示する。
In step S511, the
ステップS512において、情報処理装置101のCPU201は、属性設定の入力を受け付ける。具体的には、属性設定画面では部品名、文字数、必須チェックボックスなど詳細情報の入力を受け付ける。
In step S512, the
ステップS513において、情報処理装置101のCPU201は、部品配置部602に配置された画面部品、および属性設定画面にて設定された属性情報をRAM202に記憶する。
In step S <b> 513, the
ステップS514において、情報処理装置101のCPU201は、RAM202から作成した画面情報を取得し、サーバ102に送信する。
In step S <b> 514, the
ステップS515において、サーバ102のCPU201は、作成した画面情報を受信する。
In step S515, the
ステップS516において、サーバ102のCPU201は、受信した画面情報を記憶する。具体的には、受信した画面情報に含まれる画面名は、画面テーブル1910に記憶する。また、配置された画面部品の情報(配置位置、部品種別、文字数、必須チェックボックス、その他の部品属性は、画面部品テーブル1920に記憶する。すなわち、ステップS516は、アプリケーションが当該アプリケーションの画面を介して入力を受け付ける入力項目及びアプリケーションが当該アプリケーションの画面に出力する出力項目を管理する処理の一例を示すステップである。
In step S516, the
以上で、図5の画面作成処理の説明を終了する。
Above, description of the screen creation process of FIG. 5 is complete | finished.
図8は、WSDL生成のフローチャートの一例を示す図である。 FIG. 8 is a diagram illustrating an example of a flowchart of WSDL generation.
ステップS801において、サーバ102のCPU201は、Webサービス用の入出力定義を解析する。具体的には、画面部品テーブル1920を「Webサービス」カラム=“I”または“O”で検索し、ヒットしたレコードを取得する。
In step S801, the
ステップS802において、サーバ102のCPU201は、取得した入出力定義の情報を基にして、図20の2003のようなデータ取得のWebサービスインタフェースコードを生成する。具体的には、入出力定義コード名を用いて、戻り値を“WSIo”+ 入出力定義コード名 +“GetDataResult”とし、メソッド名を 入出力定義コード名+“_getData”として出力し、パラメータを引数とする。
In step S <b> 802, the
なお、このメソッドは、Webサービスを利用する端末から、getDataのWebサービスが呼び出されたときに実行される。 This method is executed when a getData Web service is called from a terminal using the Web service.
また、アクション項目にBP(ビジネスプロセス)定義がある場合は、図20の2004のようなビジネスプロセスを呼び出すWebサービスインタフェースコードを生成する。具体的には、入出力定義コード名を用いて、戻り値を“WSIoActionResult”、メソッド名を 入出力定義コード名 +“_exec”+ アクションのコード名として出力し、パラメータを引数とする。 If the action item has a BP (business process) definition, Web service interface code for calling a business process such as 2004 in FIG. 20 is generated. Specifically, using the input / output definition code name, the return value is output as “WSIOActionResult”, the method name is output as the input / output definition code name + “_ exec” + action code name, and the parameter is used as an argument.
なお、このメソッドは、Webサービスを利用する端末から、BP(ビジネスプロセス)のWebサービスが呼び出されたときに実行される。 This method is executed when a BP (business process) Web service is called from a terminal using the Web service.
ステップS803において、サーバ102のCPU201は、取得した入出力定義の情報と同じ画面に存在するアクションボタンを取得した入出力定義の情報から取得し、アクションボタンの種類によって判定する。アクションボタン=“登録”、“更新”、“削除”の場合はステップS804に進み、アクションボタン=“検索”の場合はステップS806に進む。
In step S <b> 803, the
ステップS804において、BPリクエスト生成(図13)を行う。この処理については、図13にて詳細を説明する。 In step S804, BP request generation (FIG. 13) is performed. This process will be described in detail with reference to FIG.
ステップS805において、BPレスポンス生成(図15)を行う。この処理については、図15にて詳細を説明する。 In step S805, BP response generation (FIG. 15) is performed. This process will be described in detail with reference to FIG.
なお、BPリクエスト/BPレスポンスは対になっており、それぞれアクション実行とアクション結果取得のために利用される。 The BP request / BP response is paired and used for action execution and action result acquisition, respectively.
ステップS806において、サーバ102のCPU201は、getDataリクエスト生成(図9)を行う。この処理については、図9にて詳細を説明する。
In step S806, the
ステップS807において、サーバ102のCPU201は、getDataレスポンス生成(図11)を行う。この処理については、図11にて詳細を説明する。
In step S807, the
なお、getDataリクエスト/getDataレスポンスは対になっており、主に画面情報を取得するために利用される。 The getData request / getData response is a pair and is mainly used to acquire screen information.
以上で、図8の説明を終了する。
Above, description of FIG. 8 is complete | finished.
図9は、BP(ビジネスプロセス)リクエスト生成のフローチャートの一例を示す図である。 FIG. 9 is a diagram illustrating an example of a flowchart for generating a BP (business process) request.
ステップS901において、サーバ102のCPU201は、WSDLにビジネスプロセス定義を出力する(図10の1001)。具体的には、入出力定義コード名とアクションの項目コード名を用いて、operation name= 入出力定義コード名 +“_exec”+ アクションの項目コード名 +message= 入出力定義コード名 +“_exec”+ アクションの項目コード名 +“Request” とする。これにより、「IO002_WSDL_execINSERT」という登録処理がWebサービスとして公開され、外部アプリケーションから利用することができるようになる。
In step S901, the
ステップS902において、サーバ102のCPU201は、Webサービス用の入出力定義の有無を判定する。ある場合はステップS904に進み、ない場合は図9の処理を終了する。
In step S902, the
ステップS903において、サーバ102のCPU201は、WSDLにビジネスプロセスへのパラメータを出力する(図14の1402)。具体的には、入出力定義コード名とアクションの項目コード名を用いて、element=入出力定義コード名 +“_exec”+ アクションの項目コード名 とする。これにより、登録処理「IO002_WSDL_execINSERT」の呼出し時に、外部アプリケーションからパラメータを与えることができるようになる。
In step S903, the
ステップS904において、サーバ102のCPU201は、Webサービス用の入出力定義から、入出力項目を取得し、WSDLに項目定義を出力する(図10の1003)。すなわち、ステップS904は、管理されている入力データ項目をWebサービスへ入力する入力データ項目として定義したWebサービス定義情報を生成する処理の一例を示すステップである。
In step S904, the
具体的には、入出力定義画面(入出力)1900の対象データモデル1902に設定されたデータモデルの項目コード2001(図20)を用いて、 name=項目コードに従ってデータの型名を決定し、 type=“xs:”+型名 とする。図14の1403の記述から、登録処理のパラメータは、String型の「item_key」、String型の「item_param」、String型の「item_value」であるということがわかる。これにより、Webサービスの実行時のパラメータを公開できるようになる。 Specifically, using the data model item code 2001 (FIG. 20) set in the target data model 1902 of the input / output definition screen (input / output) 1900, the data type name is determined according to name = item code, type = “xs:” + type name It can be seen from the description of 1403 in FIG. 14 that the parameters of the registration process are the string type “item_key”, the string type “item_param”, and the string type “item_value”. This makes it possible to disclose the parameters at the time of execution of the Web service.
以上で、図13の説明を終了する。
Above, description of FIG. 13 is complete | finished.
図10は、BPリクエストWSDL1000の一例を示す図である。図10は、入出力定義にビジネスプロセスが定義されたアクション項目があり、かつ入出力項目にIOまたはI項目が存在する場合のBPリクエストWSDLの一例である。
FIG. 10 is a diagram illustrating an example of the BP request WSDL1000. FIG. 10 is an example of a BP request WSDL when there is an action item in which a business process is defined in the input / output definition and an IO or I item exists in the input / output item.
図11は、BPレスポンス生成のフローチャートの一例を示す図である。 FIG. 11 is a diagram illustrating an example of a flowchart of BP response generation.
ステップS1101において、サーバ102のCPU201は、WSDLにビジネスプロセス定義を出力する(図12の1201)。具体的には、入出力定義コード名とアクションの項目コード名を用いて、operation name= 入出力定義コード名 +“_exec”+アクションの項目コード名 +message= 入出力定義コード名 +“_exec”+ アクションの項目コード名 +“Response” とする。これにより、登録処理「IO002_WSDL_execINSERT」を外部アプリケーションから利用した時の戻り値を公開できるようになる。
In step S1101, the
ステップS1102において、サーバ102のCPU201は、WSDLに次画面情報を出力する(図12の1202)。具体的には、nextIoの値が空の場合は、画面遷移を行わずに自画面に遷移することを表すものとする。これにより、登録処理「IO002_WSDL_execINSERT」を利用した後に遷移する入出力を公開できるようになる。
In step S1102, the
ステップS1103において、サーバ102のCPU201は、WSDLに次入出力パラメータ定義を出力する(図12の1203)。すなわち、ステップS1103は、管理されている出力データ項目をWebサービスが出力する出力データ項目として定義したWebサービス定義情報を生成する処理の一例を示すステップである。これにより、登録処理「IO002_WSDL_execINSERT」を利用した結果、次の画面へどのような引数が渡されるかを公開できるようになる。
In step S1103, the
以上で、図11の説明を終了する。
This is the end of the description of FIG.
図13は、getDataリクエスト生成のフローチャートの一例を示す図である。 FIG. 13 is a diagram illustrating an example of a flowchart for generating a getData request.
ステップS1301において、サーバ102のCPU201は、WSDLにデータ取得処理のリクエストの記述を出力する(図14の1401)。具体的には、入出力定義コード名を用いて、 operation name= 入出力定義コード名+“_getData”、message= 入出力定義コード名+“_getDataRequest” のように出力する。これにより、「IO002_WSDL_getData」という検索処理がWebサービスとして公開され、外部アプリケーションから利用することができるようになる。
In step S1301, the
ステップS1302において、サーバ102のCPU201は、入出力定義にパラメータがあるか否かを判定し、ある場合はステップS1303に進み、ない場合は図13の処理を終了する。具体的には、パラメータを示す文字列が含まれる場合は、図14の1402の記述を出力し、ステップS1303に進む。1402の記述は、具体的には、入出力定義コード名を用いて、 element=“ns:”+ 入出力定義コード名 +“_getData” とする。これにより、検索処理「IO002_WSDL_getData」を呼び出す際に、パラメータを送ることができるようになる。
In step S1302, the
ステップS1303において、WSDLに図14の1403のような記述をパラメータ数だけ出力する。すなわち、ステップS1303は、管理されている入力データ項目をWebサービスへ入力する入力データ項目として定義したWebサービス定義情報を生成する処理の一例を示すステップである。具体的に、1403の記述は、パラメータの通し番号N( In step S1303, a description such as 1403 in FIG. 14 is output to the WSDL for the number of parameters. That is, step S1303 is a step showing an example of processing for generating Web service definition information in which managed input data items are defined as input data items to be input to the Web service. Specifically, the description of 1403 is a parameter serial number N (
数字の数字部)を用いて、 name=“param”+N とする。 Name = “param” + N using the numeric part).
以上で、図13の説明を終了する。
Above, description of FIG. 13 is complete | finished.
図14は、getDataリクエストWSDL1400の一例を示す図である。図15は、getDataレスポンス生成のフローチャートの一例を示す図である。 FIG. 14 is a diagram illustrating an example of the getData request WSDL1400. FIG. 15 is a diagram illustrating an example of a flowchart for generating a getData response.
ステップS1501において、サーバ102のCPU201は、WSDLにデータ取得処理のレスポンスの記述を出力する(図16の1601)。具体的には、入出力定義コード名を用いて、 operation name= 入出力定義コード名+“_getData”、 message= 入出力定義コード名+“_getDataResponse” のように出力する。これにより、Webサービスとして公開された検索処理「IO002_WSDL_getData」の戻り値を公開することができるようになる。
In step S1501, the
ステップS1502において、サーバ102のCPU201は、Webサービス用の入出力定義から、入出力項目を取得し、WSDLに項目定義を出力する(図12の1202)。すなわち、ステップS1502は、管理されている出力データ項目をWebサービスが出力する出力データ項目として定義したWebサービス定義情報を生成する処理の一例を示すステップである。
In step S1502, the
具体的には、入出力定義画面(入出力)1900の対象データモデル1902に設定されたデータモデルの項目コードを用いて、 name=項目コード とし、データの型名を決定し、 type=“xs:”+型名 とする。図12の1202の記述から、検索処理の結果として、String型の「item_key」と、String型の「item_value」という項目が出力されることがわかる。これにより、Webサービスの実行結果の戻り値に含まれる項目IDと型情報を公開できるようになる。 Specifically, using the item code of the data model set in the target data model 1902 of the input / output definition screen (input / output) 1900, name = item code, the data type name is determined, and type = “xs” : “+ Type name”. From the description of 1202 in FIG. 12, it can be seen that, as a result of the search process, the items “String_key” of the String type and “item_value” of the String type are output. As a result, the item ID and type information included in the return value of the Web service execution result can be disclosed.
なお、図20は、Webアプリケーション構築ツールによって生成されたWebアプリケーションおよびWebサービスが利用するデータモデル定義画面の一例を示す図である。この画面で定義する各項目はWebアプリケーションおよびWebサービスが接続するデータベースのテーブルのカラム名と一致する。 FIG. 20 is a diagram illustrating an example of a data model definition screen used by a web application and a web service generated by the web application construction tool. Each item defined on this screen matches the column name of the database table to which the Web application and Web service are connected.
以上で、図15の説明を終了する。
This is the end of the description of FIG.
図16は、getDataレスポンスWSDL1600の一例を示す図である。図16は、入出力定義に対象条件1903の設定があり、かつ出力項目が存在する場合のレスポンスWSDLの一例である。
FIG. 16 is a diagram illustrating an example of the
以上の図9〜図15の処理によってWSDLファイルを生成することにより、プログラムへ引数として入力される項目を定義する入力定義情報やプログラムから処理結果として出力する項目を定義する出力定義情報を管理するアプリケーション開発ツールにおいて、アプリケーションの入出力定義情報を用いてWSDLファイルを生成することができないという問題を解決することができる。
また、図9〜図15の処理によってWSDLファイルを生成することにより、アプリケーションの画面を介して入力される項目を定義する入力定義情報やアプリケーションの画面に出力する項目を定義する出力定義情報を管理するアプリケーション開発ツールにおいて、アプリケーションの入出力定義情報を用いてWSDLファイルを生成することができないという問題を解決することができる、ということもできる。
By generating a WSDL file by the processes of FIGS. 9 to 15 described above, input definition information that defines items to be input as arguments to the program and output definition information that defines items to be output as processing results from the program are managed. In the application development tool, the problem that the WSDL file cannot be generated using the input / output definition information of the application can be solved.
In addition, by generating a WSDL file by the processes of FIGS. 9 to 15, input definition information for defining items input via the application screen and output definition information for defining items to be output to the application screen are managed. It can also be said that the problem that the WSDL file cannot be generated using the input / output definition information of the application can be solved.
図17は、第1の実施形態のWebアプリケーション画面及びWebサービスを利用する処理の一例を示すフローチャートである。図17を用いて、作成したWebアプリケーション画面及びWebサービスを利用する処理について説明する。図18は、第1の実施形態の情報処理装置101において、作成したWebアプリケーションの一部をWebサービス化して実行した画面の一例を示す図である。
ここでは、図18のような顧客マスタ管理アプリケーションのうち、顧客マスタテーブル1930に対して行う処理である、登録・更新・検索のうち少なくとも1つの機能をWebサービス化した場合を想定する。なお、本実施形態においては、サーバ102において、Webアプリケーション及びWebサービスの機能を提供するとした、この方法に限定するものではなく、Webアプリケーション及びWebサービスの機能を異なるサーバが提供するとしてもよい。
FIG. 17 is a flowchart illustrating an example of processing using the Web application screen and the Web service according to the first embodiment. Processing using the created Web application screen and Web service will be described with reference to FIG. FIG. 18 is a diagram illustrating an example of a screen executed by converting a part of the created Web application into a Web service in the
Here, it is assumed that at least one function of registration / update / search, which is processing performed on the customer master table 1930 in the customer master management application as shown in FIG. In the present embodiment, the
図17の情報処理装置101は、構築したWebアプリケーションを利用するアプリ利用者が使用する情報処理装置である。なお、アプリ利用者とアプリ開発者が同一人物というケースも多いため情報処理装置101と記したが、図17の情報処理装置101は、当然異なる情報処理装置であってもよい。
An
ステップS1701において、情報処理装置101のCPU201は、作成したWebアプリケーション画面を利用するアプリ利用者のログインを受け付ける。
In step S <b> 1701, the
ステップS1702において、情報処理装置101のCPU201は、Webアプリケーション画面の利用操作を受け付ける。具体的には、表示されたメニュー(不図示)から、利用する画面に遷移するリンクの押下を受け付ける。
In step S <b> 1702, the
ステップS1703において、情報処理装置101のCPU201は、Webアプリケーション画面の利用の要求をサーバ102に送信する。
In step S <b> 1703, the
ステップS1704において、サーバ102のCPU201は、Webアプリケーション画面の利用の要求を受信する。
In step S1704, the
ステップS1705において、サーバ102のCPU201は、要求された画面の画面情報を生成する。具体的には、画面テーブル1910と画面部品テーブル1920を用いて、画面情報を生成する。
In step S1705, the
ステップS1706において、サーバ102のCPU201は、生成した画面情報を情報処理装置101に送信する。すなわち、ステップS1706は、Webサービスの機能が実行された後、管理されている出力データ項目に従って出力データを送信する処理の一例を示すステップである。
In step S1706, the
ステップS1707において、情報処理装置101のCPU201は、画面情報を受信する。
In step S1707, the
ステップS1708において、情報処理装置101のCPU201は、受信した画面情報を用いて、画面(例えば、図18の顧客マスタ登録画面1810)を表示する。なお、第1の実施形態においては、ステップS1708にて表示される画面は、顧客マスタ登録画面1810のような、データ登録画面としたが、これに限定するものではなく、顧客マスタ一覧画面1830のような、データ一覧画面やデータ検索画面であってもよい。
In step S1708, the
ステップS1709において、情報処理装置101のCPU201は、画面操作を受け付け、判定する。データ登録ボタン(図18の1811)が押下された場合はステップS1710に進み、データ編集ボタン(不図示)が押下された場合はステップS1711に進み、データ検索ボタン(図6の622)が押下された場合はステップS1712に進み、閉じるボタン(不図示)が押下された場合はこの画面利用処理を終了する。
In step S1709, the
ステップS1710において、情報処理装置101のCPU201は、データ登録画面(例えば、顧客マスタ登録画面1820)を表示し、データ入力を受け付ける。
In step S1710, the
ステップS1711において、情報処理装置101のCPU201は、データ編集画面(例えば、顧客マスタ編集画面(不図示))に編集ボタンで選択されたデータを表示し、データ編集を受け付ける。
In step S1711, the
ステップS1712において、情報処理装置101のCPU201は、データ一覧画面(例えば、顧客マスタ一覧画面1830)の検索項目に入力された値を用いて検索条件を作成する。
In step S <b> 1712, the
ステップS1713において、情報処理装置101のCPU201は、受け付けた画面操作に従って、登録・更新・検索の要求、並びに、ステップS1710若しくはステップS1711にて受け付けたデータ又はステップS1712にて作成した検索条件をWebサービスへ入力する入力データとしてサーバ102に送信する。なお、登録・更新・検索の機能のうち、Webサービス化された機能を利用する場合、登録・更新はBPリクエストWSDL1000、検索はgetDataリクエストWSDL1400に従って、リクエストメッセージを作成し、サーバ102へ送信する。
なお、本実施形態においては、Webサービスの利用も情報処理装置101が行うとしたが、情報処理装置101からの利用に限定するものではなく、他のWebアプリケーションを提供するサーバ等がサーバ102によって提供されているWebサービスを利用するとしてもよい。その場合、Webアプリケーション構築サービスで構築した画面を介さずに、サーバ102に対して直接、SOAP等のリクエストメッセージを送信するケースが考えられる。なお、ステップS1718のレスポンスメッセージの送信先は、当然ながら、Webサービスの実行を要求したサーバとなる。
In step S1713, the
In this embodiment, the
ステップS1714において、サーバ102のCPU201は、要求及び入力データを受信し、要求された機能の種類を判定する。すなわち、ステップS1714は、管理されている入力データ項目に対応する入力データを受信する処理の一例を示すステップである。データ登録の場合はステップS1715に進み、データ検索の場合はステップS1716に進み、データ更新の場合はステップS1717に進む。
In step S <b> 1714, the
ステップS1715において、サーバ102のCPU201は、受信したデータ登録要求に従って、データをテーブルに登録する。具体的には、登録ボタン1821が押下されて、データ登録要求を受信した場合は、顧客マスタ登録画面1820に入力された値を用いて、Webアプリケーション又はWebサービスの機能を実行することにより、顧客マスタテーブル1930に登録する。
In step S1715, the
ステップS1716において、サーバ102のCPU201は、受信したデータ検索要求に従って、テーブルを検索する。具体的には、検索ボタン1836が押下されて、データ検索要求を受信した場合は、顧客マスタ一覧画面1830の検索条件部に入力された検索条件を用いて、Webアプリケーション又はWebサービスの機能を実行することにより、顧客マスタテーブル1930を検索する。
In step S1716, the
ステップS1717において、サーバ102のCPU201は、受信したデータ更新要求に従って、テーブルのデータを更新する。具体的には、更新ボタン(不図示)が押下されて、データ更新要求を受信した場合は、顧客マスタ編集画面に入力された値を用いて、Webアプリケーション又はWebサービスの機能を実行することにより、顧客マスタテーブル1930の該当データを更新する。
In step S1717, the
すなわち、ステップS1715〜S1717は、受信した入力データを用いて、公開されているアプリケーションの持つ機能を実行する処理の一例を示すステップである。 In other words, steps S1715 to S1717 are steps showing an example of processing for executing the functions of the published application using the received input data.
ステップS1718において、サーバ102のCPU201は、登録・更新・検索を行った後に表示する画面情報を生成し、画面情報を情報処理装置101に送信する(ステップS1706)。なお、登録・更新・検索の機能のうち、Webサービス化された機能を利用した場合、登録・更新はBPレスポンスWSDL1200、検索はgetDataレスポンスWSDL1600に従って、レスポンスメッセージを作成し、Webサービスの実行を要求した情報処理装置101へ送信する。
In step S1718, the
以上で、図17の画面利用処理の説明を終了する。 Above, description of the screen utilization process of FIG. 17 is complete | finished.
以上により、Webアプリ開発者は、多くの設定変更やプログラミングをすることなく、既存のWebアプリケーションの一部をWebサービス化することができるため、既存のアプリケーションを容易にWebサービス化することができるようになる。
As described above, a Web application developer can convert a part of an existing Web application to a Web service without performing many setting changes and programming, and thus can easily convert an existing application to a Web service. It becomes like this.
〔第2の実施形態〕
第1の実施形態は、既存のアプリケーションの画面項目からWebサービスの入出力項目とする画面項目を選択することにより、既存のアプリケーションを容易にWebサービス化する仕組みである。
[Second Embodiment]
The first embodiment is a mechanism for easily converting an existing application into a Web service by selecting a screen item as an input / output item of the Web service from the screen items of the existing application.
第2の実施形態は、既存のアプリケーションの画面項目以外の項目もWebサービスの入出力項目とすることにより、既存のアプリケーションを容易にWebサービス化する仕組みである。 The second embodiment is a mechanism for easily converting an existing application into a Web service by using items other than the screen items of the existing application as input / output items of the Web service.
図21は、第2の実施形態のWebアプリケーション画面に基づきWebサービスを構築するフローチャートの一例を示す図である。 FIG. 21 is a diagram illustrating an example of a flowchart for constructing a Web service based on the Web application screen according to the second embodiment.
図22は、第2の実施形態のWebアプリケーション(登録画面)構築/Webサービス入力項目定義の画面の一例を示す図である。 FIG. 22 is a diagram illustrating an example of a Web application (registration screen) construction / Web service input item definition screen according to the second embodiment.
図23は、第2の実施形態のサーバ102にて管理するテーブルの一例を示す図である。
FIG. 23 is a diagram illustrating an example of a table managed by the
図21のフローチャートについて説明する。なお、第2の実施形態では、第1の実施形態における図4のフローチャートを図21に置き換え、第1の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。 The flowchart of FIG. 21 will be described. In the second embodiment, the flowchart of FIG. 4 in the first embodiment is replaced with FIG. 21, and the same process as the step of the first embodiment is assigned the same step number and the description is omitted.
ステップS2101において、情報処理装置101のCPU201は、Webサービス独自の入出力項目の設定を受け付ける(図22の2201、2202)。すなわち、ステップS2101は、取得された入力項目以外の項目をWebサービスへ入力する入力データ項目として追加する指示を受け付ける処理の一例を示すステップである。また、ステップS2101は、取得された出力項目以外の項目をWebサービスから出力する出力データ項目として追加する指示を受け付ける処理の一例を示すステップである。
In step S2101, the
ここでは、Webアプリケーション画面から登録された顧客データと、Webサービスから登録された顧客データを区別するため、Webサービス独自の入力項目「登録元2201」の値として「固定値2202(=“Webサービス”)」を追加する設定を受け付けたとする。「登録元2201」及び「固定値2202」は斜体で表示することにより、Webサービス独自の入力項目であることがわかる。
Here, in order to distinguish between customer data registered from the Web application screen and customer data registered from the Web service, “fixed value 2202 (=“ Web service ”is set as the value of the input item“
なお、図22では、Webサービス独自の入力項目の設定を受け付けたが、入力項目に限定するものではなく、Webサービス独自の出力項目の設定を受け付けてもよい。Webサービス独自の出力項目は、Webアプリケーション画面には出力されないが、Webサービスから出力されるレスポンスには含まれることになる。 In FIG. 22, the setting of the input item unique to the Web service is accepted. However, the setting is not limited to the input item, and the setting of the output item unique to the Web service may be accepted. The output item unique to the Web service is not output on the Web application screen, but is included in the response output from the Web service.
ステップS2102において、情報処理装置101のCPU201は、ステップS403にて受信したWebサービス入出力項目にWebサービス独自の入出力項目が含まれているか否かを判定する。具体的には、ステップS403にて受信したWebサービス入出力項目のすべての項目が画面部品テーブル1920にレコードとして存在するか否かに従って判定する。なぜなら、既存のWebアプリケーションの画面項目は、画面部品テーブル1920にレコードとして存在し、Webサービス独自の入出力項目は、この時点で画面部品テーブル1920にレコードとして存在しないからである。
In step S2102, the
Webサービス独自の入出力項目が含まれている場合はステップS2103に進み、含まれていない場合はステップS404に進む。 If the input / output items unique to the Web service are included, the process proceeds to step S2103. If not included, the process proceeds to step S404.
ステップS2103において、サーバ102のCPU201は、ステップS403(図21)にて受信したWebサービス入出力項目のうち、Webサービス独自の入出力項目であると判定された項目を画面部品テーブル1920にレコードとして登録する(図23の2301)。なお、「Webサービス」カラムには、“I(入力)”または“O(出力)”を設定する。
In step S <b> 2103, the
これにより、Webサービス独自の入出力項目を追加することができるようになるため、Webアプリケーション画面から登録されたデータと、Webサービスから登録されたデータを区別したり、Webアプリケーションのレスポンスにはない項目をWebサービスのレスポンスに追加することができるようになる。 This makes it possible to add input / output items unique to the Web service, so that the data registered from the Web application screen is not distinguished from the data registered from the Web service, and is not included in the response of the Web application. The item can be added to the response of the Web service.
つまり、既存のアプリケーションを容易にWebサービス化することができるようになる。 That is, an existing application can be easily converted into a Web service.
よって、第2の実施形態のWebサービスが実行されるときのステップS1714(図17)は、Webサービス独自の追加入力データを受信する処理の一例を示すステップである。また、第2の実施形態のWebサービスが実行されるときのステップS1706(図17)は、Webサービスの機能が実行された後、Webサービス独自の出力データを送信する処理の一例を示すステップである。
Therefore, step S1714 (FIG. 17) when the Web service of the second embodiment is executed is a step showing an example of processing for receiving additional input data unique to the Web service. Step S1706 (FIG. 17) when the Web service of the second embodiment is executed is a step showing an example of processing for transmitting output data unique to the Web service after the Web service function is executed. is there.
〔第3の実施形態〕
第1の実施形態は、既存のアプリケーションの画面項目からWebサービスの入出力項目とする画面項目を選択することにより、既存のアプリケーションの持つ1つの機能を容易にWebサービス化する仕組みである。
[Third Embodiment]
The first embodiment is a mechanism for easily converting one function of an existing application into a Web service by selecting a screen item as an input / output item of the Web service from the screen items of the existing application.
第3の実施形態は、既存のアプリケーションの画面項目からWebサービスの入出力項目とする画面項目を機能毎に選択することにより、既存のアプリケーションの持つ複数の機能を一度にWebサービス化する仕組みである。 The third embodiment is a mechanism for converting a plurality of functions of an existing application into a Web service at a time by selecting, for each function, a screen item as an input / output item of the Web service from the screen items of the existing application. is there.
図24は、第3の実施形態のWebアプリケーション画面に基づきWebサービスを構築するフローチャートの一例を示す図である。 FIG. 24 is a diagram illustrating an example of a flowchart for constructing a Web service based on the Web application screen according to the third embodiment.
図25は、第3の実施形態のWebアプリケーション(登録画面)構築/Webサービス入力項目定義の画面の一例を示す図である。 FIG. 25 is a diagram illustrating an example of a Web application (registration screen) construction / Web service input item definition screen according to the third embodiment.
図26は、第3の実施形態のサーバ102にて管理するテーブルの一例を示す図である。
FIG. 26 is a diagram illustrating an example of a table managed by the
図24のフローチャートについて説明する。なお、第3の実施形態では、第1の実施形態における図4のフローチャートを図24に置き換え、第1の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。 The flowchart of FIG. 24 will be described. In the third embodiment, the flowchart of FIG. 4 in the first embodiment is replaced with FIG. 24, and the same processing as the steps in the first embodiment is given the same step number and description thereof is omitted.
ここでは、Webアプリケーション画面作成画面620(図25)にて、顧客マスタのレコードについて登録/検索/更新/削除処理を行う4機能を備えるWebアプリケーション画面を作成し、保存ボタン2501の押下を受け付けた後、「この画面をWebサービス化しますか?」ダイアログ640(図25)を表示し、Webサービス化する指示(はいボタン押下)を受け付けたケースを想定する。
Here, on the Web application screen creation screen 620 (FIG. 25), a Web application screen having four functions for performing registration / search / update / deletion processing on the record of the customer master is created, and pressing of the
ステップS2401において、情報処理装置101のCPU201は、WebサービスのCRUD機能毎に入出力項目の設定を受け付けることが可能な入力フォーム2503(図25)を表示する。CRUDとは、Create(登録)/Read(検索)/Update(更新)/Delete(削除)の4つの機能を表している。入力フォーム2503は、Webアプリケーション画面作成画面620(図25)に配置した入出力項目毎のうち、CRUDの機能毎にどの入出力項目を使うかを設定するフォームである。例えば、Webサービスへ入力する入力データ項目とする場合は“I”、Webサービスが出力する出力データ項目とする場合は“O”、入力データ項目兼出力データ項目とする場合は“IO”とする。
In step S2401, the
図25の入力フォーム2503は、Create機能を持つWebサービス(つまり、顧客登録)は、「顧客ID」「顧客名」「住所」「電話番号」「メール」「登録(ボタン)」を入力データ項目とし、Read機能を持つWebサービス(つまり、顧客検索)は、「顧客ID」「検索(ボタン)」を入力データ項目、「顧客ID」「顧客名」「住所」「電話番号」「メール」を出力データ項目とし、Delete機能を持つWebサービス(つまり、顧客削除)は、「顧客ID」「削除(ボタン)」を入力データ項目とする、Webサービスをこれから構築することを表している。なお、入力フォーム2503のU(=Update)の列には、“I”、IO”、及び“IO”の設定が無いため、Update機能を持つWebサービス(つまり、顧客更新)は作成しない。
The
また、Webアプリケーション画面作成画面620(図25)にて配置した「登録(ボタン)」「検索(ボタン)」「更新(ボタン)」「削除(ボタン)」は、WebサービスのCRUD機能のうち、どの機能を実行するかの機能識別情報となる。つまり、Webサービスへ入力する入力データに項目名「登録」のデータが含まれていれば、登録機能を実行することになる。 In addition, the “registration (button)”, “search (button)”, “update (button)”, and “delete (button)” arranged on the web application screen creation screen 620 (FIG. 25) are CRUD functions of the web service. This is function identification information indicating which function is to be executed. That is, if the input data input to the Web service includes the data of the item name “registration”, the registration function is executed.
すなわち、第3の実施形態のWebサービスが実行されるときのステップS1714(図17)は、Webサービスの機能を識別する機能識別情報を受信する処理の一例を示すステップである。また、第3の実施形態のWebサービスが実行されるときのステップS1714(図17)は、受信した機能識別情報に対応する機能に対応付けて管理されている入力データ項目に対応する入力データを受信する処理の一例を示すステップである。また、第3の実施形態のWebサービスが実行されるときのステップS1715〜S1717(図17)は、受信した入力データを用いて、機能識別情報に対応する機能を実行する処理の一例を示すステップである。 That is, step S1714 (FIG. 17) when the Web service of the third embodiment is executed is a step showing an example of processing for receiving function identification information for identifying the function of the Web service. Further, in step S1714 (FIG. 17) when the Web service of the third embodiment is executed, input data corresponding to the input data item managed in association with the function corresponding to the received function identification information is displayed. It is a step which shows an example of the process to receive. Steps S1715 to S1717 (FIG. 17) when the Web service of the third embodiment is executed are steps indicating an example of processing for executing a function corresponding to the function identification information using the received input data. It is.
入力フォーム2503の設定値は、ステップS403(図24)にてサーバ102が受信し、ステップS404(図24)にて受信した入力フォーム2503の項目を画面部品テーブル1920(図26)のレコードに反映する(図26の2600)。なお、第3の実施形態の画面部品テーブル1920(図26)には、Webサービスの「C」「R」「U」「D」の4カラム(図26の2600)を持ち、入力フォーム2503の項目値に従って、“I”、“O”又は“IO”を設定する。すなわち、第3の実施形態における画面部品テーブル1920(図26)は、機能毎に入力データ項目を管理する手段の一例である。
The setting value of the
その後のステップS412(図24)にてWebサービスカラム2600の設定値に従ってWSDLを生成し、ステップS413(図24)にてWebサービスの提供を開始することにより、既存のアプリケーションの持つ複数の機能を一度にWebサービス化することができる。
In step S412 (FIG. 24), a WSDL is generated according to the setting value of the
なお、本実施形態においては、画面部品テーブル1920(図26)にWebサービスカラム2600を持ち、そのカラムの値に従って、WSDLを生成するとしたが、Webサービスカラム2600を持つことは必須ではなく、ステップS403(図24)にて受信した入力フォーム2503の項目値に従って、提供するWebサービスの機能を定義したWSDLを生成するとしてもよい。
In the present embodiment, the screen component table 1920 (FIG. 26) has the
なお、本実施形態においては、アプリケーション及びWebサービスの持つ機能をCRUDの4つとしたが、CRUDに限定するものではなく、アプリケーションがその他の機能を持ち、それらの機能についても一度にWebサービス化できるとしてもよい。 In this embodiment, the application and the Web service have four functions, CRUD. However, the application is not limited to CRUD, and the application has other functions, and these functions can be converted into a Web service at a time. It is good.
以上により、既存のアプリケーションの画面項目からWebサービスの入出力項目としたい画面項目を機能毎に選択することにより、既存のアプリケーションの持つ複数の機能を一度にWebサービス化することができる。つまり、既存のアプリケーションを容易にWebサービス化することができるようになる。 As described above, a plurality of functions of an existing application can be converted to a Web service at a time by selecting, for each function, a screen item to be used as an input / output item of the Web service from the screen items of the existing application. That is, an existing application can be easily converted into a Web service.
アプリケーションのWebサービス化において入力フォーム2503を用いることで、複数の機能を持つアプリケーションであっても一度にWebサービス化でき、かつ、アプリケーション及びWebサービスの機能を一覧化してその差異を視覚化できるようになる。
By using the
なお、第1〜第3の実施形態において、既存のアプリケーションを容易にWebサービス化するとしたが、Webサービス提供開始に伴い既存のアプリケーションの持つ機能はそのまま継続してもよいし、機能を停止させてWebサービスに移行するとしてもよい。 In the first to third embodiments, an existing application is easily converted into a Web service. However, the functions of the existing application may be continued as the Web service starts, or the function is stopped. May be transferred to the Web service.
また、第1〜第3の実施形態の既存アプリケーションのWebサービス化に伴い、アプリケーションのビジネスプロセスを当該アプリケーション及びWebサービスの両者が利用してもよいし、アプリケーションのビジネスプロセスをWebサービス用にコピーしてアプリケーション及びWebサービスが異なるビジネスプロセスを利用するとしてもよい。どちらにせよ、Webサービス化のために新規のビジネスプロセスをコーディングする必要がなくなるため、開発及びテスト工数を削減することができ、既存のアプリケーションで実績のある高品質なビジネスプロセスを利用することができる。
As the existing application of the first to third embodiments is converted to a Web service, the application business process may be used by both the application and the Web service, or the application business process is copied for the Web service. Then, business processes with different applications and Web services may be used. In any case, it is not necessary to code a new business process for Web service development, so it is possible to reduce development and test man-hours, and to use a high-quality business process that has been proven in existing applications. it can.
〔第4の実施形態〕
第3の実施形態は、既存のアプリケーションの画面項目からWebサービスの入出力項目とする画面項目を機能毎に選択することにより、既存のアプリケーションの持つ複数の機能を一度にWebサービス化する仕組みである。
第4の実施形態は、既存のアプリケーションの画面項目からWebサービスの入出力項目とする画面項目を機能毎に選択することにより、既存のアプリケーションの持つ機能をWebサービス化した場合に、当該アプリケーションが当該Webサービス化した機能を利用するよう自動で改修する仕組みである。
[Fourth Embodiment]
The third embodiment is a mechanism for converting a plurality of functions of an existing application into a Web service at a time by selecting, for each function, a screen item as an input / output item of the Web service from the screen items of the existing application. is there.
In the fourth embodiment, when a function of an existing application is converted to a Web service by selecting a screen item as an input / output item of the Web service for each function from the screen items of the existing application, This is a mechanism for automatically revising the web service to use the function.
図27は、第4の実施形態のWebアプリケーション画面に基づきWebサービスを構築するフローチャートの一例を示す図である。
図28は、第4の実施形態のWebアプリケーション(登録画面)構築/Webサービス入力項目定義の画面の一例を示す図である。
FIG. 27 is a diagram illustrating an example of a flowchart for constructing a Web service based on the Web application screen according to the fourth embodiment.
FIG. 28 is a diagram illustrating an example of a Web application (registration screen) construction / Web service input item definition screen according to the fourth embodiment.
図27のフローチャートについて説明する。なお、第4の実施形態では、第1の実施形態における図4のフローチャートを図27に置き換え、第1の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。
ここでは、Webアプリケーション画面作成画面620(図28)にて、顧客マスタのレコードについて登録/検索/更新/削除処理を行う4機能を備えるWebアプリケーション画面を作成し、保存ボタン2801(図28)の押下を受け付けた後、「この画面をWebサービス化しますか?」ダイアログ640(図28)を表示し、Webサービス化する指示(はいボタン押下)を受け付けたケースを想定する。
The flowchart of FIG. 27 will be described. In the fourth embodiment, the flowchart of FIG. 4 in the first embodiment is replaced with FIG. 27, and the same process as the step of the first embodiment is assigned the same step number and the description is omitted.
Here, on the Web application screen creation screen 620 (FIG. 28), a Web application screen having four functions for performing registration / search / update / deletion processing for the record of the customer master is created, and the save button 2801 (FIG. 28) is selected. Assume a case where, after accepting the press, the “Do you want to make this screen a Web service?” Dialog 640 (FIG. 28) is displayed and an instruction to make a Web service (pressing the Yes button) is accepted.
ステップS2701において、情報処理装置101のCPU201は、第3の実施形態と同様に、WebサービスのCRUD機能毎に入出力項目の設定を受け付けることが可能な入力フォーム2803(図28)を表示する。入力フォーム2803は、Webアプリケーション画面作成画面620(図28)に配置した入出力項目毎のうち、CRUDの機能毎にどの入出力項目を使うかを設定するフォームである。例えば、Webサービスへ入力する入力データ項目とする場合は“I”、Webサービスが出力する出力データ項目とする場合は“O”、入力データ項目兼出力データ項目とする場合は“IO”とする。
In step S2701, the
図28の入力フォーム2803は、Read機能を持つWebサービス(つまり、顧客検索)は、「顧客ID」「検索(ボタン)」を入力データ項目、「顧客ID」「顧客名」「住所」「電話番号」「メール」を出力データ項目とする、Webサービスをこれから構築することを表している。なお、入力フォーム2803のC・U・D列には、“I”、IO”、及び“IO”の設定が無いため、Create、Update、Delete機能を持つWebサービスは作成しない。
The
ステップS2702において、情報処理装置101のCPU201は、Webサービスに完全移行するか否かを確認するダイアログ2804(図28)を表示し、「Webアプリに残す(=WebアプリとWebサービスに同じ機能を併存させる)」「Webアプリから削除する(=Webサービスに機能を完全に移行させる)」の選択を受け付ける。なお、本実施形態においては、Webサービス化した機能をWebアプリに残すか削除するかの選択としたが、これに限定するものではなく、例えば、Webサービス化した機能は、Webアプリの機能ではなくWebサービス化した機能を積極的に利用するか否か等の選択であってもよい。また、Webサービス化した機能を利用している処理をリスト表示し、それらについて、Webアプリの機能とWebサービス化した機能のどちらを利用するかを選択させてもよい。
In step S2702, the
ステップS2703において、サーバ102のCPU201は、ステップS403(図27)にて入力フォーム2803の設定値と共に受信したダイアログ2804の選択値を判定する。「Webアプリに残す」の場合はステップS404(図27)に進み、「Webアプリから削除する」の場合はステップS2704に進む。
In step S2703, the
ステップS2704において、サーバ102のCPU201は、Webサービスを作成する機能を利用している処理(例えば、ビジネスプロセス)について、これまでのWebアプリの機能ではなく、新しく生成されるWebサービスの機能を利用するよう設定を変更する。
In step S2704, the
ステップS2705において、サーバ102のCPU201は、Webサービスを作成する機能について、これまで使用していたWebアプリの機能を削除する。
In step S2705, the
このステップS2704及びステップS2705については、図28及び図29を用いて、具体的に説明する。
まず、前提として、図28の画面620で構築したWebアプリケーション「顧客マスタ管理」には、顧客登録(C)/顧客検索(R)/顧客更新(U)/顧客削除(D)の4機能が備わっているとする。また、顧客登録機能は、顧客登録画面にて「登録ボタン」の押下を受け付けると、顧客登録画面に入力されている「顧客ID」の値を検索キーにして、顧客マスタテーブル1930を検索し、当該「顧客ID」を持つレコード件数=0件の場合、顧客登録画面に入力されている顧客情報(顧客ID,、顧客名、住所、電話番号)を用いて、顧客マスタテーブル1930にレコード登録する機能であるとする。
Steps S2704 and S2705 will be specifically described with reference to FIGS.
First, as a premise, the Web application “customer master management” constructed on the
図29は、第4の実施形態のWebアプリケーション/Webサーバの設定の一例を示す図である。
入出力定義2910は、顧客登録画面の「登録ボタン」の定義であり、押下を受け付けると、Webアプリケーション用のビジネスプロセス「BP_CUST_INSERT」を実行するよう定義されている。
FIG. 29 is a diagram illustrating an example of settings of the Web application / Web server according to the fourth embodiment.
The input /
ビジネスプロセス2920は、顧客登録を実行する「BP_CUST_INSERT」の定義であり、「実行処理」の内容から、Webアプリケーション用のビジネスプロセス「BP_CUST_getData」を実行し、レコード件数=0件の場合、顧客マスタにレコードを登録する処理であることがわかる。
同様に、入出力定義2930は、顧客検索画面の「検索ボタン」の定義であり、押下を受け付けると、Webアプリケーション用のビジネスプロセス「BP_CUST_getData」を実行するよう定義されていること、ビジネスプロセス2940は、顧客検索を実行するWebアプリケーション用のビジネスプロセス「BP_CUST_getData」であることがわかる。
The
Similarly, the input /
このケースの場合に、入力フォーム2803(図28)にてRead機能をWebサービス化すること(ステップS2701)、ダイアログ2804(図28)にて「Webアプリから削除する」の選択を受け付けた(ステップS2702)場合、ステップS2704において、Webサービスを作成する機能(例:Webアプリケーション用のビジネスプロセス「BP_CUST_getData」)を利用している処理(例:Webアプリケーション用のビジネスプロセス「BP_CUST_INSERT」)は、この後のステップS412(図27)にて生成されるWebサービス用のビジネスプロセス「IO002_WSDL_getData」を利用するように設定を変更する(図29の2970及び2960)。 In this case, the Read function is converted into a Web service using the input form 2803 (FIG. 28) (step S2701), and the selection of “Delete from Web application” is received in the dialog 2804 (FIG. 28) (step S2701). In step S2702, in step S2704, a process using a function for creating a web service (eg, business process “BP_CUST_getData” for web application) (eg, business process “BP_CUST_INSERT” for web application) is performed thereafter. The setting is changed to use the business process “IO002_WSDL_getData” for the Web service generated in step S412 (FIG. 27) (2970 and 2960 in FIG. 29).
これにより、Webサービス化した機能は、Webアプリ用の機能として残すか、それともWebサービスに機能を完全に移行するかをアプリ開発者が選択することができる。そして、後者を選択した場合は、Webアプリ用のその機能を削除し、Webサービスに完全移行するため、機能設定を一元管理することが可能になり、かつ、このステップS2704により、その機能を利用する処理は、新たに生成されたWebサービスの機能を利用するように自動的に設定が変更されるため、Webアプリケーションの持つ機能を容易にWebサービス化することができるようになる。 Thereby, the application developer can select whether the function converted to the Web service is left as a function for the Web application or the function is completely transferred to the Web service. If the latter is selected, the function for the Web application is deleted and the function is completely transferred to the Web service. Therefore, the function setting can be managed centrally, and the function can be used in step S2704. In the processing to be performed, since the setting is automatically changed so as to use the function of the newly generated Web service, the function of the Web application can be easily converted to the Web service.
以上により、既存のアプリケーションが持つ機能をWebサービス化し、その機能をWebサービスに完全移行する場合は、その機能を利用する処理についても、自動でWebサービスを利用するよう自動で改修できるため、既存のアプリケーションを容易にWebサービス化することができるようになる。つまり、既存のアプリケーションが持つ機能をWebサービス化し、その機能をWebサービスに完全移行する場合において、開発者の利便性を向上させる
As described above, when a function of an existing application is converted into a Web service and the function is completely transferred to the Web service, the processing using the function can be automatically modified to automatically use the Web service. This application can be easily converted into a Web service. In other words, when the functions of existing applications are converted to Web services and the functions are completely transferred to Web services, the convenience of developers is improved.
以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。 As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.
この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。 As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。 The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.
さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。 Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
100 情報処理システム
101 情報処理装置
102 サーバ
103 ネットワーク
DESCRIPTION OF
Claims (15)
前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理手段と、
前記アプリケーション入力項目管理手段により管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、
前記Webサービス定義情報生成手段により生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行するWebサービスを構築するWebサービス構築手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus that converts functions of an application into a Web service,
Application input item management means for managing input items input to the application;
Wherein among the input items that are managed by the application input item management means, on the basis of the input items that have been selected as the input data items to be input to the Web service, Web service definition information generating means for generating definition information of Web Services When,
Web service construction means for constructing a web service for executing the function using input data corresponding to the input data item included in the request made in accordance with the web service definition information generated by the web service definition information generation means An information processing apparatus comprising:
前記Webサービスに入力する入力データ項目として、前記アプリケーション入力項目管理手段により管理されている入力項目以外の項目が追加された場合、当該追加された項目に基づいてWebサービスの定義情報を生成すること
を特徴とする請求項1に記載の情報処理装置。 Before Symbol Web service definition information generation means,
As input data items to be input to the Web service, if the items other than the input item that is managed by the application input item managing means is added to generate definition information of the W eb service on the basis of the added items the information processing apparatus according to claim 1, characterized in that.
前記Webサービス定義情報生成手段は、
前記アプリケーション入力項目管理手段により管理されている入力項目のうち、前記Webサービス化する機能毎に前記選択された入力項目に基づいて、Webサービスの定義情報を生成し、
前記Webサービス構築手段は、
前記要求に含まれる前記機能の識別情報に対応する機能を実行するWebサービスを構築すること
を特徴とする請求項1又は2に記載の情報処理装置。 The application has a plurality of functions,
The Web service definition information generating means
Of the input items that are managed by the application input item management means, on the basis of the input items that the election is-option for each function of the Web service of, it generates definition information of the Web services,
The web service construction means
The information processing apparatus according to claim 1 or 2, characterized in that to build a Web service to perform a function corresponding to the identification information of the function included in the request.
前記Webサービス定義情報生成手段は、前記Webサービス化する前記機能の識別情報に基づいて、前記Webサービスの定義情報を生成し、
前記Webサービス構築手段は、
前記インターフェース生成手段により生成されたインターフェースを利用し、前記要求に含まれる前記機能の識別情報に対応する機能を実行するWebサービスを構築すること
を特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 Interface generating means for generating an interface for executing the function;
The Web service definition information generating means generates the Web service definition information based on the identification information of the function to be converted into the Web service,
The web service construction means
Utilizing the interface generated by the interface generation means, any one of claims 1 to 3, characterized in that to build a Web service to perform a function corresponding to the identification information of the function included in the request The information processing apparatus described in 1.
前記アプリケーションから出力される出力項目を管理するアプリケーション出力項目管理手段と、
前記アプリケーション出力項目管理手段により管理されている出力項目のうち、前記Webサービスが出力する出力データ項目として選択された出力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、
前記機能を実行することによって、前記出力データ項目に対応する出力データを出力するWebサービスを構築するWebサービス構築手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus that converts functions of an application into a Web service,
Application output item management means for managing output items output from the application;
Of the output items managed by the previous SL application output item managing means, the Web service on the basis of the output item that is selected as the output data item is output, generated Web service definition information generated definition information Web Service Means,
By performing a pre-Symbol function, the Web service construction means for constructing a Web service that outputs the output data corresponding to the output data item
The information processing apparatus comprising: a.
前記Webサービスが出力する出力データ項目として、前記アプリケーション出力項目管理手段により管理されている出力項目以外の項目が追加された場合、当該追加された項目に基づいてWebサービスの定義情報を生成すること
を特徴とする請求項5に記載の情報処理装置。 Before Symbol Web service definition information generation means,
As output data item the Web service is output, if the items other than the output items managed by the application output item managing means is added to generate definition information of the W eb service on the basis of the added items The information processing apparatus according to claim 5 .
前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理手段と、Application input item management means for managing input items input to the application;
前記アプリケーションから出力される出力項目を管理するアプリケーション出力項目管理手段と、Application output item management means for managing output items output from the application;
前記アプリケーション入力項目管理手段により管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目と、前記アプリケーション出力項目管理手段により管理されている出力項目のうち、前記Webサービスが出力する出力データ項目として選択された出力項目とに基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、Of the input items managed by the application input item management means, the input items selected as input data items to be input to the Web service and the output items managed by the application output item management means Web service definition information generating means for generating Web service definition information based on an output item selected as an output data item output by the Web service;
前記Webサービス定義情報生成手段により生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行することによって、前記出力データ項目に対応する出力データを出力するWebサービスを構築するWebサービス構築手段とCorresponding to the output data item by executing the function using the input data corresponding to the input data item included in the request made according to the Web service definition information generated by the Web service definition information generating unit Web service construction means for constructing a web service for outputting output data to be output
を備えることを特徴とする情報処理装置。An information processing apparatus comprising:
を更に備えることを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 7, further comprising a Web service publishing means for publishing a Web service built by the Web service construction unit.
を特徴とする請求項1乃至8のいずれか1項に記載の情報処理装置。 The Web service configuration means, the information processing apparatus according to any one of claims 1 to 8, wherein generating a program for operating the Web service.
前記情報処理装置が、
前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理ステップと、
前記アプリケーション入力項目管理ステップにより管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成ステップと、
前記Webサービス定義情報生成ステップにより生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行するWebサービスを構築するWebサービス構築ステップと
を実行することを特徴とする処理方法。 A processing method in an information processing apparatus for converting a function of an application into a Web service,
The information processing apparatus is
An application input item management step for managing input items input to the application;
Of the input items that are managed by the application input item management step, on the basis of the input items that have been selected as the input data items to be input to the Web service, Web service definition information generating step of generating the definition information of the Web Service When,
Web service construction step of constructing a web service that executes the function using input data corresponding to the input data item included in the request made in accordance with the web service definition information generated by the web service definition information generation step The processing method characterized by performing these.
前記情報処理装置が、The information processing apparatus is
前記アプリケーションから出力される出力項目を管理するアプリケーション出力項目管理ステップと、An application output item management step for managing output items output from the application;
前記アプリケーション出力項目管理ステップにより管理されている出力項目のうち、前記Webサービスが出力する出力データ項目として選択された出力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成ステップと、A Web service definition information generating step for generating Web service definition information based on an output item selected as an output data item output by the Web service among the output items managed by the application output item management step; ,
前記機能を実行することによって、前記出力データ項目に対応する出力データを出力するWebサービスを構築するWebサービス構築ステップとA web service construction step of constructing a web service that outputs the output data corresponding to the output data item by executing the function;
を実行することを特徴とする処理方法。The processing method characterized by performing.
前記情報処理装置が、The information processing apparatus is
前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理ステップと、An application input item management step for managing input items input to the application;
前記アプリケーションから出力される出力項目を管理するアプリケーション出力項目管理ステップと、An application output item management step for managing output items output from the application;
前記アプリケーション入力項目管理ステップにより管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目と、前記アプリケーション出力項目管理ステップにより管理されている出力項目のうち、前記Webサービスが出力する出力データ項目として選択された出力項目とに基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成ステップと、Of the input items managed by the application input item management step, among the input items selected as input data items to be input to the Web service, and among the output items managed by the application output item management step, A Web service definition information generating step for generating Web service definition information based on an output item selected as an output data item output by the Web service;
前記Webサービス定義情報生成ステップにより生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行することによって、前記出力データ項目に対応する出力データを出力するWebサービスを構築するWebサービス構築ステップとCorresponding to the output data item by executing the function using the input data corresponding to the input data item included in the request made according to the Web service definition information generated by the Web service definition information generating step A web service construction step for constructing a web service for outputting output data to be output;
を実行することを特徴とする処理方法。The processing method characterized by performing.
前記情報処理装置を、
前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理手段と、
前記アプリケーション入力項目管理手段により管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、
前記Webサービス定義情報生成手段により生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行するWebサービスを構築するWebサービス構築手段
として機能させるためのプログラム。 A program that can be executed by an information processing apparatus that converts functions of an application into a Web service,
The information processing apparatus;
Application input item management means for managing input items input to the application;
Wherein among the input items that are managed by the application input item management means, on the basis of the input items that have been selected as the input data items to be input to the Web service, Web service definition information generating means for generating definition information of Web Services When,
Web service construction means for constructing a web service for executing the function using input data corresponding to the input data item included in the request made in accordance with the web service definition information generated by the web service definition information generation means Program to function as.
前記情報処理装置を、The information processing apparatus;
前記アプリケーションから出力される出力項目を管理するアプリケーション出力項目管理手段と、Application output item management means for managing output items output from the application;
前記アプリケーション出力項目管理手段により管理されている出力項目のうち、前記Webサービスが出力する出力データ項目として選択された出力項目に基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、Web service definition information generating means for generating Web service definition information based on an output item selected as an output data item output by the Web service among output items managed by the application output item management means. ,
前記機能を実行することによって、前記出力データ項目に対応する出力データを出力するWebサービスを構築するWebサービス構築手段Web service construction means for constructing a web service that outputs the output data corresponding to the output data item by executing the function
として機能させるためのプログラム。Program to function as.
前記情報処理装置を、The information processing apparatus;
前記アプリケーションに入力される入力項目を管理するアプリケーション入力項目管理手段と、Application input item management means for managing input items input to the application;
前記アプリケーションから出力される出力項目を管理するアプリケーション出力項目管理手段と、Application output item management means for managing output items output from the application;
前記アプリケーション入力項目管理手段により管理されている入力項目のうち、前記Webサービスに入力する入力データ項目として選択された入力項目と、前記アプリケーション出力項目管理手段により管理されている出力項目のうち、前記Webサービスが出力する出力データ項目として選択された出力項目とに基づいて、Webサービスの定義情報を生成するWebサービス定義情報生成手段と、Of the input items managed by the application input item management means, the input items selected as input data items to be input to the Web service and the output items managed by the application output item management means Web service definition information generating means for generating Web service definition information based on an output item selected as an output data item output by the Web service;
前記Webサービス定義情報生成手段により生成されたWebサービスの定義情報に従ってされた要求に含まれる、前記入力データ項目に対応する入力データを用いて前記機能を実行することによって、前記出力データ項目に対応する出力データを出力するWebサービスを構築するWebサービス構築手段Corresponding to the output data item by executing the function using the input data corresponding to the input data item included in the request made according to the Web service definition information generated by the Web service definition information generating unit Service construction means for constructing a web service that outputs output data to be output
として機能させるためのプログラム。Program to function as.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016130863 | 2016-06-30 | ||
JP2016130863 | 2016-06-30 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018089329A Division JP2018116751A (en) | 2016-06-30 | 2018-05-07 | Server, and processing method therefor, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018010631A JP2018010631A (en) | 2018-01-18 |
JP6332533B2 true JP6332533B2 (en) | 2018-05-30 |
Family
ID=60995585
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017129516A Active JP6332533B2 (en) | 2016-06-30 | 2017-06-30 | Information processing apparatus, processing method thereof, and program |
JP2018089329A Pending JP2018116751A (en) | 2016-06-30 | 2018-05-07 | Server, and processing method therefor, and program |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018089329A Pending JP2018116751A (en) | 2016-06-30 | 2018-05-07 | Server, and processing method therefor, and program |
Country Status (1)
Country | Link |
---|---|
JP (2) | JP6332533B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019153264A (en) * | 2018-03-05 | 2019-09-12 | キヤノンマーケティングジャパン株式会社 | Information processing apparatus, processing method of the same and program |
JP2019153265A (en) * | 2018-03-05 | 2019-09-12 | キヤノンマーケティングジャパン株式会社 | Information processing apparatus, processing method of the same and program |
JP7323755B2 (en) * | 2018-03-08 | 2023-08-09 | キヤノンマーケティングジャパン株式会社 | Information processing system, its control method and program |
JP7311740B2 (en) * | 2018-05-07 | 2023-07-20 | キヤノンマーケティングジャパン株式会社 | Information processing system, its control method, and program |
JP7117170B2 (en) | 2018-06-20 | 2022-08-12 | スタンレー電気株式会社 | light emitting device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004362185A (en) * | 2003-06-04 | 2004-12-24 | Hitachi Ltd | Method for creating program, execution device, and processing program |
US7747983B2 (en) * | 2005-04-18 | 2010-06-29 | Research In Motion Limited | System and method for generating a web service definition and database schema from wireless application definition |
US8375362B1 (en) * | 2006-11-28 | 2013-02-12 | Emc Corporation | Wizard for web service search adapter |
JP6002302B2 (en) * | 2014-09-17 | 2016-10-05 | キヤノンマーケティングジャパン株式会社 | Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program |
-
2017
- 2017-06-30 JP JP2017129516A patent/JP6332533B2/en active Active
-
2018
- 2018-05-07 JP JP2018089329A patent/JP2018116751A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JP2018010631A (en) | 2018-01-18 |
JP2018116751A (en) | 2018-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6332533B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP4185159B1 (en) | Application development support apparatus and program | |
WO2009116163A1 (en) | Application development support device, program and recording medium | |
TW201621719A (en) | Systems and methods for a metadata driven user interface framework | |
KR20140042537A (en) | Apparatus for writing mash-up using templete and method thereof | |
JP5716635B2 (en) | Electronic data management method, program, and electronic data management apparatus | |
JP6304433B2 (en) | Information processing apparatus, server, processing method thereof, and program | |
JP2013131107A (en) | Information process system, information processing unit, information processing method, and computer program | |
JP2019012469A (en) | Server, processing method thereof, and program | |
JP2020004423A (en) | Server, information processing device, processing method and program | |
JP2012123578A (en) | Information processing device, information processing method and computer program | |
JP7004930B2 (en) | Information processing equipment and its processing method and program | |
JP2018181073A (en) | Information processing apparatus, processing method thereof, and program | |
JP5716108B2 (en) | ONLINE SYSTEM, PROGRAM GENERATION DEVICE, AND SCREEN CONTROL PROGRAM GENERATION DEVICE | |
JP6128503B1 (en) | Program, server and system for providing services related to electronic manuals | |
JP2013164861A (en) | Online system, program creation device and screen control program creation device | |
JP7485894B2 (en) | Information processing device, information processing method, and program | |
JP6206463B2 (en) | Information processing apparatus, control method and program thereof, and information processing system, control method and program thereof | |
JP2017010485A (en) | Document system, information processing device, processing method thereof, and program | |
JP6697168B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP6264399B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP6730632B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP6256535B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP2007035021A (en) | Server device and data acquisition method | |
JP5831571B2 (en) | Information processing apparatus, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171128 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180126 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180403 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180416 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6332533 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |