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

WS-I Testing Tools determine conformance with WS-I Basic Profile 1.1 (BP 1.1) and Simple SOAP Binding Profile 1.0 (SSBP 1.0). The testing tools download bundle comes with two tools that facilitate the process, they are Monitor and Analyzer. The bundle comes with a command-line version of these tools but for easier integration with Ant build scripts, ant tasks for these tools is available here....
on Mar 29, 2006
W3C WS-Addressing 1.0 Core and SOAP Binding are now Proposed Recommendation. A final stamp from W3C Advisory committee will convert this into a Recommendation. This has been a great effort so far for me especially since I was responsible for Sun's implementation in the CR interop testing. Marc Hadley and Pete Wenzel from Sun participated in the specification process. Sun's WS-Addressing...
on Mar 21, 2006
A "Meet the Engineer" interview I did with Java developer Arun Gupta of Sun might be worth checking out. Arun has useful insights about programming in India and the US, the challenges of developing software, Java APIs for XML Web Services Addressing (JAX-WSA), and efforts to get Sun Microsystems and Microsoft on the same page. He's a smart guy and has a patent related to XML and has several...
on Mar 20, 2006
Jitu implemented the support for Provider-based endpoints in JAX-WS RI. Without undermining the wonderful effort of JAX-WS esteemed spec leads, here is an attempt to capture a whiteboard discussion on Provider-based endpoints possible combinations that Jitu and I had last Friday afternoon. JAX-WS 2.0 introduces javax.xml.ws.Provider interface that is an alternative to a Java service endpoint...
on Mar 20, 2006
So you just picked up the latest release of JAX-WS from Java.net and want to try it out with Glassfish. First, you need to override the version that is bundled with Glassfish, but how do you do that and be certain that you did correctly? There's more than one solution to this problem, but there's one clear winner when you're just interested in a quick test: include the latest JAX-WS runtime in...
on Mar 17, 2006
Starting today's nightly, the JAX-WS samples can be easily run on Tomcat 5.5.x. This blog tells you how to install a JAX-WS nightly build on Tomcat container and run the samples using that. Installing JAX-WS 2.0 on Tomcat Download JAXWS_SI.jar from the nightly build and install it on your machine by giving the following command: java -jar JAXWS_SI.jar This will install JAX-...
on Mar 17, 2006
As I mentioned a week ago, we are really really close on the release of the JAXB RI 2.0 release. Unit test failures are down to 0, SQE tests are down to 0, and TCK tests are down to 1. All the lights are almost green, except this one TCK failure. So, I decided to go ahead and posted the release candidate. If everything goes well, this will effectively become the JAXB RI 2.0. I hope you can try...
on Mar 16, 2006
One of the common issues that JAXB 2.0 users face is this. When they compile their favorite schema, XJC reports back the following scary-looking errors and refuses to compile it: parsing a schema...[ERROR] Property "MiOrMoOrMn" is already defined.  line 132 of file:/C:/kohsuke/Sun/JAXB/jaxb-unit/schemas/individual/MathML2/presentation/scripts.xsd[ERROR] The following location is...
on Mar 15, 2006
The authors of WS-Policy and WS-PolicyAttachment  are hosting a 3-day interop workshop at SAP AG campus in Walldorf  on April 25-27, 2006. This is the first public notification of such a workshop around this set of specifications. We (Sun) will be participating in this workshop with our implementations of these specifications as part of Project Tango. The source code of these...
on Mar 14, 2006
Here at the JAXB team, we are closing in on the release of the JAXB 2.0 RI. Almost all the bugs are fixed (both java.net and BugParade.) Our 1600+ unit tests are almost all passing except one or two, and we'll be then working on any failure from 5700+ TCK tests. So if you are thinking about moving to JAXB 2.0, then now is a really good time to try it out and make sure it works for you. If you...
on Mar 10, 2006
As reported earlier, Sun particiapted in the second plugfest hosted by Microsoft. Harold, Vivek, Mike, Jiandong and myself (all from Sun) spent most of the week in Redmond testing interoperability between Sun's Project Tango technologies and Microsoft's Windows Communication Foundation. There were other Sun participants engaged remotely as well. Again as mentioned, we were bigger and performed...
on Mar 10, 2006
This morning W3C WS-Addressing testing task force spent hours to interoperate on WS-Addressing CR test cases. Well, this morning was pretty much the grand finale but we've been working for the past few months on testing. And finally we achieved a darn good test report few hours ago. I represented Sun for the interop using JAX-WSA APIs and implementation and achieved 100% interoperability. That...
on Mar 7, 2006
JAXB 2.0 is sometimes used in an environment where its output needs to be canonicalized. This is particularly true in the context of web services, such as Tango. Traditionally, this has been done by attaching a separate processor that receives the output from JAXB, then do c14n, then write it out to byte stream (and for a reason beyond me they chose to do this by building a DOM, instead of...
on Mar 7, 2006
steveor asked How he can map a union simple type nicely to Java. Here's how. His simple type is an union of three things. (1) tokens that start with "MINOR", (2) tokens that start with "PROP", or (3) one of 10 known constants. In JAXB 2.0, unfortunately all unions map to java.lang.String by default. This is primarily because otherwise it's very difficult to unmarshal it correctly to typed...
on Mar 6, 2006
isusanin asked in the JAXB forum: When trying to marshall an object I get this error message: unable to marshal type "org.blah.MessageType" as an elementbecause it is missing an @XmlRootElement annotation If I add the @XmlRootElement annotation to the MessageType, it works, but my question is why doesn't the JAXB compiler put this annotation in automatically. It's inconvenient because...
on Mar 3, 2006
JAX-WS 2.0 has been open source on Java.net for nearly a year. The JAX-WS teams is looking for Content Developers and Contributors to make JAX-WS a better technology. Content Developers can contribute content for the JAX-WS web site on Java.net. This content can be in the form of whitepapers, tech tips, FAQs or anything else one can think of to make using JAX-WS easier to understand....
on Mar 3, 2006
Java.net has upgraded its system and with that came a lot of changes to the web interface. This broke javanettasks, which does HTML scraping internally to provide a programatic access to java.net. So today I posted javanettasks 1.0.8 and maven-javanet-plugin 1.5 to cope with these differences. If you are using those, be sure to update! I also had to update all sorts of automation systems, like...
on Mar 1, 2006
For the past few months or so I've been working on rearchitecturing the JAX-WS RI. The goal is to bring the performance to the next level, to make it more pluggable in all respects, and to allow more infrastructure-level specifications to be implemented on top of it. The existing JAX-WS code has its root in JAX-RPC, and with all due respect to people who worked on it, it just shows its age....
on Feb 10, 2006
RELAX NG is a schema language for XML. It allows you to describe a structure of XML in a way much easier to read/write than W3C XML Schema, and it can be useful both for humans (to understand what XML is OK) and for programs (to mechanically determine if an XML is OK or not.) Historically many good RELAX NG validators, like MSV or Jing, has been available through another validation API called...
on Feb 10, 2006
And that's what indeed we at Sun have been trying to achieve for the past few months. Read more about Project Tango in Harold's blog. It's all about interoperability with Microsoft's Windows Communication Foundation. This is a concrete realization of the announcement (here too) made by Sun in Nov 2005. This is where I've been spending my time...
on Feb 9, 2006