JP6264399B2 - Information processing apparatus, processing method thereof, and program - Google Patents

Information processing apparatus, processing method thereof, and program Download PDF

Info

Publication number
JP6264399B2
JP6264399B2 JP2016125958A JP2016125958A JP6264399B2 JP 6264399 B2 JP6264399 B2 JP 6264399B2 JP 2016125958 A JP2016125958 A JP 2016125958A JP 2016125958 A JP2016125958 A JP 2016125958A JP 6264399 B2 JP6264399 B2 JP 6264399B2
Authority
JP
Japan
Prior art keywords
input
web service
output definition
output
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016125958A
Other languages
Japanese (ja)
Other versions
JP2017228247A (en
Inventor
知子 石田
知子 石田
剛 高塚
剛 高塚
文洋 柴本
文洋 柴本
勲 上田
勲 上田
鈴木 智子
智子 鈴木
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 JP2016125958A priority Critical patent/JP6264399B2/en
Publication of JP2017228247A publication Critical patent/JP2017228247A/en
Application granted granted Critical
Publication of JP6264399B2 publication Critical patent/JP6264399B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、プログラムを生成するための情報処理装置、情報処理装置の処理方法、およびプログラムに関する。   The present invention relates to an information processing apparatus for generating a program, a processing method for the information processing apparatus, and a program.

従来から、入出力定義やデータモデル定義などを設定し、Webアプリケーションを生成するWebアプリケーション開発ツールが存在する。   Conventionally, there are Web application development tools that set an input / output definition, a data model definition, and the like and generate a Web application.

そのWebアプリケーション開発ツールによって生成されたWebアプリケーションのビジネスロジックを外部アプリケーションから利用させるために、当該WebアプリケーションをWebサービス化したいという要望があった。また、当該Webアプリケーションのビジネスロジックと当該Webアプリケーション開発ツール以外で作成した画面レイアウトとを組み合わせてシステムを構築するために、当該WebアプリケーションをWebサービス化したいという要望もあった。   In order to use the business logic of a web application generated by the web application development tool from an external application, there has been a demand for making the web application a web service. In addition, there is a demand to convert the Web application to a Web service in order to construct a system by combining the business logic of the Web application and a screen layout created by other than the Web application development tool.

なお、Webサービスとして公開するためには、Webサービス定義情報(例えば、WSDL(Web Services Description Language)で記述されたファイル。以下、WSDLファイルと記す。)を生成する必要があり、WSDLの記載方法に不慣れな開発者にとっては、WSDLファイルを生成することが難しかった。
特許文献1には、Webコンテンツの編集作業により生成されたXMLファイルを用いて、WSDLファイルを生成する仕組みが示されている。
In order to publish as a web service, it is necessary to generate web service definition information (for example, a file described in WSDL (Web Services Description Language); hereinafter referred to as a WSDL file), and a WSDL description method. It was difficult for developers unaccustomed to generating WSDL files.
Patent Document 1 shows a mechanism for generating a WSDL file using an XML file generated by editing Web content.

特開2004−272871号公報JP 2004-228771 A

しかし、特許文献1の仕組みは、Webコンテンツを用いてWSDLファイルを生成するのみである。
よって、特許文献1の仕組みでは、Webアプリケーション開発ツールによって生成されたWebアプリケーションをWebサービス化する場合に、Webアプリケーション用の入出力定義情報を用いてWSDLファイルを生成することができないという問題がある。つまり、Webアプリケーション用の入出力定義情報とは別に、Webサービス用の入出力定義情報を新たに設定し、WSDLファイルを生成しなければならないため煩雑という問題がある。
However, the mechanism of Patent Document 1 only generates a WSDL file using Web content.
Therefore, the mechanism of Patent Document 1 has a problem that when a Web application generated by a Web application development tool is converted to a Web service, a WSDL file cannot be generated using input / output definition information for the Web application. . That is, there is a problem that the input / output definition information for the Web service must be newly set and the WSDL file must be generated separately from the input / output definition information for the Web application.

そこで、既にあるWebアプリケーション用の入出力定義情報をコピーして、新たにWebサービス用の入出力定義情報を生成するという手順が考えられるが、Webアプリケーション用の入出力定義情報には画面表示に係る定義も含まれるため、上記手順の場合、Webサービスに不要な定義までコピーされてしまうという問題がある。   Therefore, a procedure of copying the existing input / output definition information for the Web application and newly generating the input / output definition information for the Web service can be considered, but the input / output definition information for the Web application is displayed on the screen. Since such a definition is also included, in the case of the above procedure, there is a problem that even a definition unnecessary for the Web service is copied.

そこで、本発明の目的は、Webアプリケーションの定義情報を用いて、Webサービス用の定義情報を容易に生成する仕組みを提供することである。   Accordingly, an object of the present invention is to provide a mechanism for easily generating definition information for a Web service using definition information of a Web application.

Webアプリケーションとして用いられるプログラムを生成する情報処理装置であって、前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される項目を定義する入力定義情報と、前記画面に出力する項目を定義する出力定義情報とをWebアプリケーション用の入出力定義情報として管理するWebアプリケーション入出力定義管理手段と、前記Webアプリケーションの持つ機能をWebサービス化すべく、当該Webサービス用の入出力定義情報を生成する指示を受け付ける指示受付手段と、前記指示受付手段により受け付けた指示に基づいて、前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入出力定義情報を用いて、前記Webサービス用の新たな入出力定義情報を生成するWebサービス入出力定義生成手段と、前記Webサービス入出力定義生成手段により生成された前記Webサービス用の入出力定義情報を、前記Webサービスのインターフェース定義情報生成に用いることが可能な情報として管理するWebサービス入出力定義管理手段とを備えることを特徴とする情報処理装置。
An information processing apparatus that generates a program used as a Web application, and is information that can be used to generate the Web application, and defines input items that are input via a screen of the Web application Web application input / output definition managing means for managing output definition information defining items to be output on the screen as input / output definition information for the Web application, and the Web application in order to make the function of the Web application a Web service An instruction receiving means for receiving an instruction for generating input / output definition information for a service, and an input / output definition for a Web application managed by the Web application input / output definition managing means based on the instruction received by the instruction receiving means information Web service input / output definition generation means for generating new input / output definition information for the Web service, and input / output definition information for the Web service generated by the Web service input / output definition generation means An information processing apparatus comprising: a Web service input / output definition managing unit that manages information that can be used for generating service interface definition information.

本発明によれば、Webアプリケーションの定義情報を用いて、Webサービス用の定義情報を容易に生成する仕組みを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the structure which produces | generates the definition information for Web services easily using the definition information of a Web application can be provided.

本発明に係るプログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバの構成の一例を示すシステム構成図である。1 is a system configuration diagram illustrating an example of a configuration of a program development device, a program development server, a database server, an application client, and an application server according to the present invention. 本発明に係るプログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバとして適用可能な各ハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of each hardware constitutions applicable as a program development apparatus, a program development server, a database server, an application client, and an application server concerning this invention. 本発明の実施の形態のソフトウェア構成を示すブロック図の一例である。It is an example of the block diagram which shows the software structure of embodiment of this invention. 本発明に係るプログラム開発装置の構成図である。It is a block diagram of the program development apparatus concerning this invention. 第1の実施形態に係るWebアプリケーション/Webサービス生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a Web application / Web service production | generation which concerns on 1st Embodiment. 第1の実施形態に係るソースコード生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the source code production | generation concerning 1st Embodiment. 第1の実施形態に係るWebサービスソースコード生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the web service source code production | generation concerning 1st Embodiment. 第1の実施形態に係るWSDL生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of WSDL production | generation concerning 1st Embodiment. 第1の実施形態に係るgetDataリクエスト生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a getData request production | generation which concerns on 1st Embodiment. 第1の実施形態に係るgetDataリクエストWSDL1000の一例を示す図である。It is a figure which shows an example of the getData request | requirement WSDL1000 which concerns on 1st Embodiment. 第1の実施形態に係るgetDataレスポンス生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a getData response generation which concerns on 1st Embodiment. 第1の実施形態に係るgetDataレスポンスWSDL1200の一例を示す図である。It is a figure which shows an example of the getData response WSDL1200 which concerns on 1st Embodiment. 第1の実施形態に係るBPリクエスト生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of BP request production | generation which concerns on 1st Embodiment. 第1の実施形態に係るBPリクエストWSDL1400の一例を示す図である。It is a figure which shows an example of BP request WSDL1400 which concerns on 1st Embodiment. 第1の実施形態に係るBPレスポンス生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of BP response generation which concerns on 1st Embodiment. 第1の実施形態に係るBPレスポンスWSDL1600の一例を示す図である。It is a figure which shows an example of BP response WSDL1600 which concerns on 1st Embodiment. 第1の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)1700の一例を示す図である。It is a figure which shows an example of the input / output definition screen (input / output) 1700 for Web applications which concerns on 1st Embodiment. 第1の実施形態に係るWebサービス用の入出力定義画面(項目一覧)1800の一例を示す図である。It is a figure which shows an example of the input / output definition screen (item list) 1800 for Web services which concerns on 1st Embodiment. 第1の実施形態に係るWebサービス用の入出力定義画面(入出力)1900の一例を示す図である。6 is a diagram showing an example of an input / output definition screen (input / output) 1900 for a Web service according to the first embodiment. FIG. 第1の実施形態に係るデータモデル定義画面の一例を示す図である。It is a figure which shows an example of the data model definition screen which concerns on 1st Embodiment. 第1の実施形態に係るWebサービス利用のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of web service utilization which concerns on 1st Embodiment. 第1の実施形態に係るWebサービスを利用する外部アプリケーションのINPUT画面2200の一例を示す図である。It is a figure which shows an example of the INPUT screen 2200 of the external application using the Web service which concerns on 1st Embodiment. 第1の実施形態に係るWebサービスサーバに送信するリクエスト2300の一例を示す図である。It is a figure which shows an example of the request 2300 transmitted to the Web service server which concerns on 1st Embodiment. 第1の実施形態に係るWebサービスサーバから送信されるレスポンス2400の一例を示す図である。It is a figure which shows an example of the response 2400 transmitted from the Web service server which concerns on 1st Embodiment. 第1の実施形態に係るWebサービスを利用する外部アプリケーションのOUTPUT画面2500の一例を示す図である。It is a figure which shows an example of the OUTPUT screen 2500 of the external application using the Web service which concerns on 1st Embodiment. 第1の実施形態に係る商品マスタテーブル2600の一例を示す図である。It is a figure which shows an example of the goods master table 2600 which concerns on 1st Embodiment. 第1の実施形態に係る入出力定義画面の一例を示す図である。It is a figure which shows an example of the input / output definition screen which concerns on 1st Embodiment. 第1の実施形態に係るWebサービスインタフェースコードの一例を示す図である。It is a figure which shows an example of the web service interface code which concerns on 1st Embodiment. 第1の実施形態に係る入出力定義作成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the input / output definition preparation which concerns on 1st Embodiment. 第1の実施形態に係る入出力定義編集のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of input / output definition edit which concerns on 1st Embodiment. 第1の実施形態に係る確認メッセージの一例を示す図である。It is a figure which shows an example of the confirmation message which concerns on 1st Embodiment. 第1の実施形態に係るWebアプリケーション用の入出力定義画面(項目一覧)3200の一例を示す図である。It is a figure which shows an example of the input / output definition screen (item list) 3200 for Web applications which concerns on 1st Embodiment. 第2の実施形態に係るソースコード生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the source code production | generation concerning 2nd Embodiment. 第2の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)3300の一例を示す図である。It is a figure which shows an example of the input / output definition screen (input / output) 3300 for Web applications which concerns on 2nd Embodiment. 第3の実施形態に係るソースコード生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the source code production | generation concerning 3rd Embodiment. 第3の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)3500の一例を示す図である。It is a figure which shows an example of the input / output definition screen (input / output) 3500 for Web applications which concerns on 3rd Embodiment. 第1の実施形態に係るWebアプリケーション画面3700の一例を示す図である。It is a figure which shows an example of the web application screen 3700 which concerns on 1st Embodiment. 第1の実施形態に係るWebアプリケーション用の入出力定義画面の一例を示す図である。It is a figure which shows an example of the input / output definition screen for Web applications which concerns on 1st Embodiment. 第1の実施形態に係るコピー元入出力定義内容コピー&作成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of copy source input / output definition content copy & creation concerning 1st Embodiment. 第1の実施形態に係る「Webアプリ入出力定義からWebサービス入出力定義を作成」設定画面4000の一例を示す図である。6 is a diagram illustrating an example of a “create web service input / output definition from web application input / output definition” setting screen 4000 according to the first embodiment. FIG. 第1の実施形態に係るWebサービス用の入出力定義画面の一例を示す図である。It is a figure which shows an example of the input / output definition screen for Web services which concerns on 1st Embodiment. 第1の実施形態に係るWebサービス入出力定義更新のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the web service input / output definition update which concerns on 1st Embodiment.

以下、本発明の実施の形態を、図面を参照して詳細に説明するが、本発明の特徴の一例を表している箇所は、図37〜図41である。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings, and FIGS. 37 to 41 show an example of features of the present invention.

〔第1の実施形態〕
図1は、本発明に係るプログラム開発装置(開発者がWebアプリケーション生成のために使用する情報処理装置)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバの構成の一例を示すシステム(情報処理システム)構成図である。
[First Embodiment]
FIG. 1 shows an example of the configuration of a program development apparatus (information processing apparatus used by a developer for generating a Web application), a program development server, a database server, an application client (client apparatus), and an application server according to the present invention. 1 is a system (information processing system) configuration diagram.

プログラム開発装置101は、開発者の操作に従って画面レイアウトおよびデータベース検索指示などを定義する。プログラム開発装置101単体では、開発者の入力受付を行い、後述するプログラム開発サーバ102に実際のプログラム生成処理、アプリケーション生成処理をさせてもよいし、プログラム開発装置101単体でプログラム生成、アプリケーション生成まで処理してもよい。   The program development apparatus 101 defines a screen layout, a database search instruction, and the like according to the developer's operation. The program development apparatus 101 alone may accept input from the developer and cause the program development server 102 (to be described later) to perform actual program generation processing and application generation processing. It may be processed.

なお、この実施形態においては、プログラム開発装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。   In this embodiment, the application generated by the program development apparatus 101 is a Web application. However, the application is not limited to this, and an application or embedded software that operates on an information processing apparatus such as a mobile phone, a smartphone, or a tablet. The application does not have to be communication using Web technology.

プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。   The program development servers 102a to 102b (information processing apparatuses) develop a program in accordance with a developer instruction input by the program development apparatus 101. The program development server 102a may be arranged in a network 106 such as a LAN, and the program development server 102b may be arranged on the Internet or the cloud.

データベースサーバ103a〜103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。   The database servers 103a to 103b (information processing apparatuses) are databases used by the developed application. In the present invention, the database servers 103a to 103b (information processing apparatuses) may be used for operation confirmation during development. For example, the database server 103 may be configured by the same device as the program development device 101 for use by a developer, or may be arranged in a network 106 such as a LAN (database server 103a). Moreover, you may arrange | position on the internet or a cloud (database server 103b). When the program development apparatus 101 cooperates with the program development server 102, the program development server 102 and the database server 103 may be configured in the same apparatus.

