Skip to main content

Marc Hadley

Marc is a Principal Engineer with the Mitre Corporation where he works on a variety of projects for federal agencies. Prior to joining Mitre, Marc was a Java and Web Services Architect at Sun Microsystems where he lead the development of JSR 311, a Java API for RESTful Web Services and JSR 224 a Java API for SOAP-based services. Marc represented Sun Microsystems in the W3C XML Protocol and W3C Web Services Addressing working groups where he was co-editor of the SOAP 1.2 and WS-Addressing specifications. Marc also served as the technical lead for Sun's participation at the Web Services Interoperability Organisation (WS-I).


mhadley's blog

URI Templating

Posted by mhadley on October 5, 2006 at 8:40 AM PDT

One of the features added to WADL in the latest revision of the specification was the ability to embed parameters in resource path definitions. E.g., the following describes a set of resources identified by a parameterized URI:


Posted by mhadley on September 29, 2006 at 12:31 PM PDT

I'm pleased to announce the formation of a new project on for the development of WADL and associated tools: The goals of the project are spelled out here.

WADL Revision

Posted by mhadley on August 3, 2006 at 7:43 AM PDT

In a previous entry I described some enhancements that were under consideration for an updated version of the WADL specification.

WADL Enhancements

Posted by mhadley on June 30, 2006 at 1:07 PM PDT

In this entry I describe some of the language enhancements that will be in the next version of the WADL specification.

Mapping WADL to Java

Posted by mhadley on May 25, 2006 at 12:25 PM PDT

In recent entries I've described the REST (or Web Style) oriented features of JAX-WS and touched on a new language, WADL, that aims to provide a description of Web style services.

JAX-WS and Binary Data

Posted by mhadley on April 27, 2006 at 7:24 AM PDT

In previous entries I've shown how to use the JAX-WS APIs to publish and use RESTful Web services. Up till now I've focussed mainly on XML/HTTP since this is what most services use but JAX-WS can also handle other kinds of data.

WADL now a Sun Labs Technical Report

Posted by mhadley on April 26, 2006 at 2:45 PM PDT

The Web Application Description Language (WADL) specification has now been published as a Sun Labs Technical Report (TR-153).

RESTful Web Service Endpoints in JAX-WS

Posted by mhadley on March 21, 2006 at 11:05 AM PST

In previous entries I've covered use of the client side JAX-WS Dispatch<T> interface to consume RESTful Web services.

RESTful Web Services with JAX-WS and JAXB

Posted by mhadley on March 8, 2006 at 11:44 AM PST

In a previous blog entry I described how to use the dynamic client functionality of JAX-WS in combination with JAXP XPath capabilities to query a service providing data using XML/HTTP. In this entry I'd like to focus on how to use JAXB instead of XPath to get strongly typed access to the same data.

Printing to an Apple Airport Connected USB Printer from Solaris

Posted by mhadley on January 30, 2006 at 9:39 AM PST

The first thing to do is work out the IP address of the Airport base station to which you've hooked up the printer. The Airport Admin utility on a Mac can help out here if you have multiple base stations but if you have only one then its likely to the same IP address that is your default gateway. To find the default gateway type (the # represents the shell prompt, don't type it):