Web Service Tutorials

For learning web services we should know the following things. 1) SOAP 2) WSDL 3) UDDI 4) web  services 5) security SOAP SOAP  is  an  XML  based  protocol  for  exchanging  information  between  computers. Soap is an XML. That is soap application of the XML specification. SOAP    messaging For  exchanging  information  between  computers  SOAP  is […]

How can Web services  be used by different services within and outside the application.Web service helps to layer a transport mechanism between any application to any system outside the system. This article provides a view of how web services be used by different services within and outside the application. The crucial part of a Web […]

This example will show case on developing a web service with a contract first approach. There are two ways by which web service can be developed, one is the contract last and the other is the Contract First Approach. This is a very simple Product Catalog web service with Contract First Approach, where user will […]

Developing a CreditCardservice and Deploying in Tomcat Create a directory structure Axis2Example for our Credit Card Validation Web Service as shown below in Figure 1. Figure 1. Axis2Example Project Directory Structure Create a CheckSEI.java interface with within the package com.ibm.axis2.ccheck as shown below. Listing 1. CheckSEI.java package com.ibm.axis2.ccheck; import javax.jws.WebService; @WebService (name="CheckCard", targetNamespace="http://ccheck.axis2.ibm.com") public interface […]

Select TestClient.java and Run As > Java Application (Make sure Tomcat is running). After running the TestClient, you will be prompted to enter your Credit card Number in the console as shown below: (Type your Number for example 4111111111111111 and then Press ENTER to get valid input and valid vendor) (Type your Number for example 5111111111111111 and then […]

This series on developing web services gives an insight on developing web service using Axis framework.A credit card validation example is done using the web service and the testing part is also shown in the example. A web service is a network accessible interface to application functionality, built using standard Internet technologies. The web services […]

EJB stateless session bean as web service This article provides a view of how a stateless session bean can work as a web service.Follow the step by step instructions listed below for exposing session bean as web service. Getting started Import the sample DateFormatter (EJB 3.0) project provided in the downloads. This project has a […]

SoapUi helps to do the web service testing. soapUI is an open source tool for testing Web services and it supports multiple protocols.The soapUI project is the central point in all soapUI testing. Once the project is created, you can create and run Functional Tests, LoadTests, create MockServices or much more. In this tutorial, we […]

Enterprise platforms for Java have included Web services as part of their API offering since Java 2 Platform, Enterprise Edition (J2EE) V1.4. The latest iteration of this standard, Java Platform, Enterprise Edition (Java EE) V5, continues to support Web services with its current version. This means that any development environment for Java EE includes support for the creation of Web services by using the Java API for XML Web services (JAX-WS) and the Java Specification Request (JSR) 109 V1.2 specifications.

Web Service is a mechanism by which you can communicate between electronic systems over internet.Web service has the capability to convert an application into a web application which can publish a function or message. Web services constitute a distributed computer architecture made up of many different computers trying to communicate over the network to form one system. […]