アプリケーションサーバ105a〜105b(情報処理装置)は、プログラム開発装置101で開発されたアプリケーションを実行する。LANなどのネットワーク106内に配置されてもよい(アプリケーションサーバ105a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションサーバ105b)。また、ネットワーク106、インターネット、クラウド上のデータベースサーバ103と接続して動作する可能である。   Application servers 105a to 105b (information processing apparatuses) execute applications developed by the program development apparatus 101. It may be arranged in a network 106 such as a LAN (application server 105a), or may be arranged on the Internet or in the cloud (application server 105b). Further, it is possible to operate by connecting to the database server 103 on the network 106, the Internet, or the cloud.

アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。携帯端末などの情報処理装置であってもよい。   The application clients 104a to 104b (information processing apparatuses) are user input terminals that operate application programs developed by the program development apparatus 101 in cooperation with the application server 105. It may be arranged in a network 106 such as a LAN (application client 104a), or may be arranged on the Internet or in the cloud (application client 104b). An information processing apparatus such as a portable terminal may be used.

図2は、本発明に係るプログラム開発装置101、プログラム開発サーバ102、データベースサーバ103、アプリケーションクライアント104、アプリケーションサーバ105として適用可能な各ハードウェア構成の一例を示すブロック図である。
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the program development apparatus 101, the program development server 102, the database server 103, the application client 104, and the application server 105 according to the present invention.
In FIG. 2, the CPU 201 comprehensively controls each device connected to the system bus 204.

また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The ROM 203 or the external memory 211 stores an operating system (OS) that is a control program of the CPU 201 and programs for realizing various functions described later of the information processing apparatus such as each server, client, and apparatus.
The RAM 202 functions as a main memory, work area, temporary save area, and the like for the CPU 201.

入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The input controller 205 controls input from the input unit 209. Examples of the input unit 209 include pointing devices such as a keyboard and a mouse in the information processing apparatus.
The output controller 206 controls the display of the output unit 210. Examples of the output unit 210 include a CRT and a liquid crystal display.

外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
The external memory controller 207 controls access to the external memory 211 that stores a boot program, various applications, font data, user files, edit files, printer drivers, and the like. In addition, various tables and parameters for realizing various functions of each server, client, and device are stored. Examples of the external memory 211 include a hard disk (HD), a flexible disk (FD), a compact flash (registered trademark) connected to a PCMCIA card slot via an adapter, and smart media.
The communication I / F controller 208 executes communication control processing with an external device via a network.

本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。   A program 212 for realizing the present invention is recorded in the external memory 211 and is executed by the CPU 201 by being loaded into the RAM 202 as necessary.

図3は、本発明の実施の形態のソフトウェア構成を示すブロック図の一例である。
プログラム開発装置101は、以下の機能部を備える。
Webアプリケーション用入出力定義管理部301は、プログラムを実行するための引数として入力される項目を定義するWebアプリケーション用入力定義情報と、プログラムを実行した処理結果として出力する項目を定義するWebアプリケーション用出力定義情報とを、Webアプリケーション用入出力定義情報として管理する機能部である。
FIG. 3 is an example of a block diagram illustrating a software configuration according to the embodiment of this invention.
The program development apparatus 101 includes the following functional units.
The Web application input / output definition management unit 301 is for Web application input definition information for defining items to be input as arguments for executing a program and items to be output as processing results of executing the program. It is a functional unit that manages output definition information as input / output definition information for Web applications.

Webサービス用入出力定義生成部302は、Webアプリケーション用入出力定義管理部301により管理されているWebアプリケーション用入出力定義情報を用いて、Webサービスに用いられるプログラムを実行するための引数として入力される項目を定義するWebサービス用入力定義情報と、Webサービスに用いられるプログラムを実行した処理結果として出力する項目を定義するWebサービス用出力定義情報とを、Webサービスとして利用可能にするために生成する機能部である。   The Web service input / output definition generation unit 302 uses the Web application input / output definition information managed by the Web application input / output definition management unit 301 as an argument for executing a program used for the Web service. In order to make Web service input definition information defining items to be used and Web service output definition information defining items to be output as processing results of executing a program used for the Web service available as a Web service It is a function part to generate.

Webサービス用入出力定義生成部302は、Webアプリケーション用入出力定義管理部301により管理されているWebアプリケーション用入力定義情報とWebアプリケーション用出力定義情報のうちWebサービスの実行に必要な情報を用いて、Webサービス用入力定義情報とWebサービス用出力定義情報を生成する機能部である。   The Web service input / output definition generation unit 302 uses information necessary for executing the Web service among the Web application input definition information and the Web application output definition information managed by the Web application input / output definition management unit 301. The function unit generates Web service input definition information and Web service output definition information.

Webサービス用入出力定義生成部302は、Webアプリケーション用入出力定義管理部301により管理されているWebアプリケーション用入力定義情報とWebアプリケーション用出力定義情報のうち、Webサービスの実行に不要な情報は用いずに、Webサービス用入力定義情報とWebサービス用出力定義情報とを生成する機能部である。   The Web service input / output definition generation unit 302 includes information necessary for Web service execution among the Web application input definition information and the Web application output definition information managed by the Web application input / output definition management unit 301. It is a functional unit that generates Web service input definition information and Web service output definition information without using them.

Webサービス用入出力定義生成部302は、Webアプリケーション用入出力定義管理部301により管理されているWebアプリケーション用入力定義情報とWebアプリケーション用出力定義情報のうち、Webサービスの実行に不要な情報を無効な状態にして、Webサービス用入力定義情報とWebサービス用出力定義情報とを生成する機能部である。   The Web service input / output definition generation unit 302 generates information unnecessary for executing the Web service from the Web application input definition information and the Web application output definition information managed by the Web application input / output definition management unit 301. It is a functional unit that generates Web service input definition information and Web service output definition information in an invalid state.

表示部303は、Webサービス用入出力定義生成部302により生成されたWebサービス用入力定義情報もしくは/およびWebサービス用出力定義情報を変更できるように表示する機能部である。   The display unit 303 is a functional unit that displays the Web service input definition information and / or the Web service output definition information generated by the Web service input / output definition generation unit 302 so as to be changed.

対応付管理部304は、Webサービス用入出力定義生成部302による生成に用いられたWebアプリケーション用入出力定義管理部301により管理されているWebアプリケーション用入力定義情報およびWebアプリケーション用出力定義情報と、Webサービス用入出力定義生成部302により生成されたWebサービス用入力定義情報およびWebサービス用出力定義情報とを、それぞれ対応付けて管理する機能部である。
変更受付部305は、対応付管理部304により対応付けられたどちらか一方の入力定義情報もしくは/および出力定義情報の変更を受け付ける機能部である。
The association management unit 304 includes Web application input definition information and Web application output definition information managed by the Web application input / output definition management unit 301 used for generation by the Web service input / output definition generation unit 302. The Web service input / output definition generating unit 302 and the Web service output definition information generated by the Web service input / output definition generating unit 302 are associated with each other and managed.
The change receiving unit 305 is a functional unit that receives a change in one of the input definition information and / or the output definition information associated by the association management unit 304.

変更反映部306は、変更受付手段により受け付けた変更の内容に従って、対応付管理部304により対応付けられたもう一方の入力定義情報もしくは/および出力定義情報を変更する機能部である。   The change reflection unit 306 is a functional unit that changes the other input definition information or / and output definition information associated by the association management unit 304 in accordance with the content of the change received by the change receiving unit.

通知部307は、変更受付部305により変更を受け付けた場合、対応付管理部304により対応付けられた入力定義情報もしくは/および出力定義情報が存在することをユーザに通知する機能部である。   The notification unit 307 is a functional unit that notifies the user that the input definition information and / or the output definition information associated by the association management unit 304 exists when the change reception unit 305 receives a change.

変更反映部306は、変更受付部305により受け付けた変更の内容が、Webアプリケーション用出力定義情報のうち、Webサービスの実行に不要な情報の変更であった場合、Webサービス用出力定義情報に当該変更を反映させない機能部である。   If the content of the change received by the change receiving unit 305 is a change in information unnecessary for execution of the Web service in the Web application output definition information, the change reflection unit 306 applies the change to the Web service output definition information. It is a functional unit that does not reflect changes.

Webサービス用プログラム生成部308は、Webサービス用入出力定義生成部302により生成されたWebサービス用入力定義情報とWebサービス用出力定義情報とを用いて、Webサービスの実行に用いられるプログラムを生成する機能部である。   The Web service program generation unit 308 generates a program used to execute the Web service using the Web service input definition information and the Web service output definition information generated by the Web service input / output definition generation unit 302. It is a functional part to do.

変更反映部306は、変更受付部305により受け付けた変更が、Webアプリケーション用入力定義情報またはWebアプリケーション用出力定義情報の変更である場合であって、対応付管理部304により当該入力定義情報または当該出力定義情報に対応付けられたWebサービス用入力定義情報またはWebサービス用出力定義情報を用いて、Webサービス用プログラム生成部308によりWebサービスに用いられるプログラムを生成されたことがある場合、当該Webアプリケーション用入力定義情報もしくは/および当該Webアプリケーション用出力定義情報の変更を、当該Webサービス用入力定義情報もしくは/および当該Webサービス用出力定義情報に反映させない機能部である。   The change reflecting unit 306 is a case where the change received by the change receiving unit 305 is a change in the input definition information for Web application or the output definition information for Web application. When a program used for a web service has been generated by the web service program generation unit 308 using the web service input definition information or the web service output definition information associated with the output definition information, This is a functional unit that does not reflect changes in the application input definition information or / and the Web application output definition information in the Web service input definition information or / and the Web service output definition information.

図4は、プログラム開発装置101の構成図である。プログラム開発装置101は、Webアプリケーションを開発する開発者が定義した定義ファイルをもとにWebアプリケーションを自動生成することを目的とした装置である。プログラム開発装置101は、リポジトリ定義部400、アプリケーション生成部410、Webアプリケーションコード生成部420、Webサービスコード生成部430、ソースコードコンパイル部440により構成される。   FIG. 4 is a configuration diagram of the program development apparatus 101. The program development apparatus 101 is an apparatus for automatically generating a Web application based on a definition file defined by a developer who develops a Web application. The program development apparatus 101 includes a repository definition unit 400, an application generation unit 410, a Web application code generation unit 420, a Web service code generation unit 430, and a source code compilation unit 440.

リポジトリ定義部400は、データベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405、Webサービス入出力定義406(以下、Webサービス用の入出力定義406と記す)を備える。これらのファイルは、Webアプリケーション開発ツールを介して開発者によって入力され、作成される。   The repository definition unit 400 includes a database definition 401, an application definition 402, a data model definition 403, an input / output definition 404, a business process definition 405, and a Web service input / output definition 406 (hereinafter referred to as an input / output definition 406 for Web service). Prepare. These files are input and created by a developer via a web application development tool.

すなわち、リポジトリ定義部400は、プログラムを実行するための引数として入力される項目を定義するWebアプリケーション用入力定義情報と、プログラムを実行した処理結果として出力する項目を定義するWebアプリケーション用出力定義情報とを、Webアプリケーション用入出力定義情報として管理する手段の一例である。   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.

次に、Webアプリケーションコード生成部420について説明する。リポジトリ定義解析部421は、リポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を読み込み解析する。Webアプリケーションコード生成部422は、外部メモリ211に記憶されているコード生成ルールと、リポジトリ定義解析部421によって解析された内容とを用いて、ソースコードコンパイル部440を介し、Webアプリケーションモジュール454を生成する。すなわち、Webアプリケーションコード生成部422は、Webアプリケーションに用いられるプログラムを生成するルールを記憶する手段の一例である。   Next, the web application code generation unit 420 will be described. The repository definition analysis unit 421 reads and analyzes the database definition 401, the application definition 402, the data model definition 403, the input / output definition 404, and the business process definition 405 from the repository definition unit 400. The Web application code generation unit 422 generates a Web application module 454 via the source code compilation unit 440 using the code generation rules stored in the external memory 211 and the contents analyzed by the repository definition analysis unit 421. To do. 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について説明する。Webサービス入出力定義解析部431は、リポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、ビジネスプロセス定義405、Webサービス用の入出力定義406を読み込み解析する。Webサービスインタフェースコード生成部432は、外部メモリ211に記憶されているコード生成ルールと、Webサービス入出力定義解析部431によって解析された内容とを用いて、ソースコードコンパイル部440を介し、Webアプリケーションモジュール454を生成する。また、WSDL生成部433は、Webサービス入出力定義解析部431によって解析された内容を用いて、Webサービスモジュール451を生成する。
すなわち、Webサービスコード生成部430は、Webサービスに用いられるプログラムを生成するルールを記憶する手段の一例である。
Next, the Web service code generation unit 430 will be described. The Web service input / output definition analysis unit 431 reads and analyzes the database definition 401, application definition 402, data model definition 403, business process definition 405, and Web service input / output definition 406 from the repository definition unit 400. The Web service interface code generation unit 432 uses the code generation rules stored in the external memory 211 and the content analyzed by the Web service input / output definition analysis unit 431 to execute a Web application via the source code compilation unit 440. Module 454 is generated. Also, the WSDL generation unit 433 generates the Web service module 451 using the content analyzed by the Web service input / output definition analysis unit 431.
That is, the Web service code generation unit 430 is an example of a unit that stores a rule for generating a program used for a Web service.

図5は、Webアプリケーション/Webサービス生成のフローチャートの一例を示す図である。なお、以下のフローチャートの各ステップは、各装置のCPU201が実行する。   FIG. 5 is a diagram illustrating an example of a flowchart of Web application / Web service generation. Each step of the following flowchart is executed by the CPU 201 of each device.

ステップS501において、プログラム開発装置101は、ユーザによるWebアプリケーション/Webサービス生成指示を受け付けると、外部メモリ211に記憶されているリポジトリ定義部400のアプリケーション定義402をRAM202に読み込む。すなわち、ステップS501は、Webサービスに用いられるプログラムの生成指示を受け付ける処理の一例を示すステップである。   In step S <b> 501, upon receiving a Web application / Web service generation instruction from the user, the program development apparatus 101 reads the application definition 402 of the repository definition unit 400 stored in the external memory 211 into the RAM 202. That is, step S501 is a step showing an example of processing for accepting an instruction for generating a program used for a Web service.

ステップS502において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のデータモデル定義403をRAM202に読み込む。   In step S <b> 502, the program development apparatus 101 reads the data model definition 403 of the repository definition unit 400 stored in the external memory 211 into the RAM 202.

ステップS503において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400の入出力定義404をRAM202に読み込む。   In step S <b> 503, the program development apparatus 101 reads the input / output definition 404 of the repository definition unit 400 stored in the external memory 211 into the RAM 202.

ステップS504において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のビジネスプロセス定義405をRAM202に読み込む。   In step S <b> 504, the program development apparatus 101 reads the business process definition 405 of the repository definition unit 400 stored in the external memory 211 into the RAM 202.

ステップS505において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のデータベース定義401をRAM202に読み込む。   In step S <b> 505, the program development apparatus 101 reads the database definition 401 of the repository definition unit 400 stored in the external memory 211 into the RAM 202.

ステップS506において、プログラム開発装置101は、RAM202に読み込んだリポジトリ定義部400の各定義・各ファイルから情報を取得し、ソースコードを生成する。   In step S506, the program development apparatus 101 acquires information from each definition and each file of the repository definition unit 400 read into the RAM 202, and generates a source code.

なお、生成されたソースコードにはプログラミング言語が記載されたファイルに加え、HTML、JSP、JavaScript(登録商標)等のWebアプリケーションやWebサービスの提供に利用されるファイルも含まれる。ソースコード生成処理については、図6にて詳細を説明する。   The generated source code includes files used for providing web applications and web services such as HTML, JSP, Javascript (registered trademark), in addition to files describing a programming language. Details of the source code generation processing will be described with reference to FIG.

