[go: up one dir, main page]

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 PDF

Info

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
Application number
JP2016129839A
Other languages
Japanese (ja)
Other versions
JP6274265B2 (en
Inventor
知子 石田
Tomoko Ishida
知子 石田
剛 高塚
Takeshi Takatsuka
剛 高塚
文洋 柴本
Fumihiro Shibamoto
文洋 柴本
勲 上田
Isao Ueda
勲 上田
鈴木 智子
Tomoko Suzuki
智子 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2016129839A priority Critical patent/JP6274265B2/en
Publication of JP2018005451A publication Critical patent/JP2018005451A/en
Application granted granted Critical
Publication of JP6274265B2 publication Critical patent/JP6274265B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 document 1 cannot dynamically change the client application program that calls the proxy class, the user needs to modify the client application program itself. In order to alleviate this trouble, Patent Document 2 discloses that a mapping file template is generated from WSDL and mapping by manual input by a user (data items of data model definition and INPUT and OUTPUT of a Web service described in WSDL). The technology that enables the user to enjoy the web service without changing the client application program is disclosed.

特開2006−195555号公報JP 2006-195555 A 特開2011−059751号公報JP 2011-059751 A

特許文献2の技術では、マッピングファイルにデータモデルと呼ばれるデータ定義をテキストエディタのアプリケーションソフトウェア等を用いてマッピングファイルのテキストを表示し、手入力で必要な情報を書き込んで編集する必要があり、手間がかかる。   In the technique of Patent Document 2, it is necessary to display data definitions called data models in the mapping file using text editor application software, etc., and write and edit necessary information manually. It takes.

本発明は、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.

本発明の実施形態における、情報処理システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the information processing system in embodiment of this invention. 本発明の実施形態における、各種装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of various apparatuses in embodiment of this invention. 本発明の実施形態における、プログラム開発PCの機能構成の一例を示す図である。It is a figure which shows an example of a function structure of program development PC in embodiment of this invention. 本発明の実施形態における、各種装置の機能構成及びデータの所在の一例を示す図である。It is a figure which shows an example of the function structure of various apparatuses, and the location of data in embodiment of this invention. 本発明の実施形態における、WSDLの解析によるマッピングファイル及びWebサービス呼び出しプグラムの生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the production | generation process of the mapping file by the analysis of WSDL, and a web service call program in embodiment of this invention. 本発明の実施形態における、マッピングファイルの編集処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the edit process of a mapping file in embodiment of this invention. 本発明の実施形態における、WSDLファイルの構成の一例を示す図である。It is a figure which shows an example of a structure of a WSDL file in embodiment of this invention. 本発明の実施形態における、マッピングファイルの構成及びマッピング前後の様子の一例を示す図である。It is a figure which shows an example of the structure of the mapping file in the embodiment of this invention, and the mode before and behind mapping. 本発明の実施形態における、データモデル定義のデータ構成及び表示画面の構成の一例を示す図である。It is a figure which shows an example of the data structure of a data model definition, and the structure of a display screen in embodiment of this invention. 本発明の実施形態における、マッピングファイル表示画面の構成及びマッピング前後のマッピングファイル表示画面の表示状態の一例を示す図である。It is a figure which shows an example of the structure of a mapping file display screen and the display state of the mapping file display screen before and behind mapping in embodiment of this invention. 本発明の実施形態における、アプリケーション画面における戻り値の表示処理の様子を示す図である。It is a figure which shows the mode of the display process of the return value in an application screen in embodiment of this invention. 本発明の第2の実施形態における、マッピング条件選択画面の表示処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a display process of the mapping condition selection screen in the 2nd Embodiment of this invention. 本発明の第2の実施形態における、マッピング条件選択画面の構成の一例を示す図である。It is a figure which shows an example of a structure of the mapping condition selection screen in the 2nd Embodiment of this invention. 本発明の第3の実施形態における、辞書データの登録処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the registration process of dictionary data in the 3rd Embodiment of this invention. 本発明の第3の実施形態における、辞書データの構成の一例を示す図である。It is a figure which shows an example of a structure of the dictionary data in the 3rd Embodiment of this invention. 本発明の第3の実施形態における、辞書データを用いたマッピングファイル編集処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the mapping file edit process using the dictionary data in the 3rd Embodiment of this invention. 本発明の第3の実施形態における、マッピングファイル表示画面の構成の一例を示す図である。It is a figure which shows an example of a structure of the mapping file display screen in the 3rd Embodiment of this invention. 本発明の第3の実施形態における、マッピングファイル表示画面の構成の一例を示す図である。It is a figure which shows an example of a structure of the mapping file display screen in the 3rd Embodiment of this invention.

以下、図面を参照して、本発明の実施形態の一例について説明する。   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, application server 200, and Web service providing server 300 can communicate via a network such as a WAN 150 (wide area network). Connected and configured.

プログラム開発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 application server 200 / a client application for the web service). WEB service description language file).

プログラム開発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 WAN 150, and uses the mapping file and the proxy class (Web service) according to the method described in JP2011-059751A. A calling program). Also, the mapping file is updated using a data model (also referred to as a data model definition) stored in the own device in accordance with a user operation. Then, the mapping file after mapping and the Web service calling program are transmitted to the application server, thereby enabling (deploying) the use of the Web service by the application (Web application) operating on the application server.

