Understanding JAX-WS wsgen with example

What is wsgen? wsgen is a command line tool provided by JAX-WS to generate all the artifacts required for web service deployment and invocation. In simple words, wsgen takes web service implementation class as an input and generates all the required artifacts for web service deployment. It’s provided as part of Java 1.6 and it […]

Share this article on

Sending and receiving attachments with JAX WS and MTOM

In this article, we will learn about transmitting binary data like images in JAX-WS without MTOM and with MTOM. What is MTOM? MTOM stands for Message Transmission Optimization Mechanism It provides an efficient mechanism for transmitting the binary data (like Image,pdf etc) between client and web service It uses XOP to serialize and deserialize the […]

Share this article on
< Previous Next >