Saturday, May 23, 2015

Simplest JAX-WS Client

/*
Copyright (C) 2014 saminda konkaduwa
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail.
*/



Introduction

Easy JAX-WS SOAP client is a simplified web service client that reduces burden of creating painful web service client stubs that also eliminates use of external java libraries. You can invoke JAX-WS web services with faster, easier with few lines of java codes.

Advantages of Easy JAX-WS client

1. You can invoke web services using few lines of java codes with out creating
  massive and bulky client stubs.
2. Increase the speed of execution since there is no validation of web service
  requests with WSDL and no external libraries.
3. Simplified way to read complex responses.

Capabilities of Easy JAX-WS client

1. Can invoke HTTP based web service
2. Can invoke HTTPS based web service
3. Can incorporate HTTPS certificate files
4. Can incorporate with proxy host, ports, username, password
5. Can incorporate with application server level authentications

Steps to invoke JAX-WS web services using Easy JAX-WS client

1. Invoke the web service using your popular soap reader.
    Ex – SoapUI , Firefox SOA Client
2. View the structure of SOAP Request
3. View the WSDL file and read the SOAP action relevant to your Method
4. Build your SOAP Request using Easy JAX-WS client
5. Read the SOAP Response using Easy JAX-WS client

Lets tryout bellow examples 

1. HTTP based JAX-WS web service
2. HTTPS based JAX-WS web service
3. Incorporating proxy servers
4. Server authentications 

No comments:

Post a Comment