My JAX-RPC Wishlist
Have you ever implemented a web service with JAX-RPC? I did, and it was not that easy. Our technical requirements were the following:
With the current state of the art in Java's JAX-RPC and JAXB, this was certainly possible but not at all straightforward. 1 and 2 are not so much of a problem, but the Java web services stack falls short on all the other items. So if any of the JAX-RPC committee members read this: I hope these comments or experiences can help in improving/clarifying the JAX-RPC technology...
- we needed to be able to send/receive asynchronous (one-way) document/literal SOAP messages
- we needed a convenient way to parse/generate the XML
- we needed to be able to send custom SOAP faults for asynchronous error conditions
- we needed to be able to process header blocks easily
- we needed reasonable support for header bindings in the WSDL document
- we needed to be able to associate server-side header information with thread-specific information in the service being called
- If possible, we wanted to be able to associate handlers with custom, servlet-based endpoints (not JAX-RPC endpoints)
With the current state of the art in Java's JAX-RPC and JAXB, this was certainly possible but not at all straightforward. 1 and 2 are not so much of a problem, but the Java web services stack falls short on all the other items. So if any of the JAX-RPC committee members read this: I hope these comments or experiences can help in improving/clarifying the JAX-RPC technology...
<< Home