O'Reilly logo

J2EE™ Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice by Pankaj Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Web Services in Java

To develop a Web service in Java, you can either start with a WSDL document describing the Web service interface and supply the Java implementation code or start with an existing Java program and generate the corresponding WSDL document. The choice largely depends on whether you are developing a Web service interface from scratch or you already have a Java-based interface defined.

A Web service implementation can either work with raw SOAP messages or the corresponding Java objects as input. In the later case, a layer of software, commonly referred to as a SOAP engine, converts SOAP documents to Java objects. For output, the same engine converts the output objects to response SOAP document.

These conversions require XML data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required