Browse Prior Art Database

Multiple Models out of Single Parsing of WSDL 1.1 and 2.0

IP.com Disclosure Number: IPCOM000167102D
Original Publication Date: 2008-Jan-30
Included in the Prior Art Database: 2008-Jan-30
Document File: 8 page(s) / 161K

Publishing Venue

IBM

Abstract

Disclosed is a mechanism of an unified parser/ResourceFactory for WSDL Resource, supporting both WSDL 1.1 and 2.0, outputting all EMF eCore model for WSDL including extensions such as SOAP, HTTP and MIME, com.ibm.etools.wsdl, javax.wsdl, org.eclipse.xsd and org.eclipse.emf.ecore models, and extensible for future models.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 61% of the total text.

Page 1 of 8

Multiple Models out of Single Parsing of WSDL 1.1 and 2.0

This disclosure provides a single WSDL ResourceFactory, and divides the InputStream fed to WSDL Resource into one WSDL InputStream and as many XSD InputStreams as "schema"s in WSDL "types"; therefore, one single parsing can output all models. This disclosure employs EMF XSD Resource to load XSD InputStream divided out of the InputStream fed to WSDL Resource. org.eclipse.xsd model instances are then collected into corresponding Symbol Space. Furthermore, this disclosure employs EMF XSD2eCore Builder to collect org.eclipse.emf.ecore model instances into type and element Symbol Space respectively. This disclosure provides EMF eCore model (Fig.
1) to load WSDL InputStream for WSDL 1.1 and 2.0:

Figure 1

1

[This page contains 1 picture or other non-text object]

Page 2 of 8

Here's WSDL 1.1 (Fig. 2) specific:

Figure 2

2

[This page contains 1 picture or other non-text object]

Page 3 of 8

And here's WSDL 2.0 (Fig. 3) specific:

Figure 3

3

[This page contains 1 picture or other non-text object]

Page 4 of 8

This disclosure maps WSDL to EMF eCore model so that the existing eCore users don't have to change API:

WSDL org.eclipse.emf.ecore

EClass

Simple EAttribute
1.1 Message

Complex Part EReference

1.1 PortType / 2.0 Interface EClass

EOperation

input message part EParameter

output message operation EClassifier
1.1

fault message part

2.0 infault exception EClassifier

2.0 input EParameter

Simple operation EClass EAttribute

Complex 2.0 output operation EClass EReference

This disclosure maps 1.1 Message / 2.0 inputs in such way that its...