本実施形態におけるマッピングファイルとは、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 application server 200 includes a Web application that executes processing and functions in response to an operation instruction from an external device such as the PC 101. Further, for example, the argument data model is determined and input as an input value (input parameter) to the Web service calling program with reference to the mapping file. The Web service calling program converts the input value into a SOAP message and transmits the SOAP message to the Web service program of the Web service providing server 300. The Web application in which the data model of the return value obtained as a response is mapped to the mapping file It is applied to the data model handled by and is output to the Web application. In other words, even if the Web service specification (WSDL specification) is changed, the Web service can be used in response to the Web service specification change by changing the mapping file without changing the Web application program. It is configured. The above is the description of FIG.

次に図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, reference numeral 201 denotes a CPU that comprehensively controls each device and controller connected to the system bus 204. Further, the ROM 202 or the external memory 211 is necessary to realize a BIOS (Basic Input / Output System) or an operating system program (hereinafter referred to as an OS), which is a control program of the CPU 201, or a function executed by each server or each PC. Various programs to be described later are stored.

203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。   A RAM 203 functions as a main memory, work area, and the like for the CPU 201. The CPU 201 implements various operations by loading a program or the like necessary for execution of processing from the ROM 202 or the external memory 211 into the RAM 203 and executing the loaded program.

また、205は入力コントローラで、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、ディスプレイ210(例えばCRTディスプレイ)等の表示器への表示を制御する。なお、表示器はCRTディスプレイだけでなく、液晶ディスプレイ等の他の表示器であってもよい。これらは必要に応じてユーザが使用するものである。   An input controller 205 controls input from a keyboard (KB) 209 or a pointing device such as a mouse (not shown). A video controller 206 controls display on a display device such as a display 210 (for example, a CRT display). The display device may be not only a CRT display but also other display devices such as a liquid crystal display. These are used by the user as needed.

207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。   A memory controller 207 is connected to the hard disk (HD), flexible disk (FD), or PCMCIA card slot for storing a boot program, various applications, font data, user files, editing files, various data, etc. via an adapter. The access to the external memory 211 such as a compact flash (registered trademark) memory is controlled.

208は通信I/Fコントローラで、ネットワーク(例えば、図1に示すWAN150やLAN151)を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。   A communication I / F controller 208 is connected to and communicates with an external device via a network (for example, the WAN 150 and the LAN 151 shown in FIG. 1), and executes communication control processing in the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ210上での表示を可能としている。また、CPU201は、ディスプレイ210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   Note that the CPU 201 enables display on the display 210 by executing outline font rasterization processing on a display information area in the RAM 203, for example. Further, the CPU 201 enables a user instruction with a mouse cursor (not shown) on the display 210.

本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられる定義ファイル及び各種情報テーブル等も、外部メモリ211に格納されており、これらについての詳細な説明も後述する。以上が図2の説明である。   Various programs to be described later for realizing the present invention are recorded in the external memory 211 and executed by the CPU 201 by being loaded into the RAM 203 as necessary. Furthermore, definition files and various information tables used when executing the program are also stored in the external memory 211, and a detailed description thereof will be described later. The above is the description of FIG.

次に図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 functions 301 to 306 are functions provided in the program development application installed in the program development PC 100. The CPU 201 of the program development PC 100 executes processing of a flowchart described later using each function of the program development application.

マッピングファイル表示処理部301は、図10に示すようなマッピングファイル表示画面において、例えばユーザ操作に応じて、マッピングファイル表示部1009にマッピングファイルの情報を表示する処理部である。データモデル表示部302は、図10の1008に示すように、外部メモリから読み込んだデータモデル定義(図10でいう1001)を表示画面に表示する処理部である。移動操作受付部303は、マッピングファイル表示処理部301により表示されたマッピングファイルの編集部(図10の1002)に対する、ドラッグ&ドロップ操作等によるデータの移動操作を受け付ける。   The mapping file display processing unit 301 is a processing unit that displays mapping file information on the mapping file display unit 1009 in response to a user operation, for example, on a mapping file display screen as shown in FIG. The data model display unit 302 is a processing unit that displays the data model definition (1001 in FIG. 10) read from the external memory on the display screen, as indicated by 1008 in FIG. The move operation accepting unit 303 accepts a data move operation by a drag-and-drop operation or the like for the mapping file editing unit (1002 in FIG. 10) displayed by the mapping file display processing unit 301.

データモデル判定部304は、移動操作がされた(ドラッグ&ドロップ操作がされた)データがデータモデル定義か判定する。マッピング対象項目決定部305は、移動操作がされたデータがデータモデル定義であった場合に、移動先の編集部1002に表示されているマッピングファイルの入出力データ項目(入力データ項目(INPUT)又は出力データ項目(OUTPUT))の項目名(識別情報の文字列)と、移動操作がされたデータモデル定義内の所定のデータ項目名との一致判定を行い、項目名が一致する項目同士を対応付ける、つまり、マッピングすることを決定する処理部である。マッピングファイル生成部306は、マッピング対象項目決定部305による決定に従って、対応付けると決定された項目同士をマッピングしたマッピングファイルを外部メモリ上に生成する。例えば、外部メモリに記憶されている、当該移動操作がされた先(編集部1002)に表示されているマッピングファイルの情報をメモリ上に読み出して、当該マッピングファイル内において、マッピング対象項目決定部305により決定された項目同士のマッピングを行い、上書き・更新することで、当該移動操作によるマッピング後のマッピングファイルを生成する。以上が図3の説明である。   The data model determination unit 304 determines whether data that has been moved (drag and drop) has a data model definition. When the data subjected to the movement operation is a data model definition, the mapping target item determination unit 305 displays an input / output data item (input data item (INPUT) or input data item) of the mapping file displayed in the editing unit 1002 of the movement destination. The item name (character string of identification information) of the output data item (OUTPUT)) is matched with a predetermined data item name in the data model definition for which the move operation has been performed, and the items having the same item name are associated with each other That is, it is a processing unit that decides to perform mapping. The mapping file generation unit 306 generates a mapping file in which the items determined to be associated are mapped on the external memory according to the determination by the mapping target item determination unit 305. For example, information on the mapping file displayed in the destination (editing unit 1002) stored in the external memory and displayed on the destination is read onto the memory, and the mapping target item determining unit 305 is stored in the mapping file. By mapping the items determined by the above, overwriting and updating, a mapping file after mapping by the moving operation is generated. The above is the description of FIG.

