Send Any File using SOAP Webservice

This tutorial shows how we can send file using SOAP based webservice. The type of the file can be anything, i.e., text, image, pdf, MS doc etc. For this type of application we need to create two applications – one will work as a client application(which sends a file) and other one will work as a server application(which receives a file). So the server application will deploy the service whereas client application will consume the service. In server application we will have logic for what will be done with the file content after receiving the file. Using the client application we will upload the file and send through the SOAP service.

In this example both client and server applications are web based application. In client application we will upload the file using JSP, Servlet and send it to the server application which then saves the received file to the specific location on disk.

Please feel free to contact me for any kind of help. Continue reading “Send Any File using SOAP Webservice”

Consume jax-ws webservice

In this tutorial I will show how to create the Webservice client for jax-ws webservice. You can tell also how to consume the webservice.

A service has already been deployed into the server and we are given a wsdl file we can invoke the service from the remote area.


Eclipse 3.6
JDK 1.6

Before creating the client project you can have a look at the jax-ws webservice creating tutorial Continue reading “Consume jax-ws webservice”