ステップS507において、プログラム開発装置101は、ステップS506にて生成したソースコードをアプリケーションサーバ105に配置(デプロイ)する。これにより、アプリケーションサーバ105上でWebアプリケーションまたはWebサービスが動作するようになる。
以上で、図5の説明を終了する。
In step S507, the program development apparatus 101 arranges (deploys) the source code generated in step S506 on the application server 105. As a result, the web application or the web service operates on the application server 105.
This is the end of the description of FIG.

図6は、ソースコード生成のフローチャートの一例を示す図である。
ステップS601において、プログラム開発装置101は、RAM202から、WebアプリケーションまたはWebサービスの生成を指示されたアプリケーション定義402に対応付けられている入出力定義404またはWebサービス用の入出力定義406を取得し、取得した入出力定義404またはWebサービス用の入出力定義406について、それぞれステップS602〜ステップS605を繰り返す。
FIG. 6 is a diagram illustrating an example of a source code generation flowchart.
In step S601, the program development apparatus 101 acquires from the RAM 202 the input / output definition 404 or the input / output definition 406 for Web service associated with the application definition 402 instructed to generate the Web application or Web service. Steps S602 to S605 are repeated for the obtained input / output definition 404 or Web service input / output definition 406, respectively.

ステップS602において、プログラム開発装置101は、取得した入出力定義404またはWebサービス用の入出力定義406の実行形態(図17の入出力タイプ1701の値、または図19の入出力タイプ1901の値)を判定し、入出力タイプ1701のように値が“IO”の場合はWebアプリケーション用の入出力定義404であると捉えてステップS603に進み、入出力タイプ1901のように値が“WEB SERVICE”の場合はWebサービス用の入出力定義406であると捉えてステップS604に進む。   In step S602, the program development apparatus 101 executes the acquired input / output definition 404 or Web service input / output definition 406 (the value of the input / output type 1701 in FIG. 17 or the value of the input / output type 1901 in FIG. 19). If the value is “IO” as in the input / output type 1701, it is regarded as the input / output definition 404 for the Web application and the process proceeds to step S 603. The value is “WEB SERVICE” as in the input / output type 1901. In this case, it is assumed that the input / output definition 406 is for the Web service, and the process advances to step S604.

すなわち、入出力タイプ1701は、プログラムが実行される形態を設定する手段の一例である。また、ステップS602は、設定された実行形態に従って、入出力定義情報を用いて、Webアプリケーションに用いられるプログラムを生成するかWebサービスに用いられるプログラムを生成するかを制御する処理の一例を示すステップである。また、図17〜図19の入出力定義画面は、入出力定義情報の設定を受け付ける手段の一例である。   In other words, the input / output type 1701 is an example of a unit that sets a form in which a program is executed. Step S602 is a step showing an example of processing for controlling whether to generate a program used for a Web application or a program used for a Web service using the input / output definition information according to the set execution form. It is. Also, the input / output definition screens of FIGS. 17 to 19 are examples of means for accepting the setting of input / output definition information.

ステップS603において、プログラム開発装置101は、入出力定義404を用いて、Webアプリケーション用の入出力定義ソースコードを生成する。具体的には、入出力定義404から、入出力項目(図32の項目タイプ3201=IO(入出力)またはI(入力)の項目)、画面表示に必要なパラメータ(図32の初期値3202)、検索対象(図17の対象データモデル1702)、検索条件(図17の対象条件1703)を取得し解析し、図28の2801、2802のようなWebアプリケーション用の入出力定義ソースコードを生成する。   In step S603, the program development apparatus 101 uses the input / output definition 404 to generate the input / output definition source code for the Web application. Specifically, from the input / output definition 404, input / output items (item type 3201 in FIG. 32 = IO (input / output) or I (input) items), parameters required for screen display (initial values 3202 in FIG. 32). The search target (target data model 1702 in FIG. 17) and the search condition (target condition 1703 in FIG. 17) are acquired and analyzed, and input / output definition source codes for Web applications such as 2801 and 2802 in FIG. 28 are generated. .

なお、2801のメソッドの戻り値を、入出力定義コード名3203+“Disp”とする。また、入出力項目(図32の項目タイプ3201=IO(入出力)またはI(入力)の項目)は、2801のparamListおよび2802のformに含まれることになる。よって、入出力定義404の項目タイプ3201の各設定は、ActionFormクラスのgetter/setterメソッド、JSPファイル内の対応する画面項目のIDやNAMEなどに反映されて、Webアプリケーション用の入出力定義ソースコードが生成される。   The return value of the method 2801 is input / output definition code name 3203+ “Disp”. Input / output items (item type 3201 in FIG. 32 = IO (input / output) or I (input) item) are included in 2801 paramlist and 2802 form. Therefore, each setting of the item type 3201 of the input / output definition 404 is reflected in the getter / setter method of the ActionForm class, the ID or NAME of the corresponding screen item in the JSP file, and the input / output definition source code for the Web application Is generated.

なお、図32は、Webアプリケーション用の入出力定義画面(項目一覧)3200の一例を示す図であり、ユーザによって表示タブ「入出力(図32の3204)」が押下されると、図17のWebサービス用の入出力定義画面(入出力)1700を表示する。   FIG. 32 is a diagram showing an example of an input / output definition screen (item list) 3200 for a Web application. When the display tab “input / output (3204 in FIG. 32)” is pressed by the user, FIG. An input / output definition screen (input / output) 1700 for the Web service is displayed.

ステップS604において、プログラム開発装置101は、Webサービス用の入出力定義406を用いて、Webサービス用の入出力定義ソースコードを生成する。すなわち、ステップS604は、受け付けたプログラム生成指示に従って、入力定義情報と出力定義情報とを用いて、Webサービスに用いられるプログラムを生成する処理の一例を示すステップである。この処理については、後述する図7にて詳細を説明する。   In step S604, the program development apparatus 101 uses the Web service input / output definition 406 to generate the Web service input / output definition source code. That is, step S604 is a step showing an example of processing for generating a program used for the Web service using the input definition information and the output definition information in accordance with the received program generation instruction. This process will be described in detail with reference to FIG.

ステップS605において、プログラム開発装置101は、このWebサービス用の入出力定義406を用いて、Webサービス用の入出力定義ソースコードを生成したことを示すフラグをONにし、外部メモリ211に記憶する。   In step S <b> 605, the program development apparatus 101 uses the web service input / output definition 406 to turn on a flag indicating that the web service input / output definition source code has been generated, and stores the flag in the external memory 211.

以上により、設定した入出力定義情報を用いて、WebアプリケーションやWebサービスなど開発者が所望する形態に応じたプログラムファイルを容易に生成することができるようになる。特に、アプリケーションかWebサービスを容易に切り替えさせ、所望の形態のプログラムファイルを生成することができるようになる。
以上で、図6の説明を終了する。
As described above, it is possible to easily generate a program file according to a form desired by a developer, such as a Web application or a Web service, using the set input / output definition information. In particular, it is possible to easily switch between an application or a Web service and generate a program file in a desired form.
This is the end of the description of FIG.

図7は、Webサービスソースコード生成のフローチャートの一例を示す図である。
ステップS701において、プログラム開発装置101は、Webサービス用の入出力定義406を解析する。具体的には、入出力定義404から、入出力項目(図18の項目タイプ1801=IO(入出力)またはI(入力)の項目)、画面表示に必要なパラメータ(図18の初期値1802)、検索対象(図19の対象データモデル1902)、検索条件(図19の対象条件1903)を取得し解析する。
FIG. 7 is a diagram illustrating an example of a flowchart of Web service source code generation.
In step S701, the program development apparatus 101 analyzes the input / output definition 406 for the Web service. Specifically, from the input / output definition 404, input / output items (item type 1801 in FIG. 18 = IO (input / output) or I (input) items), parameters required for screen display (initial values 1802 in FIG. 18). The search target (target data model 1902 in FIG. 19) and the search condition (target condition 1903 in FIG. 19) are acquired and analyzed.

なお、図18は、Webサービス用の入出力定義画面(項目一覧)1800の一例を示す図であり、ユーザによって表示タブ「入出力(図18の1804)」が押下されると、図19のWebサービス用の入出力定義画面(入出力)1900を表示する。   FIG. 18 is a diagram showing an example of an input / output definition screen (item list) 1800 for a Web service. When the display tab “input / output (1804 in FIG. 18)” is pressed by the user, FIG. An input / output definition screen (input / output) 1900 for the Web service is displayed.

なお、図17と図19、図18と図32の画面構成は同じであり、図29で後述するが、入出力定義404は、既存の入出力定義をコピーして作成することができる。よって、Webサービス用の入出力定義406には、画面表示上の装飾等(例えば、ラジオボタンやセレクトボックス等、どのような画面部品を用いて表示するか等)、Webサービスに不要な設定も含まれる。そのため、ステップS701では、Webサービス用の入出力定義406の解析を行う際に、Webサービスに不要な設定を除き、解析を行う。これにより、解析処理をより短い時間で行うことができるようになる。   The screen configurations of FIGS. 17 and 19 and FIGS. 18 and 32 are the same, and will be described later with reference to FIG. 29. However, the input / output definition 404 can be created by copying an existing input / output definition. Therefore, the input / output definition 406 for the Web service includes settings unnecessary for the Web service, such as decorations on the screen display (for example, what screen components such as radio buttons and select boxes are used for display). It is. For this reason, in step S701, when the input / output definition 406 for the Web service is analyzed, settings unnecessary for the Web service are excluded and the analysis is performed. As a result, the analysis process can be performed in a shorter time.

すなわち、ステップS701は、入力定義情報と出力定義情報のうち、Webサービスに必要な情報を用いて、Webサービスに用いられるプログラムを生成する処理の一例を示すステップである。   That is, step S701 is a step showing an example of a process for generating a program used for the web service using information necessary for the web service out of the input definition information and the output definition information.

ステップS702において、プログラム開発装置101は、取得した入出力定義404の情報を基にして、図28の2803のようなデータ取得のWebサービスインタフェースコードを生成する。具体的には、図18の入出力定義コード名1803を用いて、戻り値を“WSIo”+ 入出力定義コード名1803 +“GetDataResult”とし、メソッド名を 入出力定義コード名1803+“_getData”として出力し、パラメータ(初期値1802および対象条件1903に含まれる@の個数分だけ)を引数とする。   In step S702, the program development apparatus 101 generates a Web service interface code for data acquisition such as 2803 in FIG. 28 based on the acquired information of the input / output definition 404. Specifically, using the input / output definition code name 1803 in FIG. 18, the return value is “WSIO” + input / output definition code name 1803+ “GetDataResult”, and the method name is input / output definition code name 1803 + “_ getData”. The parameter (only the number of @ included in the initial value 1802 and the target condition 1903) is used as an argument.

なお、このメソッドは、アプリケーションサーバ105から、getDataのWebサービスが呼び出されたときに実行される(図21のステップS2102〜ステップS2104)。   This method is executed when the getData Web service is called from the application server 105 (steps S2102 to S2104 in FIG. 21).

