Changeset 16887
- Timestamp:
- 2008-08-19T11:58:36+12:00 (16 years ago)
- Location:
- other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles/6WritingAWebServiceClient.html
r15338 r16887 129 129 130 130 131 /** Axis Service object for connecting to invoking Greenstone 3's WebServices132 * using its WSDL file */131 /** Axis Service object for connecting to Greenstone 3's 'QBRSOAPServer' Web Services 132 * using its WSDL file, in order to invoke these web services */ 133 133 protected Service service; 134 134 135 // Inspect the wsdl file to find at the very bottom, the service name, port name and soap address135 // Inspect the wsdl file to find, at the very bottom, the service name, port name and soap address 136 136 //endpoint locations: 137 137 // <wsdl:service name="QBRSOAPServerlocalsiteService"> … … 153 153 154 154 // Constructor, takes a String representing the URL of the web service's 155 // wsdl file. This can be found of the Greenstone 3 services page155 // wsdl file. This can be found off the Greenstone 3 services page 156 156 // http://HOST:PORT/greenstone3/services/ 157 157 public GreenstoneConnection(String wsdlURLName) -
other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles/7BasicsOfWritingWebServices.html
r16305 r16887 45 45 It would contain one or more <service> elements. 46 46 47 Stop greenstone's tomcat:48 <pre>ant stop</pre> 47 <p>Stop Greenstone's tomcat: 48 <pre>ant stop</pre></p> 49 49 50 50 Copy an existing <service> element in order to create a <service> element for your web service. … … 77 77 And now use Axis' AdminClient tool to deploy the web service by typing the following in the x-term from within the GSDLHOME folder: 78 78 <pre>java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient -lhttp://YOURCOMPUTER:YOURPORT/greenstone3/services/AdminService web/WEB-INF/server-config.wsdd</pre> 79 Change the computer host and port to suit eyour situation. For example<br />79 Change the computer host and port to suit your situation. For example<br /> 80 80 <blockquote> 81 java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient -lhttp:// myhost:8080/greenstone3/services/AdminService web/WEB-INF/server-config.wsdd81 java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient -lhttp://harakeke:8080/greenstone3/services/AdminService web/WEB-INF/server-config.wsdd 82 82 </blockquote> 83 83 Check it says DONE PROCESSING or something like it. … … 85 85 86 86 <li>Stop Tomcat and restart it again. 87 In a browser go to the "services" page of theGreenstone 3:88 http://localhost:8080/greenstone3/services 87 In a browser go to the "services" page of Greenstone 3: 88 <pre>http://localhost:8080/greenstone3/services</pre> 89 89 and find the new service there. There will be a link to its WSDL file as well. 90 90 </li>
Note:
See TracChangeset
for help on using the changeset viewer.