次に図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 program development PC 100 holds a repository definition unit 400, an application generation unit 410, a Web application infrastructure code generation unit 420, a Web service call module generation unit 430, a mapping file editing unit 440, and a source code compilation unit 450.

リポジトリ定義部400は、アプリケーション定義401、入出力定義402、データモデル定義403、ビジネスプロセス定義404、拡張定義406、マッピングファイル407を備える。これらのファイルは、プログラム開発アプリケーションを介して開発者によって入力され、作成されて、プログラム開発PC100の外部メモリ上に記憶される。   The repository definition unit 400 includes an application definition 401, an input / output definition 402, a data model definition 403, a business process definition 404, an extension definition 406, and a mapping file 407. These files are input by a developer through a program development application, created, and stored on the external memory of the program development PC 100.

すなわち、リポジトリ定義部400は、プログラムを実行するための引数として入力される項目を定義するWebアプリケーション用入力定義情報と、プログラムを実行した処理結果として出力する項目を定義するWebアプリケーション用出力定義情報とを、Webアプリケーション用入出力定義情報として管理する手段の一例である。ここでいうWebアプリケーションとは、アプリケーションサーバ200が保持するWebアプリケーション(図4では461)を指すものとする。   That is, the repository definition unit 400 defines Web application input definition information that defines items input as arguments for executing a program, and Web application output definition information that defines items to be output as processing results of executing the program. Is an example of a means for managing I / O as input / output definition information for a Web application. The web application here refers to a web application (461 in FIG. 4) held by the application server 200.

次に、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 code generation unit 420 will be described. The repository definition analysis unit 421 reads and analyzes the application definition 401, the input / output definition 402, the data model definition 403, the business process definition 404, the extension definition 406, the mapping file 407, and the like from the repository definition unit 400. The web application code generation unit 422 uses the code generation rules stored in the external memory 211 and the contents analyzed by the repository definition analysis unit 421, via the source code compilation unit 450, and a web application module (web application). Program). That is, the Web application code generation unit 422 is an example of a unit that stores a rule for generating a program used for a Web application.

Webサービス呼び出しモジュール生成部430のWSDL解析部431は、Webサービス提供サーバ300からWSDLファイルをダウンロードしてメモリに記憶し、解析を行い、マッピングテンプレートファイル生成部432が、当該解析結果に基づいてマッピングファイルテンプレート(まだ、マッピングが完了していない、図8の800に示すようなマッピングファイル)を生成する。また、Webサービス呼び出しプログラム生成部433は、例えば特開2011−059751号公報にて公開されている手法を用いて、Webサービス呼び出しプログラム(Webサービス呼び出しモジュール)を生成し、メモリ上に記憶する。   The WSDL analysis unit 431 of the Web service call module generation unit 430 downloads the WSDL file from the Web service providing server 300, stores it in the memory, performs analysis, and the mapping template file generation unit 432 performs mapping based on the analysis result. A file template (mapping file as shown by 800 in FIG. 8 that has not been mapped yet) is generated. Further, the Web service call program generation unit 433 generates a Web service call program (Web service call module) by using a method disclosed in, for example, Japanese Patent Application Laid-Open No. 2011-059751, and stores it on the memory.

マッピングファイル編集部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) display unit 441 of the mapping file editing unit 440 is a processing unit that displays the mapping file display screen 1000 shown in FIG. 10 and the like. The mapping file display processing unit 301 and the data model display unit 302 are displayed. Is provided. The description of 301 to 306 is omitted because it has been described above with reference to FIG. The data model definition receiving unit 442 acquires the data model definition from the repository definition unit 400 in response to a drag and drop operation of the data model definition to the mapping file display unit 1009 (specifically, the editing unit 1002 in FIG. 10). And keep it in memory. The mapping target item determination unit 305 and the mapping file generation unit 306 use the data model definition stored in the memory to match the input / output data item acquired from the WSDL on the mapping file and the data model item name. Determine and update.

アプリケーションサーバ200のWebアプリケーション461は、ソースコードコンパイル部450によりコンパイルされたWebサービス呼び出しプログラムを受信して、保持し、Webサービス呼び出しプログラムを実行するWebサービス呼び出しプログラム実行部を備える。また、Webアプリケーション461は、ソースコードコンパイル部450によりコンパイルされた、Webアプリケーションコード生成部422により生成されたWebアプリケーションのプログラムを保持しており、その機能を実行可能である。以上が図4の説明である。   The web application 461 of the application server 200 includes a web service call program execution unit that receives and holds the web service call program compiled by the source code compilation unit 450 and executes the web service call program. The Web application 461 holds a Web application program generated by the Web application code generation unit 422 compiled by the source code compilation unit 450 and can execute the function. The above is the description of FIG.

次に図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 CPU 201 of the program development PC 100 using each function (part of functions of the program development application) of the Web service call module generation unit shown in FIG.