また、アクション項目(図27の2701)にBP(ビジネスプロセス)定義(加工式2703の“@数字”を含む文字列)がある場合は、図28の2804のようなビジネスプロセスを呼び出すWebサービスインタフェースコードを生成する。具体的には、図18の入出力定義コード名1803を用いて、戻り値を“WSIoActionResult”、メソッド名を 入出力定義コード名1803 +“_exec”+ アクションのコード名(加工式2703から@を除いた文字列)として出力し、パラメータを引数とする。   If the action item (2701 in FIG. 27) has a BP (business process) definition (a character string including “@number” in the processing formula 2703), a Web service interface that calls a business process such as 2804 in FIG. Generate code. Specifically, using the input / output definition code name 1803 in FIG. 18, the return value is “WSIOActionResult”, the method name is input / output definition code name 1803 + “_ exec” + the code name of the action (from the processing formula 2703 (Excluding the character string) and using the parameter as an argument.

なお、このメソッドは、アプリケーションサーバ105から、BP(ビジネスプロセス)のWebサービスが呼び出されたときに実行される(図21のステップS2102〜ステップS2104)。   This method is executed when a BP (business process) Web service is called from the application server 105 (steps S2102 to S2104 in FIG. 21).

ステップS703において、プログラム開発装置101は、ステップS701にて解析したWebサービス用の入出力定義406を用いて、WSDL生成(図8)を行う。この処理については、図8にて詳細を説明する。すなわち、ステップS702およびステップS703は、設定された実行形態がWebサービスである場合に、設定を受け付けた入力定義情報に含まれるWebサービスを利用するユーザによって画面から入力される値を表す文字列、および設定を受け付けた出力定義情報に含まれるWebサービスを利用した結果、取得される値を表す文字列のうち少なくとも一方と、記憶されているルールを用いて、Webサービスの利用に必要なインタフェースとなるメッセージを生成し、当該メッセージを含むXMLファイルを生成する処理の一例を示すステップである。
以上で、図7の説明を終了する。
In step S703, the program development apparatus 101 performs WSDL generation (FIG. 8) using the Web service input / output definition 406 analyzed in step S701. This process will be described in detail with reference to FIG. That is, step S702 and step S703 are a character string representing a value input from the screen by a user who uses the web service included in the input definition information received when the set execution form is a web service, As a result of using the Web service included in the output definition information for which the setting has been received, at least one of the character strings representing the acquired values, and an interface necessary for using the Web service using a stored rule, Is a step showing an example of a process for generating a message and generating an XML file including the message.
Above, description of FIG. 7 is complete | finished.

図8は、WSDL生成のフローチャートの一例を示す図である。
ステップS801において、プログラム開発装置101は、getDataリクエスト生成(図9)を行う。この処理については、図9にて詳細を説明する。
ステップS802において、getDataレスポンス生成(図11)を行う。この処理については、図11にて詳細を説明する。
なお、getDataリクエスト/getDataレスポンスは対になっており、主に画面情報を取得するために利用される。
ステップS803において、BPリクエスト生成(図13)を行う。この処理については、図13にて詳細を説明する。
ステップS804において、BPレスポンス生成(図15)を行う。この処理については、図15にて詳細を説明する。
なお、BPリクエスト/BPレスポンスは対になっており、それぞれアクション実行とアクション結果取得のために利用される。
以上で、図8の説明を終了する。
FIG. 8 is a diagram illustrating an example of a flowchart of WSDL generation.
In step S801, the program development apparatus 101 generates a getData request (FIG. 9). This process will be described in detail with reference to FIG.
In step S802, a getData response is generated (FIG. 11). Details of this processing will be described with reference to FIG.
The getData request / getData response is a pair and is mainly used to acquire screen information.
In step S803, BP request generation (FIG. 13) is performed. This process will be described in detail with reference to FIG.
In step S804, BP response generation (FIG. 15) is performed. This process will be described in detail with reference to FIG.
The BP request / BP response is paired and used for action execution and action result acquisition, respectively.
Above, description of FIG. 8 is complete | finished.

図9は、getDataリクエスト生成のフローチャートの一例を示す図である。
ステップS901において、プログラム開発装置101は、入出力定義404に対象条件1903の設定があるか否かを判定し、ある場合はステップS902に進み、ない場合は図9の処理を終了する。
ステップS902において、プログラム開発装置101は、WSDLにデータ取得処理のリクエストの記述を出力する(図10の1001)。具体的には、入出力定義コード名1803を用いて、 operation name= 入出力定義コード名1803+“_getData”、message= 入出力定義コード名1803+“_getDataRequest” のように出力する。これにより、「IO002_WSDL_getData」という検索処理がWebサービスとして公開され、外部アプリケーションから利用することができるようになる。
FIG. 9 is a diagram illustrating an example of a flowchart for generating a getData request.
In step S901, the program development apparatus 101 determines whether or not the target condition 1903 is set in the input / output definition 404. If there is, the process proceeds to step S902, and if not, the process in FIG.
In step S902, the program development apparatus 101 outputs a description of a request for data acquisition processing to WSDL (1001 in FIG. 10). Specifically, using the input / output definition code name 1803, the operation name = input / output definition code name 1803 + “_ getData” and message = input / output definition code name 1803 + “_ getDataRequest” are output. As a result, a search process “IO002_WSDL_getData” is published as a Web service and can be used from an external application.

ステップS903において、プログラム開発装置101は、入出力定義404にパラメータがあるか否かを判定し、ある場合はステップS904に進み、ない場合は図9の処理を終了する。具体的には、対象条件1903または初期値1802に“@数字”を含む文字列が含まれる場合は、図10の1002の記述を出力し、ステップS904に進む。1002の記述は、具体的には、入出力定義コード名1803を用いて、 element=“ns:”+ 入出力定義コード名1803 +“_getData” とする。これにより、検索処理「IO002_WSDL_getData」を呼び出す際に、パラメータを送ることができるようになる。   In step S903, the program development apparatus 101 determines whether there is a parameter in the input / output definition 404. If there is a parameter, the program development apparatus 101 proceeds to step S904, and if not, the process in FIG. Specifically, if the target condition 1903 or the initial value 1802 includes a character string including “@number”, the description 1002 in FIG. 10 is output, and the process proceeds to step S904. More specifically, the description of 1002 uses element = “ns:” + input / output definition code name 1803 + “_ getData” using the input / output definition code name 1803. This makes it possible to send parameters when calling the search process “IO002_WSDL_getData”.

ステップS904において、WSDLに図10の1003のような記述をパラメータ数だけ出力する。具体的に、1003の記述は、パラメータの通し番号N(@数字の数字部)を用いて、 name=“param”+N とする。
以上で、図9の説明を終了する。
In step S904, a description such as 1003 in FIG. 10 is output to the WSDL by the number of parameters. Specifically, the description of 1003 uses name = “param” + N by using the parameter serial number N (@number part).
Above, description of FIG. 9 is complete | finished.

図10は、getDataリクエストWSDL1000の一例を示す図である。図10は、入出力定義404に対象条件1903の設定があり、かつ入出力定義404にパラメータがある場合のリクエストWSDLの一例である。   FIG. 10 is a diagram illustrating an example of the getData request WSDL1000. FIG. 10 is an example of a request WSDL when the target condition 1903 is set in the input / output definition 404 and the input / output definition 404 has parameters.

図11は、getDataレスポンス生成のフローチャートの一例を示す図である。
ステップS1101において、プログラム開発装置101は、ステップS901と同様、入出力定義404に対象条件1903の設定があるか否かを判定し、ある場合はステップS1102に進み、ない場合は図11の処理を終了する。
FIG. 11 is a diagram illustrating an example of a flowchart for generating a getData response.
In step S1101, the program development apparatus 101 determines whether or not the input / output definition 404 has the target condition 1903 set, as in step S901. If there is, the process proceeds to step S1102, and if not, the process of FIG. finish.

ステップS1102において、プログラム開発装置101は、WSDLにデータ取得処理のレスポンスの記述を出力する(図12の1201)。具体的には、入出力定義コード名1803を用いて、 operation name= 入出力定義コード名1803+“_getData”、 message= 入出力定義コード名1803+“_getDataResponse” のように出力する。これにより、Webサービスとして公開された検索処理「IO002_WSDL_getData」の戻り値を公開することができるようになる。   In step S1102, the program development apparatus 101 outputs a description of the response of the data acquisition process to WSDL (1201 in FIG. 12). Specifically, using the input / output definition code name 1803, the operation name = input / output definition code name 1803 + “_ getData”, message = input / output definition code name 1803 + “_ getDataResponse” is output. As a result, the return value of the search process “IO002_WSDL_getData” published as a Web service can be disclosed.

ステップS1103において、プログラム開発装置101は、Webサービス用の入出力定義406から、入出力項目(図18の項目タイプ1801=IO(入出力)またはO(出力)の項目)を取得し、WSDLに項目定義を出力する(図12の1202)。具体的には、入出力定義画面(入出力)1900の対象データモデル1902に設定されたデータモデルの項目コード2001(図20)を用いて、 name=項目コード2001 とし、データタイプ2002(図20)に従ってデータの型名を決定し、 type=“xs:”+型名 とする。図12の1202の記述から、検索処理の結果として、String型の「item_key」と、String型の「item_value」という項目が出力されることがわかる。これにより、Webサービスの実行結果の戻り値に含まれる項目IDと型情報を公開できるようになる。   In step S1103, the program development apparatus 101 acquires the input / output item (item type 1801 = IO (input / output) or O (output) item in FIG. 18) from the Web service input / output definition 406 and stores it in the WSDL. The item definition is output (1202 in FIG. 12). Specifically, using the item code 2001 (FIG. 20) of the data model set in the target data model 1902 of the input / output definition screen (input / output) 1900, name = item code 2001 and the data type 2002 (FIG. 20). ) To determine the data type name, and type = “xs:” + type name. From the description of 1202 in FIG. 12, it can be seen that, as a result of the search process, the items “String_key” of the String type and “item_value” of the String type are output. As a result, the item ID and type information included in the return value of the Web service execution result can be disclosed.

なお、図20は、Webアプリケーション開発ツールによって生成されたWebアプリケーションおよびWebサービスが利用するデータモデル定義画面の一例を示す図である。この画面で定義する各項目はWebアプリケーションおよびWebサービスが接続するデータベースのテーブルのカラム名と一致する。
以上で、図11の説明を終了する。
FIG. 20 is a diagram illustrating an example of a data model definition screen used by the Web application and Web service generated by the Web application development tool. Each item defined on this screen matches the column name of the database table to which the Web application and Web service are connected.
This is the end of the description of FIG.

図12は、getDataレスポンスWSDL1200の一例を示す図である。図12は、入出力定義404に対象条件1903の設定があり、かつ出力項目が存在する場合のレスポンスWSDLの一例である。   FIG. 12 is a diagram illustrating an example of the getData response WSDL 1200. As illustrated in FIG. FIG. 12 is an example of a response WSDL when the target condition 1903 is set in the input / output definition 404 and there are output items.

図13は、BP(ビジネスプロセス)リクエスト生成のフローチャートの一例を示す図である。
ステップS1301において、プログラム開発装置101は、図27の項目タイプ2701の定義を取得し、項目タイプ2701=「A:アクション」の項目にビジネスプロセス(図27の加工式2703)の定義があるか否か判定する。ある場合はステップS1302に進み、ない場合は図13の処理を終了する。
FIG. 13 is a diagram illustrating an example of a flowchart for generating a BP (business process) request.
In step S1301, the program development apparatus 101 acquires the definition of the item type 2701 in FIG. 27, and whether or not the item of item type 2701 = “A: action” has the definition of the business process (processing formula 2703 in FIG. 27). To determine. If there is, the process proceeds to step S1302, and if not, the process in FIG. 13 ends.

ステップS1302において、プログラム開発装置101は、WSDLにビジネスプロセス定義を出力する(図14の1401)。具体的には、入出力定義コード名1803とアクションの項目コード名2702を用いて、operation name= 入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 +message= 入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 +“Request” とする。これにより、「IO002_WSDL_execINSERT」という登録処理がWebサービスとして公開され、外部アプリケーションから利用することができるようになる。   In step S1302, the program development apparatus 101 outputs a business process definition to WSDL (1401 in FIG. 14). Specifically, using the input / output definition code name 1803 and the action item code name 2702, operation name = input / output definition code name 1803 + “_ exec” + action item code name 2702 + message = input / output definition code name 1803 + “_Exec” + action item code name 2702 + “Request”. As a result, the registration process “IO002_WSDL_execINSERT” is published as a Web service and can be used from an external application.

ステップS1303において、プログラム開発装置101は、Webサービス用の入出力定義406に、入出力項目(図18の項目タイプ1801=IO(入出力)またはI(入力)の項目)の有無を判定する。ある場合はステップS1304に進み、ない場合は図13の処理を終了する。   In step S1303, the program development apparatus 101 determines whether there is an input / output item (item type 1801 = IO (input / output) or I (input) item in FIG. 18) in the input / output definition 406 for the Web service. If there is, the process proceeds to step S1304. If not, the process in FIG. 13 is terminated.

ステップS1304において、プログラム開発装置101は、WSDLにビジネスプロセスへのパラメータを出力する(図14の1402)。具体的には、入出力定義コード名1803とアクションの項目コード名2702を用いて、element=入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 とする。これにより、登録処理「IO002_WSDL_execINSERT」の呼出し時に、外部アプリケーションからパラメータを与えることができるようになる。   In step S1304, the program development apparatus 101 outputs a parameter for the business process to WSDL (1402 in FIG. 14). Specifically, using an input / output definition code name 1803 and an action item code name 2702, element = input / output definition code name 1803 + “_ exec” + action item code name 2702. As a result, parameters can be given from an external application when the registration process “IO002_WSDL_execINSERT” is called.

ステップS1305において、プログラム開発装置101は、Webサービス用の入出力定義406から、入出力項目(図18の項目タイプ1801=IO(入出力)またはI(入力)の項目)を取得し、WSDLに項目定義を出力する(図14の1403)。具体的には、入出力定義画面(入出力)1900の対象データモデル1902に設定されたデータモデルの項目コード2001(図20)を用いて、 name=項目コード2001 とし、データタイプ2002(図20)に従ってデータの型名を決定し、 type=“xs:”+型名 とする。図14の1403の記述から、登録処理のパラメータは、String型の「item_key」、String型の「item_param」、String型の「item_value」であるということがわかる。これにより、Webサービスの実行時のパラメータを公開できるようになる。
以上で、図13の説明を終了する。
In step S1305, the program development apparatus 101 acquires an input / output item (item type 1801 = IO (input / output) or I (input) item in FIG. 18) from the Web service input / output definition 406 and stores it in the WSDL. The item definition is output (1403 in FIG. 14). Specifically, using the item code 2001 (FIG. 20) of the data model set in the target data model 1902 of the input / output definition screen (input / output) 1900, name = item code 2001 and the data type 2002 (FIG. 20). ) To determine the data type name, and type = “xs:” + type name. It can be seen from the description of 1403 in FIG. 14 that the parameters of the registration process are the string type “item_key”, the string type “item_param”, and the string type “item_value”. This makes it possible to disclose the parameters at the time of execution of the Web service.
Above, description of FIG. 13 is complete | finished.

図14は、BPリクエストWSDL1400の一例を示す図である。図14は、入出力定義404にビジネスプロセスが定義されたアクション項目があり、かつ入出力項目にIOまたはI項目が存在する場合のBPリクエストWSDLの一例である。   FIG. 14 is a diagram illustrating an example of the BP request WSDL 1400. FIG. 14 is an example of a BP request WSDL when there is an action item in which a business process is defined in the input / output definition 404 and an IO or I item exists in the input / output item.

図15は、BPレスポンス生成のフローチャートの一例を示す図である。
ステップS1501において、プログラム開発装置101は、図27の項目タイプ2701の定義を取得し、項目タイプ2701=「A:アクション」の項目にビジネスプロセス(図27の加工式2703)の定義があるか否か判定する。ある場合はステップS1502に進み、ない場合は図15の処理を終了する。
FIG. 15 is a diagram illustrating an example of a flowchart of BP response generation.
In step S1501, the program development apparatus 101 acquires the definition of the item type 2701 in FIG. 27, and whether or not the item of item type 2701 = “A: action” has the definition of the business process (processing formula 2703 in FIG. 27). To determine. If there is, the process proceeds to step S1502, and if not, the process in FIG. 15 is terminated.

ステップS1502において、プログラム開発装置101は、WSDLにビジネスプロセス定義を出力する(図16の1601)。具体的には、入出力定義コード名1803とアクションの項目コード名2702を用いて、operation name= 入出力定義コード名1803 +“_exec”+アクションの項目コード名2702 +message= 入出力定義コード名1803 +“_exec”+ アクションの項目コード名2702 +“Response” とする。これにより、登録処理「IO002_WSDL_execINSERT」を外部アプリケーションから利用した時の戻り値を公開できるようになる。   In step S1502, the program development apparatus 101 outputs the business process definition to WSDL (1601 in FIG. 16). Specifically, using the input / output definition code name 1803 and the action item code name 2702, operation name = input / output definition code name 1803 + “_ exec” + action item code name 2702 + message = input / output definition code name 1803 + “_Exec” + action item code name 2702 + “Response”. As a result, the return value when the registration process “IO002_WSDL_execINSERT” is used from an external application can be disclosed.

ステップS1503において、プログラム開発装置101は、図27の次入出力2704の定義を取得し、WSDLに次画面情報を出力する(図16の1602)。具体的には、nextIoの値が空の場合は、画面遷移を行わずに自画面に遷移することを表すものとする。これにより、登録処理「IO002_WSDL_execINSERT」を利用した後に遷移する入出力を公開できるようになる。   In step S1503, the program development apparatus 101 acquires the definition of the next input / output 2704 in FIG. 27 and outputs the next screen information to WSDL (1602 in FIG. 16). Specifically, when the value of nextIo is empty, it represents that the screen transitions to the own screen without performing screen transition. As a result, the input / output that transitions after using the registration process “IO002_WSDL_execINSERT” can be disclosed.

