Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Java Web Services and XML

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java Web Services and XML

Some time ago, James Strachan and I had a little chat about how JAXB can be a key functionality for a dependency injection (DI) container. See his proposal at Codehaus. The idea is, first you write a bunch of POJOs that are JAXB-enabled, like this: package org.acme;public class Bar {    private int x,y;    public int getX() { ... }    public void...
on Aug 23, 2006
Based on the changes that are currently proposed, I created a new JAXB API jar (and source zip) that contains those changes. Also, it's always a good idea to have some implementation to play around, when one is considering a change in the spec. So in this spirit, I created a branch in the JAXB RI and started prototyping some of the proposed changes. I hope it gives us better feel about how the...
on Aug 22, 2006
While all change proposals are posted in the issue tracker, it's not quite easy to read, because: It talks about gory details; wording changes in section X and adding paragraph in section Y, etc. You have to click a bunch of links to get to each one of them. I messed up some of the MIME type settings, so one or two of them launch MS Word. Besides, some of the changes are only intereting for a...
on Aug 22, 2006
GlassFish v2 Milestone 1was released last week. The scripts to install WSIT on this release did not work because of a change in domain.xml script that was breaking the WSIT install script (wsit-on-glassfish.xml). I fixed the script and got a positive report this morning that the fix is indeed working (always fun!). So if you are you installing WSIT on GlassFish v2 Milestone 1 and it's not working...
on Aug 21, 2006
As I've talked about in the past, I've been involved with making the JAX-WS RI better architectured. The first wave of that work is now stable enough to be made available as "milestone 1" and also in Glassfish v2 milestone1. Also see Vivek's blog for more about this. But we aren't done yet. We recently learned that our JBI folks are interested in using the JAX-WS RI and WSIT as a lower level...
on Aug 21, 2006
WSIT Milestone 1 release has been available for a few days now. Follow 4 simple steps to download the binary release or build from the source and build a secure, reliable and interoperable Web service using the comprehensive tutorial. The samples range from simply adding the two numbers to a price quote service using secure, reliable and brokered trust pattern. All the samples can be installed...
on Aug 17, 2006
As of Aug 14, 2006, java.net community has 262,445 members and growing. Each of these members can check out any of the 3131 projects (as of 8/14) and view the underlying source code, web pages and other content. There are numerous benefits to become a java.net member. I definitely encourage you to join the community but in case you choose not to, you can still check out the the projects using...
on Aug 17, 2006
JAXWS 2.0.1 Milestone 1 is out JAXWS 2.0.1 M1, a.k.a. re-architected JAXWS 2.0 RI is out! These bits are also delivered with the Glassfish 9.1 v2. So you can get all the improvements we made in JAXWS 2.0.1 right from this glassfish download. JAXWS 2.0.1 M1 is significantly modified since JAXWS 2.0 FCS. So what does this re-architecture brings in: Performance Performance boost - 70%...
on Aug 17, 2006
One of the things people want to do while developing Web Services is to look at what the client is sending and receiving. To monitor soap traffic, there are some GUI tools like TCP Monitor and WSMonitor. These monitors are implemented with a 'man in the middle' approach where-in, the monitor listens to a port (Client send requests to this port) and forwards it to another port (Server listens to...
on Aug 17, 2006
Updated set of properties are available here. THE FOLLOWING PROPERTIES ARE PROPRIETARY.  THEY CAN AND WILL CHANGE. We are providing this information to help with development and debugging.  These properties should not be used in deployments. WSIT Pipeline Assembler exposes multiple system properties to enable SOAP message logging using DumpPipe. Each property, if it's value is set to...
on Aug 15, 2006
I've started working on the JAXB 2.1 maintenance review (I took over the spec work from Sekhar.) I'm still trying to get up to speed with the process and all, and I hate the UI of FrameMaker, but in the mean time, I posted all change proposals at java.net. The idea of an MR is that we'd like to make selected easy changes to address the pain of users and technologies that build on top of the...
on Aug 14, 2006
One of the things that really differenciate a good tool from a mediocre tool is the error handling. So in the JAXB RI, I spend a lot of efforts in making sure that the tools and the runtime detects errors, print them in a way that makes sense, and try to diagnose the problem better. One of the typical human mistakes is a typo. After all, humans are intelligent but not supposed to be diligent,...
on Aug 11, 2006
Often you need to override the default WSDL to Java bindings like changing XML Namespace to package mapping, generating asynchronous methods etc. Forget about vendor specific tool features or options you need to pass to customize WSDL to Java mapping. As you know, JAX-WS Specification defines a standard binding language to customize WSDL 1.1 to Java binding. Whatever JAX-WS implementation you...
on Aug 11, 2006
This tool, wsmonitor, is a light-weight, easy to use SOAP and HTTP traffic monitoring tool. This tool uses port forwarding to capture the SOAP messages and HTTP headers between a sender and a receiver and displays them nicely formatted in a graphical user interface. The key features are: Easy to use Light weight Displays XML- formatted SOAP message Separate tabs for SOAP and HTTP traffic...
on Aug 10, 2006
I reported that more and more toolkits are building on top of the JAXB RI, but the list just keeps growing. Yesterday Arun told us that IBM has released an alpha version of WebSphere Feature Pack for Web Services. The website lists what's in this feature pack, and that includes JAXB 2.0 support. So I got curious. With the army of engineers that IBM got, it's not too much of a surprise if they...
on Aug 4, 2006
The JAXP API defines a pluggability layer which allows easy swapping of implementations via the use of system properties and meta-information stored in JAR files. I have recently found that the mechanism by which factory classes are located and loaded still causes a great deal of confusion. I've recently cleaned up this code in JAXP 1.4, available as part of J2SE 6.0 (Mustang), and decided to...
on Aug 4, 2006
In my last blog entry, I described how WS-Addressing Action header value is calculated. A WSIT-enabled client/endpoint generates/expects the correct values per W3C Candidate Recommendation.  However Microsoft's WCF (Windows Communication Foundation) client does not generate the correct value of Action header in all cases. This blog describes the issue and workaround.  As described in...
on Aug 4, 2006
W3C WS-Addressing WSDL Binding defines the sequence to follow in order to calculate the value of Action header to be sent in a client outbound SOAP message or expected in a server inbound SOAP message. The sequence is explained below: If wsaw:Action is explicitly associated with wsdl:input message, then use that. For example, <portType name="wsaTestPortType"...
on Aug 3, 2006
In a previous entry I described some enhancements that were under consideration for an updated version of the WADL specification. The resulting updated WADL specification is now available along with the associated W3C XML Schema and RelaxNG Schema. In revising the specification I made a couple of breaking changes to simplify the language and improve clarity so this version of the specification...
on Aug 3, 2006
I just posted a new release of the JAXB RI, which is 2.0.2. This is primarily a bug fix release, as the version number indicates. It contains bug fixes that we've done in the past two months. I was originally hoping for once-a-month release cycle, but it turns out July was a short month for us (as most of us take vacations in turn), and there was some internal CVS fire-drill that crippled our...
on Aug 2, 2006