まず、ステップS500において、プログラム開発PC100のWSDL解析部431は、ネットワーク(図1でいうWAN150)を経由して、Webサービス提供サーバ300に記憶され公開されているWSDLファイル700を取得して、メモリ上に展開する。   First, in step S500, the WSDL analysis unit 431 of the program development PC 100 acquires the WSDL file 700 stored and published in the web service providing server 300 via the network (WAN 150 in FIG. 1), and the memory Expand on top.

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 application server 200. An XML file that contains information such as what methods the API exposes, what URI to access, what parameters to pass, what to return, what namespace to use, etc. is there. The WSDL file is downloaded and stored on the program development PC 100 when the Web service providing server 300 transmits the WSDL file to the program development PC 100 in accordance with a download request from the program development PC 100.

次にステップS501で、WSDL解析部431は、読み込んだWSDLファイル700の内容を解析する。具体的にはWSDLファイルに記載されている(公開されている)要素([service]、[port]、[binding]、[portType]、[message]、[types]等)を、当該要素ごとに分類する。   In step S501, the WSDL analysis unit 431 analyzes the content of the read WSDL file 700. Specifically, the element ([service], [port], [binding], [portType], [message], [types], etc.) described in the WSDL file is disclosed for each element. Classify.

具体的には、図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 application server 200 to use a Web service provided by the Web service providing server 300, and an input / output data item in the WSDL of the Web service and a data model handled by the Web application. In this embodiment, a mapping file (mapping template) in which mapping is not completed as indicated by 800 in FIG. 8 is generated at the time of step S502 in this embodiment. File). Specifically, it is a file in which DMCODE (805 in FIG. 8) indicating identification information of the data model to be mapped and DITEM (806 in FIG. 8) indicating the data item name of the data model definition are not input.

図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 mapping file 800, IN parameter 703 is converted to IN parameter 803 (input), and OUT parameter 701 is converted to OUT parameter 801 (output). Each is inserted. Reference numeral 804 denotes an item name of an output data item described in the WSDL file 700, and the value of name 704 in FIG. 7 is inserted.

ステップ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 program generation unit 433 sets the values of the IN parameter 703 and the OUT parameter 701 required when the Web service is called according to the definition of the mapping file 800 (FIG. 8). The data model definition stored in the memory (for example, the definition of the data item referenced by the function or screen of the Web application executed on the application server 200) is linked and interpreted, and between the Web service and the Web application The Web service and the Web application are translated so that they can be interpreted, and a Web service calling program for transmitting and relaying is generated.

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 CPU 201 of the program development PC 100 using each function (part of functions of the program development application) of the mapping file editing unit 440 shown in FIG.

ステップS601で、GUI表示部441はマッピングファイル(図8の800に図示)を開く命令・指示を受け付け、図10のようなGUI(マッピングファイル表示画面1000を表示画面に表示する。このとき、マッピングファイル表示処理部301が、指示されたマッピングファイルの情報をメモリ上に読み込んで、図10のマッピングファイル表示部1009に表示する(表示制御手段に該当)。   In step S601, the GUI display unit 441 receives an instruction / instruction for opening a mapping file (shown in 800 in FIG. 8), and displays a GUI (mapping file display screen 1000) as shown in FIG. The file display processing unit 301 reads the instructed mapping file information on the memory and displays it on the mapping file display unit 1009 in FIG. 10 (corresponding to display control means).

また、データモデル表示部302は、例えばプログラム開発PC100の外部メモリに記憶されているデータモデル定義の定義ファイルを読み込んで、データ一覧表示部1008に選択可能に表示する。なお、データ一覧表示部1008は、データモデル定義に限らず、プログラム開発アプリケーションが管理する所定のフォルダ内のデータを、ユーザ操作により選択したり、コピー&ペーストやドラッグ&ドロップして他の表示領域へデータを移動させたりすることが可能なように一覧表示する表示部である。   Further, the data model display unit 302 reads, for example, a data model definition definition file stored in the external memory of the program development PC 100 and displays it on the data list display unit 1008 in a selectable manner. The data list display unit 1008 is not limited to the data model definition, and other display areas can be selected by selecting data in a predetermined folder managed by the program development application by a user operation, or by copying and pasting or dragging and dropping. It is a display unit that displays a list so that data can be moved to.

マッピングファイルの情報のうち、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 name display unit 1003. An operation is a unit of operation, and an operation name display part is an operation list display part. In the hierarchical structure display unit 1007, the element names in the operation tags (tags in the mapping file) selected in the operation name display unit 1003 are displayed in a hierarchical structure format so as to be selectable according to the description in the mapping file. (Corresponds to list display control means).

また、入力タブ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 input tab 1005, the element of the element name selected in the hierarchical structure display unit 1007 (input of the IN parameter 803) among the elements in <input...> In the mapping file. Data item) is specified and displayed on the editing unit 1002. Also, by accepting the pressing operation of the output tab 1004, the element of the element name selected in the hierarchical structure display unit 1007 (in the OUT parameter 801) among the elements in the <output ...> tag in the mapping file. Output data item) is specified and displayed on the editing unit 1002. In the editing unit 1002 in FIG. 10, since the element name = “g” is selected in the hierarchical structure display unit 1007, various output is performed by narrowing down to the output element of 807 name = “g” in the mapping file 800. Displaying data items.