ステップS1504において、プログラム開発装置101は、図27の次入出力パラメータ2705の定義を取得し、次入出力パラメータ2705に設定されている変数の数だけ、WSDLに次入出力パラメータ定義を出力する(図16の1603)。これにより、登録処理「IO002_WSDL_execINSERT」を利用した結果、次の画面へどのような引数が渡されるかを公開できるようになる。
以上で、図15の説明を終了する。
In step S1504, the program development apparatus 101 acquires the definition of the next input / output parameter 2705 in FIG. 27, and outputs the next input / output parameter definition to the WSDL for the number of variables set in the next input / output parameter 2705 ( 1603 in FIG. Thus, as a result of using the registration process “IO002_WSDL_execINSERT”, it becomes possible to disclose what argument is passed to the next screen.
This is the end of the description of FIG.

以上の図9〜図15の処理によってWSDLファイルを生成することにより、プログラムへ引数として入力される項目を定義する入力定義情報やプログラムから処理結果として出力する項目を定義する出力定義情報を管理する必要があるWebアプリケーション開発ツールにおいて、それらの入出力定義情報を用いたWSDLファイルを生成することができないという問題を解決することができる。   By generating a WSDL file by the processes of FIGS. 9 to 15 described above, input definition information that defines items to be input as arguments to the program and output definition information that defines items to be output as processing results from the program are managed. In a necessary Web application development tool, it is possible to solve the problem that a WSDL file using such input / output definition information cannot be generated.

図16は、BPレスポンスWSDL1600の一例を示す図である。図16は、入出力定義404にビジネスプロセスが定義されたアクション項目があり、かつ次入出力パラメータ2705が設定されている場合のBPレスポンスWSDLの一例である。   FIG. 16 is a diagram illustrating an example of the BP response WSDL 1600. FIG. 16 is an example of a BP response WSDL when the input / output definition 404 includes an action item in which a business process is defined and the next input / output parameter 2705 is set.

図21は、外部アプリケーションを実行している外部アプリケーションクライアントが、図5の処理により生成されたWebサービスを利用するフローチャートの一例を示す図である。図22は、Webサービスを利用する外部アプリケーションのINPUT画面2200の一例を示す図である。図25は、Webサービスを利用する外部アプリケーションのOUTPUT画面2500の一例を示す図である。   FIG. 21 is a diagram illustrating an example of a flowchart in which an external application client executing an external application uses the Web service generated by the processing in FIG. FIG. 22 is a diagram illustrating an example of an INPUT screen 2200 of an external application that uses a Web service. FIG. 25 is a diagram illustrating an example of an OUTPUT screen 2500 of an external application that uses a Web service.

ステップS2101において、外部アプリケーションクライアントは、外部アプリケーションのユーザによる検索条件(図22の商品コード2201)の入力を受け付け、検索ボタン2202の押下による処理実行指示を受け付ける。
ステップS2102において、外部アプリケーションクライアントは、外部アプリケーションサーバにリクエストを送信する。
ステップS2103において、外部アプリケーションサーバは、リクエストを受信する。
In step S2101, the external application client accepts input of a search condition (product code 2201 in FIG. 22) by the user of the external application, and accepts a process execution instruction by pressing the search button 2202.
In step S2102, the external application client transmits a request to the external application server.
In step S2103, the external application server receives the request.

ステップS2104において、外部アプリケーションサーバは、Webサービスサーバ(図1のアプリケーションサーバ105。つまり、図5の処理により生成されたWebサービスをデプロイしたサーバ。)にて公開されているgetData処理(図10の1001)を利用すべく、Webサービスサーバに図23のようなリクエストを送信する。具体的には、ステップS2101にて入力を受け付けた検索条件(商品コード2201)の値を用いたパラメータ2301を含むリクエストを送信する。
ステップS2105において、Webサービスサーバは、リクエストを受信する。
In step S2104, the external application server performs a getData process (FIG. 10) published on the Web service server (the application server 105 in FIG. 1, ie, the server on which the Web service generated by the process in FIG. 5 is deployed). 1001), a request as shown in FIG. 23 is transmitted to the Web service server. Specifically, a request including a parameter 2301 using the value of the search condition (product code 2201) received in step S2101 is transmitted.
In step S2105, the Web service server receives the request.

ステップS2106において、Webサービスサーバは、受信したリクエストに含まれるパラメータを用いて、図20のデータモデル定義2000で定義されるテーブルを検索する。具体的には、Webサービスのプログラムに含まれる、Webサービス用の入出力定義画面(入出力)1900の対象データモデル1902と対象条件1903を用いて、検索処理を行う。   In step S2106, the Web service server searches the table defined by the data model definition 2000 of FIG. 20 using the parameters included in the received request. Specifically, search processing is performed using the target data model 1902 and target condition 1903 of the Web service input / output definition screen (input / output) 1900 included in the Web service program.

なお、検索対象となるテーブルのカラムは、Webサービスのプログラムに含まれる、データモデル定義2000(図20)に定義されている項目コード2001であり、テーブル(商品マスタテーブル2600)には図26のようなデータが記憶されているものとする。ここでは、対象条件1903に従って、ITEM_KEY=“C101”という検索条件で商品マスタテーブル2600を検索することにより、検索結果としてレコード2603を取得したとする。   The column of the table to be searched is the item code 2001 defined in the data model definition 2000 (FIG. 20) included in the Web service program, and the table (product master table 2600) has the item code 2001 of FIG. It is assumed that such data is stored. Here, it is assumed that a record 2603 is acquired as a search result by searching the product master table 2600 under the search condition of ITEM_KEY = “C101” according to the target condition 1903.

ステップS2107において、Webサービスサーバは、外部アプリケーションサーバへ図24のようなレスポンス2400を送信する。具体的には、レスポンス2400には、ステップS2106の検索処理にて取得した検索結果である、item_key2401とitem_value2402の値が含まれる。
ステップS2108において、外部アプリケーションサーバは、レスポンス2400を受信する。
In step S2107, the Web service server transmits a response 2400 as shown in FIG. 24 to the external application server. Specifically, the response 2400 includes the values of item_key 2401 and item_value 2402, which are the search results acquired in the search processing in step S2106.
In step S2108, the external application server receives the response 2400.

ステップS2109において、外部アプリケーションサーバは、受信したレスポンスを用いて、Webサービスの利用結果を表示する画面情報(例えば、HTML等)を生成し、外部アプリケーションクライアントへ画面情報を送信する。具体的には、画面情報には、レスポンス2400に含まれる検索結果が含まれる。
ステップS2110において、外部アプリケーションクライアントは、画面情報を受信する。
In step S2109, the external application server uses the received response to generate screen information (for example, HTML) that displays the usage result of the Web service, and transmits the screen information to the external application client. Specifically, the screen information includes a search result included in the response 2400.
In step S2110, the external application client receives screen information.

ステップS2111において、外部アプリケーションクライアントは、画面情報を用いて、Webサービスの利用結果を表示する。具体的には、Webサービスの利用した結果、取得できたitem_value2402の値を外部アプリケーションのOUTPUT画面2500(図25)の商品名2501に表示する。   In step S2111, the external application client displays the use result of the Web service using the screen information. Specifically, the value of item_value 2402 obtained as a result of using the Web service is displayed on the product name 2501 of the OUTPUT screen 2500 (FIG. 25) of the external application.

また、外部アプリケーションクライアントは、図25の登録ボタン2502の押下を受け付けることにより、外部アプリケーションサーバにリクエストを送信し、外部アプリケーションサーバはWebサービスサーバにて公開されているexecINSERT処理(図14の1401)を利用すべく、Webサービスサーバにリクエストを送信する。この処理は、図21のフローチャートと同様の流れである。   Further, the external application client transmits a request to the external application server by accepting the pressing of the registration button 2502 in FIG. 25, and the external application server executes exec INSERT processing (1401 in FIG. 14) published on the Web service server. A request is transmitted to the Web service server in order to use. This process is the same flow as the flowchart of FIG.

以上により、外部アプリケーションを実行している外部アプリケーションクライアントが、図5の処理により生成されたWebサービスを利用することができる。
以上で、図21の説明を終了する。
As described above, the external application client executing the external application can use the Web service generated by the processing of FIG.
This is the end of the description of FIG.

図29は、入出力定義作成のフローチャートの一例を示す図である。この処理は、図17や図19のような入出力定義404を作成する処理である。
ステップS2901において、プログラム開発装置101は、入出力定義作成の指示を受け付け、その指示のタイプを判定する(不図示)。新規に作成する場合はステップS2902に進み、既存の入出力定義をコピーして作成する場合はステップS2903に進む。
FIG. 29 is a diagram illustrating an example of a flowchart for creating an input / output definition. This process is a process for creating the input / output definition 404 as shown in FIGS.
In step S2901, the program development apparatus 101 receives an instruction to create an input / output definition and determines the type of the instruction (not shown). If it is newly created, the process proceeds to step S2902, and if it is created by copying an existing input / output definition, the process proceeds to step S2903.

ステップS2902において、プログラム開発装置101は、入出力定義404を新規に作成する。ここでは、図17のような入出力タイプ=“IO”の入出力定義404が作成されたとする。   In step S2902, the program development apparatus 101 newly creates an input / output definition 404. Here, it is assumed that an input / output definition 404 of input / output type = “IO” as shown in FIG. 17 is created.

ステップS2903において、プログラム開発装置101は、コピー元となる既存の入出力定義404の指示を受け付ける。ここでは、Webアプリケーション用の入出力定義404が選択されたとする。Webアプリケーション用の入出力定義404とは、図17のように入出力タイプ=“IO”の入出力定義404である。   In step S2903, the program development apparatus 101 receives an instruction of an existing input / output definition 404 that is a copy source. Here, it is assumed that the input / output definition 404 for the Web application is selected. The input / output definition 404 for the Web application is an input / output definition 404 of input / output type = “IO” as shown in FIG.

ステップS2904において、プログラム開発装置101は、コピー元として指示された既存の入出力定義404の内容をコピーして、新規の入出力定義404を作成する。すなわち、ステップS2904は、管理されているWebアプリケーション用入出力定義情報を用いて、Webサービスに用いられるプログラムを実行するための引数として入力される項目を定義するWebサービス用入力定義情報と、Webサービスに用いられるプログラムを実行した処理結果として出力する項目を定義するWebサービス用出力定義情報とを、Webサービスとして利用可能にするために生成する処理の一例を示すステップである。なお、この処理の詳細については、図39にて説明する。   In step S 2904, the program development apparatus 101 creates a new input / output definition 404 by copying the contents of the existing input / output definition 404 that is instructed as the copy source. That is, in step S2904, Web service input definition information that defines items to be input as arguments for executing a program used for the Web service, using the managed Web application input / output definition information, It is a step which shows an example of the process produced | generated in order to make the output definition information for Web services which defines the item output as a process result which performed the program used for a service usable as a Web service. Details of this processing will be described with reference to FIG.

ステップS2905において、プログラム開発装置101は、ステップS2903にて指示を受け付けたコピー元の入出力定義404と、ステップS2904にて作成したコピー先の入出力定義404とを関連付けて、外部メモリ211に記憶する。すなわち、ステップS2905は、生成された入出力定義情報と、当該入出力定義情報の生成の基となった入出力定義情報とを関連付けて管理する処理の一例を示すステップである。また、ステップS2905は、生成に用いられたWebアプリケーション用入力定義情報およびWebアプリケーション用出力定義情報と、生成されたWebサービス用入力定義情報およびWebサービス用出力定義情報とを、それぞれ対応付けて管理する処理の一例を示すステップである。   In step S 2905, the program development apparatus 101 associates the copy source input / output definition 404 that received the instruction in step S 2903 with the copy destination input / output definition 404 created in step S 2904, and stores them in the external memory 211. To do. That is, step S2905 is a step showing an example of processing for managing the generated input / output definition information in association with the input / output definition information that is the basis for generating the input / output definition information. In step S2905, the Web application input definition information and the Web application output definition information used for generation, and the generated Web service input definition information and Web service output definition information are associated with each other and managed. It is a step which shows an example of the process to perform.

ステップS2906において、プログラム開発装置101は、S2902またはS2904にて作成した入出力定義404の設定について、ユーザによる入力を受け付ける。ここでは、Webサービス用の入出力定義406に設定が変更されたとする。Webサービス用の入出力定義406とは、図19のように入出力タイプ1901=“WEB SERVICE”の入出力定義404である。
ステップS2907において、プログラム開発装置101は、ユーザによる入出力定義404の記憶指示を受け付ける。
ステップS2908において、プログラム開発装置101は、入出力定義404の設定を外部メモリ211に記憶する。
以上で、図29の説明を終了する。
In step S2906, the program development apparatus 101 receives input from the user for the setting of the input / output definition 404 created in S2902 or S2904. Here, it is assumed that the setting is changed to the input / output definition 406 for the Web service. The input / output definition 406 for the Web service is an input / output definition 404 of input / output type 1901 = “WEB SERVICE” as shown in FIG.
In step S2907, the program development apparatus 101 receives an instruction to store the input / output definition 404 by the user.
In step S2908, the program development apparatus 101 stores the setting of the input / output definition 404 in the external memory 211.
This is the end of the description of FIG.

図30は、入出力定義編集のフローチャートの一例を示す図である。この処理は、図29にて作成した入出力定義404の設定を編集する処理である。
ステップS3001において、プログラム開発装置101は、入出力定義404の編集を受け付ける。具体的には、図17〜図19の各項目の値について、ユーザの編集を受け付ける。すなわち、ステップS3001は、入出力定義情報の設定の変更を受け付ける処理の一例を示すステップである。また、ステップS3001は、対応付けられたどちらか一方の入力定義情報もしくは/および出力定義情報の変更を受け付ける処理の一例を示すステップである。
FIG. 30 is a diagram illustrating an example of a flowchart of input / output definition editing. This process is a process for editing the setting of the input / output definition 404 created in FIG.
In step S3001, the program development apparatus 101 accepts editing of the input / output definition 404. Specifically, user edits are accepted for the values of the items in FIGS. That is, step S3001 is a step showing an example of processing for accepting a change in setting of input / output definition information. Step S3001 is a step showing an example of a process for accepting a change in one of the associated input definition information and / or output definition information.

ステップS3002において、プログラム開発装置101は、ステップS3001にて編集を受け付けた入出力定義404の実行形態(入出力タイプ)の値を判定する。入出力タイプ=“IO”(Webアプリケーション用の入出力定義404を意味する)の場合はステップS3003に進み、入出力タイプ=“WEB SERVICE”(Webサービス用の入出力定義406を意味する)の場合はステップS3004に進む。   In step S3002, the program development apparatus 101 determines the value of the execution form (input / output type) of the input / output definition 404 that has received editing in step S3001. If the input / output type = “IO” (means the input / output definition 404 for Web application), the process proceeds to step S3003, and the input / output type = “WEB SERVICE” (means the input / output definition 406 for Web service). In the case, the process proceeds to step S3004.

ステップS3003において、プログラム開発装置101は、ステップS3001にて編集を受け付けた入出力定義404に、コピー元またはコピー先として入出力タイプ=“WEB SERVICE”の入出力定義404との関連付けがあるか否かを判定する。ある場合はステップS3005に進み、ない場合は図30の処理を終了する。   In step S3003, the program development apparatus 101 determines whether the input / output definition 404 whose editing has been received in step S3001 is associated with the input / output definition 404 of input / output type = “WEB SERVICE” as a copy source or copy destination. Determine whether. If there is, the process proceeds to step S3005. If not, the process in FIG. 30 is terminated.

ステップS3004において、プログラム開発装置101は、ステップS3001にて編集を受け付けた入出力定義404に、コピー元またはコピー先として入出力タイプ=“IO”の入出力定義404が関連付けられているかを判定する。関連付けがある場合はステップS3006に進み、関連付けがない場合は図30の処理を終了する。   In step S3004, the program development apparatus 101 determines whether the input / output definition 404 whose input / output type = “IO” is associated as the copy source or the copy destination with the input / output definition 404 whose editing has been received in step S3001. . If there is an association, the process proceeds to step S3006. If there is no association, the process in FIG. 30 ends.

ステップS3005において、プログラム開発装置101は、確認メッセージ3111(図31)または確認メッセージ3112(図31)を表示し、ステップS3003にて関連付けられていると判定されたWebサービス用の入出力定義406を更新するか否かの指示を受け付ける。「OK」の場合はステップS3007に進み、「キャンセル」の場合は図30の処理を終了する。   In step S3005, the program development apparatus 101 displays the confirmation message 3111 (FIG. 31) or the confirmation message 3112 (FIG. 31), and the input / output definition 406 for the web service determined to be associated in step S3003. An instruction to update is accepted. In the case of “OK”, the process proceeds to step S3007, and in the case of “Cancel”, the processing of FIG.

ステップS3006において、プログラム開発装置101は、確認メッセージ3121(図31)または確認メッセージ3122(図31)を表示し、ステップS3004にて関連付けられていると判定されたWebアプリケーション用の入出力定義404を更新するか否かの指示を受け付ける。「OK」の場合はステップS3008に進み、「キャンセル」の場合は図30の処理を終了する。   In step S3006, the program development apparatus 101 displays the confirmation message 3121 (FIG. 31) or the confirmation message 3122 (FIG. 31), and displays the input / output definition 404 for the Web application determined to be associated in step S3004. An instruction to update is accepted. In the case of “OK”, the process proceeds to step S3008, and in the case of “Cancel”, the processing of FIG.

