Monday April 28, 2008
5 Techniques to Create Web Service (from WSDL)
This is a comparison of 5 techniques to implement a simple SOAP Service using 3 different databinding frameworks, such as JAX-WS, AXIS ADB and Xmlbeans, and using 2 low level techniques such as JAX-WS Provider API and Axis AXIOM. [Read More]
Posted at 06:37PM Apr 28, 2008 by Milan Kuchtiak in NetBeans | Comments[74]
Friday September 07, 2007
JAX-WS Tutorial: Working With Binary Data
This is a complex example developed in Netbeans 6.0, showing the binary data transmition using the Web Service and Enterprise Session Bean. A FlowerService web service is created in web application. Its role is to get the binary data from EJB and convert those binaries to java.awt.Image objects.
The FlowerClient Java Application is created to consume those images from the service. The pictures received from the web service are shown in a simple "Flower Album" (JFrame).
Finally, some tips are included to show how the binary data transmition can by optimized using MTOM and how SOAP messages can be logged on the client side.[Read More]
Posted at 02:17PM Sep 07, 2007 by Milan Kuchtiak in NetBeans | Comments[251]
Wednesday October 25, 2006
Using Web Service to Send Image File
There are several ways to send binary data using SOAP protocol. JAX-WS 2.0 supports the MTOM (SOAP Message Transmission and Optimization Mechanism) and XOP (XML Binary Optimized Packaging) specifications, intended for optimal transmission of binary data, such as xs:base64Binary.[Read More]
Posted at 11:00AM Oct 25, 2006 by Milan Kuchtiak in NetBeans | Comments[892]
Wednesday October 18, 2006
Using JAXB and JAX-WS to generate HTTP/XML Response
Is that really necessary to use specific tools (like JAX-WS) to implement document-centric web services ? The answer is NO, but it is not much comfortable.[Read More]
Posted at 11:30AM Oct 18, 2006 by Milan Kuchtiak in Sun | Comments[105]
Monday October 16, 2006
Web Services: REST vs. SOAP
For most of the people, the SOAP protocol is still rather complicated to understand. Creating client for existing SOAP service isn't so trivial and you'll likely use some tool (Netbeans or JAX-WS) to build your client successfully. [Read More]
Posted at 05:45PM Oct 16, 2006 by Milan Kuchtiak in NetBeans | Comments[68]
Monday October 09, 2006
J2SE Web Services - Part2
This is an example how a web service can be developed inside the Java Application, and then, how easily this web service can be deployed to Sun Java System Application Server.[Read More]
Posted at 05:00PM Oct 09, 2006 by Milan Kuchtiak in NetBeans | Comments[25]
Sunday October 08, 2006
J2SE Web Services
To create web service using JAX-WS 2.0 you don't need application server.[Read More]
Posted at 01:30PM Oct 08, 2006 by Milan Kuchtiak in NetBeans | Comments[25]