| <html> |
| <head> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link rel="stylesheet" href="../../../../../default_style.css" type="text/css"> |
| <link rel="stylesheet" href="../../../../../webtools/wtp.css" type="text/css"> |
| <title>jst j2ee</title> |
| </head> |
| <body> |
| <table width="100%" cellspacing="5" cellpadding="2" border="0"> |
| <tbody> |
| <tr> |
| <td width="60%" align="left"><font class="indextop">WTP Tutorials - Testing the Web Services Project Explorer Integration in the |
| Web Tools Project</font> |
| <br> |
| <font class="indexsub">jst j2ee</font></td><td width="40%"><img width="207" hspace="50" height="129" align="middle" src="../../../../../webtools/images/wtplogosmall.jpg"></td> |
| </tr> |
| </tbody> |
| </table> |
| <table width="100%" cellspacing="5" cellpadding="2" border="0"> |
| <col width="16"> |
| <col width="*"> |
| <tbody> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <P> |
| <B>John Lanuti </B> |
| <BR> |
| IBM Rational <BR> |
| September 17,2005 <BR> |
| <BR> |
| <BR> |
| |
| This tutorial will test the use of the Web Services group in the Project Explorer of the |
| Eclipse Web Tools Project. <BR> |
| </P> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">INTERNAL WEB SERVICES</font></b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <OL> |
| |
| <LI>Open the J2EE Perspective and try to expand the Web Services Group. |
| For an empty workspace, you should see the two folders,one for web |
| services instances and one for any web service clients. </LI> |
| |
| <LI>Import the following (lib2.ear) EAR into the workspace: </LI> |
| |
| <LI>You should now be able to expand the Services group under Web Services |
| in the navigator. You should see the following:<BR> |
| <IMG border="0" src="images/Services_.jpg" width="383" height="177"></LI> |
| |
| <LI>If you expand the LibraryWeb project, you should also be able to see |
| the service ref under References: <BR> |
| <IMG border="0" src="images/ServiceRefs.jpg" width="248" height="132"></LI> |
| |
| <LI>If you right click on the Library Service web service level, and say |
| "Open", the Web Services editor should open. Double clicking |
| should do the same.</LI> |
| |
| <LI>Open the web services editor twice, it should only allow one instance |
| of the editor. </LI> |
| |
| <LI>If you double click or open the Service Impl, a java editor should open |
| on the session bean.</LI> |
| |
| <LI>If you double click or open on the WSDL file, the WSDL editor should |
| open</LI> |
| |
| <LI>In the clients section, if you double click the service ref, |
| LibraryService, the DD should open where that service ref is, in this |
| case the LibraryWeb project DD.</LI> |
| |
| <LI>Verify you can see Web Services menu options.</LI> |
| |
| <LI>Delete the EJB project: LibraryEJB. Make sure the associated entries |
| are cleared out of the Web Services group.</LI> |
| |
| <LI>Delete the Web project: LibraryWeb. Make sure the service ref under |
| clients is removed.</LI> |
| |
| <LI>Hit the filters tab on the navigator and check the web services filter |
| to hide web services. Ensure all web service content is removed from |
| the navigator.<BR> |
| |
| </LI> |
| </OL> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">EXTERNAL WEB SERVICES</font></b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <OL> |
| |
| <LI>External web services are defined as those referenced by a .WSIL file. |
| They will also be added to the Services list. Add the following text to a wsil file called inspection.wsil. Drag the file to the |
| LibraryWeb project anywhere under META-INF or WEB-INF: <BR> |
| <BR><?xml version='1.0' encoding='UTF-8'?><BR> |
| <inspection xmlns='http://schemas.xmlsoap.org/ws/2001/10/inspection/' xmlns:wsiluddi='http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/' xmlns:wsilxmethods='http://schemas.xmethods.net/ws/2001/10/inspection/'><BR> |
| <service><BR> |
| <abstract>Web Services for Validation of US Bank Routing Number</abstract><BR> |
| <description referencedNamespace='http://schemas.xmlsoap.org/wsdl/' location='http://soap.achchex.com/exec/btrnsoap.dll/wsdl/IBTRNSOAP'/><BR> |
| <description referencedNamespace='http://www.xmethods.net/'><BR> |
| <wsilxmethods:serviceDetailPage location='http://www.xmethods.net/ve2/ViewListing.po?key=uuid:82075453-EBD2-314E-F1A9-BCE4722A30FB'><BR> |
| <wsilxmethods:serviceID>282008</wsilxmethods:serviceID><BR> |
| </wsilxmethods:serviceDetailPage><BR> |
| </description><BR> |
| </service><BR> |
| <service><BR> |
| <abstract>Hill cipher/decipher</abstract><BR> |
| <description referencedNamespace='http://schemas.xmlsoap.org/wsdl/' location='http://www.quisque.com/fr/chasses/crypto/hill.asmx?WSDL'/><BR> |
| <description referencedNamespace='http://www.xmethods.net/'><BR> |
| <wsilxmethods:serviceDetailPage location='http://www.xmethods.net/ve2/ViewListing.po?key=uuid:B1F9EF8B-7009-4A28-AD6B-58F912CABD1B'><BR> |
| <wsilxmethods:serviceID>282005</wsilxmethods:serviceID><BR> |
| </wsilxmethods:serviceDetailPage><BR> |
| </description><BR> |
| </service><BR> |
| <service><BR> |
| <abstract>Javaportal Web services to simply find italian postcodes, streets and city</abstract><BR> |
| <description referencedNamespace='http://schemas.xmlsoap.org/wsdl/' location='http://www.javaportal.it/kservices/JIPComuni?wsdl'/><BR> |
| <description referencedNamespace='http://www.xmethods.net/'><BR> |
| <wsilxmethods:serviceDetailPage location='http://www.xmethods.net/ve2/ViewListing.po?key=uuid:538C68BE-D583-8C27-CF30-A93EE120370B'><BR> |
| <wsilxmethods:serviceID>282003</wsilxmethods:serviceID><BR> |
| </wsilxmethods:serviceDetailPage><BR> |
| </description><BR> |
| </service><BR> |
| <service><BR> |
| <abstract>eyeVeri provides FREE image verification generation.</abstract><BR> |
| <description referencedNamespace='http://schemas.xmlsoap.org/wsdl/' location='http://www.tilisoft.com/ws/eyeVeri/eyeVeri.asmx?WSDL'/><BR> |
| <description referencedNamespace='http://www.xmethods.net/'><BR> |
| <wsilxmethods:serviceDetailPage location='http://www.xmethods.net/ve2/ViewListing.po?key=uuid:5353FAEF-BCA4-84D9-0E3F-912D20D69728'><BR> |
| <wsilxmethods:serviceID>281998</wsilxmethods:serviceID><BR> |
| </wsilxmethods:serviceDetailPage><BR> |
| </description><BR> |
| </service><BR> |
| <service><BR> |
| <abstract>GeoIPService enables you to easily look up countries by IP address / Context</abstract><BR> |
| <description referencedNamespace='http://schemas.xmlsoap.org/wsdl/' location='http://www.webservicex.com/geoipservice.asmx?WSDL'/><BR> |
| <description referencedNamespace='http://www.xmethods.net/'><BR> |
| <wsilxmethods:serviceDetailPage location='http://www.xmethods.net/ve2/ViewListing.po?key=uuid:2479700B-08AE-8146-C6AC-03AAC56C7178'><BR> |
| <wsilxmethods:serviceID>281996</wsilxmethods:serviceID><BR> |
| </wsilxmethods:serviceDetailPage><BR> |
| </description><BR> |
| </service><BR> |
| <service><BR> |
| <abstract>LocInfo Zip Code provides FREE location information based on data related to US zip code.</abstract><BR> |
| <description referencedNamespace='http://schemas.xmlsoap.org/wsdl/' location='http://www.tilisoft.com/ws/LocInfo/ZipCode.asmx?WSDL'/><BR> |
| <description referencedNamespace='http://www.xmethods.net/'><BR> |
| <wsilxmethods:serviceDetailPage location='http://www.xmethods.net/ve2/ViewListing.po?key=uuid:652704A2-7742-29E4-47A3-E99084CC28CF'><BR> |
| <wsilxmethods:serviceID>281987</wsilxmethods:serviceID><BR> |
| </wsilxmethods:serviceDetailPage><BR> |
| </description><BR> |
| </service><BR> |
| </inspection></LI> |
| <BR> |
| <BR> |
| |
| <LI>You should see the view as above with new web services, except for |
| externals we only show the WSDL file under the service. You should be |
| able to double click the WSDL and have it open in the web browser.<BR> |
| |
| </LI> |
| |
| </OL> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </body> |
| </html> |