すなわち、ステップS3005およびステップS3006は、設定の変更を受け付けた入出力定義情報が他の入出力定義情報と対応づけて管理されている場合、ユーザに通知する処理の一例を示すステップである。また、ステップS3005およびステップS3006は、変更を受け付けた場合、対応付けられた入力定義情報もしくは/および出力定義情報が存在することをユーザに通知する処理の一例を示すステップである。   That is, step S3005 and step S3006 are steps showing an example of a process for notifying the user when the input / output definition information whose setting change has been received is managed in association with other input / output definition information. Steps S3005 and S3006 are steps showing an example of processing for notifying the user that associated input definition information and / or output definition information exists when a change is accepted.

ステップS3007において、プログラム開発装置101は、ステップS3003にて関連付けられていると判定されたWebサービス用の入出力定義406の設定を、ステップS3001にて受け付けた編集内容で更新し、外部メモリ211に記憶する。すなわち、ステップS3007は、受け付けた変更の内容に従って、対応付けられたもう一方の入力定義情報もしくは/および出力定義情報を変更する処理の一例を示すステップである。なお、この処理については、図42を用いて、詳細を説明する。   In step S3007, the program development apparatus 101 updates the setting of the input / output definition 406 for the Web service determined to be associated in step S3003 with the edited content received in step S3001 and stores it in the external memory 211. Remember. That is, step S3007 is a step showing an example of processing for changing the other input definition information or / and output definition information associated with each other according to the contents of the accepted change. Details of this process will be described with reference to FIG.

図42は、第1の実施形態に係るWebサービス入出力定義更新のフローチャートの一例を示す図である。
ステップS4201において、プログラム開発装置101は、外部メモリ211から、ステップS3001にて編集したWebアプリケーション用の入出力定義404に関連付けられているWebサービス用の入出力定義406からWebサービスのソースコードを生成したか否かを示すフラグ(図33のS3303)、およびステップS3007にて更新するWebサービス用の入出力定義406を用いてWebサービス用の入出力定義ソースコードを生成したか否かを示すフラグ(図6のS605)を取得し、少なくともどちらかがON(=生成されたことがある)の場合はステップS4202に進み、どちらもOFF(=生成されたことがない)の場合は図42の処理を終了する。
FIG. 42 is a diagram illustrating an example of a flowchart of the Web service input / output definition update according to the first embodiment.
In step S4201, the program development apparatus 101 generates Web service source code from the external input / output definition 406 associated with the web application input / output definition 404 edited in step S3001 from the external memory 211. A flag indicating whether or not a Web service input / output definition source code has been generated using the Web service input / output definition 406 updated in step S3007. (S605 in FIG. 6) is acquired, and if at least one is ON (= has been generated), the process proceeds to step S4202, and if both are OFF (= has never been generated), the process proceeds to FIG. The process ends.

すなわち、ステップS4201は、受け付けた変更が、Webアプリケーション用入力定義情報またはWebアプリケーション用出力定義情報の変更である場合であって、当該入力定義情報または当該出力定義情報に対応付けられたWebサービス用入力定義情報またはWebサービス用出力定義情報を用いて、Webサービスに用いられるプログラムを生成されたことがある場合、当該Webアプリケーション用入力定義情報もしくは/および当該Webアプリケーション用出力定義情報の変更を、当該Webサービス用入力定義情報もしくは/および当該Webサービス用出力定義情報に反映させない処理の一例を示すステップである。   That is, step S4201 is a case where the received change is a change in the input definition information for Web application or the output definition information for Web application, and for the Web service associated with the input definition information or the output definition information. When a program used for a web service has been generated using the input definition information or the web service output definition information, the web application input definition information and / or the web application output definition information is changed. It is a step showing an example of processing that is not reflected in the Web service input definition information and / or the Web service output definition information.

なお、本実施形態においては、Webサービス用の入出力定義ソースコードを生成したか否かを示すフラグを取得して判定するとしたが、これに限定するものではなく、例えばWebアプリケーション用の入出力定義404またはWebサービス用の入出力定義406を用いてWebサービスが生成されたか否か、または生成されたWebサービスがユーザや他システムから利用されたか否かを示すフラグ等を取得して判定するとしてもよい。   In the present embodiment, a flag indicating whether or not an input / output definition source code for a Web service has been generated is acquired and determined. However, the present invention is not limited to this. For example, an input / output for a Web application is used. Judgment is made by acquiring a flag or the like indicating whether a Web service is generated using the definition 404 or the input / output definition 406 for the Web service, or whether the generated Web service is used by a user or another system. It is good.

ステップS4202において、プログラム開発装置101は、ステップS3001の編集操作によってWebアプリケーション用の入出力定義404の変更された項目の数だけ、ステップS4203〜ステップS4205の処理を繰り返す。   In step S4202, the program development apparatus 101 repeats the processing in steps S4203 to S4205 for the number of items changed in the input / output definition 404 for the Web application by the editing operation in step S3001.

ステップS4203において、プログラム開発装置101は、Webアプリケーション用の入出力定義404から、ステップS3001の編集操作によって変更された項目およびプロパティを取得する。   In step S4203, the program development apparatus 101 acquires items and properties changed by the editing operation in step S3001 from the input / output definition 404 for the Web application.

ステップS4204において、プログラム開発装置101は、取得したWebアプリケーション用の入出力定義404の変更された項目およびプロパティがWebサービスに不要な定義か否かを判定し、不要でない(=必要)の場合はステップS4205に進み、不要の場合は図42の処理を終了する。すなわち、ステップS4204は、受け付けた変更の内容が、Webアプリケーション用出力定義情報のうち、Webサービスの実行に不要な情報の変更であった場合、Webサービス用出力定義情報に当該変更を反映させない処理の一例を示すステップである。   In step S4204, the program development apparatus 101 determines whether the changed item and property of the acquired input / output definition 404 for the Web application are definitions that are not necessary for the Web service. Proceeding to step S4205, if unnecessary, the processing of FIG. 42 is terminated. That is, in step S4204, when the content of the received change is a change in information unnecessary for execution of the web service in the web application output definition information, the process of not reflecting the change in the web service output definition information It is a step which shows an example.

具体的には、Webアプリケーション画面3700の入出力定義「DATE_INPUT」から、変更された項目およびプロパティを取得し、その項目およびプロパティがWebサービスに不要な定義か否かを判定する。なお、fieldTypeプロパティ3822は、画面にカレンダー部品の表示を意味するプロパティであるため、画面を表示することがないWebサービスにとって、このプロパティは不要であると判定する。   Specifically, the changed item and property are acquired from the input / output definition “DATE_INPUT” on the Web application screen 3700, and it is determined whether or not the item and property are definitions unnecessary for the Web service. Note that the fieldType property 3822 is a property that means display of a calendar component on the screen, and therefore it is determined that this property is unnecessary for a Web service that does not display the screen.

なお、ここでは、プロパティの値に基づいてWebサービスへの要・不要を判定したが、これに限定するものではなく、項目の「項目タイプ」や「項目コード」等に基づいて判定してもよい。また、Webサービスへの要・不要の判定基準として、テーブルやファイルに項目やプロパティのリストを登録しておき、そのリストと照合することでWebサービスへの要・不要を判定してもよい。   Here, the necessity / unnecessity of the Web service is determined based on the property value, but the present invention is not limited to this, and the determination may be made based on the “item type”, “item code”, etc. of the item. Good. In addition, as a determination criterion for necessity / unnecessity for the Web service, a list of items and properties may be registered in a table or a file, and the necessity / unnecessity for the Web service may be determined by checking the list.

ステップS4205において、プログラム開発装置101は、ステップS3001の編集操作によって変更されたWebアプリケーション用の入出力定義404の項目およびプロパティをWebサービスの入出力定義406に反映する。   In step S4205, the program development apparatus 101 reflects the items and properties of the input / output definition 404 for the Web application changed by the editing operation in step S3001 in the input / output definition 406 of the Web service.

これにより、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成した場合において、Webアプリケーションの入出力定義情報の変更内容をWebサービスの入出力定義情報に反映できるため、Webアプリケーションの定義情報を用いて、Webサービス用の定義情報を生成した場合、定義情報の管理を容易にすることができる。   As a result, when the input / output definition information of the Web application is generated using the input / output definition information of the Web application, the changed contents of the input / output definition information of the Web application can be reflected in the input / output definition information of the Web service. When definition information for a Web service is generated using definition information of a Web application, management of the definition information can be facilitated.

図30の説明に戻る。
ステップS3008において、プログラム開発装置101は、ステップS3004にて関連付けられていると判定されたWebアプリケーション用の入出力定義404の設定を、ステップS3001にて受け付けた編集内容で更新し、外部メモリ211に記憶する。すなわち、ステップS3008は、受け付けた変更の内容に従って、対応付けられたもう一方の入力定義情報もしくは/および出力定義情報を変更する処理の一例を示すステップである。
以上により、既存の入出力定義404をコピーして入出力定義404を作成した場合、その一方の編集内容をもう一方に反映させることができる。
以上により、Webアプリケーション開発ツールにおいて、Webサービス定義情報を容易に生成する仕組みを提供することができる。
Returning to the description of FIG.
In step S3008, the program development apparatus 101 updates the setting of the input / output definition 404 for the Web application determined to be associated in step S3004 with the edited content received in step S3001, and stores it in the external memory 211. Remember. That is, step S3008 is a step showing an example of processing for changing the other input definition information or / and output definition information associated with each other according to the contents of the accepted change.
As described above, when the input / output definition 404 is created by copying the existing input / output definition 404, the edited contents of one can be reflected in the other.
As described above, the Web application development tool can provide a mechanism for easily generating the Web service definition information.

〔第2の実施形態〕
第1の実施形態は、入出力定義情報の実行形態に従って、Webアプリケーションの入出力定義情報またはWebサービスの入出力定義情報を生成することによって、Webアプリケーション開発ツールにおいて、Webサービス定義情報を容易に生成する仕組みであり、第2の実施形態は、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成することによって、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する仕組みである。
[Second Embodiment]
The first embodiment generates Web application input / output definition information or Web service input / output definition information according to the execution form of the input / output definition information, thereby facilitating the Web service definition information in the Web application development tool. In the second embodiment, the Web service input / output definition information is used to generate the Web service input / output definition information, and the Web application input / output definition information is used to generate the Web service. This is a mechanism for generating input / output definition information.

図33〜図34を用いて、第2の実施形態を説明する。なお、第2の実施形態では、第1の実施形態における図6のフローチャートを図33に置き換え、第1の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。   The second embodiment will be described with reference to FIGS. 33 to 34. In the second embodiment, the flowchart of FIG. 6 in the first embodiment is replaced with FIG. 33, and the same processing as the steps in the first embodiment is assigned the same step number and description thereof is omitted.

図33は、第2の実施形態に係るソースコード生成のフローチャートの一例を示す図である。図34は、第2の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)3400の一例を示す図である。   FIG. 33 is a diagram showing an example of a source code generation flowchart according to the second embodiment. FIG. 34 is a diagram showing an example of an input / output definition screen (input / output) 3400 for a Web application according to the second embodiment.

ステップS3301において、プログラム開発装置101は、この入出力定義404を用いて、Webアプリケーション用の入出力定義ソースコードを生成したことを示すフラグをONにし、外部メモリ211に記憶する。なお、図33は第2の実施形態のフローチャートであるが、ステップS3301のようにWebアプリケーション用の入出力定義ソースコードを生成したことを示すフラグをONにする処理は、他の実施形態においても実行してもよい。   In step S <b> 3301, the program development apparatus 101 uses the input / output definition 404 to turn on a flag indicating that the input / output definition source code for the Web application has been generated and stores the flag in the external memory 211. FIG. 33 is a flowchart of the second embodiment, but the process of turning on the flag indicating that the input / output definition source code for the Web application has been generated as in step S3301 is also performed in other embodiments. May be executed.

ステップS3302において、プログラム開発装置101は、この入出力定義404を用いて、Webサービス用の入出力定義ソースコードを生成するか否かを判定する。すなわち、ステップS3302は、入力定義情報と出力定義情報とを用いて、Webサービスに用いられるプログラムを生成するか否かを判定する処理の一例を示すステップである。   In step S3302, the program development apparatus 101 uses the input / output definition 404 to determine whether to generate an input / output definition source code for a Web service. That is, step S3302 is a step showing an example of a process for determining whether or not to generate a program used for the Web service using the input definition information and the output definition information.

また、ステップS3302は、Webサービスに用いられるプログラムを生成すると判定した場合は、Webアプリケーションに用いられるプログラムとWebサービスに用いられるプログラムとを生成し、Webサービスに用いられるプログラムを生成しないと判定した場合は、Webアプリケーションに用いられるプログラムを生成する処理の一例を示すステップである。   If it is determined in step S3302 that the program used for the web service is to be generated, it is determined that the program used for the web application and the program used for the web service are generated and the program used for the web service is not generated. The case is a step showing an example of processing for generating a program used for a Web application.

生成する場合はステップS604に進み、生成しない場合は図33の処理を終了する。なお、この判定は、図34のWebサービスを生成するチェックボックス3402がONであれば、生成すると判定する。   When it produces | generates, it progresses to step S604, and when not producing | generating, the process of FIG. 33 is complete | finished. This determination is made when the check box 3402 for generating the Web service in FIG. 34 is ON.

また、チェックボックス3402は、入出力タイプ3401=“IO”(Webアプリケーション用の入出力定義404)の場合のみ表示するようにして、Webアプリケーション用の入出力定義404を用いて、Webサービスの入出力定義情報を生成できるようにしてもよい。また、入出力タイプ3401=“IO”以外の場合であっても、入出力定義404を用いてWebサービスの入出力定義情報を生成できるものがあれば、チェックボックスを表示するようにしてもよい。   The check box 3402 is displayed only when the input / output type 3401 = “IO” (input / output definition 404 for Web application), and the input / output definition 404 for Web application is used to input the Web service. The output definition information may be generated. Even if the input / output type 3401 is not “IO”, a check box may be displayed as long as there is something that can generate the input / output definition information of the Web service using the input / output definition 404. .

なお、本実施形態においては、チェックボックス3402=ONの場合、Webサービス用の入出力定義406を生成することなく、入出力定義404を用いてWebサービス用の入出力定義ソースコードを生成するとしたが、これに限定するものではなく、入出力定義404をコピーしてWebサービス用の入出力定義406を生成し、Webサービス用の入出力定義ソースコードを生成するとしてもよい。これにより、図29のステップS2903〜ステップS2906のように、コピー元となる既存の入出力定義404の指示を受け付け、入出力タイプ=“WEB SERVICE”に変更するといった手間を省くことができる。   In the present embodiment, when the check box 3402 = ON, the Web service input / output definition source code is generated using the input / output definition 404 without generating the Web service input / output definition 406. However, the present invention is not limited to this, and the input / output definition 404 may be copied to generate the input / output definition 406 for the Web service, and the input / output definition source code for the Web service may be generated. As a result, as in steps S2903 to S2906 in FIG. 29, it is possible to save the trouble of receiving an instruction of the existing input / output definition 404 as a copy source and changing the input / output type to “WEB SERVICE”.

