The Artima Developer Community
Sponsored Link

Java Buzz Forum
Web services in Java SE, Part 2

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47615
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Web services in Java SE, Part 2 Posted: Aug 14, 2017 5:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Web services in Java SE, Part 2
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

JAX-WS supports SOAP-based Web services. Part 2 of this four-part series on Java SE Web services defines a SOAP-based units-conversion Web service, builds and then verifies this Web service locally via the default lightweight HTTP server (discussed in Part 1), interprets the service's WSDL document, and accesses the service from a simple client.

Defining a units-conversion web service

The units-conversion Web service, which I've named UC, consists of four functions for converting between centimeters and inches and between degrees Fahrenheit and degrees Celsius. Although this example could be architected as a single Java class, I've chosen to follow best practices by architecting it as a Java interface and a Java class. Listing 1 presents the Web service's UC interface.

To read this article in full or to leave a comment, please click here

Read: Web services in Java SE, Part 2

Topic: How to create rdd in apache spark using java Previous Topic   Next Topic Topic: Top 4 OCPJP 7 books for 1Z0-804 and 1Z0-805 Exam


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2017 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us