ステップS602で、移動操作受付部303は、データ一覧表示部1008に表示されているデータモデル定義1001を、編集部1002へドラッグ&ドロップする操作を受け付ける。また、データモデル定義受信部442は、当該ドラッグ&ドロップの操作を受け付けることで、ドロップされたデータモデル定義をリポジトリ定義部400から受信して取得する。当該ドラッグ&ドロップの操作は、1002にドロップされたデータモデル定義の所定のデータ項目と、マッピングファイル内のWSDLの入力又は出力の所定のデータ項目とを対応付けるマッピング処理の実行を指示する操作である。なお、ここでは1001のデータモデル定義は、図9の901に示す項目・データを備える定義であり、実際にはXMLファイルとしてプログラム開発PC100の外部メモリ上に記憶されているファイルであるものとする。データモデル定義は、プログラム開発PC100の表示画面に表示される900のような画面で表示・編集可能である。   In step S <b> 602, the movement operation reception unit 303 receives an operation of dragging and dropping the data model definition 1001 displayed on the data list display unit 1008 to the editing unit 1002. Further, the data model definition receiving unit 442 receives and acquires the dropped data model definition from the repository definition unit 400 by receiving the drag and drop operation. The drag and drop operation is an operation for instructing execution of a mapping process for associating a predetermined data item of the data model definition dropped in 1002 with a predetermined data item of WSDL input or output in the mapping file. . Here, the data model definition 1001 is a definition including the items / data indicated by reference numeral 901 in FIG. 9 and is actually a file stored on the external memory of the program development PC 100 as an XML file. . The data model definition can be displayed and edited on a screen such as 900 displayed on the display screen of the program development PC 100.

ステップS603で、データモデル判定部304は、編集部1002にドロップされたのがデータモデル定義か判定する。つまり移動操作されたファイルがデータモデル定義のファイルか判定する。具体的には、ドロップされたことで取得したデータモデル定義1001のファイル(XMLファイル)をメモリ上に展開し、当該展開したデータモデル定義のファイル内部構造(タグの階層、要素名等)を読み取って、自機の外部メモリに予め記憶されているデータモデル定義の内部構造を示す情報と当該読み取ったファイルの内部構造(タグの階層、要素名等)が一致する場合に、ドロップされたファイルがデータモデル定義であると判定する。ドロップされたファイルがデータモデル定義ファイルでない場合は、図6の処理を終了する。   In step S <b> 603, the data model determination unit 304 determines whether the data model definition is dropped on the editing unit 1002. That is, it is determined whether the moved file is a data model definition file. Specifically, the data model definition 1001 file (XML file) acquired by being dropped is expanded on a memory, and the internal structure (tag hierarchy, element name, etc.) of the expanded data model definition is read. If the information indicating the internal structure of the data model definition stored in advance in the external memory of the device matches the internal structure (tag hierarchy, element name, etc.) of the read file, the dropped file Judged as data model definition. If the dropped file is not a data model definition file, the process in FIG. 6 is terminated.

ドロップされたファイルがデータモデル定義ファイルである場合には、それ以降、ステップ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 item codes 902 indicated by 901.

ステップS604で、マッピング対象項目決定部305は、データモデル定義901の項目コード902の値を1つ取得し、取得した値がマッピングの条件を満たすか判定する。マッピング条件とは、当該データモデル定義901の項目コード902と、マッピングファイル上のいずれの入出力データ項目を対応付けるかを判定し、決定するための判定条件・決定条件である。例えば、データモデル定義901の項目コード902からvalueの値を取得した場合、マッピングファイル800のname804にvalueの値があるか判定する。つまり、マッピングファイル800のname804に、データモデル定義901の項目コード902と一致する値があるか判定する。一致する値がある場合に、その値がマッピングの条件を満たすと判定し、当該一致する項目同士をマッピングする(対応付ける)ことを決定する。条件に合致するデータ項目がない場合は、当該データ項目についてはマッピングは行わないものとする。   In step S604, the mapping target item determination unit 305 acquires one value of the item code 902 of the data model definition 901, and determines whether the acquired value satisfies the mapping condition. The mapping condition is a determination condition / determination condition for determining and determining which input / output data item on the mapping file is associated with the item code 902 of the data model definition 901. For example, when the value of value is acquired from the item code 902 of the data model definition 901, it is determined whether the value 804 exists in the name 804 of the mapping file 800. That is, it is determined whether the name 804 of the mapping file 800 has a value that matches the item code 902 of the data model definition 901. When there is a matching value, it is determined that the value satisfies the mapping condition, and it is determined that the matching items are mapped (associated). If there is no data item that matches the condition, no mapping is performed for the data item.

ステップ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 file generation unit 306 performs mapping file update processing according to the determination, and displays the mapping result of the mapped item as indicated by 1011 in FIG. For example, if the value determined to be the mapping target in step S604 is “value”, the DMCODE 805 of the data model definition 1001 (= 901 in FIG. 9) subjected to the drop operation is added to the DMCODE 805 of the mapping file 800 shown in FIG. The value “g” is inserted according to the value, and the value “value” is inserted and updated (stored) according to the value DTIME of the data model definition 901 subjected to the drop operation in the DMIT 806. That is, mapping is performed between the data item of the data model definition and the data item published in the web service WSDL.

ここでは、編集部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 editing unit 1002. That is, other operations not selected in the operation name display unit 1003 on the mapping file displayed in the mapping file display unit 1009 and other operations not selected in the hierarchical structure display unit 1007 are selected. In the first place, the data item name (DMITTEM) of the dropped data model definition and the WSDL data item name (name 804) in the mapping file are not matched and are not mapped. Therefore, according to FIG. 10, DMCODE 805 and DTIMEM 806 corresponding to the output data item (name 804) of “g” selected in 1007 in the mapping file 800 are updated.

