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

After being able to deploy and invoke a Web service using NetBeans 6, I tried to install the latest development build of WSIT plug-in. One big difference (in terms of ease-of-use) I noticed, from NB 5.5.1 Update Center, is that all the available modules are now organized in logical categories. And this is nice because it lets you look for a module in that category.  NetBeans 5....
on Mar 5, 2007
I downloaded NetBeans 6.0 daily build from http://www.netbeans.info/downloads/dev.php. The installation went pretty smooth and so after every thing was done, I started the IDE. Before I could do anything in the IDE, an error message window popped up NPE are just plain ugly but the new feature that I noticed here is "Review and Report Problem". So I clicked on that button and saw: and...
on Mar 3, 2007
One of the users asked in the forum how to report validation error location by using XPath. The JAXB RI reports line numbers when available, but when you are validating the output from the marshalling, then line numbers don't mean much. Hence this user wanted to locate error in XPath. When you are validating the marshalling output, what it is doing is that it produces SAX events that represent...
on Mar 2, 2007
The JAX-WS RI 2.1 uses the Message class as its internal representation of a SOAP message. This interface is designed for high performance construction/access of the SOAP infoset from various sources. This class can be extended by the applications to provide a SOAP infoset backed by a different data structure, but there are also a wide variety of default implementations that are optimized for...
on Mar 1, 2007
A few people have found problems validating DOM instances with JAXP1.4/JDK 6.0. I saw this quesion raised in the Java Technology and XML forum, and at least 3 bugs were filed for this in the last few weeks. I'll use this blog entry to explain what the problem is and how to easily fix your code. Let's start by showing a snippet of the problematic code, which basically parses an XML file into a DOM...
on Mar 1, 2007
NetBeans 5.5.1 IDE Beta was released earlier this week. Along with it, the WSIT plug-in modules were released as part of Update Center. So now if you want to install WSIT plug-in in NetBeans, you no longer have to manually download the modules and then install them. This screencast shows you how to install the WSIT plug-in on NetBeans IDE 5.5.1 using Update Center. Enjoy it here. Technorati: Web...
on Feb 28, 2007
WSIT bits are already integrated in GlassFish v2. So if you download GlassFish v2 then you have all the WSIT functionality available to you. If you are interested in a bleeding edge build, then you can download a nightly build (untested builds) and  install it on top of an existing GlassFish installation. If you are interested in a slightly  stable build, then you can download the...
on Feb 27, 2007
Following up from previous blog, I cloned the GlassFish Pipe to create a new pipe that aggregate feeds from Sun WSIT bloggers. Instead of searching different blog engines, as in GlassFish pipe, this is an aggregate of all the feeds produced by the WSIT team at Sun. You can subscribe to the RSS feed of this pipe to view all the entries from the WSIT engineering team. Technorati: WSIT GlassFish...
on Feb 27, 2007
If you are new to Web services and would like to know how to write a simple Web service; or if you are a veteran and would like to know performance tuning tips on JAX-WS. Please scratch your head and ask your mind for any questions on anything JAX-WS (2.0 or 2.1) because next week is an open invitation to ask Vivek, Kohsuke and Jitu, representation of Sun's JAX-WS engineering team. JAX-WS team is...
on Feb 24, 2007
In the third part of the screen cast series (#ws1, #ws2), I show how a reliable and interoperable Web service can be developed and invoked using NetBeans IDE and WSIT plug-in. This screencast also shows how WSIT plugin can be manually installed in NetBeans. Enjoy it here. Here is a preview of screen casts that are plannned in the next few weeks. #WS4: Developing a Secure Web service using WSIT...
on Feb 22, 2007
Project Tango (a.k.a. WSIT) enables Java interoperability with Microsoft's Windows Commmunication Foundation. Our milestone 3 release features a redesigned IDE that makes using security features much easier more complete coverage of interop plugfest scenarios performance improvements (our internal measurements show us to be on par with the other side of the wire, if you know what I mean) bug...
on Feb 21, 2007
Want to know what powerful and highly-performant Web Services features are supported in GlassFish v2 or Application Server 9.1 ? Now they are all summarized here. Technorati: GlassFish Web services
on Feb 16, 2007
GlassFish v2 M4 and Windows Vista were released two weeks ago. I installed GlassFish M4 on my machine and Vista Enterprise on a different machine. In this blog, I explain the steps followed to invoke a Web service deployed on GlassFish by Vista client and vice versa. First, lets deploy a service on GlassFish and invoke it using a client on Vista. Using screencast WS#1, I developed a trivial...
on Feb 13, 2007
In the second part of the screen cast series (part 1), I show the various ways by which NetBeans IDE can invoke a Web service endpoint. The first part showed only the default way to invoke the endpoint, but this screen cast shows two additional ways. Enjoy it here. Feel free to post suggestions on what would you like to see in terms of Web services development using NetBeans. Technorati: Web...
on Feb 12, 2007
As a follow up from a previous blog, the Web Services plugin in IntelliJIDEA now supports GlassFish v2. Here are the steps I followed to deploy the Web service on GlassFish: I updated the plugin version from "0.6 build 2" to "0.7 build 1" as shown here. Using Project Settings (default shortcut Ctrl+Alt+S), configure GlassFish in the Web Services plugin as shown...
on Feb 10, 2007
One of the key advantages of JAX-WS Reference Implementation ([1], [2], [3], [4], [5]) is it's extensible nature. Several extensibility hooks, defined as abstract classes, are enabled through out the JAX-WS RI that allow to extend the core JAX-WS functionality for WSDL/Service Endpoint Interface processing. This document explains these hooks and their intended purpose.  An implementation of...
on Feb 9, 2007
WSIT clients and service providers use JAX-WS/JAXB for interoperating with WCF clients and service providers. JAXB and WCF serialization mechanisms while similar in some aspects, differ in others such as the support for XML schema constructs, datatype XML schema mapping. The Data Contracts chapter in WSIT tutorial discusses some of the common databinding differences between JAXB and the...
on Feb 9, 2007
Today, I'm starting a series of screen casts that will show how NetBeans IDE provide first class interoperable Web services development experience using WSIT in GlassFish v2. The first episode in this series shows how a simple Web service can be developed, deployed and invoked using JAX-WS in GlassFish.  Enjoy it here. Feel free to post suggestions on what would you like to see in terms of...
on Feb 7, 2007
This is a follow up to my previous post. A reader asked how my "danegrous classloader trick" works, and another reader asked if he can use this technique to run his applications (with JAXB 2.1) on JavaSE 6. I've got a few internal people who had the same question, so I'm going to explain how it works today. The following picture illustrates the basic design: When our code gets the control...
on Feb 6, 2007
As Jave SE 6 adoption increases, it's getting more and more painful that you can't run JAXB/WS 2.1 tools in a straight-forward fashion on JavaSE; since we care about development experience, we decided that it's time to fix this. The crux of the problem is to load JAXB/WS 2.1 API in JavaSE 6, where 2.0 APIs are in the bootstrap classloader. So I needed to pull off some dangerous classloader...
on Feb 5, 2007