Home » Tag Archives: Web Services (page 2)

Tag Archives: Web Services

Signing SOAP Messages – Generation of Enveloped XML Signatures

java-interview-questions-answers

Digital signing is a widely used mechanism to make digital contents authentic. By producing a digital signature for some content, we can let another party capable of validating that content. It can provide a guarantee that, is not altered after we signed it, with this validation. With this sample I am to share how to generate the a signature for ...

Read More »

Creating contract-first web services with Spring WS

spring-interview-questions-answers

1 Introduction This article explains how to implement and test a SOAP web service using the Spring Web Services project. This example uses JAXB2 for (un)marshalling. To develop the service, I’ll use the contract-first approach, which consists in definning the service contract first, and based on this contract implement the service. The article is divided into the following sections:   ...

Read More »

Project Student: Webservice Integration

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer, Persistence with Spring Data and Sharding Integration Test Data. Earlier we successfully ran integration tests for both the persistence/business layer (using an embedded H2 database) and the REST server/client layers (using a Jetty server). It’s time to knit everything together. Fortunately ...

Read More »

WS-Security: using BinarySecurityToken for authentication

java-interview-questions-answers

As we all know, one goal set by WS-Security is to enforce integrity and/or confidentially on SOAP messages. In case of integrity, the signature which is added to the SOAP message is the result of a mathematical process involving the private key of the sender resulting in an encrypted message digest. Most frameworks, such as WSS4J, will by default only ...

Read More »

Developing SOAP Web service using Apache CXF

java-interview-questions-answers

In last post I walked through the steps for developing a simple RESTFull service using apache CXF.  In this post I will be talking about developing SOAP web service using CXF. Before moving forward let us understand few of the concepts/elements which makes up a SOAP web service SOAP or Simple Object Access Protocol  SOAP is a protocol for exchanging ...

Read More »

Apache CXF – JAX-WS – Simple Tutorial

A lot of Java Developers out there sees task with Web Service implementation daunting – well, nobody can blame them really, especially that it brings a lot of  complexity in development and design over the years of enterprise application development. For some though, learning it is somehow the next step in building a full blown enterprise application – Web Services – ...

Read More »

Web Service security and the human dimension of SOA roadmap

java-interview-questions-answers

In most non-trivial SOA landscapes, keeping track of the constantly evolving integrations among systems can be hard unless there is in place a clearly identified way to publish and find the appropriate pieces of information. An overview of the IT landscape, defining what is currently or will be connected to what, is a prerequisite for being able to maintain the ...

Read More »