マッピング後のマッピングファイルの一例を図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 repository definition unit 400 in the external memory of the program development PC 100 by the mapping file generation unit 306.

これにより、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 application server 200 to transmit screen information to the PC 101 and displayed on the PC 101), the value of DITEM = Value is set. A state in which a request acquired from the database of the Web service providing apparatus 300 is transmitted to the Web service, a return value as indicated by 1110 is received from the Web service, and the Web application screen 1100 is displayed in the state of 1120 and displayed. Show. In FIG. 11, the search key character string is not included in the request, and all values in the database corresponding to the iteration, language, type, and number of steps are requested.

実際には、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 name 804 is transmitted to the Web service. For example, a value value request is replaced with a value value request and transmitted. The Web service receives the request, acquires the value of name 804 (for example, the value of value) in the database, and returns it as a return value 1110. The Web service calling program that has received the return value acquires the output data item name indicated by the return value, specifies the corresponding data model definition data item by referring to the mapping file, and specifies the return value value. The data item value is output to the Web application. For example, the value value in the return value is replaced with the value value and output to the Web application. The Web application inserts the value of the value received from the Web service calling program into the 1101 defined as a box for displaying the value by inserting the value in the Web application, and updates the screen from 1100 to 1120. And displaying.

マッピング対象のデータ項目が場合は、マッピングファイルの更新は行わず、ドロップ操作されたデータモデル定義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 data model definition 1001 subjected to the drop operation, the processing of FIG. If the process of steps S604 to S605 has not been executed for the number of items of the data model definition 901 (1001 in FIG. 10) that has been dropped, the process returns to step S603, and the data model definition 901 has not been processed. The data items are acquired, and the processes of steps S604 and S605 are executed.

なお、マッピングファイル表示処理部301は、図8の810に示すように、マッピング後のDMCODE、DMITEMの値(ドロップされたデータモデル定義のマッピング対象項目名)を、それぞれマッピングしたnameの行に挿入して更新結果として表示する。   Note that the mapping file display processing unit 301 inserts the mapped DMCODE and DTIME values (mapping target item names in the dropped data model definition) into the mapped name lines, as indicated by reference numeral 810 in FIG. And display it as an update result.

また、マッピングファイル表示処理部301は、マッピングがされ、編集された行には、図10の1010に示すように、マッピングがされた項目を識別するための識別オブジェクト1012を当該項目の隣に対応付けて表示する。これは必ずしもオブジェクトである必要はなく、例えばマッピングがされた項目を識別する文字であってもよい。   Further, the mapping file display processing unit 301 corresponds to an identification object 1012 for identifying the mapped item next to the mapped line in the edited and edited line, as indicated by 1010 in FIG. To display. This does not necessarily have to be an object, and may be, for example, a character that identifies a mapped item.

また、マッピングファイル表示処理部301は、マッピングがされた項目を含むオペレーションを識別するための識別1013を、当該オペレーションに対応付けて表示する。これは必ずしもオブジェクトである必要はなく、例えばマッピングがされた項目を含むオペレーションを識別する文字であってもよい。以上が図6の説明である。   Further, the mapping file display processing unit 301 displays an identification 1013 for identifying an operation including the mapped item in association with the operation. This does not necessarily have to be an object, for example it may be a character that identifies the operation that contains the mapped item. The above is the description of FIG.

以上説明したように、本発明の第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 CPU 201 of the program development PC 100 when it is determined in step S603 in FIG. 6 that the dropped data is a data model definition.

ステップS1201で、データモデル判定部304は、プログラム開発PC100の外部メモリに設定変更可能に記憶されている不図示の設定情報を参照し、データモデルのマッピング条件選択画面(図13の1301に図示)の表示設定がONに設定されているか判定する。OFFになっている場合は図12の処理を終了し、処理を図6のステップS604へ移行して、未処理の項目全てに対してステップS604〜S605の処理を適用する。   In step S1201, the data model determination unit 304 refers to setting information (not shown) stored in the external memory of the program development PC 100 so that the setting can be changed, and a data model mapping condition selection screen (shown in 1301 in FIG. 13). It is determined whether the display setting is set to ON. If it is OFF, the process in FIG. 12 is terminated, the process proceeds to step S604 in FIG. 6, and the processes in steps S604 to S605 are applied to all unprocessed items.