ステップS3303において、プログラム開発装置101は、この入出力定義404を用いて、Webサービス用の入出力定義ソースコードを生成したことを示すフラグをONにし、外部メモリ211に記憶する。なお、図33は第2の実施形態のフローチャートであるが、ステップS3303のようにWebサービス用の入出力定義ソースコードを生成したことを示すフラグをONにする処理は、他の実施形態においても実行してもよい。
以上で、図33の説明を終了する。
以上により、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する仕組みを提供することができる。
In step S3303, using this input / output definition 404, the program development apparatus 101 turns on a flag indicating that the input / output definition source code for the Web service has been generated, and stores it in the external memory 211. FIG. 33 is a flowchart of the second embodiment, but the process of turning on the flag indicating that the input / output definition source code for the Web service has been generated as in step S3303 is also performed in other embodiments. May be executed.
Above, description of FIG. 33 is complete | finished.
As described above, it is possible to provide a mechanism for generating the input / output definition information of the Web service using the input / output definition information of the Web application.

〔第3の実施形態〕
第2の実施形態は、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成することによって、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する仕組みであり、第3の実施形態は、入出力定義情報から、Webアプリケーションの入出力定義情報またはWebサービスの入出力定義情報を生成することによって、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する仕組みである。
[Third Embodiment]
In the second embodiment, the input / output definition information of the Web service is generated by using the input / output definition information of the Web application by generating the input / output definition information of the Web service by using the input / output definition information of the Web application. The third embodiment uses the input / output definition information of the Web application by generating the input / output definition information of the Web application or the input / output definition information of the Web service from the input / output definition information. This is a mechanism for generating input / output definition information of a Web service.

図35〜図36を用いて、第3の実施形態を説明する。なお、第3の実施形態では、第2の実施形態における図33のフローチャートを図35に置き換え、第2の実施形態のステップと同じ処理については、同じステップ番号を付与し説明を省略する。   The third embodiment will be described with reference to FIGS. In the third embodiment, the flowchart of FIG. 33 in the second embodiment is replaced with FIG. 35, and the same processes as those in the steps of the second embodiment are given the same step numbers and description thereof is omitted.

図35は、第3の実施形態に係るソースコード生成のフローチャートの一例を示す図である。図36は、第3の実施形態に係るWebアプリケーション用の入出力定義画面(入出力)3600の一例を示す図である。   FIG. 35 is a diagram illustrating an example of a source code generation flowchart according to the third embodiment. FIG. 36 is a diagram showing an example of an input / output definition screen (input / output) 3600 for a Web application according to the third embodiment.

ステップS3501において、プログラム開発装置101は、既存の入出力定義404に対するユーザの指示を受け付ける。具体的には、図36のWebアプリケーション用の入出力定義名3601の部分で右クリック等の操作を受け付ける。
ステップS3502において、プログラム開発装置101は、コンテキストメニュー3602を表示し、ユーザによる選択を受け付けて判定する。
In step S3501, the program development apparatus 101 accepts a user instruction for the existing input / output definition 404. Specifically, an operation such as a right click is accepted at the input / output definition name 3601 for the Web application in FIG.
In step S3502, the program development apparatus 101 displays a context menu 3602 and accepts and determines the selection by the user.

「Webアプリケーションソースコードを生成する」3603が選択された場合はステップS603に進み、「Webサービスソースコードを生成する」3604が選択された場合はステップS604に進む。
以上で、図36の説明を終了する。
以上により、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する仕組みを提供することができる。
If “generate web application source code” 3603 is selected, the process proceeds to step S603, and if “generate web service source code” 3604 is selected, the process proceeds to step S604.
This is the end of the description of FIG.
As described above, it is possible to provide a mechanism for generating the input / output definition information of the Web service using the input / output definition information of the Web application.

第1の実施形態の説明に戻る。
図37〜図41は、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する場合において、Webアプリケーションの定義情報を用いて、Webサービス用の定義情報を容易に生成する仕組みである。
Returning to the description of the first embodiment.
37 to 41, when the input / output definition information of the Web application is used to generate the input / output definition information of the Web service, the definition information for the Web service is easily generated using the definition information of the Web application. It is a mechanism to do.

図37は、第1の実施形態に係るWebアプリケーション画面3700の一例を示す図である。
Webアプリケーション画面3700は、選択ボタンの押下を受け付けるとカレンダーを表示し、カレンダーの選択された日付をテキストボックスに表示するWebアプリケーションである。
FIG. 37 is a diagram showing an example of a Web application screen 3700 according to the first embodiment.
The web application screen 3700 is a web application that displays a calendar when a selection button is pressed and displays a date selected on the calendar in a text box.

図38は、第1の実施形態に係るWebアプリケーション用の入出力定義画面の一例を示す図である。
Webアプリケーション用の入出力定義画面(入出力)3810は、Webアプリケーション画面3700の入出力定義画面である。入出力タイプ3811の値が“IO”であるため、この入出力定義はWebアプリケーション用の入出力定義404であることがわかる。
FIG. 38 is a diagram illustrating an example of an input / output definition screen for a Web application according to the first embodiment.
An input / output definition screen (input / output) 3810 for the Web application is an input / output definition screen of the Web application screen 3700. Since the value of the input / output type 3811 is “IO”, it can be seen that this input / output definition is the input / output definition 404 for the Web application.

上述の図29のステップS2901〜ステップS2904のように、このWebアプリケーション用の入出力定義404をコピーし、入出力タイプ=“WEB SERVICE”とすることで、Webアプリケーション用の入出力定義404の内容をコピーしたWebサービス用の入出力定義406を作成することができる。   The contents of the input / output definition 404 for the Web application are copied by copying the input / output definition 404 for the Web application and setting the input / output type = “WEB SERVICE” as in steps S2901 to S2904 in FIG. 29 described above. The input / output definition 406 for the Web service that is copied can be created.

また、「コピーしてWebサービス入出力定義を作成するボタン3812」(図38)の押下を受け付けることによっても、同様にWebアプリケーション用の入出力定義404の内容をコピーしたWebサービス用の入出力定義406を作成することができる。   Similarly, by accepting the pressing of the “Copy and create Web service input / output definition button 3812” (FIG. 38), the input / output definition for the Web service is also copied. A definition 406 can be created.

Webアプリケーション用の入出力定義画面(項目一覧)3820は、このWebアプリケーション用の入出力定義404に定義されている項目の一覧を表示する画面である。この画面から、このWebアプリケーション用の入出力定義404には、カレンダー3821が「入出力」項目として定義されていることがわかる。また、カレンダー3821には、fieldTypeプロパティ3822に“CALENDAR”という値が設定されていることがわかる。   The web application input / output definition screen (item list) 3820 is a screen for displaying a list of items defined in the web application input / output definition 404. From this screen, it can be seen that the calendar 3821 is defined as an “input / output” item in the input / output definition 404 for this Web application. It can also be seen that the calendar 3821 has a value “CALENDAR” set in the fieldType property 3822.

このカレンダー3821およびfieldTypeプロパティ3822の定義から、Webアプリケーションのプログラムが生成され、Webアプリケーション画面3700が表示される。   A web application program is generated from the definition of the calendar 3821 and the fieldType property 3822, and a web application screen 3700 is displayed.

図39は、第1の実施形態に係るコピー元入出力定義内容コピー&作成のフローチャートの一例を示す図である。
図39は、既存の入出力定義をコピーして新規の入出力定義の作成する指示(図29のステップS2901における「既存コピー」の指示、または「コピーしてWebサービス入出力定義を作成するボタン3812」(図38)の押下)を受け付けた場合に処理される、ステップS2904の処理を詳細に説明するフローチャートである。図39の各処理について説明する。
FIG. 39 is a diagram showing an example of a flowchart of copy source input / output definition content copy & creation according to the first embodiment.
39 shows an instruction to copy an existing input / output definition and create a new input / output definition (“existing copy” instruction in step S2901 in FIG. 29, or “copy and create web service input / output definition button” FIG. 38 is a flowchart for explaining in detail the process of step S2904 that is processed when “3812” (press of FIG. 38) is received. Each process of FIG. 39 will be described.

ステップS3901において、プログラム開発装置101は、コピー元入出力定義の項目の数だけ、ステップS3902〜ステップS3908の処理を繰り返す。   In step S3901, the program development apparatus 101 repeats the processing of steps S3902 to S3908 for the number of items of the copy source input / output definition.

ステップS3902において、プログラム開発装置101は、Webアプリケーション用の入出力定義404から、コピー元入出力定義の項目およびプロパティを取得する。   In step S3902, the program development apparatus 101 acquires items and properties of the copy source input / output definition from the input / output definition 404 for the Web application.

ステップS3903において、プログラム開発装置101は、取得したコピー元入出力定義の項目およびプロパティがWebサービスに不要な定義か否かを判定し、不要でない(=必要)の場合はステップS3904に進み、不要の場合はステップS3905に進む。すなわち、ステップS3903は、管理されているWebアプリケーション用入力定義情報とWebアプリケーション用出力定義情報のうちWebサービスの実行に必要な情報を用いて、Webサービス用入力定義情報とWebサービス用出力定義情報を生成する処理の一例を示すステップである。   In step S3903, the program development apparatus 101 determines whether the acquired copy source input / output definition items and properties are definitions that are unnecessary for the Web service. If they are not necessary (= required), the program development apparatus 101 proceeds to step S3904 and is unnecessary. In this case, the process proceeds to step S3905. That is, in step S3903, the web service input definition information and the web service output definition information are used by using information necessary for executing the web service among the managed web application input definition information and the web application output definition information. It is a step which shows an example of the process which produces | generates.

具体的には、Webアプリケーション画面3700の入出力定義「DATE_INPUT」から、項目(カレンダー3821)およびプロパティ(fieldTypeプロパティ3822)を取得し、項目およびプロパティがWebサービスに不要な定義か否かを判定する。例えば、fieldTypeプロパティ3822は、画面にカレンダー部品の表示することを意味するプロパティであるため、画面を表示することがないWebサービスにとって、このプロパティは不要であると判定する。   Specifically, the item (calendar 3821) and property (fieldType property 3822) are acquired from the input / output definition “DATE_INPUT” on the web application screen 3700, and it is determined whether the item and property are definitions unnecessary for the web service. . For example, the fieldType property 3822 is a property that means that a calendar component is displayed on the screen. Therefore, it is determined that this property is unnecessary for a Web service that does not display the screen.

なお、本実施形態においては、画面表示上の装飾(例えば、ラジオボタンやセレクトボックス等、どのような画面部品を用いて表示するか等)に係るプロパティであれば、Webサービスにとって不要なプロパティであると判定したが、画面表示上の装飾に限定するものではなく、例えば、Webアプリケーションにのみ必要な定義(例えば、セッションID、リクエストID、ブラウザ種別、遷移元画面識別情報等)、Webアプリケーション開発ツールにおいて便宜的に必要な定義等をWebサービスにとって不要なプロパティであると判定してもよい。   In the present embodiment, any property related to decoration on the screen display (for example, what screen component such as a radio button or select box is used for display) is an unnecessary property for the Web service. However, the present invention is not limited to the decoration on the screen display. For example, definitions necessary only for the Web application (for example, session ID, request ID, browser type, transition source screen identification information, etc.), Web application development tool For example, a definition necessary for convenience may be determined as a property unnecessary for the Web service.

なお、本実施形態においては、プロパティの値に基づいてWebサービスへの要・不要を判定したが、これに限定するものではなく、項目の「項目タイプ」や「項目コード」等に基づいて判定してもよい。また、Webサービスへの要・不要の判定基準として、テーブルやファイルに項目やプロパティのリストを登録しておき、そのリストと照合することでWebサービスへの要・不要を判定してもよい。   In this embodiment, the necessity / unnecessity of the Web service is determined based on the property value. However, the present invention is not limited to this, and the determination is based on the item “item type”, “item code”, and the like. May be. In addition, as a determination criterion for necessity / unnecessity for the Web service, a list of items and properties may be registered in a table or a file, and the necessity / unnecessity for the Web service may be determined by checking the list.

ステップS3904において、プログラム開発装置101は、コピー元入出力定義の項目およびプロパティをWebサービスの入出力定義としてそのままコピーする。   In step S3904, the program development apparatus 101 copies the copy source input / output definition items and properties as they are as the Web service input / output definition.

ステップS3905において、プログラム開発装置101は、外部メモリ211から「Webアプリ入出力定義からWebサービス入出力定義を作成」設定画面4000の設定値を取得し判定する。ここで、図40について説明しておく。   In step S 3905, the program development apparatus 101 acquires and determines the setting value of the “create web service input / output definition from the web application input / output definition” setting screen 4000 from the external memory 211. Here, FIG. 40 will be described.

図40は、第1の実施形態に係る「Webアプリ入出力定義からWebサービス入出力定義を作成」設定画面4000の一例を示す図である。
つまり、Webアプリ入出力定義からWebサービス入出力定義を作成する場合、Webアプリ入出力定義のうち、Webサービスに不要な定義を、そのままコピーする(4001)/無効化してコピーする(4002)/削除する(4003)の設定を受け付ける画面である。
FIG. 40 is a diagram showing an example of a “create web service input / output definition from web application input / output definition” setting screen 4000 according to the first embodiment.
That is, when creating a web service input / output definition from a web application input / output definition, the definition unnecessary for the web service is copied as it is (4001) / invalidated and copied (4002) / It is a screen which receives the setting of (4003) to delete.

ステップS3905では、設定画面4000の設定値が「そのままコピーする(4001)」の場合はステップS3904に進み、「無効化してコピーする(4002)」の場合はステップS3906に進み、「削除する(4003)」の場合はステップS3907に進む。   In step S3905, if the setting value on the setting screen 4000 is “copy as it is (4001)”, the process proceeds to step S3904. ) ", The process proceeds to step S3907.

ステップS3906において、プログラム開発装置101は、Webサービスの入出力定義として不要な定義を無効化してコピーする。すなわち、ステップS3906は、管理されているWebアプリケーション用入力定義情報とWebアプリケーション用出力定義情報のうち、Webサービスの実行に不要な情報を無効な状態にして、Webサービス用入力定義情報とWebサービス用出力定義情報とを生成する処理の一例を示すステップである。   In step S3906, the program development apparatus 101 invalidates and copies unnecessary definitions as input / output definitions of the Web service. That is, in step S3906, information that is unnecessary for execution of the Web service is invalidated from the managed Web application input definition information and Web application output definition information, and the Web service input definition information and the Web service are invalidated. It is a step which shows an example of the process which produces | generates output definition information.

具体的には、図41の4111のように、fieldTypeプロパティおよびその値をグレーアウトして表示する。これにより。Webアプリケーションの定義情報を無効化した上でWebサービス用の定義情報を容易に生成することができるため、生成時には不要な項目としたいが再利用する可能性がある、再度Webアプリケーションの定義情報に戻した時に復活させたい等のケースに応じて、Webサービス用の定義情報を柔軟に生成することができる。   Specifically, as shown in 4111 in FIG. 41, the fieldType property and its value are grayed out and displayed. By this. Web service definition information can be easily generated after the Web application definition information is invalidated, so that it can be reused as an unnecessary item at the time of generation. Web service definition information can be generated flexibly according to the case where it is desired to restore it when it is returned.

ステップS3907において、プログラム開発装置101は、Webサービスの入出力定義として不要な定義を削除してコピーする。すなわち、ステップS3907は、管理されているWebアプリケーション用入力定義情報とWebアプリケーション用出力定義情報のうち、Webサービスの実行に不要な情報は用いずに、Webサービス用入力定義情報とWebサービス用出力定義情報とを生成する処理の一例を示すステップである。   In step S3907, the program development apparatus 101 deletes and copies unnecessary definitions as input / output definitions of the Web service. That is, in step S3907, the web service input definition information and the web service output are used without using the unnecessary information for executing the web service from the managed web application input definition information and the web application output definition information. It is a step which shows an example of the process which produces | generates definition information.

