Appendix B. Microsoft .NET Web services 495
Figure B-7 Naming the Web project
5. When prompted with the Confirm Perspective Switch window, click Yes.
We have now created the template for a J2EE client that will consume a .NET
Web service. The next step is to examine import ManufacturerB_Impl.wsdl, and
its related files, into this project.
B.2.7 Importing the necessary WSDLs and XSDs
To this point, we have created a dynamic project template in IBM Rational
Application Developer V6.0 that will serve as the J2EE test client consuming a
.NET Web service. Now the ManufacturerB_Impl.wsdl file. and the other files that
it calls in its import statements, must be added to the dynamic Web project
template in order to complete a sample Web service request and response
scenario.
1. We need to import the following files into the J2EEClient Rational Application
Developer project. These files can be found in the additional material supplied
with this redbook in the dotNet\resources directory:
Manufacturer.wsdl
ManufacturerB_Impl.wsdl
Configuration.xsd
envelope.xsd
ManufacturerPO.xsd
ManufacturerSN.xsd
2. In Rational Application Developer, expand the Dynamic Web Projects folder,
right-click the J2EEClient project and select Import Import.
496 Patterns: Extended Enterprise SOA and Web Services
3. Inside of the Import window, select File system and click Next.
4. In the From directory field enter the location of the additional material stored
in the dotNet\resources directory. Then check each of the following files
(Figure B-8):
Manufacturer.wsdl
ManufacturerB_Impl.wsdl
Configuration.xsd
envelope.xsd
ManufacturerPO.xsd
ManufacturerSN.xsd
Figure B-8 Importing the six files essential to the functioning of J2EEClient.
5. Click Finish. The imported WSDL files contain a number of warnings. These
can be ignored.
6. Open the newly imported ManufacturerB_Impl.wsdl in a text editor in
Rational Application Developer. Notice the following line:

Get Patterns: Extended Enterprise SOA and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.