データモデルのマッピング条件選択画面(図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 model determination unit 304 displays the mapping condition selection screen 1301 of FIG. 13 on the display screen (corresponding to selection screen display control means).

マッピング条件選択画面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 model determination unit 304 accepts an operation of selecting and determining a mapping condition (pressing the “OK” button), the data model determination unit 304 determines the condition selected at the time when the “OK” button was westernized in step S604. Are determined as mapping conditions used for matching determination, and are stored in the memory as the conditions employed in step S604. Thereafter, the process proceeds to step S604. In step S604, the mapping target item determination unit 305 uses the mapping conditions (conditions determined to match) determined in step S1203 and stored in the memory to obtain the data model definition acquired when executing step S604. It is determined whether there is a value of name 804 that matches the item code 902 of 901. According to 1301 in FIG. 13, based on the fuzzy matching condition (for example, a condition for determining that the character strings to be matched are matched even if the target character strings to be matched are partially matched) in step S <b> 604. Perform a match determination.

以上説明したように、本発明の第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 CPU 201 of the program development PC 100 accepts a new input or input change operation of a data model code or data model item, holds the value input on the memory, and stores the value input to the target cell 1002 indicate.

ステップ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 input tab 1005 or the output tab 1004 is received, the input value is stored in the mapping file. It is determined that an operation for saving and updating the mapping file has been received.

保存・更新の操作を受け付けた場合は、ステップ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 CPU 201 of the program development PC 100 when it is determined in step S603 in FIG. 6 that the dropped data is a data model definition.

ステップS1601で、マッピングファイル生成部306は、図15の辞書データを取得し、ステップS1602〜S1606の処理を、ドロップされた先のプロパティ名の数だけ実行する。   In step S1601, the mapping file generation unit 306 acquires the dictionary data in FIG. 15, and executes the processing in steps S1602 to S1606 for the number of property names that have been dropped.

ステップS1602で、マッピングファイル生成部306は、ドロップされた編集部1002に表示されているname804(プロパティ名)の値を1つ取得し、当該値と一致するデータモデルのDMITEM又は辞書のプロパティ名があるか判定する。一致する値がある場合には当該一致する値をメモリ上に記憶して、処理をステップS1603に移行する。   In step S1602, the mapping file generation unit 306 acquires one value of name 804 (property name) displayed in the dropped editing unit 1002, and the property name of the DMITEM or dictionary of the data model that matches the value is obtained. Determine if there is. If there is a matching value, the matching value is stored in the memory, and the process proceeds to step S1603.

ステップS1603で、マッピングファイル生成部306は、ステップS1602で取得した編集部1002に表示中のプロパティ名が、ドロップされたデータモデルのDMITEMと辞書データのプロパティ名の両方に一致しているか判定する。一致しているのが一方であり、1つの組み合わせのみの場合は処理をステップS1604に移行し、一致した値同士をマッピングする(ステップS605の処理と同じ)。一方、ドロップされたデータモデルのDMITEMと辞書データのプロパティ名の両方に一致している場合、処理をステップS1605に移行する。   In step S1603, the mapping file generation unit 306 determines whether the property name displayed in the editing unit 1002 acquired in step S1602 matches both the DITEM of the dropped data model and the property name of the dictionary data. On the other hand, if there is only one combination, the process proceeds to step S1604, and the matched values are mapped (same as the process in step S605). On the other hand, if it matches both the DMITEM of the dropped data model and the property name of the dictionary data, the process proceeds to step S1605.

ステップS1605では、マッピングファイル生成部306は、一致した値のうち、ドロップされたデータモデルのDMITEMを、1002のプロパティ名と対応付けるマッピング処理を行う。そして、ステップS1606で、当該プロパティ名と一致した辞書データのプロパティ名に対応するデータモデル項目コードを特定して取得し、当該プロパティ名と対応付けてメモリ上に保持する。1002の全てのプロパティ名に対してステップS1602〜S1606の処理を適用した後、処理をステップS1607に移行する。   In step S <b> 1605, the mapping file generation unit 306 performs a mapping process in which DMITE of the dropped data model among the matched values is associated with the property name 1002. In step S1606, the data model item code corresponding to the property name of the dictionary data that matches the property name is specified and acquired, and stored in the memory in association with the property name. After applying the processing of steps S1602 to S1606 to all the property names of 1002, the processing proceeds to step S1607.

ステップS1607で、マッピングファイル生成部306は、図17の1701に示すように、ステップS1603で複数一致したプロパティ名に対応するデータモデル項目コードの表示セルを識別表示する。   In step S1607, the mapping file generation unit 306 identifies and displays the display cell of the data model item code corresponding to the property name that has been matched in step S1603, as indicated by 1701 in FIG.

ステップ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 selection screen 1711 as shown in FIG. 17 is displayed in step S1609. The selection screen 1711 is specified by the dictionary data as corresponding to the property name being displayed in 1002 (specified as being stored in association with the property name being displayed in 1002 on the dictionary data). This screen displays a code (DMITEM) as a selection candidate (corresponding to the candidate display control means) and accepts the selection to insert the selected value into a cell (1701 in FIG. 17) corresponding to the selection screen 1711. .

ステップS1610で、マッピングファイル生成部306は、選択画面1711において、辞書データによって特定されたデータモデル項目コード(図17でいう「category」)の選択操作を受け付けたか判定して、「category」の選択操作を受け付けた場合には、プロパティ名=typeと、DMITEM=categoryとをマッピングファイル上で対応付けて更新する(ステップS1611)。「category」の選択操作を受け付けなかった場合には処理を終了する。   In step S1610, the mapping file generation unit 306 determines whether the selection operation of the data model item code (“category” in FIG. 17) specified by the dictionary data is received on the selection screen 1711 and selects “category”. When the operation is accepted, property name = type and DTIMEM = category are associated with each other on the mapping file and updated (step S1611). If the “category” selection operation is not accepted, the process ends.

以上説明したように、本発明の第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 selection screen 1801 in 1800 of FIG. Any one of the above may be selected and mapped by the user. By doing so, the mapping of property names that match a plurality of values can be assured of an instruction from the user and appropriate mapping can be easily performed.

<第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 file generation unit 306 identifies an operation having the same property name list as the property name (name 804) list of the editing unit 1002 to which the data model has been dropped. The mapping file is updated by associating each property name (name 804) of the identified operation with the value of DMITE that is the same as that of DITEM associated in S605.

つまり、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 program development PC 100 stores the program development application such as the data model definition and executes the processes of FIGS. 5 and 6 to display various screens. The illustrated program development server is installed on a network so as to be communicable with the program development PC 100, and causes the CPU 201 of the program development server to execute the processes of FIGS. 5 and 6 described above. Various screens (HTML) generated and received from the program development server may be displayed via a web browser and viewed / operated by the user. In this case, for example, the drag and drop operation is accepted by the program development PC 100, and the identification information of the data subjected to the drop and drop operation and the dropped area on the screen (for example, the identification information of 1002) are stored in the program development server. The program development server detects which data is dropped in which area, determines whether or not the data model definition is dropped, and performs a mapping file update process.

また、上述した実施形態においては、アプリケーションサーバ200で動作するアプリケーションは、WAN150を介してPC101に機能を提供するWebアプリケーションとしたが、これに限定するものではなく、例えば携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。   In the above-described embodiment, the application running on the application server 200 is a Web application that provides a function to the PC 101 via the WAN 150. However, the application is not limited to this, and for example, a mobile phone, a smartphone, a tablet, or the like. The application may not be an application using communication using Web technology, such as an application that runs on the information processing apparatus or embedded software.

また、アプリケーションサーバ200とプログラム開発PC100は別個の筐体として説明したが、1つの筐体であってもよい。例えば、図4に示すアプリケーションサーバ200の構成をプログラム開発PC100が備え、上述した実施形態においてアプリケーションサーバ200のWebアプリケーション、Webサービス呼び出しプログラムが実行するとして説明した処理の全てをプログラム開発PC100のCPU201が実行するようにしてもよい。   Moreover, although the application server 200 and the program development PC 100 have been described as separate casings, they may be a single casing. For example, the program development PC 100 has the configuration of the application server 200 shown in FIG. 4, and the CPU 201 of the program development PC 100 performs all of the processes described as being executed by the Web application and Web service calling program of the application server 200 in the above-described embodiment. You may make it perform.

また、データモデル定義や、マッピング後のマッピングファイルを、プログラム開発PC100の外部メモリではなく、プログラム開発PC100とネットワークを介して通信可能に接続された、不図示のデータベースサーバの外部メモリに記憶させるようにしてもよい。つまり、リポジトリ定義部400を別筐体において機能させるようにしてもよい。   In addition, the data model definition and the mapping file after mapping are stored not in the external memory of the program development PC 100 but in the external memory of a database server (not shown) that is connected to the program development PC 100 via a network. It may be. That is, the repository definition unit 400 may function in a separate case.

なお、上述した第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 editing unit 1002 and the mouse is clicked and pasted. , It may be determined that an operation of moving data designated by the user to the editing unit 1002 has been received (rather than directly editing the text).

なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に直接、或いは遠隔から供給するものを含む。そして、そのシステム或いは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。   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

本発明の情報処理装置は、ebサービスの入出力の項目と、当該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サービス提供装置により提供されるWebサービスの入出力データを利用するためのWebサービス記述言語ファイルから取得された入出力の項目と、当該Webサービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置であって、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記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に記載の情報処理装置。   The mapping file generation means updates the mapping file displayed on the display unit on which the movement operation has been performed, so that the input / output items acquired from the Web service description language file and the movement operation have been performed. The information processing apparatus according to claim 1, wherein a mapping file in which data item items are associated is generated. 前記マッピングファイルにおけるオペレーションの一覧を選択可能に表示すべく制御する一覧表示制御手段と、
を備え、
前記表示制御手段は、前記一覧表示制御手段により表示され選択されたオペレーションにかかる前記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:
前記マッピングファイル生成手段により、移動操作がされた表示部に表示されているマッピングファイル上の、前記Webサービス記述言語ファイルから取得された入出力の項目のうちいずれの項目と、当該移動操作がされたデータモデルの項目のいずれの項目とを対応付けるかを、それぞれの項目の識別情報を用いて決定する決定手段と、
を備え、
前記マッピングファイル生成手段は、前記決定手段により対応付けることが決定された項目同士を対応付けたマッピングファイルを生成することを特徴とする請求項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サービス提供装置により提供されるWebサービスの入出力データを利用するためのWebサービス記述言語ファイルから取得された入出力の項目と、当該Webサービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置の制御方法であって、
前記マッピングファイルを表示画面に表示すべく制御する表示制御工程と、
前記表示制御工程により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定工程と、
前記判定工程により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記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サービス提供装置により提供されるWebサービスの入出力データを利用するためのWebサービス記述言語ファイルから取得された入出力の項目と、当該Webサービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置で実行が可能なプログラムであって、
前記情報処理装置を、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記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サービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置と、アプリケーションサーバと、を含む情報処理システムであって、
前記情報処理装置は、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記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サービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置と、アプリケーションサーバと、を含む情報処理システムの制御方法であって、
前記情報処理装置において、
前記マッピングファイルを表示画面に表示すべく制御する表示制御工程と、
前記表示制御工程により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定工程と、
前記判定工程により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記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サービスを利用するアプリケーションが参照するデータモデルの項目とを対応付けるマッピングファイルを記憶する情報処理装置と、アプリケーションサーバと、を含む情報処理システムを制御するプログラムであって、
前記情報処理装置を、
前記マッピングファイルを表示画面に表示すべく制御する表示制御手段と、
前記表示制御手段により表示された表示画面上における当該マッピングファイルの表示部に対してユーザ操作により指定されたデータを移動する移動操作を受け付けた場合に、当該移動操作がされたデータがデータモデルを示すデータか判定する判定手段と、
前記判定手段により、前記移動操作がされたデータがデータモデルを示すデータであると判定された場合には、移動操作がされた表示部に表示されているマッピングファイル上の、前記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.
JP2016129839A 2016-06-30 2016-06-30 Information processing apparatus, information processing system, control method thereof, and program Active JP6274265B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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