具体的には、図41の4112のように、fieldTypeプロパティおよびその値を削除し非表示にする。これにより。Webアプリケーションの定義情報を削除した上でWebサービス用の定義情報を生成することができるため、生成後に不要な項目を削除する必要がなく、Webサービス用の定義情報の生成が容易になる。   Specifically, as shown by 4112 in FIG. 41, the fieldType property and its value are deleted and hidden. By this. Since the definition information for the Web service can be generated after deleting the definition information of the Web application, it is not necessary to delete unnecessary items after generation, and the generation of the definition information for the Web service is facilitated.

なお、図41は、Webアプリ用の入出力定義404をコピーして生成したWebサービス用の入出力定義406を表示する画面であり、定義情報を表示するだけでなく、開発者によって定義情報の変更を受け付け、生成したWebサービス用の入出力定義406を編集することができる(図29のステップS2906)。すなわち、ステップS2906は、生成されたWebサービス用入力定義情報もしくは/およびWebサービス用出力定義情報を変更できるように表示する処理の一例を示すステップである。   Note that FIG. 41 shows a screen for displaying the input / output definition 406 for the Web service generated by copying the input / output definition 404 for the Web application. In addition to displaying the definition information, the developer The change can be accepted and the generated input / output definition 406 for the Web service can be edited (step S2906 in FIG. 29). That is, step S2906 is a step showing an example of processing for displaying the generated Web service input definition information and / or Web service output definition information so that it can be changed.

以上により、Webアプリケーションの入出力定義情報を用いて、Webサービスの入出力定義情報を生成する場合において、Webアプリケーションの定義情報を用いて、Webサービス用の定義情報を容易に生成することができる。   As described above, when the input / output definition information of the Web application is used to generate the input / output definition information of the Web service, the definition information for the Web service can be easily generated using the definition information of the Web application. .

以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。   As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。   In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。   As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.

また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。   The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.

さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。   Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.

101 プログラム開発装置
102 プログラム開発サーバ
103 データベースサーバ
104 アプリケーションクライアント
105 アプリケーションサーバ
106 ネットワーク
101 Program Development Device 102 Program Development Server 103 Database Server 104 Application Client 105 Application Server 106 Network

Claims (10)

Webアプリケーションとして用いられるプログラムを生成する情報処理装置であって、
前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される項目を定義する入力定義情報と、前記画面に出力する項目を定義する出力定義情報とをWebアプリケーション用の入出力定義情報として管理するWebアプリケーション入出力定義管理手段と、
前記Webアプリケーションの持つ機能をWebサービス化すべく、当該Webサービス用の入出力定義情報を生成する指示を受け付ける指示受付手段と、
前記指示受付手段により受け付けた指示に基づいて、前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入出力定義情報を用いて、前記Webサービス用の新たな入出力定義情報を生成するWebサービス入出力定義生成手段と、
前記Webサービス入出力定義生成手段により生成された前記Webサービス用の入出力定義情報を、前記Webサービスのインターフェース定義情報生成に用いることが可能な情報として管理するWebサービス入出力定義管理手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus that generates a program used as a Web application,
Information that can be used to generate the Web application, and includes input definition information that defines items input via the screen of the Web application, and output definition information that defines items to be output to the screen. Web application input / output definition managing means for managing input / output definition information for the Web application;
Instruction receiving means for receiving an instruction to generate input / output definition information for the Web service in order to make the function of the Web application a Web service;
Based on the instruction received by the instruction receiving unit, new input / output definition information for the Web service is generated using the input / output definition information for the Web application managed by the Web application input / output definition managing unit. Web service input / output definition generating means for
Web service input / output definition managing means for managing the input / output definition information for the Web service generated by the Web service input / output definition generating means as information that can be used for generating the interface definition information of the Web service; An information processing apparatus comprising:
前記Webサービス入出力定義管理手段により管理されているWebサービス用の入出力定義情報の入力定義情報を用いて、当該Webサービスに対し送信する要求メッセージのインターフェース定義情報を生成し、前記Webサービス入出力定義管理手段により管理されているWebサービス用の入出力定義情報の出力定義情報を用いて、当該Webサービスから受信する応答メッセージのインターフェース定義情報を生成するWebサービスインターフェース生成手段を更に備えること
を特徴とする請求項1に記載の情報処理装置。
Using the input definition information of the input / output definition information for the Web service managed by the Web service input / output definition managing means, the interface definition information of the request message to be transmitted to the Web service is generated, and the Web service input Web service interface generation means for generating interface definition information of a response message received from the Web service using the output definition information of the input / output definition information for the Web service managed by the output definition management means. The information processing apparatus according to claim 1.
前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入出力定義情報を表示するWebアプリケーション入出力定義表示手段と、
前記Webアプリケーション入出力定義表示手段により表示されたWebアプリケーション用の入出力定義情報の表示画面のレイアウトを用いて、前記Webサービス入出力定義生成手段により生成されたWebサービス用の入力定義情報を表示するWebサービス入出力定義表示手段と
を更に備えることを特徴とする請求項1または2に記載の情報処理装置。
Web application input / output definition display means for displaying input / output definition information for the Web application managed by the Web application input / output definition management means;
By using the layout of a display screen of the input and output definition information for Web applications displayed by the Web application output definition display unit, input output definition information for the Web service generated by the Web service input definition generating means The information processing apparatus according to claim 1, further comprising: a Web service input / output definition display unit that displays.
前記Webサービス入出力定義生成手段は、
前記Webアプリケーション入出力定義管理手段により管理されている入出力定義情報から決定した前記Webサービスとの通信に必要な情報を用いて、前記Webサービス用の入出力定義情報を生成すること
を特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
The web service input / output definition generation means includes:
Generating the input / output definition information for the web service using information necessary for communication with the web service determined from the input / output definition information managed by the web application input / output definition managing means; The information processing apparatus according to any one of claims 1 to 3.
前記Webサービス入出力定義生成手段は、
前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入力定義情報のうち、前記Webサービスに対し送信する要求メッセージとして用いられる入力定義情報を用いて、前記Webサービス用の入力定義情報を生成し、
前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の出力定義情報のうち、前記Webサービスから受信する応答メッセージに用いられる出力定義情報を用いて、前記Webサービス用の出力定義情報を生成すること
を特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。
The web service input / output definition generation means includes:
Of the input definition information for the Web application managed by the Web application input / output definition managing means, the input definition information for the Web service is used using the input definition information used as a request message to be transmitted to the Web service. Produces
Of the output definition information for the Web application managed by the Web application input / output definition management means, the output definition information for the Web service is output using the output definition information used for the response message received from the Web service. The information processing apparatus according to claim 1, wherein the information processing apparatus generates the information processing apparatus.
前記Webサービス入出力定義生成手段は、
前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入力定義情報のうち、当該Webアプリケーションの画面を介して入力される項目に係る入力定義情報を用いて、前記Webサービス用の入力定義情報を生成し、
前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の出力定義情報のうち、前記Webサービスの実行結果として表示するために用いる出力定義情報を用いて、前記Webサービス用の出力定義情報を生成すること
を特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。
The web service input / output definition generation means includes:
Of the input definition information for the Web application managed by the Web application input / output definition managing means, the input for the Web service is performed using the input definition information related to the item input via the screen of the Web application. Generate definition information
Out of the output definition information for the Web application managed by the Web application input / output definition management means, the output definition information for the Web service using the output definition information used for displaying as the execution result of the Web service. 6. The information processing apparatus according to claim 1, wherein the information processing apparatus generates the information.
前記Webサービス入出力定義生成手段は、
前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入出力定義情報のうち、
前記Webサービスとの通信メッセージに用いない入出力定義情報を除いて前記Webサービス用の入出力定義情報を生成するか、又は、
前記Webサービスとの通信メッセージに用いない入出力定義情報を用いるが無効化表示して前記Webサービス用の入出力定義情報を生成するか
の選択を受け付ける選択手段を更に備えること
を特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。
The web service input / output definition generation means includes:
Of the input / output definition information for the web application managed by the web application input / output definition management means,
Generating I / O definition information for the Web service by excluding I / O definition information not used in communication messages with the Web service, or
The system further comprises selection means for accepting a selection of whether to use the input / output definition information that is not used in a communication message with the Web service, but to invalidate and generate the input / output definition information for the Web service. Item 7. The information processing apparatus according to any one of Items 1 to 6.
前記Webサービス入出力定義生成手段により生成されたWebサービス用の入出力定義情報を編集できるように表示する表示手段
を更に備えることを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。
8. The display device according to claim 1, further comprising display means for displaying the input / output definition information for the Web service generated by the Web service input / output definition generating means so as to be edited. Information processing device.
Webアプリケーションとして用いられるプログラムを生成する情報処理装置における処理方法であって、
前記情報処理装置が、
前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される項目を定義する入力定義情報と、前記画面に出力する項目を定義する出力定義情報とをWebアプリケーション用の入出力定義情報として管理するWebアプリケーション入出力定義管理ステップと、
前記Webアプリケーションの持つ機能をWebサービス化すべく、当該Webサービス用の入出力定義情報を生成する指示を受け付ける指示受付ステップと、
前記指示受付ステップにより受け付けた指示に基づいて、前記Webアプリケーション入出力定義管理ステップにより管理されているWebアプリケーション用の入出力定義情報を用いて、前記Webサービス用の新たな入出力定義情報を生成するWebサービス入出力定義生成ステップと、
前記Webサービス入出力定義生成ステップにより生成された前記Webサービス用の入出力定義情報を、前記Webサービスのインターフェース定義情報生成に用いることが可能な情報として管理するWebサービス入出力定義管理ステップと
を実行することを特徴とする処理方法。
A processing method in an information processing apparatus for generating a program used as a Web application,
The information processing apparatus is
Information that can be used to generate the Web application, and includes input definition information that defines items input via the screen of the Web application, and output definition information that defines items to be output to the screen. A web application input / output definition management step for managing input / output definition information for the web application;
An instruction receiving step for receiving an instruction to generate input / output definition information for the Web service in order to make the function of the Web application a Web service;
Based on the instruction received in the instruction reception step, new input / output definition information for the Web service is generated using the input / output definition information for the Web application managed in the Web application input / output definition management step. A Web service input / output definition generation step;
A Web service input / output definition management step for managing the input / output definition information for the Web service generated by the Web service input / output definition generation step as information that can be used for generating the interface definition information of the Web service; The processing method characterized by performing.
Webアプリケーションとして用いられるプログラムを生成する情報処理装置で実行可能なプログラムであって、
前記情報処理装置を、
前記Webアプリケーションの生成に用いることが可能な情報であって、当該Webアプリケーションの画面を介して入力される項目を定義する入力定義情報と、前記画面に出力する項目を定義する出力定義情報とをWebアプリケーション用の入出力定義情報として管理するWebアプリケーション入出力定義管理手段と、
前記Webアプリケーションの持つ機能をWebサービス化すべく、当該Webサービス用の入出力定義情報を生成する指示を受け付ける指示受付手段と、
前記指示受付手段により受け付けた指示に基づいて、前記Webアプリケーション入出力定義管理手段により管理されているWebアプリケーション用の入出力定義情報を用いて、前記Webサービス用の新たな入出力定義情報を生成するWebサービス入出力定義生成手段と、
前記Webサービス入出力定義生成手段により生成された前記Webサービス用の入出力定義情報を、前記Webサービスのインターフェース定義情報生成に用いることが可能な情報として管理するWebサービス入出力定義管理手段
として機能させるためのプログラム。
A program that can be executed by an information processing apparatus that generates a program used as a Web application,
The information processing apparatus;
Information that can be used to generate the Web application, and includes input definition information that defines items input via the screen of the Web application, and output definition information that defines items to be output to the screen. Web application input / output definition managing means for managing input / output definition information for the Web application;
Instruction receiving means for receiving an instruction to generate input / output definition information for the Web service in order to make the function of the Web application a Web service;
Based on the instruction received by the instruction receiving unit, new input / output definition information for the Web service is generated using the input / output definition information for the Web application managed by the Web application input / output definition managing unit. Web service input / output definition generating means for
Web service input / output definition management means for managing the input / output definition information for the Web service generated by the Web service input / output definition generating means as information that can be used for generating the interface definition information of the Web service. A program to make it work.
JP2016125958A 2016-06-24 2016-06-24 Information processing apparatus, processing method thereof, and program Active JP6264399B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016125958A JP6264399B2 (en) 2016-06-24 2016-06-24 Information processing apparatus, processing method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016125958A JP6264399B2 (en) 2016-06-24 2016-06-24 Information processing apparatus, processing method thereof, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017244108A Division JP6697168B2 (en) 2017-12-20 2017-12-20 Information processing apparatus, processing method thereof, and program

Publications (2)

Publication Number Publication Date
JP2017228247A JP2017228247A (en) 2017-12-28
JP6264399B2 true JP6264399B2 (en) 2018-01-24

Family

ID=60891857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016125958A Active JP6264399B2 (en) 2016-06-24 2016-06-24 Information processing apparatus, processing method thereof, and program

Country Status (1)

Country Link
JP (1) JP6264399B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7992127B2 (en) * 2004-12-23 2011-08-02 International Business Machines Corporation Method and system of encapsulating web site transactions for computer-aided generation of web services
JP2008134906A (en) * 2006-11-29 2008-06-12 Hitachi Ltd Business process definition generation method, device and program

Also Published As

Publication number Publication date
JP2017228247A (en) 2017-12-28

Similar Documents

Publication Publication Date Title
JP5087133B2 (en) Application development support apparatus, program, and recording medium
JP4185159B1 (en) Application development support apparatus and program
JP5128673B2 (en) Application development support apparatus, program, and recording medium
JP2018116751A (en) Server, and processing method therefor, and program
JP4714199B2 (en) Application development support apparatus and program
JP7004930B2 (en) Information processing equipment and its processing method and program
JP2016066355A (en) Web application generating system, control method of web application generating system, program for web application generating system, web application generating device, control method of web application generating device, and program for web application generating device
JP7014960B2 (en) Information processing equipment, servers, their processing methods and programs
JP6264399B2 (en) Information processing apparatus, processing method thereof, and program
JP6256535B2 (en) Information processing apparatus, processing method thereof, and program
JP6697168B2 (en) Information processing apparatus, processing method thereof, and program
JP6264486B2 (en) Information processing apparatus, processing method thereof, and program
JP5716108B2 (en) ONLINE SYSTEM, PROGRAM GENERATION DEVICE, AND SCREEN CONTROL PROGRAM GENERATION DEVICE
JP2013164861A (en) Online system, program creation device and screen control program creation device
JP7060788B2 (en) Information processing equipment, information processing equipment control methods, and computer programs
JP2019012469A (en) Server, processing method thereof, and program
JP6652724B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP4894534B2 (en) Generator service providing system, design information reuse and storage method, and generator service program
JP5318977B2 (en) ONLINE SYSTEM, PROGRAM GENERATION DEVICE, AND SCREEN CONTROL PROGRAM GENERATION DEVICE
Hodel Integration with Third-Party Tools
JP4927041B2 (en) Application development support apparatus and program
CN116233077A (en) Data processing method and device
KR20180060993A (en) Method and apparatus for providing work system
JP2009146293A (en) Server/client type system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171109

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: 20171121

R150 Certificate of patent or registration of utility model

Ref document number: 6264399

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