JP2018005451A - Information processing device, information processing system, method for controlling the same, and program - Google Patents
Information processing device, information processing system, method for controlling the same, and program Download PDFInfo
- Publication number
- JP2018005451A JP2018005451A JP2016129839A JP2016129839A JP2018005451A JP 2018005451 A JP2018005451 A JP 2018005451A JP 2016129839 A JP2016129839 A JP 2016129839A JP 2016129839 A JP2016129839 A JP 2016129839A JP 2018005451 A JP2018005451 A JP 2018005451A
- Authority
- JP
- Japan
- Prior art keywords
- mapping file
- web service
- data
- file
- mapping
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
【課題】Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供すること【解決するための手段】Webサービス記述言語ファイルから取得された入出力の項目と、当該Webサービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶し、マッピングファイルを表示画面に表示し、マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、移動されたデータがデータモデルを示すデータか判定し、データモデルである場合には、マッピングファイル上のWebサービス記述言語ファイルから取得された入出力の項目と当該データモデルの項目とを対応付けたマッピングファイルを生成する【選択図】図6An object of the present invention is to provide a mechanism capable of easily mapping items related to a Web service. [MEANS FOR SOLVING PROBLEMS] Input / output items acquired from a Web service description language file and using the Web service When a mapping file that associates data model items referenced by the application is stored, the mapping file is displayed on the display screen, and a move operation that moves the data specified by the user operation to the display section of the mapping file is accepted In addition, it is determined whether or not the moved data is data indicating a data model. If the data model is a data model, the input / output items acquired from the Web service description language file on the mapping file correspond to the data model items. Generate attached mapping file [selection figure] Fig. 6
Description
本発明は、情報処理装置、情報処理システム、その制御方法及びプログラムに関する。 The present invention relates to an information processing apparatus, an information processing system, a control method thereof, and a program.
サーバで稼動するアプリケーションをクライアント装置のアプリケーションから呼び出して利用する仕組みとして、Webサービスが知られている。Webサービスとは、HTTP(HyperText Transport Protocol)などのインターネット関連技術を応用して、SOAP(Simple Object Access Protocol)と呼ばれるXML(Extensible Markup Language)形式のプロトコルを用いてメッセージの送受信を行うサービスのことである。 A web service is known as a mechanism for calling and using an application running on a server from an application on a client device. The Web service is a method of transmitting and receiving a message using an XML (Extensible Markup Language) format protocol called SOAP (Simple Object Access Protocol) by applying Internet-related technology such as HTTP (HyperText Transport Protocol). It is.
Webサービスを呼び出すWebサービスクライアント(クライアントアプリケーション)では、公開されているWSDL(Web Services Description Language/Webサービス用に公開されているWeb APIがどんなメソッドを公開しているか、アクセスすべきURIはどこか、渡すべきパラメータは何で、戻り値は何か、利用すべき名前空間は何か等の情報が記述されたXMLファイル)を元に生成されたプロキシクラスファイルを利用することが多い。プロキシクラスとは、クライアントにあって、サーバで動作するアプリケーションを、Web経由で、あたかもローカルのライブラリにアクセスするのと同じ要領でアクセスできる役割を担う、Webサービス呼び出しプログラムである。 In a Web service client (client application) that invokes a Web service, what method is disclosed by the publicly available WSDL (Web Services Description Language / Web service) and what URI is to be accessed In many cases, a proxy class file generated based on an XML file in which information such as what parameters are to be passed, what is a return value, and what namespace is to be used is described. The proxy class is a Web service calling program that plays a role in a client that can access an application running on a server via the Web in the same way as accessing a local library.
Webサービスの仕様が変更された場合、サーバで動作するアプリケーション(サーバアプリケーション)を利用するために公開されているWSDLも変更される。よって、WSDLから生成されるプロキシクラスを変更してクライアントアプリケーションで利用することになる。このWebサービスの変更に対して、WSDLの変更を検知し、プロキシクラスを自動的に変更する方法が特許文献1に記載されている。しかし、引用文献1の技術ではプロキシクラスを呼び出すクライアントアプリケーションプログラムについては動的な変更ができないため、ユーザがクライアントアプリケーションプログラムそのものを修正する手間が発生する。この手間を軽減すべく、特許文献2には、WSDLからマッピングファイルのテンプレートを生成し、ユーザの手動入力によるマッピング(データモデル定義のデータ項目と、WSDLに記述されているWebサービスのINPUT、OUTPUTの項目とを対応付ける処理)を行うことで、クライアントアプリケーションプログラムの変更なしにウェブサービスの享受を可能とする技術が公開されている。
When the specification of the Web service is changed, the WSDL that is published to use an application (server application) that runs on the server is also changed. Therefore, the proxy class generated from WSDL is changed and used in the client application. Japanese Patent Application Laid-Open No. 2004-228561 describes a method of detecting a WSDL change and automatically changing a proxy class in response to the change of the Web service. However, since the technique of the cited
特許文献2の技術では、マッピングファイルにデータモデルと呼ばれるデータ定義をテキストエディタのアプリケーションソフトウェア等を用いてマッピングファイルのテキストを表示し、手入力で必要な情報を書き込んで編集する必要があり、手間がかかる。
In the technique of
本発明は、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することを目的とする。 An object of the present invention is to provide a mechanism capable of easily mapping items related to a Web service.
本発明の情報処理装置は、Webサービス提供装置により提供されるWebサービスの入出力データを利用するためのWebサービス記述言語ファイルから取得された入出力の項目と、当該Webサービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置であって、前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成手段と、を備えることを特徴とする。 The information processing apparatus according to the present invention includes an input / output item acquired from a Web service description language file for using input / output data of a Web service provided by the Web service providing apparatus, and an application using the Web service. An information processing apparatus for storing a mapping file that correlates an item of a data model to be referred to, the display control unit for controlling the mapping file to be displayed on a display screen, and a display screen displayed by the display control unit A determination unit that determines whether the data subjected to the movement operation is data indicating a data model when the movement operation of moving the data designated by the user operation is received on the display unit of the mapping file; and the determination unit As a result, the data subjected to the moving operation indicates a data model. If the data is determined to be data, the input / output items acquired from the Web service description language file on the mapping file displayed on the display unit on which the movement operation has been performed, and the movement operation has been performed. Mapping file generating means for generating a mapping file that associates items of the data model with each other.
本発明によれば、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the mechanism which can perform the mapping of the item concerning Web service easily can be provided.
以下、図面を参照して、本発明の実施形態の一例について説明する。 Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.
<第1の実施形態>
まず、図1〜図11を参照して、本発明の第1の実施形態について説明する。
<First Embodiment>
First, a first embodiment of the present invention will be described with reference to FIGS.
本発明では、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供する。 The present invention provides a mechanism that allows easy mapping of items related to Web services.
例えば、ドラッグ&ドロップのような直感的なデータの移動操作により、マッピングファイルの更新を行うことのできる仕組みを提供する。 For example, a mechanism that can update a mapping file by an intuitive data movement operation such as drag and drop is provided.
まず図1を参照して、本発明の実施形態における、情報処理システムの構成の一例について説明する。 First, an example of the configuration of an information processing system in the embodiment of the present invention will be described with reference to FIG.
本発明の情報処理システムは、図1に示すように、プログラム開発PC100、PC101、アプリケーションサーバ200、Webサービス提供サーバ300等の各種装置が、WAN150(ワイドエリアネットワーク)等のネットワークを介して通信可能に接続され構成されている。
As shown in FIG. 1, in the information processing system of the present invention, various apparatuses such as a program development PC 100, PC 101,
プログラム開発PC100は、ユーザ操作により、プログラム開発PC上のプログラム開発アプリケーション(図4でいうアプリケーション生成部410)を自機上で動作させ、後述するフローチャートの各処理を実行する。 The program development PC 100 causes a program development application (an application generation unit 410 in FIG. 4) on the program development PC to operate on its own device by a user operation, and executes each process of a flowchart described later.
Webサービス提供サーバ300は、Webサービスの公開・提供と、当該Webサービスを外部装置・外部のアプリケーション(例:アプリケーションサーバ200上で動作するアプリケーション/Webサービスにとってのクライアントアプリケーション)利用させるためのWSDL(WEBサービス記述言語ファイル)を公開している。
The web service providing server 300 publishes / provides a web service and uses the web service as an external device / external application (for example, an application running on the
プログラム開発PC100は、Webサービス提供サーバにより提供されているWebサービスのWSDLを、WAN150を介してダウンロードして取得し、特開2011−059751号公報に記載の方法でマッピングファイルとプロキシクラス(Webサービス呼び出しプログラム)を生成する。また、ユーザ操作に応じて、自機に記憶されているデータモデル(データモデル定義ともいう)を用いた当該マッピングファイルの更新を行う。そして、マッピング後のマッピングファイルとWebサービス呼び出しプログラムをアプリケーションサーバに送信することで、アプリケーションサーバ上で動作するアプリケーション(Webアプリケーション)によるWebサービスの利用を可能にする(デプロイする)。
The program development PC 100 downloads and acquires the WSDL of the Web service provided by the Web service providing server via the
本実施形態におけるマッピングファイルとは、Webアプリケーション側(クライアントアプリケーション側)のデータモデルとWebサービスの入出力データ項目の対応付けをする対応付けファイルである。Webアプリケーション自身が管理する、そのWebアプリケーション専用に作成されたようなデータベースで利用されるデータモデルは、データベースのスキーマと完全に一致する。しかし、Webサービスを利用する仕組みにおいては、Webアプリケーションの用いるデータモデルはWebサービスの入出力データ項目と必ずしも一致しない。これは例えば当該WebアプリケーションとWebサービスを設計・管理する会社が違ったり、設計思想・データの管理ルールが異なったりする等の理由による。データモデルとWebサービスの入出力データ項目の対応付けを行うのがマッピングファイルの役割であり、データモデル項目をWebサービスの入力データ又は出力データ(WSDLによって公開されている入出力データ項目)に対応付けることをマッピングと呼ぶ。 The mapping file in this embodiment is an association file that associates the data model on the Web application side (client application side) with the input / output data items of the Web service. A data model used by a database managed by the web application itself and created exclusively for the web application completely matches the schema of the database. However, in a mechanism that uses a Web service, the data model used by the Web application does not necessarily match the input / output data items of the Web service. This is because, for example, the company that designs and manages the Web application and the Web service is different, or the design concept and data management rules are different. The mapping file is responsible for associating the data model with the input / output data items of the web service, and associates the data model item with the input data or output data of the web service (input / output data items published by WSDL). This is called mapping.
アプリケーションサーバ200は、例えばPC101等の外部装置からの操作指示に応じて処理・機能を実行するWebアプリケーションを備える。また、例えば引数のデータモデルをマッピングファイルを参照してWebサービス呼び出しプログラムに入力値(入力パラメータ)として決定し入力する。Webサービス呼び出しプログラムは、当該入力値をSOAPメッセージに変換してWebサービス提供サーバ300のWebサービスプログラムに送信し、応答とした得られた戻り値のデータモデルを、マッピングファイルにマッピングされたWebアプリケーションの扱うデータモデルに適用させて、Webアプリケーションに出力する。つまり、Webサービスの仕様(WSDLの仕様)が変更になった場合でも、Webアプリケーションプログラムを変更することなく、マッピングファイルを変更するだけでWebサービスの仕様変更に対応し、Webサービスを利用できるように構成されている。以上が図1の説明である。
The
次に図2を参照して、本発明の実施形態における、各種装置のハードウェア構成の一例について説明する。 Next, an example of the hardware configuration of various devices in the embodiment of the present invention will be described with reference to FIG.
図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。
In FIG. 2,
203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。
A
また、205は入力コントローラで、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、ディスプレイ210(例えばCRTディスプレイ)等の表示器への表示を制御する。なお、表示器はCRTディスプレイだけでなく、液晶ディスプレイ等の他の表示器であってもよい。これらは必要に応じてユーザが使用するものである。
An
207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。
A
208は通信I/Fコントローラで、ネットワーク(例えば、図1に示すWAN150やLAN151)を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。
A communication I /
なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ210上での表示を可能としている。また、CPU201は、ディスプレイ210上の不図示のマウスカーソル等でのユーザ指示を可能とする。
Note that the
本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられる定義ファイル及び各種情報テーブル等も、外部メモリ211に格納されており、これらについての詳細な説明も後述する。以上が図2の説明である。
Various programs to be described later for realizing the present invention are recorded in the
次に図3を参照して、本発明の実施形態におけるプログラム開発PCの機能構成の一例について説明する。301〜306の各機能は、プログラム開発PC100にインストールされているプログラム開発アプリケーションが備える機能である。プログラム開発PC100のCPU201は、当該プログラム開発アプリケーションの各機能を用いて、後述するフローチャートの処理を実行する。
Next, an example of a functional configuration of the program development PC in the embodiment of the present invention will be described with reference to FIG. The
マッピングファイル表示処理部301は、図10に示すようなマッピングファイル表示画面において、例えばユーザ操作に応じて、マッピングファイル表示部1009にマッピングファイルの情報を表示する処理部である。データモデル表示部302は、図10の1008に示すように、外部メモリから読み込んだデータモデル定義(図10でいう1001)を表示画面に表示する処理部である。移動操作受付部303は、マッピングファイル表示処理部301により表示されたマッピングファイルの編集部(図10の1002)に対する、ドラッグ&ドロップ操作等によるデータの移動操作を受け付ける。
The mapping file
データモデル判定部304は、移動操作がされた(ドラッグ&ドロップ操作がされた)データがデータモデル定義か判定する。マッピング対象項目決定部305は、移動操作がされたデータがデータモデル定義であった場合に、移動先の編集部1002に表示されているマッピングファイルの入出力データ項目(入力データ項目(INPUT)又は出力データ項目(OUTPUT))の項目名(識別情報の文字列)と、移動操作がされたデータモデル定義内の所定のデータ項目名との一致判定を行い、項目名が一致する項目同士を対応付ける、つまり、マッピングすることを決定する処理部である。マッピングファイル生成部306は、マッピング対象項目決定部305による決定に従って、対応付けると決定された項目同士をマッピングしたマッピングファイルを外部メモリ上に生成する。例えば、外部メモリに記憶されている、当該移動操作がされた先(編集部1002)に表示されているマッピングファイルの情報をメモリ上に読み出して、当該マッピングファイル内において、マッピング対象項目決定部305により決定された項目同士のマッピングを行い、上書き・更新することで、当該移動操作によるマッピング後のマッピングファイルを生成する。以上が図3の説明である。
The data
次に図4を参照して、本発明の実施形態における、各種装置の機能構成及びデータの所在について説明する。 Next, with reference to FIG. 4, the functional configuration of various apparatuses and the location of data in the embodiment of the present invention will be described.
図4は、本発明の実施形態における情報処理システムの、各種装置の構成図である。なお、図3の説明で前述した301〜306の説明は省略する。 FIG. 4 is a configuration diagram of various devices of the information processing system according to the embodiment of the present invention. In addition, description of 301-306 mentioned above in description of FIG. 3 is abbreviate | omitted.
プログラム開発PC100は、リポジトリ定義部400、アプリケーション生成部410、Webアプリケーション基盤コード生成部420、Webサービス呼び出しモジュール生成部430、マッピングファイル編集部440、ソースコードコンパイル部450を保持している。
The
リポジトリ定義部400は、アプリケーション定義401、入出力定義402、データモデル定義403、ビジネスプロセス定義404、拡張定義406、マッピングファイル407を備える。これらのファイルは、プログラム開発アプリケーションを介して開発者によって入力され、作成されて、プログラム開発PC100の外部メモリ上に記憶される。
The
すなわち、リポジトリ定義部400は、プログラムを実行するための引数として入力される項目を定義するWebアプリケーション用入力定義情報と、プログラムを実行した処理結果として出力する項目を定義するWebアプリケーション用出力定義情報とを、Webアプリケーション用入出力定義情報として管理する手段の一例である。ここでいうWebアプリケーションとは、アプリケーションサーバ200が保持するWebアプリケーション(図4では461)を指すものとする。
That is, the
次に、Webアプリケーション基盤コード生成部420について説明する。リポジトリ定義解析部421は、リポジトリ定義部400からアプリケーション定義401、入出力定義402、データモデル定義403、ビジネスプロセス定義404、拡張定義406、マッピングファイル407等を読み込み解析する。Webアプリケーションコード生成部422は、外部メモリ211に記憶されているコード生成ルールと、リポジトリ定義解析部421によって解析された内容とを用いて、ソースコードコンパイル部450を介し、Webアプリケーションモジュール(Webアプリケーションプログラム)を生成する。すなわち、Webアプリケーションコード生成部422は、Webアプリケーションに用いられるプログラムを生成するルールを記憶する手段の一例である。
Next, the Web application base
Webサービス呼び出しモジュール生成部430のWSDL解析部431は、Webサービス提供サーバ300からWSDLファイルをダウンロードしてメモリに記憶し、解析を行い、マッピングテンプレートファイル生成部432が、当該解析結果に基づいてマッピングファイルテンプレート(まだ、マッピングが完了していない、図8の800に示すようなマッピングファイル)を生成する。また、Webサービス呼び出しプログラム生成部433は、例えば特開2011−059751号公報にて公開されている手法を用いて、Webサービス呼び出しプログラム(Webサービス呼び出しモジュール)を生成し、メモリ上に記憶する。
The
マッピングファイル編集部440のマッピングファイルGUI(Graphic User Interface)表示部441は、図10等に示すマッピングファイル表示画面1000を表示する処理部であり、マッピングファイル表示処理部301と、データモデル表示部302を備える。301〜306の説明は、図3の説明で上述したため割愛する。データモデル定義受信部442は、マッピングファイル表示部1009(具体的には、図10の編集部1002)へのデータモデル定義のドラッグ&ドロップ操作に応じて、リポジトリ定義部400からデータモデル定義を取得してメモリに保持する。マッピング対象項目決定部305や、マッピングファイル生成部306は、メモリ上に保持されている当該データモデル定義を用いて、マッピングファイル上のWSDLから取得した入出力データ項目とデータモデルの項目名の一致判定、更新を行う。
The mapping file GUI (Graphical User Interface)
アプリケーションサーバ200のWebアプリケーション461は、ソースコードコンパイル部450によりコンパイルされたWebサービス呼び出しプログラムを受信して、保持し、Webサービス呼び出しプログラムを実行するWebサービス呼び出しプログラム実行部を備える。また、Webアプリケーション461は、ソースコードコンパイル部450によりコンパイルされた、Webアプリケーションコード生成部422により生成されたWebアプリケーションのプログラムを保持しており、その機能を実行可能である。以上が図4の説明である。
The
次に図5を参照して、本発明の実施形態における、WSDLの解析によるマッピングファイル及びWebサービス呼び出しプログラムの生成処理の流れについて説明する。図5は、例えば特開2011−059751号公報にて既に公開されている公知の技術の処理概要を説明する図である。 Next, with reference to FIG. 5, a flow of processing for generating a mapping file and a Web service calling program based on WSDL analysis according to the embodiment of the present invention will be described. FIG. 5 is a diagram for explaining an outline of processing of a known technique already disclosed in, for example, Japanese Patent Application Laid-Open No. 2011-059751.
図5の各処理は、プログラム開発PC100のCPU201が、図4に示すWebサービス呼び出しモジュール生成部の各機能(プログラム開発アプリケーションの一部の機能)を用いて実行する。
Each process in FIG. 5 is executed by the
まず、ステップS500において、プログラム開発PC100のWSDL解析部431は、ネットワーク(図1でいうWAN150)を経由して、Webサービス提供サーバ300に記憶され公開されているWSDLファイル700を取得して、メモリ上に展開する。
First, in step S500, the
WSDLファイルの一例を図7の700に示す。WSDLファイル(WSDLともいう)は、Webサービス提供サーバ300が提供しているWebサービスを、例えばアプリケーションサーバ200で動作するアプリケーションでも利用可能にするために公開されているファイルであり、WebサービスのWeb APIがどんなメソッドを公開しているか、アクセスすべきURIはどこか、渡すべきパラメータは何か、戻り値は何か、利用すべき名前空間は何か、等の情報が記述されたXMLファイルである。WSDLファイルは、プログラム開発PC100からのダウンロード要求に従ってWebサービス提供サーバ300がプログラム開発PC100に送信することで、プログラム開発PC100上にダウンロードされ記憶される。
An example of a WSDL file is shown at 700 in FIG. A WSDL file (also referred to as WSDL) is a file that is made available so that a web service provided by the web service providing server 300 can be used by, for example, an application running on the
次にステップS501で、WSDL解析部431は、読み込んだWSDLファイル700の内容を解析する。具体的にはWSDLファイルに記載されている(公開されている)要素([service]、[port]、[binding]、[portType]、[message]、[types]等)を、当該要素ごとに分類する。
In step S501, the
具体的には、図7に示すWSDLファイル700の場合、図7でいう702をオペレーション名と解釈して決定し、703をWebサービスの呼び出しに必要なINパラメータ(入力データ項目を含むパラメータ)として解釈して決定する。また、701をWebサービスが呼びだされた際のOUTパラメータ(戻り値として出力される出力データ項目を含むパラメータ)として解釈して決定する。これらの解釈は、WSDLファイル700の中に別途記載されている、例えば、
・<wsdl:operation name=“SLOC_JAVA_WSIO_getData”>に示されるオペレーション名
・<wsdl:input message=“axis2:SLOC_JAVA_WSIO_getDataRequest”・・・>に示される入力メッセージ
・<wsdl:output message=“axis2:SLOC_JAVA_WSIO_getDataResponse”・・・>に示される出力メッセージ
の文字列と、<types>内のエレメント名の文字列の一致判定によって行われる。(「JAVA」は登録商標)
Specifically, in the case of the WSDL file 700 shown in FIG. 7, 702 in FIG. 7 is determined by interpreting it as an operation name, and 703 is set as an IN parameter (a parameter including input data items) necessary for invoking the Web service. Interpret and decide. Further, 701 is interpreted and determined as an OUT parameter (a parameter including an output data item output as a return value) when the Web service is called. These interpretations are described separately in the WSDL file 700, for example,
・ <Wsdl: operation name = “SLOC_JAVA_WSIO_getData”> Operation name indicated by <wsdl: input message = “axis2: SLOC_JAVA_WSIO_getDataRequest”... ..> Is performed by determining whether the character string of the output message indicated by <> matches the character string of the element name in <types>. ("JAVA" is a registered trademark)
ステップS502で、マッピングファイル生成部はステップS501で解析した情報を元にマッピングテンプレートファイルを作成する。 In step S502, the mapping file generation unit creates a mapping template file based on the information analyzed in step S501.
マッピングファイルは、例えばアプリケーションサーバ200で動作するWebアプリケーションにWebサービス提供サーバ300の提供するWebサービスを利用させるために用いる、当該WebサービスのWSDL内の入出力データ項目と、Webアプリケーションの取り扱うデータモデルのデータ項目とを対応付ける(マッピングする)ファイルであるが、本実施形態において、ステップS502の時点において生成されるのは、図8の800に示すようなマッピングが完了していないマッピングファイル(マッピングテンプレートファイル)であるものとする。具体的には、マッピングされるデータモデルの識別情報を示すDMCODE(図8の805)、データモデル定義のデータ項目名を示すDITEM(図8の806)が入力されていないファイルである。
The mapping file is, for example, used for causing a Web application operating on the
図8に示すように、例えばname702(オペレーション名)はマッピングファイル800のname802(オペレーション名)に展開され、INパラメータ703はINパラメータ803(input)に、OUTパラメータ701はOUTパラメータ801(output)にそれぞれ挿入されている。804は、WSDLファイル700に記述されていた出力データ項目の項目名を示し、図7のname704の値が挿入されている。
As shown in FIG. 8, for example, name 702 (operation name) is expanded to name 802 (operation name) of the
ステップS503で、Webサービス呼び出しプログラム生成部433は、Webサービスを呼び出した場合に必要となるINパラメータ703やOUTパラメータ701の値を、マッピングファイル800(図8)の定義に従い、プログラム開発PC100の外部メモリに記憶されているデータモデル定義(例:アプリケーションサーバ200で実行するWebアプリケーションの機能や画面等により参照されるデータ項目の定義)とを紐付けて解釈し、WebサービスとWebアプリケーションの間で、WebサービスとWebアプリケーションそれぞれが解釈可能なように翻訳し、伝達・中継するWebサービス呼び出しプログラムを生成する。
In step S503, the Web service call
Webサービス呼び出しプログラムは、例えば、Webアプリケーションから受信した引数のデータ項目と対応付けられたマッピングファイル上の入力データ項目を特定し、Webサービスに対して当該引数を、当該入力データ項目の値として引き渡す。また、例えば、Webサービスから受信した戻り値のデータ項目(出力データ項目)のデータを、マッピングファイルにおいて当該出力データ項目に対応付けられているデータモデル定義上のデータ項目の値として、Webアプリケーションプログラムに対して出力・中継するプログラムである。以上が図5の説明である。 For example, the Web service calling program specifies an input data item on the mapping file associated with the argument data item received from the Web application, and passes the argument to the Web service as the value of the input data item. . Further, for example, the data of the return value data item (output data item) received from the Web service is used as the value of the data item on the data model definition associated with the output data item in the mapping file. Is a program that outputs and relays to The above is the description of FIG.
次に図6を参照して、本発明の実施形態における、マッピングファイルの編集処理の流れについて説明する。 Next, with reference to FIG. 6, the flow of the mapping file editing process in the embodiment of the present invention will be described.
図6の各処理は、プログラム開発PC100のCPU201が、図4に示すマッピングファイル編集部440の各機能(プログラム開発アプリケーションの一部の機能)を用いて実行する。
Each process of FIG. 6 is executed by the
ステップS601で、GUI表示部441はマッピングファイル(図8の800に図示)を開く命令・指示を受け付け、図10のようなGUI(マッピングファイル表示画面1000を表示画面に表示する。このとき、マッピングファイル表示処理部301が、指示されたマッピングファイルの情報をメモリ上に読み込んで、図10のマッピングファイル表示部1009に表示する(表示制御手段に該当)。
In step S601, the
また、データモデル表示部302は、例えばプログラム開発PC100の外部メモリに記憶されているデータモデル定義の定義ファイルを読み込んで、データ一覧表示部1008に選択可能に表示する。なお、データ一覧表示部1008は、データモデル定義に限らず、プログラム開発アプリケーションが管理する所定のフォルダ内のデータを、ユーザ操作により選択したり、コピー&ペーストやドラッグ&ドロップして他の表示領域へデータを移動させたりすることが可能なように一覧表示する表示部である。
Further, the data
マッピングファイルの情報のうち、name802(オペレーション名)はオペレーション名表示部1003に選択可能に一覧表示する。オペレーションとは操作の単位であり、オペレーション名表示部は操作一覧表示部である。階層構造表示部1007には、オペレーション名表示部1003で選択されているオペレーションのタグ(マッピングファイル内のタグ)の中の要素名を、マッピングファイル内の記述に従って、選択可能に階層構造形式で表示する(一覧表示制御手段に該当)。
Among the information of the mapping file, name 802 (operation name) is displayed in a list so as to be selectable on the operation
また、入力タブ1005の押下操作を受け付けることで、マッピングファイル内の<input・・・>の中の要素のうち、階層構造表示部1007において選択されている要素名の要素(INパラメータ803の入力データ項目)を特定し、編集部1002に表示する。また、出力タブ1004の押下操作を受け付けることで、マッピングファイル内の<output・・・>タグの中の要素の内、階層構造表示部1007において選択されている要素名の要素(OUTパラメータ801の出力データ項目)を特定し、編集部1002に表示する。なお、図10の編集部1002においては、階層構造表示部1007において要素名=「g」が選択されているため、マッピングファイル800における807のname=「g」のoutputの要素に絞り込んで各種出力データ項目を表示している。
Also, by accepting the pressing operation of the
ステップS602で、移動操作受付部303は、データ一覧表示部1008に表示されているデータモデル定義1001を、編集部1002へドラッグ&ドロップする操作を受け付ける。また、データモデル定義受信部442は、当該ドラッグ&ドロップの操作を受け付けることで、ドロップされたデータモデル定義をリポジトリ定義部400から受信して取得する。当該ドラッグ&ドロップの操作は、1002にドロップされたデータモデル定義の所定のデータ項目と、マッピングファイル内のWSDLの入力又は出力の所定のデータ項目とを対応付けるマッピング処理の実行を指示する操作である。なお、ここでは1001のデータモデル定義は、図9の901に示す項目・データを備える定義であり、実際にはXMLファイルとしてプログラム開発PC100の外部メモリ上に記憶されているファイルであるものとする。データモデル定義は、プログラム開発PC100の表示画面に表示される900のような画面で表示・編集可能である。
In step S <b> 602, the movement
ステップS603で、データモデル判定部304は、編集部1002にドロップされたのがデータモデル定義か判定する。つまり移動操作されたファイルがデータモデル定義のファイルか判定する。具体的には、ドロップされたことで取得したデータモデル定義1001のファイル(XMLファイル)をメモリ上に展開し、当該展開したデータモデル定義のファイル内部構造(タグの階層、要素名等)を読み取って、自機の外部メモリに予め記憶されているデータモデル定義の内部構造を示す情報と当該読み取ったファイルの内部構造(タグの階層、要素名等)が一致する場合に、ドロップされたファイルがデータモデル定義であると判定する。ドロップされたファイルがデータモデル定義ファイルでない場合は、図6の処理を終了する。
In step S <b> 603, the data
ドロップされたファイルがデータモデル定義ファイルである場合には、それ以降、ステップS604〜S605の処理を、ドロップ操作されたデータモデル定義1001(901)の項目数分だけ実行する。つまり、901に示す全ての項目コード902に対してステップS604〜S605の処理を実行する。
If the dropped file is a data model definition file, then the processing of steps S604 to S605 is executed for the number of items of the data model definition 1001 (901) that has been dropped. That is, the processing of steps S604 to S605 is executed for all
ステップS604で、マッピング対象項目決定部305は、データモデル定義901の項目コード902の値を1つ取得し、取得した値がマッピングの条件を満たすか判定する。マッピング条件とは、当該データモデル定義901の項目コード902と、マッピングファイル上のいずれの入出力データ項目を対応付けるかを判定し、決定するための判定条件・決定条件である。例えば、データモデル定義901の項目コード902からvalueの値を取得した場合、マッピングファイル800のname804にvalueの値があるか判定する。つまり、マッピングファイル800のname804に、データモデル定義901の項目コード902と一致する値があるか判定する。一致する値がある場合に、その値がマッピングの条件を満たすと判定し、当該一致する項目同士をマッピングする(対応付ける)ことを決定する。条件に合致するデータ項目がない場合は、当該データ項目についてはマッピングは行わないものとする。
In step S604, the mapping target
ステップS604のデータ項目名の一致判定では、文字列の完全一致の判定であるが、大文字・小文字の違いは無視するものとする。また、アンダーバーのような区切り文字は無視する。よって、例えばITEM_01とITEM01は値が一致すると判定し、マッピング対象であると判定・決定する。 The data item name match determination in step S604 is a complete match of character strings, but the difference between uppercase and lowercase letters is ignored. Also, delimiters such as underscores are ignored. Therefore, for example, ITEM_01 and ITEM01 determine that the values match, and determine / determine that they are mapping targets.
マッピング対象であると判定され、マッピング対象のデータ項目が決定された場合は、処理をステップS605に移行する。ステップS605では、マッピングファイル生成部306が、当該決定に従ってマッピングファイルの更新処理を行い、マッピングを行った項目のマッピングの結果を図10の1011のように表示する。例えば、ステップS604でマッピング対象であると判定された値が「value」の場合、図8に示すマッピングファイル800のDMCODE805に、ドロップ操作されたデータモデル定義1001(=図9の901)のDMCODEの値に従って、「g」の値を挿入し、また、DMITEM806に、ドロップ操作されたデータモデル定義901のDMITEMの値に従って、「value」の値を挿入して更新(記憶)する処理を行う。つまり、データモデル定義のデータ項目と、WebサービスのWSDLに公開されているデータ項目とのマッピングを行う。
When it is determined that the data is to be mapped and the data item to be mapped is determined, the process proceeds to step S605. In step S605, the mapping
ここでは、編集部1002に表示中の項目についてマッピングを行う。つまり、マッピングファイル表示部1009に表示されているマッピングファイル上の、オペレーション名表示部1003で選択されていない他のオペレーションや、選択中のオペレーションのうち、階層構造表示部1007で選択されていない他の要素内のデータ項目については、そもそもドロップされたデータモデル定義のデータ項目名(DMITEM)と、マッピングファイル上のWSDLのデータ項目名(name804)の一致判定は行わず、マッピングしない。よって、図10によれば、マッピングファイル800の中の、1007で選択されている「g」の出力データ項目(name804)に対応するDMCODE805、DMITEM806が更新される。
Here, mapping is performed for the item currently displayed in the
マッピング後のマッピングファイルの一例を図8の810に示す。また、マッピング結果の表示の一例を図10のマッピング後のマッピングファイル表示画面1010における1011に示す。マッピング後のマッピングファイルは、マッピングファイル生成部306により、プログラム開発PC100の外部メモリにおけるリポジトリ定義部400に記憶される。
An example of the mapping file after mapping is shown at 810 in FIG. An example of the display of the mapping result is shown at 1011 in the mapping file display screen 1010 after mapping in FIG. The mapping file after mapping is stored in the
これにより、WSDLファイルとデータモデル定義が対応付けられる(つまり、WSDLの示すWebサービスの入出力データ項目とクライアントアプリケーション側のデータモデル定義のデータ項目とが対応付けられる)。よって、例えば、Webサービスからの戻り値の中におけるOUTパラメータとして記述された出力データ項目内のデータを、マッピングファイルにおいて当該OUTパラメータの出力データ項目に対応付けられているデータモデルのデータ項目の値として、Webサービス呼び出しプログラムからWebアプリケーションプログラムに出力することが可能になり、例えばWebアプリケーションの提供するWebアプリケーション画面において当該データ項目(データモデル定義により定義されているデータの項目)の値を表示する表示部に、Webサービスからの戻り値の中におけるOUTパラメータのうち当該データ項目に対応する出力データ項目(例えばname804)の値を表示することができるようになる。 As a result, the WSDL file and the data model definition are associated (that is, the input / output data item of the Web service indicated by the WSDL and the data item of the data model definition on the client application side are associated). Therefore, for example, the data item value of the data model associated with the output data item of the OUT parameter in the mapping file is the data in the output data item described as the OUT parameter in the return value from the Web service. Can be output from the Web service calling program to the Web application program. For example, the value of the data item (data item defined by the data model definition) is displayed on the Web application screen provided by the Web application. The value of the output data item (for example, name 804) corresponding to the data item among the OUT parameters in the return value from the Web service can be displayed on the display unit.
図11にでは、例えばWebアプリケーション画面1100(アプリケーションサーバ200が生成してPC101に画面情報を送信し、PC101に表示されている画面)において検索ボタンが押下されることで、DMITEM=Valueの値をWebサービス提供装置300の有するデータベースから取得する要求をWebサービスに送信し、Webサービスから1110に示すような戻り値を受信して、Webアプリケーション画面1100を1120の状態に更して表示する様子を示している。図11では当該要求の中に検索キーの文字列は含めないことで、イテレーション、言語、種別、ステップ数に該当するデータベース内の値を全て要求している。
In FIG. 11, for example, when the search button is pressed on the Web application screen 1100 (the screen generated by the
実際には、Webサービス呼び出しプログラムが、Webアプリケーションからの要求に含まれるデータモデルのデータ項目名を、マッピングファイルを参照して特定し、当該データ項目名に対応付けられたWebサービス用の入力データ項目名(name804)を特定して、name804の値の検索要求をWebサービスに送信する。例えばValueの値の要求を、valueの値の要求に置き換えて送信する。Webサービスは当該要求を受け付け、データベース内のname804の値(例えば、valueの値)を取得して、戻り値1110として返信する。戻り値を受信したWebサービス呼び出しプログラムは、戻り値の示す出力データ項目名を取得し、マッピングファイルを参照して対応するデータモデル定義のデータ項目を特定して、戻り値の値を、当該特定したデータ項目の値としてWebアプリケーションに出力する。例えば、戻り値の中のvalueの値をValueの値として置き換えて、Webアプリケーションに出力する。Webアプリケーションは、Webサービス呼び出しプログラムから受信したValueの値を、Webアプリケーション内においてValueの値を挿入して表示するボックスとして定義されている1101に挿入して、画面を1100から1120の状態に更新し、表示している。
Actually, the Web service calling program specifies the data item name of the data model included in the request from the Web application with reference to the mapping file, and the input data for the Web service associated with the data item name The item name (name 804) is specified, and a search request for the value of
マッピング対象のデータ項目が場合は、マッピングファイルの更新は行わず、ドロップ操作されたデータモデル定義1001の項目数分ステップS604〜S605の処理を実行済みの場合には図6の処理を終了する。まだ、ドロップ操作されたデータモデル定義901(図10の1001)の項目数分ステップS604〜S605の処理を実行していない場合には、処理をステップS603に戻し、当該データモデル定義901の未処理のデータ項目を取得してステップS604、S605の処理を実行する。
If there is a data item to be mapped, the mapping file is not updated. If the processing of steps S604 to S605 has been executed for the number of items of the
なお、マッピングファイル表示処理部301は、図8の810に示すように、マッピング後のDMCODE、DMITEMの値(ドロップされたデータモデル定義のマッピング対象項目名)を、それぞれマッピングしたnameの行に挿入して更新結果として表示する。
Note that the mapping file
また、マッピングファイル表示処理部301は、マッピングがされ、編集された行には、図10の1010に示すように、マッピングがされた項目を識別するための識別オブジェクト1012を当該項目の隣に対応付けて表示する。これは必ずしもオブジェクトである必要はなく、例えばマッピングがされた項目を識別する文字であってもよい。
Further, the mapping file
また、マッピングファイル表示処理部301は、マッピングがされた項目を含むオペレーションを識別するための識別1013を、当該オペレーションに対応付けて表示する。これは必ずしもオブジェクトである必要はなく、例えばマッピングがされた項目を含むオペレーションを識別する文字であってもよい。以上が図6の説明である。
Further, the mapping file
以上説明したように、本発明の第1の実施形態によれば、Webサービスにかかる項目のマッピングを容易に行うことができる。 As described above, according to the first embodiment of the present invention, it is possible to easily map items related to a Web service.
例えば、図6の処理により、ドラッグ&ドロップのような直感的な操作で、マッピングファイルの更新・マッピングの実行をすることができる。 For example, the processing of FIG. 6 allows the mapping file to be updated and mapped by an intuitive operation such as drag and drop.
<第2の実施形態> <Second Embodiment>
図12、図13を参照して、本発明の第2の実施形態について説明する。第1の実施形態と共通する処理、データ、画面の説明は省略する。 A second embodiment of the present invention will be described with reference to FIGS. Descriptions of processes, data, and screens common to the first embodiment are omitted.
第2の実施形態では、マッピングの条件の設定を容易にし、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することを目的とする。 The second embodiment aims to provide a mechanism that facilitates the setting of mapping conditions and allows easy mapping of items related to Web services.
例えば、マッピングの条件をわざわざ不図示の設定画面をユーザの手動操作により開いて、編集させる手間を軽減することで、マッピングの条件の設定を容易にし、且つマッピング作業の自由度を確保することができる。 For example, it is possible to facilitate the setting of the mapping condition and secure the freedom of the mapping work by reducing the trouble of manually opening and editing the setting screen (not shown) for the mapping condition. it can.
図12の処理は、図6のステップS603で、ドロップされたデータがデータモデル定義であると判定された場合に、プログラム開発PC100のCPU201によって実行される。
The process in FIG. 12 is executed by the
ステップS1201で、データモデル判定部304は、プログラム開発PC100の外部メモリに設定変更可能に記憶されている不図示の設定情報を参照し、データモデルのマッピング条件選択画面(図13の1301に図示)の表示設定がONに設定されているか判定する。OFFになっている場合は図12の処理を終了し、処理を図6のステップS604へ移行して、未処理の項目全てに対してステップS604〜S605の処理を適用する。
In step S1201, the data
データモデルのマッピング条件選択画面(図13の1301に図示)の表示設定がONに設定されている場合は、処理をステップS1202に移行する。ステップS1202では、データモデル判定部304は、図13のマッピング条件選択画面1301を表示画面に表示する(選択画面表示制御手段に該当)。
If the display setting of the data model mapping condition selection screen (shown in 1301 of FIG. 13) is set to ON, the process proceeds to step S1202. In step S1202, the data
マッピング条件選択画面1301は、複数のマッピング条件(図6のステップS604で用いる一致判定の条件)を、外部メモリから読み出して選択可能に表示する画面であり、ステップS604の一致判定に用いる条件をユーザに選択させるための画面である。 The mapping condition selection screen 1301 is a screen for reading a plurality of mapping conditions (matching determination conditions used in step S604 in FIG. 6) from the external memory and displaying them in a selectable manner. The conditions used for the matching determination in step S604 are displayed by the user. This is a screen for letting you select.
ステップS1203で、データモデル判定部304は、マッピング条件の選択及び決定(「OK」ボタンの押下)の操作を受け付けると、「OK」ボタンが欧化された時点で選択されていた条件を、ステップS604で一致判定に用いるマッピング条件として決定し、ステップS604で採用する条件としてメモリ上に記憶する。その後、処理をステップS604に移行する。ステップS604では、マッピング対象項目決定部305が、ステップS1203で決定されてメモリ上に記憶されたマッピング条件(一致していると判定する条件)を用いて、ステップS604の実行に際して取得したデータモデル定義901の項目コード902と一致するname804の値があるかを判定する。図13の1301によれば、あいまい一致の条件(例えば一致判定の対象文字列が部分一致しているだけでも、それらの文字列が一致していると判定する条件)に基づいて、ステップS604の一致判定を行う。
In step S1203, when the data
以上説明したように、本発明の第2の実施形態によれば、マッピングの条件の設定を容易にし、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することができる。 As described above, according to the second embodiment of the present invention, it is possible to provide a mechanism that facilitates the setting of mapping conditions and enables easy mapping of items related to Web services.
例えば、データモデル定義のドラッグアンドドロップに応じて、マッピング条件の選択が画面を表示するようにすることで、マッピングの条件をわざわざ不図示の設定画面をユーザの手動操作により開いて編集させる手間を軽減し、マッピングの条件の設定を容易にし、且つマッピング作業の自由度を確保することができる。 For example, by selecting the mapping condition to display a screen in response to drag and drop of the data model definition, the user has to manually open a setting screen (not shown) and edit the mapping condition. It is possible to reduce, facilitate the setting of mapping conditions, and secure the degree of freedom of mapping work.
<第3の実施形態> <Third Embodiment>
次に、図14〜図18を参照して、本発明の第3の実施形態について説明する。第1の実施形態及び第2の実施形態と共通する処理、データ、画面の説明は省略する。 Next, a third embodiment of the present invention will be described with reference to FIGS. Descriptions of processes, data, and screens that are common to the first and second embodiments are omitted.
第3の実施形態では、辞書データを用いて対応する項目特定し、マッピングする候補として表示画面に表示してユーザに選択させることで、Webサービスにかかる項目のマッピングを容易にする仕組みを提供することを目的とする。 In the third embodiment, a corresponding item is specified using dictionary data, displayed on a display screen as a candidate for mapping, and allowed to be selected by a user, thereby providing a mechanism that facilitates mapping of items related to a Web service. For the purpose.
候補を提示してユーザに選択させることで、ユーザの意図しないマッピングが自動で行われる可能性を減じ、且つ、完全一致しない項目同士のマッピングを容易に行わせることができるようになり、ユーザの手間を軽減することができる。 By presenting candidates and allowing the user to select, the possibility that mapping unintended by the user is automatically performed is reduced, and mapping of items that do not completely match can be easily performed. Time and effort can be reduced.
まず図14について説明する。図14は、辞書データの登録処理の流れを示す。 First, FIG. 14 will be described. FIG. 14 shows the flow of dictionary data registration processing.
ステップS1401の時点では、図10の1010のような画面が表示されているものとする。ステップS1401で、プログラム開発PC100のCPU201は、データモデルコード又はデータモデル項目の新規入力、入力変更の操作を受け付け、メモリ上に入力された値を保持し、1002の対象セルに入力された値を表示する。
Assume that a screen such as 1010 in FIG. 10 is displayed at the time of step S1401. In step S1401, the
ステップS1402では、入力された値をマッピングファイルに保存し、マッピングファイルを更新する操作を受け付けたか判定する。例えば、1010上の不図示の「保存」ボタンの押下によるマッピングファイルの保存操作や、入力タブ1005、出力タブ1004の押下によるタブの切り替え操作を受け付けた場合に、入力された値をマッピングファイルに保存してマッピングファイルを更新する操作を受け付けたと判定する。
In step S1402, the input value is stored in the mapping file, and it is determined whether an operation for updating the mapping file has been accepted. For example, when a mapping file saving operation by pressing a “save” button (not shown) on 1010 or a tab switching operation by pressing the
保存・更新の操作を受け付けた場合は、ステップS1403で、入力・編集されている全てのセルの値が、入力・編集されたセルに対応する(同じ行の)プロパティ名(name804)と同じか判定する。同じであれば、わざわざ辞書を作成する必要がないので処理を終了する。 If a save / update operation is accepted, in step S1403, whether the values of all input / edited cells are the same as the property name (name 804) corresponding to the input / edited cell (in the same row). judge. If they are the same, it is not necessary to create a dictionary.
値が異なるセルがある場合には、当該セル内の値を取得して、対応するname804の値と対応付けて辞書データに登録する(ステップS1405)。辞書データが未生成の場合には、プログラム開発PC100の外部メモリ上に辞書データを生成してから登録する(ステップS1404)。辞書データの一例を図15に示す(辞書データ記憶手段に該当)。 If there is a cell having a different value, the value in the cell is acquired and registered in the dictionary data in association with the value of the corresponding name 804 (step S1405). If the dictionary data has not been generated, the dictionary data is generated and registered on the external memory of the program development PC 100 (step S1404). An example of dictionary data is shown in FIG. 15 (corresponding to dictionary data storage means).
図15の辞書データは、図10の1010でいう、プロパティ名=typeに対応するデータモデル項目コードのセルに、categoryと入力してマッピングファイルを更新した場合に生成される辞書データの一例である。以上が図14の説明である。 The dictionary data in FIG. 15 is an example of dictionary data generated when the mapping file is updated by inputting category in the cell of the data model item code corresponding to property name = type, which is 1010 in FIG. . The above is the description of FIG.
次に図16を参照して、辞書データを用いたマッピングファイル編集処理の流れについて説明する。 Next, the flow of the mapping file editing process using dictionary data will be described with reference to FIG.
図16の処理は、図6のステップS603で、ドロップされたデータがデータモデル定義であると判定された場合に、プログラム開発PC100のCPU201によって実行される。
The process in FIG. 16 is executed by the
ステップS1601で、マッピングファイル生成部306は、図15の辞書データを取得し、ステップS1602〜S1606の処理を、ドロップされた先のプロパティ名の数だけ実行する。
In step S1601, the mapping
ステップS1602で、マッピングファイル生成部306は、ドロップされた編集部1002に表示されているname804(プロパティ名)の値を1つ取得し、当該値と一致するデータモデルのDMITEM又は辞書のプロパティ名があるか判定する。一致する値がある場合には当該一致する値をメモリ上に記憶して、処理をステップS1603に移行する。
In step S1602, the mapping
ステップS1603で、マッピングファイル生成部306は、ステップS1602で取得した編集部1002に表示中のプロパティ名が、ドロップされたデータモデルのDMITEMと辞書データのプロパティ名の両方に一致しているか判定する。一致しているのが一方であり、1つの組み合わせのみの場合は処理をステップS1604に移行し、一致した値同士をマッピングする(ステップS605の処理と同じ)。一方、ドロップされたデータモデルのDMITEMと辞書データのプロパティ名の両方に一致している場合、処理をステップS1605に移行する。
In step S1603, the mapping
ステップS1605では、マッピングファイル生成部306は、一致した値のうち、ドロップされたデータモデルのDMITEMを、1002のプロパティ名と対応付けるマッピング処理を行う。そして、ステップS1606で、当該プロパティ名と一致した辞書データのプロパティ名に対応するデータモデル項目コードを特定して取得し、当該プロパティ名と対応付けてメモリ上に保持する。1002の全てのプロパティ名に対してステップS1602〜S1606の処理を適用した後、処理をステップS1607に移行する。
In step S <b> 1605, the mapping
ステップS1607で、マッピングファイル生成部306は、図17の1701に示すように、ステップS1603で複数一致したプロパティ名に対応するデータモデル項目コードの表示セルを識別表示する。
In step S1607, the mapping
ステップS1608で、当該セルのクリック操作(指定)を受け付けると、ステップS1609で図17に示すような選択画面1711を表示する。選択画面1711は、辞書データによって、1002に表示中のプロパティ名と対応すると特定された(辞書データ上で1002に表示中のプロパティ名と対応付けて記憶されていると特定された)データモデル項目コード(DMITEM)を選択候補として表示し(候補表示制御手段に該当)、選択を受け付けることで選択画面1711に対応するセル(図17でいう1701)に選択された値を挿入可能な画面である。
When a click operation (designation) of the cell is accepted in step S1608, a
ステップS1610で、マッピングファイル生成部306は、選択画面1711において、辞書データによって特定されたデータモデル項目コード(図17でいう「category」)の選択操作を受け付けたか判定して、「category」の選択操作を受け付けた場合には、プロパティ名=typeと、DMITEM=categoryとをマッピングファイル上で対応付けて更新する(ステップS1611)。「category」の選択操作を受け付けなかった場合には処理を終了する。
In step S1610, the mapping
以上説明したように、本発明の第3の実施形態によれば、辞書データを用いて対応する項目特定し、マッピングする候補として表示画面に表示してユーザに選択させることで、Webサービスにかかる項目のマッピングを容易にする仕組みを提供することができる。 As described above, according to the third embodiment of the present invention, a corresponding item is specified using dictionary data, displayed on a display screen as a candidate for mapping, and selected by a user to be applied to a Web service. A mechanism that facilitates mapping of items can be provided.
例えば、候補を提示してユーザに選択させることで、ユーザの意図しないマッピングが自動で行われる可能性を減じ、且つ、完全一致しない項目同士のマッピングを容易に行わせることができるようになり、ユーザの手間を軽減することができる。 For example, by presenting candidates and allowing the user to select, it is possible to reduce the possibility that mapping that is not intended by the user is automatically performed, and to easily perform mapping between items that do not completely match, User trouble can be reduced.
なお、上述した第3の実施形態の説明においては、ステップS1605でまず、ドロップされたデータモデルのDMITEMの値を辞書のデータモデル項目コードの値に優先してマッピングするようにしたが、例えば、どちらの値もマッピングせずに、一致した1002のプロパティ名と対応付けてメモリ上に記憶しておき、ステップS1607で図18の1800における選択画面1801のような画面を表示して、一致した値のいずれかをユーザに選択させてマッピングするようにしてもよい。こうすることで、複数の値と一致したプロパティ名のマッピングについては、確実にユーザに指示を仰ぎ、適切なマッピングを容易に行うことができるようになる。
In the description of the third embodiment described above, first, in step S1605, the DMITEM value of the dropped data model is mapped in preference to the data model item code value of the dictionary. Neither value is mapped and stored in the memory in association with the matched 1002 property name. In step S1607, a screen such as the
<第4の実施形態> <Fourth Embodiment>
従来、同一テーブルに対するCRUDを全て呼び出す必要がある場合等においては、同じデータモデルへのマッピングを複数回行う必要があった。例えば同じデータモデルを用いるオペレーションが2つ以上ある場合(データ一覧画面の表示のためのデータ検索オペレーションと、一覧から選択されたデータの詳細画面表示のためのデータ検索オペレーション等)は、扱うデータモデルが同じであるにも関わらず、マッピングファイル内のそれぞれのオペレーションタグ下において、それぞれテキスト編集を行ってマッピングを行う必要があり作業負荷が高かった。 Conventionally, when it is necessary to call all CRUDs for the same table, mapping to the same data model has to be performed a plurality of times. For example, if there are two or more operations that use the same data model (such as a data search operation for displaying a data list screen and a data search operation for displaying a detailed screen of data selected from the list), the data model to handle Despite being the same, under each operation tag in the mapping file, it was necessary to perform mapping by editing text, which was a heavy workload.
第1の実施形態においてデータモデル定義のドラッグ&ドロップ操作によりマッピングが可能となったことから、マッピングファイルのテキストを手入力で編集する作業の手間や、同じ情報を複数回入力・編集しなければならない(同じ作業を繰り返さなければならない)ことによる精神的な負荷・疲労は減じることができるが、ドラッグ&ドロップの操作は複数回行う必要がある。 In the first embodiment, since mapping is possible by the drag and drop operation of the data model definition, it is necessary to manually edit the text of the mapping file or to input / edit the same information multiple times. You can reduce the mental load and fatigue caused by not having to repeat the same work, but drag and drop operations must be performed multiple times.
第4の実施形態では、複数のマッピングファイル内の項目に対して、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することを目的とする。 In the fourth embodiment, an object is to provide a mechanism capable of easily mapping items related to a Web service to items in a plurality of mapping files.
第1〜第3の実施形態と共通する処理、データ、画面の説明は省略する。 Descriptions of processes, data, and screens common to the first to third embodiments are omitted.
マッピングファイル生成部306は、ステップS605の処理を全て完了した後、データモデルがドロップされた編集部1002のプロパティ名(name804)の一覧と同一のプロパティ名の一覧を有するオペレーションを特定して、当該特定されたオペレーションの各プロパティ名(name804)に、S605で対応付けられたDMITEMと同じDMITEMの値をそれぞれ対応付けてマッピングファイルを更新する。
After completing all the processing in step S605, the mapping
つまり、1回のデータモデルのドラッグ&ドロップ操作により、複数のオペレーションにかかるマッピングを行うことができる。 In other words, a plurality of operations can be mapped by one drag and drop operation of the data model.
以上説明したように、本発明の第4の実施形態によれば、複数のマッピングファイル内の項目に対して、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することができる。 As described above, according to the fourth embodiment of the present invention, it is possible to provide a mechanism that can easily map items related to a Web service to items in a plurality of mapping files. .
以上説明したように、Webサービスにかかる項目のマッピングを容易に行うことのできる仕組みを提供することができる。 As described above, it is possible to provide a mechanism that can easily map items related to a Web service.
尚、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、1つの機器からなる装置に適用してもよい。 It should be noted that the present invention can be implemented as, for example, a system, apparatus, method, program, or storage medium, and can be applied to a system composed of a plurality of devices. You may apply to the apparatus which consists of one apparatus.
例えば上述した実施形態においては、プログラム開発PC100がデータモデル定義やのプログラム開発アプリケーションを記憶し、図5及び図6の処理を実行して、各種画面を表示するものとしたが、例えば別途、不図示のプログラム開発サーバをプログラム開発PC100と通信可能なようにネットワーク上に設置し、上述した図5及び図6の処理を当該プログラム開発サーバのCPU201に実行させ、プログラム開発PC100は、プログラム開発サーバが生成し、当該プログラム開発サーバから受信した各種画面(HTML)をウェブブラウザ経由で表示、ユーザに閲覧・操作するように構成してもよい。この場合、例えばドラッグ&ドロップの操作はプログラム開発PC100が受け付けて、当該ドロップ&ドロップ操作がされたデータの識別情報と、ドロップされた画面上の領域(例えば1002の識別情報)をプログラム開発サーバに送信し、プログラム開発サーバがどのデータがどの領域にドロップされたかを検知して、ドロップされたデータモデル定義か否かの判定、マッピングファイルの更新処理を行う。
For example, in the embodiment described above, the
また、上述した実施形態においては、アプリケーションサーバ200で動作するアプリケーションは、WAN150を介してPC101に機能を提供するWebアプリケーションとしたが、これに限定するものではなく、例えば携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。
In the above-described embodiment, the application running on the
また、アプリケーションサーバ200とプログラム開発PC100は別個の筐体として説明したが、1つの筐体であってもよい。例えば、図4に示すアプリケーションサーバ200の構成をプログラム開発PC100が備え、上述した実施形態においてアプリケーションサーバ200のWebアプリケーション、Webサービス呼び出しプログラムが実行するとして説明した処理の全てをプログラム開発PC100のCPU201が実行するようにしてもよい。
Moreover, although the
また、データモデル定義や、マッピング後のマッピングファイルを、プログラム開発PC100の外部メモリではなく、プログラム開発PC100とネットワークを介して通信可能に接続された、不図示のデータベースサーバの外部メモリに記憶させるようにしてもよい。つまり、リポジトリ定義部400を別筐体において機能させるようにしてもよい。
In addition, the data model definition and the mapping file after mapping are stored not in the external memory of the
なお、上述した第1〜第4の各種実施形態の発明(発明を実現するための図12、図14、図16の処理等)は、他の実施形態の発明(発明を実現するための図12、図14、図16の処理等)と、それぞれ自由に組み合わせ可能であるものとする。 Note that the inventions of the first to fourth embodiments described above (the processes of FIGS. 12, 14, and 16 for realizing the invention, etc.) are the inventions of other embodiments (the figures for realizing the invention). 12, FIG. 14, FIG. 16, etc.) can be freely combined.
また、上述した実施形態においては、ドラッグ&ドロップの操作(データの移動操作)に応じて、既存のマッピングファイルを更新するものとしたが、例えば、マッピングがされたマッピングファイルを新たに生成して外部メモリに記憶するようにしてもよい。例えば、データモデルのドロップがされた場合に、ドロップされた表示部に表示されているマッピングファイルを所定の記憶領域にコピーして、当該コピーされたマッピングファイルに対してマッピング・更新をかけることで実現可能である。 In the above-described embodiment, the existing mapping file is updated according to the drag and drop operation (data movement operation). For example, a mapping file that has been mapped is newly generated. You may make it memorize | store in an external memory. For example, when a data model is dropped, the mapping file displayed in the dropped display unit is copied to a predetermined storage area, and the copied mapping file is mapped and updated. It is feasible.
また、上述した実施形態においては、データの移動操作=ドラッグ&ドロップの操作としたが、例えば、データをコピーし、編集部1002にマウスカーソルを合わせた状態でマウスの右クリック及びペースト等の操作を受け付けることにより、(テキストを直接編集するのではなく)ユーザにより指定されたデータの編集部1002への移動操作を受け付けたと判定してもよい。
In the above-described embodiment, the data movement operation is the drag and drop operation. For example, the data is copied and the mouse cursor is moved to the
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に直接、或いは遠隔から供給するものを含む。そして、そのシステム或いは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。 Note that the present invention includes a software program that implements the functions of the above-described embodiments directly or remotely from a system or apparatus. The present invention also includes a case where the system or the computer of the apparatus is achieved by reading and executing the supplied program code.
したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。 Examples of the recording medium for supplying the program include a flexible disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, and CD-RW. In addition, there are magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R), and the like.
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、前記ホームページから本発明のコンピュータプログラムそのもの、若しくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。 As another program supply method, a browser on a client computer is used to connect to an Internet home page. The computer program itself of the present invention or a compressed file including an automatic installation function can be downloaded from the homepage by downloading it to a recording medium such as a hard disk.
また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、ダウンロードした鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. Let It is also possible to execute the encrypted program by using the downloaded key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 Further, the functions of the above-described embodiments are realized by the computer executing the read program. In addition, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can also be realized by the processing.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現される。 Further, the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.
尚、前述した実施形態は、本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。
即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。
The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto.
That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
100 プログラム開発PC
101 PC
150 WAN
151 LAN
200 アプリケーションサーバ
300 ウェブサービス提供サーバ
100 program development PC
101 PC
150 WAN
151 LAN
200 Application server 300 Web service providing server
本発明の情報処理装置は、Webサービスの入出力の項目と、当該Webサービスを利用するアプリケーションが参照するデータモデルの項目と、を対応付けるマッピングファイルを記憶する記憶手段を備える情報処理装置であって、前記データモデルの指定を受け付ける指定受付手段と、前記指定受付手段により指定を受け付けたデータモデルの項目と前記入出力の項目とを対応付けるための指示を受け付けたことに応じて、当該データモデルの項目と当該入出力の項目とを対応付けたマッピングファイルを生成するマッピングファイル生成手段と、を備えることを特徴とする。 The information processing apparatus of the present invention, there in the information processing apparatus comprising: a input and output items in the W eb service, an item of data model application references to use the Web service, a storage means for storing a mapping file that associates In response to receiving an instruction for associating the designation of the data model with the designation accepting unit, and the data model item accepted by the designation accepting unit and the input / output item. And mapping file generation means for generating a mapping file in which the item and the input / output item are associated with each other.
Claims (12)
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成手段と、
を備えることを特徴とする情報処理装置。 The input / output items acquired from the Web service description language file for using the input / output data of the Web service provided by the Web service providing apparatus, and the items of the data model referred to by the application using the Web service An information processing apparatus for storing a mapping file to be associated,
Display control means for controlling the mapping file to be displayed on a display screen;
When a moving operation for moving data designated by a user operation is received on the display section of the mapping file on the display screen displayed by the display control means, the data that has been moved is converted into a data model. Determining means for determining whether the data is indicated;
When the determination unit determines that the data subjected to the movement operation is data indicating a data model, the Web service description language on the mapping file displayed on the display unit subjected to the movement operation Mapping file generation means for generating a mapping file in which the input / output items acquired from the file are associated with the items of the data model on which the movement operation has been performed;
An information processing apparatus comprising:
を備え、
前記表示制御手段は、前記一覧表示制御手段により表示され選択されたオペレーションにかかる前記Webサービス記述言語ファイルから取得された入出力の項目を表示し、
前記マッピングファイル生成手段は、前記移動操作がされた表示部に表示されている、選択中のオペレーションの前記入出力の項目について、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成することを特徴とする請求項1又は2に記載の情報処理装置。 A list display control means for controlling to display a list of operations in the mapping file in a selectable manner;
With
The display control means displays input / output items acquired from the Web service description language file related to the operation displayed and selected by the list display control means;
The mapping file generating means is a mapping file in which the input / output item of the selected operation displayed on the display unit on which the moving operation has been performed is associated with the data model item on which the moving operation has been performed The information processing apparatus according to claim 1, wherein the information processing apparatus generates the information.
を備えることを特徴とする請求項3に記載の情報処理装置。 Identification display means for identifying and displaying the item associated with the mapping file generation by the mapping file generation means or the operation including the item in the display unit or the list of operations;
The information processing apparatus according to claim 3, further comprising:
を備え、
前記マッピングファイル生成手段は、前記決定手段により対応付けることが決定された項目同士を対応付けたマッピングファイルを生成することを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。 By the mapping file generation means, any of the input / output items acquired from the Web service description language file on the mapping file displayed on the display unit on which the movement operation has been performed, and the movement operation are performed. Determining means for determining which of the items of the data model is associated using identification information of each item;
With
The information processing apparatus according to claim 1, wherein the mapping file generation unit generates a mapping file in which items determined to be associated by the determination unit are associated with each other.
を備え、
前記決定手段は、前記選択画面において選択された条件を用いて、いずれの項目同士を対応付けるかを決定することを特徴とする請求項5に記載の情報処理装置。 A selection screen display control means for controlling to display a selection screen for selecting, from among a plurality of conditions, a condition for determining which item is to be associated by the determination means when the moving operation is received; ,
With
The information processing apparatus according to claim 5, wherein the determination unit determines which items are associated with each other using a condition selected on the selection screen.
2つ以上の文字列が対応付けられた辞書データを記憶する辞書データ記憶手段と、
前記辞書データ記憶手段に記憶されている辞書データを用いて、対応すると特定された文字列のデータモデルの項目を、前記移動操作がされた表示部に表示されている、マッピングファイル上の前記Webサービス記述言語ファイルから取得された入出力の項目に対応付ける項目の候補として、当該入出力の項目に対応付けて選択可能に表示すべく制御する候補表示制御手段と、
を備え、
前記マッピングファイル生成手段は、前記候補表示制御手段により表示された候補の項目が選択された場合に、当該選択された項目を、候補として対応付けられていた入出力の項目に対応付けたマッピングファイルを生成することを特徴とする請求項6に記載の情報処理装置。 The condition is a condition for matching a character string that is identification information of an item,
Dictionary data storage means for storing dictionary data associated with two or more character strings;
Using the dictionary data stored in the dictionary data storage means, the data model item of the character string identified as corresponding is displayed on the mapping file displayed on the display unit on which the movement operation has been performed. Candidate display control means for controlling the display to be selectable in association with the input / output item as a candidate for the item associated with the input / output item acquired from the service description language file;
With
When the candidate item displayed by the candidate display control unit is selected, the mapping file generation unit associates the selected item with an input / output item associated as a candidate. The information processing apparatus according to claim 6, wherein:
前記マッピングファイルを表示画面に表示すべく制御する表示制御工程と、
前記表示制御工程により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定工程と、
前記判定工程により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成工程と、
含むことを特徴とする情報処理装置の制御方法。 The input / output items acquired from the Web service description language file for using the input / output data of the Web service provided by the Web service providing apparatus, and the items of the data model referred to by the application using the Web service A method of controlling an information processing apparatus that stores a mapping file to be associated,
A display control step for controlling the mapping file to be displayed on a display screen;
When a movement operation for moving data designated by a user operation is received on the display section of the mapping file on the display screen displayed by the display control step, the data subjected to the movement operation represents a data model. A determination step of determining whether the data is shown;
When it is determined by the determination step that the data subjected to the movement operation is data indicating a data model, the Web service description language on the mapping file displayed on the display unit where the movement operation is performed A mapping file generating step for generating a mapping file in which the input / output items acquired from the file are associated with the items of the data model in which the moving operation is performed;
An information processing apparatus control method comprising:
前記情報処理装置を、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成手段として機能させることを特徴とする情報処理装置のプログラム。 The input / output items acquired from the Web service description language file for using the input / output data of the Web service provided by the Web service providing apparatus, and the items of the data model referred to by the application using the Web service A program that can be executed by an information processing apparatus that stores a mapping file to be associated,
The information processing apparatus;
Display control means for controlling the mapping file to be displayed on a display screen;
When a moving operation for moving data designated by a user operation is received on the display section of the mapping file on the display screen displayed by the display control means, the data that has been moved is converted into a data model. Determining means for determining whether the data is indicated;
When the determination unit determines that the data subjected to the movement operation is data indicating a data model, the Web service description language on the mapping file displayed on the display unit subjected to the movement operation A program for an information processing apparatus that functions as a mapping file generation unit that generates a mapping file in which input / output items acquired from a file are associated with items of a data model on which the movement operation has been performed.
前記情報処理装置は、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成手段と、
前記マッピングファイル生成手段により生成されたマッピングファイルを、前記アプリケーションサーバで利用可能にすべく送信する送信手段と、
を備え、
前記アプリケーションサーバは、
前記送信手段により送信された前記マッピングファイルを受信して、当該マッピングファイルを用いて、Webサービスとアプリケーションの間のデータを中継するプログラムを実行し、前記Webサービス提供装置により提供されているWebサービスを呼び出す呼び出し手段と、
前記呼び出し手段により呼び出されたWebサービスから受信した戻り値を、前記マッピングファイルを用いて解釈し、自機で動作するアプリケーションに出力する出力手段と、
を備えることを特徴とする情報処理システム。 Web service providing apparatus providing a Web service, input / output items acquired from a Web service description language file for using input / output data of the Web service provided by the Web service providing apparatus, and the Web service An information processing system including an information processing apparatus that stores a mapping file that associates items of a data model referred to by an application that uses the application server,
The information processing apparatus includes:
Display control means for controlling the mapping file to be displayed on a display screen;
When a moving operation for moving data designated by a user operation is received on the display section of the mapping file on the display screen displayed by the display control means, the data that has been moved is converted into a data model. Determining means for determining whether the data is indicated;
When the determination unit determines that the data subjected to the movement operation is data indicating a data model, the Web service description language on the mapping file displayed on the display unit subjected to the movement operation Mapping file generation means for generating a mapping file in which the input / output items acquired from the file are associated with the items of the data model on which the movement operation has been performed;
Transmitting means for transmitting the mapping file generated by the mapping file generating means to be usable by the application server;
With
The application server is
Web service provided by the Web service providing apparatus by receiving the mapping file transmitted by the transmitting unit, executing a program that relays data between the Web service and the application using the mapping file Calling means to call
An output means for interpreting a return value received from the Web service called by the calling means using the mapping file and outputting it to an application operating on the own machine;
An information processing system comprising:
前記情報処理装置において、
前記マッピングファイルを表示画面に表示すべく制御する表示制御工程と、
前記表示制御工程により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定工程と、
前記判定工程により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成工程と、
前記マッピングファイル生成工程により生成されたマッピングファイルを、前記アプリケーションサーバで利用可能にすべく送信する送信工程と、
を含み、
前記アプリケーションサーバにおいて、
前記送信工程により送信された前記マッピングファイルを受信して、当該マッピングファイルを用いて、Webサービスとアプリケーションの間のデータを中継するプログラムを実行し、前記Webサービス提供装置により提供されているWebサービスを呼び出す呼び出し工程と、
前記呼び出し工程により呼び出されたWebサービスから受信した戻り値を、前記マッピングファイルを用いて解釈し、自機で動作するアプリケーションに出力する出力工程と、
を含むことを特徴とする情報処理システムの制御方法。 Web service providing apparatus providing a Web service, input / output items acquired from a Web service description language file for using input / output data of the Web service provided by the Web service providing apparatus, and the Web service An information processing system control method including an information processing apparatus that stores a mapping file that associates a data model item referenced by an application that uses an application server, and an application server,
In the information processing apparatus,
A display control step for controlling the mapping file to be displayed on a display screen;
When a movement operation for moving data designated by a user operation is received on the display section of the mapping file on the display screen displayed by the display control step, the data subjected to the movement operation represents a data model. A determination step of determining whether the data is shown;
When it is determined by the determination step that the data subjected to the movement operation is data indicating a data model, the Web service description language on the mapping file displayed on the display unit where the movement operation is performed A mapping file generating step for generating a mapping file in which the input / output items acquired from the file are associated with the items of the data model in which the moving operation is performed;
A transmission step of transmitting the mapping file generated by the mapping file generation step to be usable by the application server;
Including
In the application server,
Web service provided by the Web service providing apparatus by receiving the mapping file transmitted in the transmission step, executing a program that relays data between the Web service and the application using the mapping file Calling process to call
An output step of interpreting a return value received from the web service called by the calling step using the mapping file and outputting the same to an application operating on the own device;
A method for controlling an information processing system comprising:
前記情報処理装置を、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目と、当該移動操作がされたデータモデルの項目とを対応付けたマッピングファイルを生成するマッピングファイル生成手段と、
前記マッピングファイル生成手段により生成されたマッピングファイルを、前記アプリケーションサーバで利用可能にすべく送信する送信手段として機能させ、
前記アプリケーションサーバを、
前記送信手段により送信された前記マッピングファイルを受信して、当該マッピングファイルを用いて、Webサービスとアプリケーションの間のデータを中継するプログラムを実行し、前記Webサービス提供装置により提供されているWebサービスを呼び出す呼び出し手段と、
前記呼び出し手段により呼び出されたWebサービスから受信した戻り値を、前記マッピングファイルを用いて解釈し、自機で動作するアプリケーションに出力する出力手段として機能させることを特徴とする情報処理システムのプログラム。 Web service providing apparatus providing a Web service, input / output items acquired from a Web service description language file for using input / output data of the Web service provided by the Web service providing apparatus, and the Web service A program for controlling an information processing system including an information processing apparatus that stores a mapping file that associates an item of a data model referred to by an application that uses an application server, and an application server,
The information processing apparatus;
Display control means for controlling the mapping file to be displayed on a display screen;
When a moving operation for moving data designated by a user operation is received on the display section of the mapping file on the display screen displayed by the display control means, the data that has been moved is converted into a data model. Determining means for determining whether the data is indicated;
When the determination unit determines that the data subjected to the movement operation is data indicating a data model, the Web service description language on the mapping file displayed on the display unit subjected to the movement operation Mapping file generation means for generating a mapping file in which the input / output items acquired from the file are associated with the items of the data model on which the movement operation has been performed;
The mapping file generated by the mapping file generation means functions as a transmission means for transmitting the mapping file so as to be usable by the application server,
The application server
Web service provided by the Web service providing apparatus by receiving the mapping file transmitted by the transmitting unit, executing a program that relays data between the Web service and the application using the mapping file Calling means to call
A program for an information processing system which causes a return value received from a Web service called by the calling means to function as an output means for interpreting using the mapping file and outputting it to an application operating on its own device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016129839A JP6274265B2 (en) | 2016-06-30 | 2016-06-30 | Information processing apparatus, information processing system, control method thereof, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016129839A JP6274265B2 (en) | 2016-06-30 | 2016-06-30 | Information processing apparatus, information processing system, control method thereof, and program |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018001264A Division JP6744553B2 (en) | 2018-01-09 | 2018-01-09 | Information processing apparatus, information processing system, control method thereof, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018005451A true JP2018005451A (en) | 2018-01-11 |
| JP6274265B2 JP6274265B2 (en) | 2018-02-07 |
Family
ID=60946331
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016129839A Active JP6274265B2 (en) | 2016-06-30 | 2016-06-30 | Information processing apparatus, information processing system, control method thereof, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6274265B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019125308A (en) * | 2018-01-19 | 2019-07-25 | キヤノンマーケティングジャパン株式会社 | Information processing device, control method therefor, and computer program |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060235882A1 (en) * | 2005-04-18 | 2006-10-19 | Daniel Mateescu | System and method for developing arbitrary and efficient mappings between complex message structures |
| JP2011028379A (en) * | 2009-07-22 | 2011-02-10 | Toshiba Corp | Program and device for converting data structure |
| US8375362B1 (en) * | 2006-11-28 | 2013-02-12 | Emc Corporation | Wizard for web service search adapter |
-
2016
- 2016-06-30 JP JP2016129839A patent/JP6274265B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060235882A1 (en) * | 2005-04-18 | 2006-10-19 | Daniel Mateescu | System and method for developing arbitrary and efficient mappings between complex message structures |
| US8375362B1 (en) * | 2006-11-28 | 2013-02-12 | Emc Corporation | Wizard for web service search adapter |
| JP2011028379A (en) * | 2009-07-22 | 2011-02-10 | Toshiba Corp | Program and device for converting data structure |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019125308A (en) * | 2018-01-19 | 2019-07-25 | キヤノンマーケティングジャパン株式会社 | Information processing device, control method therefor, and computer program |
| JP7060788B2 (en) | 2018-01-19 | 2022-04-27 | キヤノンマーケティングジャパン株式会社 | Information processing equipment, information processing equipment control methods, and computer programs |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6274265B2 (en) | 2018-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8006224B2 (en) | System and method for unified visualization of two-tiered applications | |
| US20060236307A1 (en) | System and method for transformation of wireless application definition to simplified form | |
| US20060190806A1 (en) | Systems and method for deploying a software application on a wireless device | |
| JP2008536210A (en) | Module application for mobile data systems | |
| CN108475267B (en) | System and method for executable content and executable content stream distribution | |
| JP7014960B2 (en) | Information processing equipment, servers, their processing methods and programs | |
| JP6274265B2 (en) | Information processing apparatus, information processing system, control method thereof, and program | |
| JP6744553B2 (en) | Information processing apparatus, information processing system, control method thereof, and program | |
| JP2013131107A (en) | Information process system, information processing unit, information processing method, and computer program | |
| JP5359704B2 (en) | PROGRAM GENERATION SYSTEM, PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM | |
| JP2018181073A (en) | INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM | |
| JP6604140B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP2020017305A (en) | Information processing unit, control method of information processing unit and program | |
| CA2543898C (en) | System and method for unified visualization of two-tiered applications | |
| KR102382703B1 (en) | Multi-Channel Integration Platform Authoring Device and Method Thereby | |
| JP6652724B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP2017083953A (en) | Information processing unit, control method of information processing unit and program | |
| KR20140115001A (en) | A method for providing an application developing tool | |
| KR20140114993A (en) | A method for providing an application developing tool | |
| KR20140114987A (en) | A method for providing an application developing tool | |
| KR20140115009A (en) | A method for providing an application developing tool | |
| KR20140114978A (en) | A method for providing an application developing tool | |
| KR20140115461A (en) | A method for providing an application developing tool an apparatus using it | |
| KR20140114997A (en) | A method for providing an application developing tool | |
| KR20140114971A (en) | A recording media recognized by computer which is recorded an application developing tool programs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171121 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171124 |
|
| 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: 20171212 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6274265 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |