Axis2 Quick Start Guide
|
|
- Melvin Butler
- 6 years ago
- Views:
Transcription
1 1 of 22 12/6/2008 9:43 PM Axis2 Quick Start Guide Axis2 Quick Start Guide The purpose of this guide is to get you started on creating services and clients using Axis2 as quickly as possible. We'll take a simple StockQuote Service and show you some of the different ways in which you can create and deploy it, as well as take a quick look at one or two utilities that come with Axis2. We'll then look at creating clients to access those services. Content Introduction Getting Ready Axis2 services Creating services Deploying POJOs Building the service using AXIOM Generating the service using ADB Generating the service using XMLBeans Generating the service using JiBX Generating Clients Creating a client using AXIOM Generating a client using ADB Generating a client using XML Beans Generating a client using JiBX Summary For Further Study A Quick Setup Note: The code for the document can be found in the extracted Standard Binary Distribution, more specifically at Axis2_HOME/samples/ inside the directories- quickstart, quickstartadb, quickstartaxiom, quickstartjibx and quickstartxmlbeans. (Consider getting it now as it will help you to follow along.) It includes Ant buildfiles (build.xml) that we'll refer to throughout the examples to make compilation easier. Introduction Let's start with the service itself. We'll make it simple so you can see what is going on when we build and deploy the services. A StockQuoteService example seems to be mandatory in instances like this one, so let's use the following (see Code Listing 1). Code Listing 1: The StockQuoteService class
2 2 of 22 12/6/2008 9:43 PM package samples.quickstart.service.pojo; import java.util.hashmap; public class StockQuoteService { private HashMap map = new HashMap(); public double getprice(string symbol) { Double price = (Double) map.get(symbol); if(price!= null){ return price.doublevalue(); return 42.00; public void update(string symbol, double price) { map.put(symbol, new Double(price)); It will be a simple service with two possible calls. One of which is an in/out message, and the other is an in-only service. Ultimately, we'll package the service and deploy it in four different ways. First, let's look at how this simple Java class corresponds to a service. Getting Ready Before we build anything using Axis2, we have to take care of a little housekeeping. First off, you'll need to get your environment ready for working with Axis2. Fortunately, it involves just a few simple steps: Download and install Java (Minimum version is JDK1.4). Set the JAVA_HOME environment variable to the pathname of the directory into which you installed the JDK release. Download Axis2 and extract it to a target directory. Copy the axis2.war file to the webapps directory of your servlet engine. Set the AXIS2_HOME environment variable to point to the target directory in step. Note that all of the scripts and build files Axis2 generates depend on this value, so don't skip this step! Linux users can alternatively run the setenv.sh file in the AXIS2_HOME/bin directory to set the AXIS2_HOME environment variable to the pathname of the extracted directory of Axis2. In most cases, we're also going to need a WSDL file for our service. Axis2's Java2WSDL can be used to bootstrap a WSDL. To generate a WSDL file from a Java class, perform the following steps: 1. Create and compile the Java class.
3 3 of 22 12/6/2008 9:43 PM (Windows) %AXIS2_HOME%\bin\java2wsdl -cp. -cn samples.quickstart.service.pojo.stockquoteservice -of StockQuoteService.wsdl (Linux) $AXIS2_HOME/bin/java2wsdl -cp. -cn samples.quickstart.service.pojo.stockquoteservice -of StockQuoteService.wsdl 2. Generate the WSDL using the command: Once you've generated the WSDL file, you can make the changes you need. For example, you might add custom faults or change the name of the generated elements. For example, this StockQuoteService.wsdl is in AXIS2_HOME/samples/quickstartadb/resources/META-INF folder, which we'll be using throughout the rest of this guide, replaces the generic parameters created by the generation process. Axis2 Services Before we build anything, it's helpful to understand what the finished product looks like. The server side of Axis2 can be deployed on any Servlet engine, and has the following structure. Shown in Code Listing 2. Code Listing 2: The Directory Structure of axis2.war axis2-web META-INF WEB-INF classes conf axis2.xml lib activation.jar... xmlschema.jar modules modules.list addressing.mar... soapmonitor.mar services services.list aservice.aar... version.aar web.xml Starting at the top, axis2-web is a collection of JSPs that make up the Axis2 administration application, through which you can perform any
4 4 of 22 12/6/2008 9:43 PM action such as adding services and engaging and dis-engaging modules. The WEB-INF directory contains the actual java classes and other support files to run any services deployed to the services directory. The main file in all this is axis2.xml, which controls how the application deals with the received messages, determining whether Axis2 needs to apply any of the modules defined in the modules directory. Services can be deployed as *.aar files, as you can see here, but their contents must be arranged in a specific way. For example, the structure of this service will be as follows: - StockQuoteService - META-INF - services.xml - lib - samples - quickstart - service - pojo - StockQuoteService.class Here, the name of the service is StockQuoteService, which is specified in the services.xml file and corresponds to the top-level folder of this service. Compiled Java classes are placed underneath this in their proper place based on the package name. The lib directory holds any service-specific JAR files needed for the service to run (none in this case) besides those already stored with the Axis2 WAR file and the servlet container's common JAR directories. Finally, the META-INF directory contains any additional information about the service that Axis2 needs to execute it properly. The services.xml file defines the service itself and links the Java class to it (See Code Listing 3). Code Listing 3: The Service Definition File <service name="stockquoteservice" scope="application"> <description> Stock Quote Sample Service </description> <messagereceivers> <messagereceiver mep=" class="org.apache.axis2.rpc.receivers.rpcinonlymessagereceiver"/> <messagereceiver mep=" class="org.apache.axis2.rpc.receivers.rpcmessagereceiver"/> </messagereceivers> <parameter name="serviceclass"> samples.quickstart.service.pojo.stockquoteservice </parameter> </service>
5 5 of 22 12/6/2008 9:43 PM Here the service is defined, along with the relevant messagereceiver types for the different message exchange patterns. The META-INF directory is also the location for any custom WSDL files you intend to include for this application. You can deploy a service by simply taking this hierarchy of files and copying it to the webapps/axis2/web-inf/services directory of your servlet engine. (Note the Axis2 WAR file must be installed first in the servlet engine.) This is known as the "exploded" format. You can also compress your documents into an *.aar file, similar to a *.jar file, and place the *.aar file directly in the servlet engine's webapps/axis2 /WEB-INF/services directory. Now that you understand what we're trying to accomplish, we're almost ready to start building. First, download and unzip the appropriate version of Axis2 Standard Binary Distribution. Make sure that you set the value of the AXIS2_HOME variable to match the location into which you extracted the contents of this release. Let's look at some different ways to create clients and services. Creating Services In this section, we'll look at five ways to create a service based on the StockQuoteService class: deploying Plain Old Java Objects (POJO), building the service using AXIOM's OMElement, generating the service using Axis2 Databinding Framework (ADB), generating the service using XMLBeans, and generating the service using JiBX. Deploying POJOs To deploy the service using POJOs (Plain Old Java Objects), execute the following steps. Note the directory structure contained at AXIS2_HOME/samples/quickstart (the services.xml file is from the first section of this guide): - quickstart - README.txt - build.xml - resources - META-INF - services.xml - src - samples - quickstart - service - pojo - StockQuoteService.java Note that you can generate a WSDL from the quickstart directory by typing: ant generate.wsdl
6 6 of 22 12/6/2008 9:43 PM However, creating StockQuoteService.wsdl is optional. It can be the version generated directly from the Java class, or a customized version of that file, and that services.xml is the same file referenced earlier in this document. Now build the project by typing ant generate.service in the quickstart directory, which creates the following directory structure: - quickstart/build/classes - META-INF - services.xml - samples - quickstart - service - pojo - StockQuoteService.class If you want to deploy the service in an exploded directory format, rename the classes directory to StockQuoteService, and copy it to the webapps/axis2/web-inf/services directory in your servlet engine. Otherwise, copy the build/stockquoteservice.aar file to the webapps/axis2 /WEB-INF/services directory in your servlet engine. Then check to make sure that the service has been properly deployed by viewing the list of services at: You can also checkout the WSDL at: And the schema at: Once the URLs are working, quickly test the service. Try pointing your browser to the following URL: You will get the following response: <ns:getpriceresponse xmlns:ns=" If you invoke the update method as, and then execute the first getprice URL, you will see that the price has got updated. Building the Service using AXIOM To build a service "from scratch" using AXIOM, execute the following steps.
7 7 of 22 12/6/2008 9:43 PM Note the directory structure contained at /samples/quickstartaxiom: - quickstartaxiom - README.txt - build.xml - resources - META-INF - services.xml - StockQuoteService.wsdl - src - samples - quickstart - service - axiom - StockQuoteService.java - clients - AXIOMClient.java Since AXIOM is a little different, you're going to need a different services.xml file from the one used for POJO. Define it, as shown in Code Listing 4. Code Listing 4: The Service Definition File. <service name="stockquoteservice" scope="application"> <description> Stock Quote Service </description> <operation name="getprice"> <messagereceiver class="org.apache.axis2.receivers.rawxmlinoutmessagereceiver"/> </operation> <operation name="update"> <messagereceiver class="org.apache.axis2.receivers.rawxmlinonlymessagereceiver"/> </operation> <parameter name="serviceclass">samples.quickstart.service.axiom.stockquoteservice</parameter> </service> Note that it's almost the same, except that the operations are explicitly defined in the service.xml file, and the MessageReceivers are now RawXML. Now, the above referenced StockQuoteService.java class, a plain Java class that uses classes from the Axis2 libraries, is defined as shown in Code Listing 5. Code Listing 5: The StockQuoteService Class using AXIOM package samples.quickstart.service.axiom;
8 8 of 22 12/6/2008 9:43 PM import javax.xml.stream.xmlstreamexception; import org.apache.axiom.om.omabstractfactory; import org.apache.axiom.om.omelement; import org.apache.axiom.om.omfactory; import org.apache.axiom.om.omnamespace; import java.util.hashmap; public class StockQuoteService { private HashMap map = new HashMap(); public OMElement getprice(omelement element) throws XMLStreamException { element.build(); element.detach(); OMElement symbolelement = element.getfirstelement(); String symbol = symbolelement.gettext(); String returntext = "42"; Double price = (Double) map.get(symbol); if(price!= null){ returntext = "" + price.doublevalue(); OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace omns = fac.createomnamespace(" "tns"); OMElement method = fac.createomelement("getpriceresponse", omns); OMElement value = fac.createomelement("price", omns); value.addchild(fac.createomtext(value, returntext)); method.addchild(value); return method; public void update(omelement element) throws XMLStreamException { element.build(); element.detach(); OMElement symbolelement = element.getfirstelement(); String symbol = symbolelement.gettext(); OMElement priceelement = (OMElement)symbolElement.getNextOMSibling(); String price = priceelement.gettext();
9 9 of 22 12/6/2008 9:43 PM map.put(symbol, new Double(price)); Axis2 uses AXIOM, or the AXIs Object Model, a DOM (Document Object Model)-like structure that is based on the StAX API (Streaming API for XML). Methods that act as services must take as their argument an OMElement, which represents an XML element that happens, in this case, to be the payload of the incoming SOAP message. Method getprice(omelement), for example, extracts the contents of the first child of the payload element, which corresponds to the stock symbol, and uses this to look up the current price of the stock. Unless this is an "in only" service, these methods must return an OMElement, because that becomes the payload of the return SOAP message. Now build the project by typing ant generate.service in the Axis2_HOME/samples/quickstartaxiom directory. Place the StockQuoteService.aar file in the webapps/axis2/web-inf/services directory of the servlet engine, and check to make sure that the service has been properly deployed by viewing the list of services at, You can also check the custom WSDL at, and the schema at, Generating the Service using ADB To generate and deploy the service using the Axis2 Databinding Framework (ADB), execute the following steps. Generate the skeleton using the WSDL2Java utility by typing the following in the Axis2_HOME/samples/quickstartadb directory: (Windows) %AXIS2_HOME%\bin\WSDL2Java -uri resources\meta-inf\stockquoteservice.wsdl -p samples.quickstart.service.adb -d adb -s -ss -sd -ssi -o build\servi (Linux) $AXIS2_HOME/bin/WSDL2Java -uri resources/meta-inf/stockquoteservice.wsdl -p samples.quickstart.service.adb -d adb -s -ss -sd -ssi -o build/servic Else, simply type ant generate.service in the Axis2_HOME/samples/quickstartadb directory. The option -d adb specifies Axis Data Binding (ADB). The -s switch specifies synchronous or blocking calls only. The -ss switch creates the server side code (skeleton and related files). The -sd switch creates a service descriptor (services.xml file). The -ssi switch creates an interface for the service skeleton. The service files should now be located at build/service. If you generated the code by using WSDL2Java directly, next you have to modify the generated skeleton to implement the service (if you
10 10 of 22 12/6/2008 9:43 PM used "ant generate.service", a completed skeleton will be copied over the generated one automatically). Open the build/service/src/samples/quickstart/adb/service/stockquoteserviceskeleton.java file and modify it to add the functionality of your service to the generated methods; shown in Code Listing 6. Code Listing 6: Defining the Service Skeleton File package samples.quickstart.service.adb; import samples.quickstart.service.adb.xsd.getpriceresponse; import samples.quickstart.service.adb.xsd.update; import samples.quickstart.service.adb.xsd.getprice; import java.util.hashmap; public class StockQuoteServiceSkeleton { private static HashMap map; static{ map = new HashMap(); public void update(update param0) { map.put(param0.getsymbol(), new Double(param0.getPrice())); public GetPriceResponse getprice(getprice param1) { Double price = (Double) map.get(param1.getsymbol()); double ret = 42; if(price!= null){ ret = price.doublevalue(); GetPriceResponse res = new GetPriceResponse(); res.set_return(ret); return res; Now you can build the project by typing the following command in the build/service directory: ant jar.server If all goes well, you should see the BUILD SUCCESSFUL message in your window, and the StockQuoteService.aar file in the build/service /build/lib directory. Copy this file to the webapps/axis2/web-inf/services directory of the servlet engine.
11 11 of 22 12/6/2008 9:43 PM You can check to make sure that the service has been properly deployed by viewing the list of services at, You can also check the custom WSDL at, and the schema at, Generating the Service using XMLBeans To generate a service using XMLBeans, execute the following steps. Generate the skeleton using the WSDL2Java utility by typing the following in the Axis2_HOME/samples/quickstartxmlbeans directory. %AXIS2_HOME%\bin\WSDL2Java -uri resources\meta-inf\stockquoteservice.wsdl -p samples.quickstart.service.xmlbeans -d xmlbeans -s -ss -sd -ssi -o b Else simply type ant generate.service in the Axis2_HOME/samples/quickstartxmlbeans directory. The option -d xmlbeans specifies XML Beans data binding. The -s switch specifies synchronous or blocking calls only. The -ss switch creates the server side code (skeleton and related files). The -sd switch creates a service descriptor (services.xml file). The -ssi switch creates an interface for the service skeleton. The service files should now be located at build/service. If you generated the code by using WSDL2Java directly, next you have to modify the generated skeleton to implement the service (if you used "ant generate.service", a completed skeleton will be copied over the generated one automatically). Next open the build/service/src/samples/quickstart/service/xmlbeans/stockquoteserviceskeleton.java file and modify it to add the functionality of your service to the generated methods (see Code Listing 7). Code Listing 7: Defining the Service Skeleton package samples.quickstart.service.xmlbeans; import samples.quickstart.service.xmlbeans.xsd.getpricedocument; import samples.quickstart.service.xmlbeans.xsd.getpriceresponsedocument; import samples.quickstart.service.xmlbeans.xsd.updatedocument; import java.util.hashmap; public class StockQuoteServiceSkeleton implements StockQuoteServiceSkeletonInterface { private static HashMap map;
12 12 of 22 12/6/2008 9:43 PM static{ map = new HashMap(); public void update(updatedocument param0) { map.put(param0.getupdate().getsymbol(), new Double(param0.getUpdate().getPrice())); public GetPriceResponseDocument getprice(getpricedocument param1) { Double price = (Double) map.get(param1.getgetprice().getsymbol()); double ret = 42; if(price!= null){ ret = price.doublevalue(); System.err.println(); GetPriceResponseDocument resdoc = GetPriceResponseDocument.Factory.newInstance(); GetPriceResponseDocument.GetPriceResponse res = resdoc.addnewgetpriceresponse(); res.setreturn(ret); return resdoc; Build the project by typing the following command in the build/service directory, which contains the build.xml file: ant jar.server If all goes well, you should see the BUILD SUCCESSFUL message in your window, and the StockQuoteService.aar file in the newly created build/service/build/lib directory. Copy this file to the webapps/axis2/web-inf/services directory of the servlet engine. You can check to make sure that the service has been properly deployed by viewing the list of services at, You can also check the custom WSDL at, and the schema at, Generating the Service using JiBX
13 13 of 22 12/6/2008 9:43 PM To generate and deploy the service using JiBX data binding, execute the following steps. Generate the skeleton using the WSDL2Java utility by typing the following at a console in the Axis2_HOME/samples/quickstartjibx directory: %AXIS2_HOME%\bin\wsdl2java -uri resources\meta-inf\stockquoteservice.wsdl -p samples.quickstart.service.jibx -d jibx -s -ss -sd -ssi -uw -o build Else, simply type "ant generate.service" in the Axis2_HOME/samples/quickstartjibx directory. The option -d jibx specifies JiBX data binding. The -s switch specifies synchronous or blocking calls only. The -ss switch creates the server side code (skeleton and related files). The -sd switch creates a service descriptor (services.xml file). The -ssi switch creates an interface for the service skeleton. The -uw switch unwraps the parameters passed to and from the service operations in order to create a more natural programming interface. After running WSDL2Java, the service files should be located at build/service. If you generated the code by using WSDL2Java directly, you need to modify the generated skeleton to implement the service (if you used "ant generate.service" a completed skeleton will be copied over the generated one automatically). Open the build/service/src/samples/quickstart/service/jibx/stockquoteserviceskeleton.java file and modify it to add the functionality of your service to the generated methods, as shown in Code Listing 8. Code Listing 8: Defining the Service Skeleton File package samples.quickstart.service.jibx; import java.util.hashmap; public class StockQuoteServiceSkeleton implements StockQuoteServiceSkeletonInterface { private HashMap map = new HashMap(); public void update(string symbol, Double price) { map.put(symbol, price); public Double getprice(string symbol) { Double ret = (Double) map.get(symbol); if (ret == null) { ret = new Double(42.0); return ret; Now you can build the project by typing the following command in the build/service directory: ant jar.server If all goes well, you should see the BUILD SUCCESSFUL message in your window, and the StockQuoteService.aar file in the build/service
14 14 of 22 12/6/2008 9:43 PM /build/lib directory. Copy this file to the webapps/axis2/web-inf/services directory of the servlet engine. You can check to make sure that the service has been properly deployed by viewing the list of services at, You can also check the custom WSDL at, and the schema at, For more information on using JiBX with Axis2, see the JiBX code generation integration details. You can also check the JiBX Axis2 Wiki page for updated information about using JiBX with Axis2. Creating Clients In this section, we'll look at four ways to create clients based on the StockQuoteService class: building an AXIOM based client, generating a client using Axis2 Databinding Framework (ADB), generating a client using XMLBeans, and generating a client using JiBX. Creating a Client with AXIOM To build a client using AXIOM, execute the following steps. Also, note the directory structure shown in the Creating a service with AXIOM section, duplicated below for completeness. - quickstartaxiom - README.txt - build.xml - resources - META-INF - services.xml - StockQuoteService.wsdl - src - samples - quickstart - service - axiom - StockQuoteService.java - clients - AXIOMClient.java
15 15 of 22 12/6/2008 9:43 PM The above referenced AXIOMClient.java class is defined as follows, shown in Code Listing 9. Code Listing 9: The AXIOMClient class using AXIOM package samples.quickstart.clients; import org.apache.axiom.om.omabstractfactory; import org.apache.axiom.om.omelement; import org.apache.axiom.om.omfactory; import org.apache.axiom.om.omnamespace; import org.apache.axis2.constants; import org.apache.axis2.addressing.endpointreference; import org.apache.axis2.client.options; import org.apache.axis2.client.serviceclient; public class AXIOMClient { private static EndpointReference targetepr = new EndpointReference(" public static OMElement getpricepayload(string symbol) { OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace omns = fac.createomnamespace(" "tns"); OMElement method = fac.createomelement("getprice", omns); OMElement value = fac.createomelement("symbol", omns); value.addchild(fac.createomtext(value, symbol)); method.addchild(value); return method; public static OMElement updatepayload(string symbol, double price) { OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace omns = fac.createomnamespace(" "tns"); OMElement method = fac.createomelement("update", omns); OMElement value1 = fac.createomelement("symbol", omns); value1.addchild(fac.createomtext(value1, symbol)); method.addchild(value1); OMElement value2 = fac.createomelement("price", omns); value2.addchild(fac.createomtext(value2, Double.toString(price)));
16 16 of 22 12/6/2008 9:43 PM method.addchild(value2); return method; public static void main(string[] args) { try { OMElement getpricepayload = getpricepayload("wso"); OMElement updatepayload = updatepayload("wso", ); Options options = new Options(); options.setto(targetepr); options.settransportinprotocol(constants.transport_http); ServiceClient sender = new ServiceClient(); sender.setoptions(options); sender.fireandforget(updatepayload); System.err.println("price updated"); OMElement result = sender.sendreceive(getpricepayload); String response = result.getfirstelement().gettext(); System.err.println("Current price of WSO: " + response); catch (Exception e) { e.printstacktrace(); Axis2 uses AXIOM, or the AXIs Object Model, a DOM (Document Object Model)-like structure that is based on the StAX API (Streaming API for XML). Here you setup the payload for the update and getprice methods of the service. The payloads are created similar to how you created the getpriceresponse payload for the AXIOM service. Then you setup the Options class, and create a ServiceClient that you'll use to communicate with the service. First you call the update method, which is a fireandforget method that returns nothing. Lastly, you call the getprice method, and retrieve the current price from the service and display it. Now you can build and run the AXIOM client by typing ant run.client in the Axis2_HOME/samples/quickstartaxiom directory. You should get the following as output: done Current price of WSO: Generating a Client using ADB
17 17 of 22 12/6/2008 9:43 PM To build a client using Axis Data Binding (ADB), execute the following steps. Generate the client databings by typing the following in the Axis2_HOME/samples/quickstartadb directory: %AXIS2_HOME%\bin\WSDL2Java -uri resources\meta-inf\stockquoteservice.wsdl -p samples.quickstart.clients -d adb -s -o build\client Else, simply type ant generate.client in the Axis2_HOME/samples/quickstartadb directory. Next take a look at quickstartadb/src/samples/quickstart/clients/adbclient.java, and see how it's defined in Code Listing 10. Code Listing 10: The ADBClient Class package samples.quickstart.clients; import samples.quickstart.service.adb.stockquoteservicestub; public class ADBClient{ public static void main(java.lang.string args[]){ try{ StockQuoteServiceStub stub = new StockQuoteServiceStub (" getprice(stub); update(stub); getprice(stub); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n"); /* fire and forget */ public static void update(stockquoteservicestub stub){ try{ StockQuoteServiceStub.Update req = new StockQuoteServiceStub.Update(); req.setsymbol ("ABC"); req.setprice (42.35); stub.update(req); System.err.println("price updated"); catch(exception e){ e.printstacktrace();
18 18 of 22 12/6/2008 9:43 PM System.err.println("\n\n\n"); /* two way call/receive */ public static void getprice(stockquoteservicestub stub){ try{ StockQuoteServiceStub.GetPrice req = new StockQuoteServiceStub.GetPrice(); req.setsymbol("abc"); StockQuoteServiceStub.GetPriceResponse res = stub.getprice(req); System.err.println(res.get_return()); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n"); This class creates a client stub using the Axis Data Bindings you created. Then it calls the getprice and update operations on the Web service. The getprice method operation creates the GetPrice payload and sets the symbol to ABC. It then sends the request and displays the current price. The update method creates an Update payload, setting the symbol to ABC and the price to Now build and run the client by typing ant run.client in the Axis2_HOME/samples/quickstartadb directory. You should get the following as output: 42 price updated Generating a Client using XMLBeans To build a client using the XML Beans data bindings, execute the following steps. Generate the databings by typing the following in the xmlbeansclient directory. %AXIS2_HOME%\bin\WSDL2Java -uri resources\meta-inf\stockquoteservice.wsdl -p samples.quickstart.service.xmlbeans -d xmlbeans -s -o build\client Else, simply type ant generate.client in the Axis2_HOME/samples/quickstartxmlbeans directory.
19 19 of 22 12/6/2008 9:43 PM Note that this creates a client stub code and no server side code. Next take a look at quickstartxmlbeans/src/samples/quickstart/clients/xmlbeansclient.java, and see how it's defined in Code Listing 11. Code Listing 11: The XMLBEANSClient class package samples.quickstart.clients; import samples.quickstart.service.xmlbeans.stockquoteservicestub; import samples.quickstart.service.xmlbeans.xsd.getpricedocument; import samples.quickstart.service.xmlbeans.xsd.getpriceresponsedocument; import samples.quickstart.service.xmlbeans.xsd.updatedocument; public class XMLBEANSClient{ public static void main(java.lang.string args[]){ try{ StockQuoteServiceStub stub = new StockQuoteServiceStub (" getprice(stub); update(stub); getprice(stub); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n"); /* fire and forget */ public static void update(stockquoteservicestub stub){ try{ UpdateDocument reqdoc = UpdateDocument.Factory.newInstance(); UpdateDocument.Update req = reqdoc.addnewupdate(); req.setsymbol ("BCD"); req.setprice (42.32); stub.update(reqdoc); System.err.println("price updated"); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n");
20 20 of 22 12/6/2008 9:43 PM /* two way call/receive */ public static void getprice(stockquoteservicestub stub){ try{ GetPriceDocument reqdoc = GetPriceDocument.Factory.newInstance(); GetPriceDocument.GetPrice req = reqdoc.addnewgetprice(); req.setsymbol("bcd"); GetPriceResponseDocument res = stub.getprice(reqdoc); System.err.println(res.getGetPriceResponse().getReturn()); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n"); This class creates a client stub using the XML Beans data bindings you created. Then it calls the getprice and the update operations on the Web service. The getprice method operation creates the GetPriceDocument, its inner GetPrice classes and sets the symbol to ABC. It then sends the request and retrieves a GetPriceResponseDocument and displays the current price. The update method creates an UpdateDocument, updates and sets the symbol to ABC and price to 42.32, displaying 'done' when complete. Now build and run the the project by typing ant run.client in the Axis2_HOME/samples/quickstartxmlbeans directory. You should get the following as output: 42 price updated Generating a Client using JiBX To build a client using JiBX, execute the following steps. Generate the client stub by typing the following at a console in the Axis2_HOME/samples/quickstartjibx directory. %AXIS2_HOME%\bin\wsdl2java -uri resources\meta-inf\stockquoteservice.wsdl -p samples.quickstart.clients -d jibx -s -uw -o build\client Else, simply type "ant generate.client".
21 21 of 22 12/6/2008 9:43 PM Next take a look at quickstartjibx/src/samples/quickstart/clients/jibxclient.java, shown below in Code Listing 12. Code Listing 12: The JiBXClient class package samples.quickstart.clients; import samples.quickstart.service.jibx.stockquoteservicestub; public class JiBXClient{ public static void main(java.lang.string args[]){ try{ StockQuoteServiceStub stub = new StockQuoteServiceStub (" getprice(stub); update(stub); getprice(stub); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n"); /* fire and forget */ public static void update(stockquoteservicestub stub){ try{ stub.update("cde", new Double(42.35)); System.err.println("price updated"); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n"); /* two way call/receive */ public static void getprice(stockquoteservicestub stub){ try{ System.err.println(stub.getPrice("CDE")); catch(exception e){ e.printstacktrace(); System.err.println("\n\n\n");
22 22 of 22 12/6/2008 9:43 PM This class uses the created JiBX client stub to access the getprice and the update operations on the Web service. The getprice method sends a request for the stock "ABC" and displays the current price. The update method setsnex the price for stock "ABC" to Now build and run the client by typing "ant run.client" at a console in the Axis2_HOME/samples/quickstartjibx directory. You should get the following as output: 42 price updated For more information on using JiBX with Axis2, see the JiBX code generation integration details. Summary Axis2 provides a slick and robust way to get web services up and running in no time. This guide presented five methods of creating a service deployable on Axis2, and four methods of creating a client to communicate with the services. You now have the flexibility to create Web services using a variety of different technologies. For Further Study Apache Axis2- Axis2 Architecture- Introduction to Apache Axis2- Working With Apache Axis2-
Sistemi Distribuiti. Prof. Flavio De Paoli Dott. Marco Comerio. Web Services Composition
Sistemi Distribuiti Prof. Flavio De Paoli Dott. Marco Comerio 1 Web Services Composition 2 Business Processes Business Process : a set of logically related activities performed to achieve a well-defined
More informationWriting an Axis2 Service from Scratch By Deepal Jayasinghe Axis2 has designed and implemented in a way that makes the end user's job easier. Once he has learnt and understood the Axis2 basics, working
More informationReal World Axis2/Java: Highlighting Performance and Scalability
Real World Axis2/Java: Highlighting Performance and Scalability Deepal Jayasinghe WSO2 Inc. & Apache Software Foundation deepal@wso2.com Deepal Jayasinghe Real World Axis2/Java: Highlighting Performance
More informationBuilding Enterprise Applications with Axis2
Building Enterprise Applications with Axis2 Deepal Jayasinghe Ruchith Fernando - WSO2 Inc. - WSO2 Inc. Aims of This Tutorial Motivation Understanding and working with Axiom Learning Axis2 basics Understanding
More informationApache Axis2. Tooling with Axis2
Apache Axis2 Tooling with Axis2 Agenda Introduction Code Generator Tool Command Line Code Generator Tool Ant Task Eclipse Plugins IntelliJ IDEA Plugin Maven2 plugins Axis2 Admin Tool Resources Summary
More informationExercise SBPM Session-4 : Web Services
Arbeitsgruppe Exercise SBPM Session-4 : Web Services Kia Teymourian Corporate Semantic Web (AG-CSW) Institute for Computer Science, Freie Universität Berlin kia@inf.fu-berlin.de Agenda Presentation of
More informationpresentation DAD Distributed Applications Development Cristian Toma
Lecture 9 S4 - Core Distributed Middleware Programming in JEE presentation DAD Distributed Applications Development Cristian Toma D.I.C.E/D.E.I.C Department of Economic Informatics & Cybernetics www.dice.ase.ro
More informationWeb Services & Axis2. Architecture & Tutorial. Ing. Buda Claudio 2nd Engineering Faculty University of Bologna
Web Services & Axis2 Architecture & Tutorial Ing. Buda Claudio claudio.buda@unibo.it 2nd Engineering Faculty University of Bologna June 2007 Axis from SOAP Apache Axis is an implementation of the SOAP
More informationQuick Start Axis2: From Newbie to SOAP Guru. By Deepal Jayasinghe WSO2 Inc. & Apache Software Foundation
Quick Start Axis2: From Newbie to SOAP Guru By Deepal Jayasinghe WSO2 Inc. & Apache Software Foundation About the Presenter Technical Lead at WSO2 Inc. www.wso2.com A start-up aiming to develop and support
More informationRadBlue s S2S Quick Start Package (RQS) Developer s Guide. Version 0.1
RadBlue s S2S Quick Start Package (RQS) Developer s Guide Version 0.1 www.radblue.com April 17, 2007 Trademarks and Copyright Copyright 2007 Radical Blue Gaming, Inc. (RadBlue). All rights reserved. All
More informationDeveloping Clients for a JAX-WS Web Service
Developing Clients for a JAX-WS Web Service {scrollbar} This tutorial will take you through the steps required in developing, deploying and testing a Web Service Client in Apache Geronimo for a web services
More informationPieces of the puzzle. Wednesday, March 09, :29 PM
SOAP_and_Axis Page 1 Pieces of the puzzle Wednesday, March 09, 2011 12:29 PM Pieces of the puzzle so far Google AppEngine/GWTJ: a platform for cloud computing. Map/Reduce: a core technology of cloud computing.
More informationUPS Web Services Sample Code Documentation
UPS Web Services Sample Code Documentation Version: 3.00 NOTICE The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form or by any means without
More informationDeveloping Web Services. with Axis. Web Languages Course 2009 University of Trento
Developing Web Services with Axis Web Languages Course 2009 University of Trento Lab Objective Develop and Deploy Web Services (serverside) Lab Outline WS Sum Up: WS-protocols Axis Functionalities WSDL2Java
More informationUsing the Axis2-1.3 Samples
Using the Axis2-1.3 Samples Introduction A few months ago I started looking at Axis1.4 to get a better understanding of Web Services and after working through a few samples I moved on to Axis2 1.3. Since
More informationWhy Axis2: The Future of Web Services. Eran Chinthaka Apache Software Foundation & WSO2
Why Axis2: The Future of Web Services Eran Chinthaka Apache Software Foundation & WSO2 About Me... PMC Member Apache Web Services Apache Axis2 Committer, Release Manager. Apache Synapse - Committer Member
More informationGetting Started with the Bullhorn SOAP API and Java
Getting Started with the Bullhorn SOAP API and Java Introduction This article is targeted at developers who want to do custom development using the Bullhorn SOAP API and Java. You will create a sample
More informationInvoking Web Services. with Axis. Web Languages Course 2009 University of Trento
Invoking Web Services with Axis Web Languages Course 2009 University of Trento Lab Objective Refresh the Axis Functionalities Invoke Web Services (client-side) 3/16/2009 Gaia Trecarichi - Web Languages
More informationSCA Java Runtime Overview
SCA Java Runtime Overview Software Organization Source Code Locations If you take a Tuscany SCA Java source distribution or look in the Tuscany subversion repository (http://svn.apache.org/repos/asf/tuscany/java/sc
More informationCS506 Web Design & Development Final Term Solved MCQs with Reference
with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar
More informationWeb Services in Java. The shortest path to exposing and consuming web services in Java
Web Services in Java The shortest path to exposing and consuming web services in Java Motivation Get web services up and running: As quickly as possible With as little overhead as possible Consume web
More informationDirectory structure and development environment set up
Directory structure and development environment set up 1. Install ANT: Download & unzip (or untar) the ant zip file - jakarta-ant-1.5.1-bin.zip to a directory say ANT_HOME (any directory is fine) Add the
More informationProjects. How much new information can fit in your brain? Corporate Trainer s Profile TECHNOLOGIES
Corporate Solutions Pvt. Ltd. How much new information can fit in your brain? Courses Core Java+Advanced Java+J2EE+ EJP+Struts+Hibernate+Spring Certifications SCJP, SCWD, SCBCD, J2ME Corporate Trainer
More informationAxis2 Tutorial. Chathura Herath, Eran Chinthaka. Lanka Software Foundation and Apache Software Foundation
Axis2 Tutorial Chathura Herath, Eran Chinthaka Lanka Software Foundation and Apache Software Foundation Overview Introduction Installation Client demonstration - Accessing existing endpoint Implementing
More informationWeb Application Architecture (based J2EE 1.4 Tutorial)
Web Application Architecture (based J2EE 1.4 Tutorial) Dr. Kanda Runapongsa (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University 1 Agenda Web application, components and container
More informationBEAWebLogic Server. WebLogic Web Services: Advanced Programming
BEAWebLogic Server WebLogic Web Services: Advanced Programming Version 10.0 Revised: April 28, 2008 Contents 1. Introduction and Roadmap Document Scope and Audience.............................................
More informationTutorial: Developing a Simple Hello World Portlet
Venkata Sri Vatsav Reddy Konreddy Tutorial: Developing a Simple Hello World Portlet CIS 764 This Tutorial helps to create and deploy a simple Portlet. This tutorial uses Apache Pluto Server, a freeware
More informationApache Axis. Dr. Kanda Runapongsa Department of Computer Engineering Khon Kaen University. Overview
Apache Axis Dr. Kanda Runapongsa Department of Computer Engineering Khon Kaen University 1 What is Apache Axis Overview What Apache Axis Provides Axis Installation.jws Extension Web Service Deployment
More informationJBoss SOAP Web Services User Guide. Version: M5
JBoss SOAP Web Services User Guide Version: 3.3.0.M5 1. JBoss SOAP Web Services Runtime and Tools support Overview... 1 1.1. Key Features of JBossWS... 1 2. Creating a Simple Web Service... 3 2.1. Generation...
More informationIntroduction of PDE.Mart
Grid-Based PDE.Mart A PDE-Oriented PSE for Grid Computing GY MAO, M. MU, Wu ZHANG, XB ZHANG School of Computer Science and Engineering, Shanghai University, CHINA Department of Mathematics, Hong Kong University
More informationDeveloping Interoperable Web Services for the Enterprise
Developing Interoperable Web Services for the Enterprise Simon C. Nash IBM Distinguished Engineer Hursley, UK nash@hursley.ibm.com Simon C. Nash Developing Interoperable Web Services for the Enterprise
More informationThis example uses a Web Service that is available at xmethods.net, namely RestFulServices's Currency Convertor.
Problem: one of the most requested features for a Cisco Unified Contact Center Express (UCCX) script is to have an easy Web Services (WS) client (also known as SOAP client) implementation. Some use various
More informationJAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP
2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries
More informationAdvanced Java Programming
Advanced Java Programming Length: 4 days Description: This course presents several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In
More informationNetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2
More informationJ2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.
J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using
More informationIntroduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX
Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject
More informationCreating Web Services with Apache Axis
1 of 7 11/24/2006 5:52 PM Published on ONJava.com (http://www.onjava.com/) http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html See this if you're having trouble printing code examples Creating Web
More informationB. Assets are shared-by-copy by default; convert the library into *.jar and configure it as a shared library on the server runtime.
Volume A~B: 114 Questions Volume A 1. Which component type must an integration solution developer define for a non-sca component such as a Servlet that invokes a service component interface? A. Export
More informationWIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1 2010 december, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
More informationCall: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline
Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline Object-Oriented Programming (OOP) concepts Introduction Abstraction Encapsulation Inheritance Polymorphism Getting started with
More informationFINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar
FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar www.vuhelp.pk Solved MCQs with reference. inshallah you will found it 100% correct solution. Time: 120 min Marks:
More informationWAS: WebSphere Appl Server Admin Rel 6
In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers
More information1. Go to the URL Click on JDK download option
Download and installation of java 1. Go to the URL http://www.oracle.com/technetwork/java/javase/downloads/index.html Click on JDK download option 2. Select the java as per your system type (32 bit/ 64
More informationBEAAquaLogic. Service Bus. Interoperability With EJB Transport
BEAAquaLogic Service Bus Interoperability With EJB Transport Version 3.0 Revised: February 2008 Contents EJB Transport Introduction...........................................................1-1 Invoking
More informationTable of Contents. Tutorial API Deployment Prerequisites... 1
Copyright Notice All information contained in this document is the property of ETL Solutions Limited. The information contained in this document is subject to change without notice and does not constitute
More informationDistributed Multitiered Application
Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm
More informationWorkshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:
Oracle Workshop for WebLogic 10g R3 Hands on Labs Workshop for WebLogic extends Eclipse and Web Tools Platform for development of Web Services, Java, JavaEE, Object Relational Mapping, Spring, Beehive,
More informationBerner Fachhochschule. Technik und Informatik JAX-WS. Java API for XML-Based Web Services. Prof. Dr. Eric Dubuis Berner Fachhochschule Biel
Berner Fachhochschule Technik und Informatik JAX-WS Java API for XML-Based Web Services Prof. Dr. Eric Dubuis Berner Fachhochschule Biel Overview The motivation for JAX-WS Architecture of JAX-WS and WSDL
More informationCodeCharge Studio Java Deployment Guide Table of contents
CodeCharge Studio Java Deployment Guide Table of contents CodeCharge Studio requirements for Java deployment... 2 Class Path requirements (compilation-time and run-time)... 3 Tomcat 4.0 deployment... 4
More information2018/2/5 话费券企业客户接入文档 语雀
1 2 2 1 2 1 1 138999999999 2 1 2 https:lark.alipay.com/kaidi.hwf/hsz6gg/ppesyh#2.4-%e4%bc%81%e4%b8%9a%e5%ae%a2%e6%88%b7%e6%8e%a5%e6%94%b6%e5%85%85%e5 1/8 2 1 3 static IAcsClient client = null; public static
More informationMyEclipse EJB Development Quickstart
MyEclipse EJB Development Quickstart Last Revision: Outline 1. Preface 2. Introduction 3. Requirements 4. MyEclipse EJB Project and Tools Overview 5. Creating an EJB Project 6. Creating a Session EJB -
More informationWeb Services Invocation Framework (WSIF)
Web Services Invocation Framework (WSIF) Matthew J. Duftler, Nirmal K. Mukhi, Aleksander Slominski and Sanjiva Weerawarana IBM T.J. Watson Research Center {e-mail: duftler, nmukhi, aslom, sanjiva @us.ibm.com
More informationMyLEAD Release V1.3 Installation Guide
LINKED ENVIRONMENTS FOR ATMOSPHERIC DISCOVERY MyLEAD Release V1.3 Installation Guide Project Title: MyLead Document Title: mylead Release V1.3 Installation Guide Organization: Indiana University, Distributed
More informationProgramming Web Services in Java
Programming Web Services in Java Description Audience This course teaches students how to program Web Services in Java, including using SOAP, WSDL and UDDI. Developers and other people interested in learning
More informationWe recommend you review this before taking an ActiveVOS course or before you use ActiveVOS Designer.
This presentation is a primer on WSDL. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this before taking an ActiveVOS course or before you use ActiveVOS
More informationWeb Services. GC: Web Services Part 3: Rajeev Wankar
Web Services 1 Let us write our Web Services Part III 2 SOAP Engine Major goal of the web services is to provide languageneutral platform for the distributed applications. What is the SOAP engine? A (Java)
More informationAn Integrated Approach to Managing Windchill Customizations. Todd Baltes Lead PLM Technical Architect SRAM
An Integrated Approach to Managing Windchill Customizations Todd Baltes Lead PLM Technical Architect SRAM Event hashtag is #PTCUSER10 Join the conversation! Topics What is an Integrated Approach to Windchill
More informationDeveloping and Deploying vsphere Solutions, vservices, and ESX Agents. 17 APR 2018 vsphere Web Services SDK 6.7 vcenter Server 6.7 VMware ESXi 6.
Developing and Deploying vsphere Solutions, vservices, and ESX Agents 17 APR 2018 vsphere Web Services SDK 6.7 vcenter Server 6.7 VMware ESXi 6.7 You can find the most up-to-date technical documentation
More informationNetBeans 5.5 Web Services Consumption in Visual Web Pack Specification
NetBeans 5.5 Web Services Consumption in Visual Web Pack Specification NetBeans 5.5 Web Services Consumption in Visual Web Pack Version 1.0. 08/18/06 - initial version - Sanjay Dhamankar revised 01/28/07
More informationOracle 1Z Java EE 6 Web Component Developer(R) Certified Expert.
Oracle 1Z0-899 Java EE 6 Web Component Developer(R) Certified Expert http://killexams.com/exam-detail/1z0-899 QUESTION: 98 Given: 3. class MyServlet extends HttpServlet { 4. public void doput(httpservletrequest
More informationOverview of Web Services API
CHAPTER 1 The Cisco IP Interoperability and Collaboration System (IPICS) 4.0(x) application programming interface (API) provides a web services-based API that enables the management and control of various
More informationApache Axis2. XML Based Client API
Apache Axis2 XML Based Client API Agenda What is XML based client API? Introducing ServiceClient Available invocation patterns Configuring client using options Working with Dynamic clients Creating OperationClient
More informationMaven POM project modelversion groupid artifactid packaging version name
Maven The goal of this document is to introduce the Maven tool. This document just shows some of the functionalities of Maven. A complete guide about Maven can be found in http://maven.apache.org/. Maven
More informationDeveloping and Deploying vsphere Solutions, vservices, and ESX Agents
Developing and Deploying vsphere Solutions, vservices, and ESX Agents Modified on 27 JUL 2017 vsphere Web Services SDK 6.5 vcenter Server 6.5 VMware ESXi 6.5 Developing and Deploying vsphere Solutions,
More informationCOMP REST Programming in Eclipse
COMP 4601 REST Programming in Eclipse The Context We are building a RESTful applicabon that allows interacbon with a Bank containing bank account. The applicabon will be built using Eclipse. NEON JDK 1.7
More informationExceptions and Libraries
Exceptions and Libraries RS 9.3, 6.4 Some slides created by Marty Stepp http://www.cs.washington.edu/143/ Edited by Sarah Heckman 1 Exceptions exception: An object representing an error or unusual condition.
More informationOracle Enterprise Pack for Eclipse 11g Hands on Labs
Oracle Enterprise Pack for Eclipse 11g Hands on Labs This certified set of Eclipse plug-ins is designed to help develop, deploy and debug applications for Oracle WebLogic Server. It installs as a plug-in
More informationDeveloper Walkthrough
WSDL SOAP Frameworks and CXF Overview, page 1 Download WSDLs from Cisco HCM-F platform, page 1 Use CXF to Autogenerate Code Stubs from WSDL, page 2 Writing a Base HCS Connector Web Client using the Autogenerated
More informationChapter 1: First steps with JAX-WS Web Services
Chapter 1: First steps with JAX-WS Web Services This chapter discusses about what JAX-WS is and how to get started with developing services using it. The focus of the book will mainly be on JBossWS a Web
More informationSpring Web Services Tutorial With Example In
Spring Web Services Tutorial With Example In Eclipse Bottom Up In addition to creating a basic web service and client, the article goes a step further This article will be using the Eclipse IDE (Kepler),
More informationActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015
ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED
More informationSignicat Connector for Java Version 2.6. Document version 3
Signicat Connector for Java Version 2.6 Document version 3 About this document Purpose Target This document is a guideline for using Signicat Connector for Java. Signicat Connector for Java is a client
More informationWA2018 Programming REST Web Services with JAX-RS WebLogic 12c / Eclipse. Student Labs. Web Age Solutions Inc.
WA2018 Programming REST Web Services with JAX-RS 1.1 - WebLogic 12c / Eclipse Student Labs Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc. 1 Table of Contents Lab 1 - Configure the Development
More informationI Got My Mojo Workin'
I Got My Mojo Workin' Gary Murphy Hilbert Computing, Inc. http://www.hilbertinc.com/ glm@hilbertinc.com Gary Murphy I Got My Mojo Workin' Slide 1 Agenda Quick overview on using Maven 2 Key features and
More informationInterfaces to tools: applications, libraries, Web applications, and Web services
Interfaces to tools: applications, libraries, Web applications, and Web services Matúš Kalaš The Bioinformatics Lab SS 2013 14 th May 2013 Plurality of interfaces for accessible bioinformatics: Applications
More informationSun Sun Certified Web Component Developer for J2EE 5 Version 4.0
Sun Sun Certified Web Component Developer for J2EE 5 Version 4.0 QUESTION NO: 1 To take advantage of the capabilities of modern browsers that use web standards, such as XHTML and CSS, your web application
More informationCHAPTER 6. Organizing Your Development Project. All right, guys! It s time to clean up this town!
CHAPTER 6 Organizing Your Development Project All right, guys! It s time to clean up this town! Homer Simpson In this book we describe how to build applications that are defined by the J2EE specification.
More informationGetting Started with Web Services
Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be
More informationGetting Started with the Cisco Multicast Manager SDK
CHAPTER 1 Getting Started with the Cisco Multicast Manager SDK Cisco Multicast Manager (CMM) 3.2 provides a Web Services Definition Language (WSDL)-based Application Programming Interface (API) that allows
More informationDeveloping JAX-RPC Web services
Developing JAX-RPC Web services {scrollbar} This tutorial will take you through the steps required in developing, deploying and testing a Web Service in Apache Geronimo. After completing this tutorial
More informationHow to Publish Any NetBeans Web App
How to Publish Any NetBeans Web App (apps with Java Classes and/or database access) 1. OVERVIEW... 2 2. LOCATE YOUR NETBEANS PROJECT LOCALLY... 2 3. CONNECT TO CIS-LINUX2 USING SECURE FILE TRANSFER CLIENT
More informationClassroom Exercises for Grid Services
Classroom Exercises for Grid Services Amy Apon, Jens Mache L&C Yuriko Yara, Kurt Landrus Grid Computing Grid computing is way of organizing computing resources so that they can be flexibly and dynamically
More informationKonaKart Portlet Installation for Liferay. 2 nd January DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK
KonaKart Portlet Installation for Liferay 2 nd January 2018 DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK 1 Table of Contents KonaKart Portlets... 3 Supported Versions
More informationClassloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere)
Tartu Ülikool Matemaatika-informaatika Teaduskond Referaat Classloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere) Autor: Madis Lunkov Inf II Juhendaja: Ivo Mägi Tartu 2005 Contents Contents...
More informationSession 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes
Session 8 Deployment Descriptor 1 Reading Reading and Reference en.wikipedia.org/wiki/http Reference http headers en.wikipedia.org/wiki/list_of_http_headers http status codes en.wikipedia.org/wiki/_status_codes
More informationJakarta Struts: An MVC Framework
Jakarta Struts: An MVC Framework Overview, Installation, and Setup. Struts 1.2 Version. Core Servlets & JSP book: More Servlets & JSP book: www.moreservlets.com Servlet/JSP/Struts/JSF Training: courses.coreservlets.com
More informationSUN Enterprise Development with iplanet Application Server
SUN 310-540 Enterprise Development with iplanet Application Server 6.0 http://killexams.com/exam-detail/310-540 QUESTION: 96 You just created a new J2EE application (EAR) file using iasdt. How do you begin
More informationGetting Started with Web Services
Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be
More informationSOA Software Policy Manager Agent v6.1 for WebSphere Application Server Installation Guide
SOA Software Policy Manager Agent v6.1 for WebSphere Application Server Installation Guide Trademarks SOA Software and the SOA Software logo are either trademarks or registered trademarks of SOA Software,
More informationMyLead Release V1.2 Developer s Guide (Client Service)
LINKED ENVIRONMENTS FOR ATMOSPHERIC DISCOVERY MyLead Release V1.2 Developer s Guide (Client Service) Project Title: mylead Document Title: mylead Release V.1.2 Developer s Guide Organization: Indiana University
More informationCall: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline
JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline Advanced Java Database Programming JDBC overview SQL- Structured Query Language JDBC Programming Concepts Query Execution Scrollable
More informationDeveloping and Deploying vsphere Solutions, vservices, and ESX Agents
Developing and Deploying vsphere Solutions, vservices, and ESX Agents vsphere 6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced
More informationCLIQ Platform Documentation Implementation Packages
CLIQ Platform Documentation Implementation Packages Release 2.2.0 CLIQ Platform Documentation Implementation Packages 1 Release History Release Description Date Changes 1.0.0 Initial Version 30 Jan 2004
More informationsessionx Desarrollo de Aplicaciones en Red A few more words about CGI CGI Servlet & JSP José Rafael Rojano Cáceres
sessionx Desarrollo de Aplicaciones en Red José Rafael Rojano Cáceres http://www.uv.mx/rrojano A few more words about Common Gateway Interface 1 2 CGI So originally CGI purpose was to let communicate a
More informationHow to use J2EE default server
How to use J2EE default server By Hamid Mosavi-Porasl Quick start for Sun Java System Application Server Platform J2EE 1. start default server 2. login in with Admin userid and password, i.e. myy+userid
More informationJBuilder. Getting Started Guide part II. Preface. Creating your Second Enterprise JavaBean. Container Managed Persistent Bean.
Getting Started Guide part II Creating your Second Enterprise JavaBean Container Managed Persistent Bean by Gerard van der Pol and Michael Faisst, Borland Preface Introduction This document provides an
More informationOracle Fusion Middleware
Oracle Fusion Middleware Developing Applications for Oracle WebLogic Server 12c Release 1 (12.1.1) E24368-02 January 2012 This document describes building WebLogic Server e-commerce applications using
More informationJavadocing in Netbeans (rev )
Javadocing in Netbeans (rev. 2011-05-20) This note describes how to embed HTML-style graphics within your Javadocs, if you are using Netbeans. Additionally, I provide a few hints for package level and
More informationAbstract. Avaya Solution & Interoperability Test Lab
Avaya Solution & Interoperability Test Lab Application Notes for Packaging and Deploying an Avaya Communications Process Manager SDK Sample Web Application on an IBM WebSphere Application Server Issue
More information