Skip to main content

Blog Archive for jitu during January 2006

Google has a rpc/enc Web Service for searching and fetching cached pages. There are many ways to access these services(for e.g. Google API). Can it be accessed using JAX-WS? JAX-WS doesn't support rpc/enc Web Services so you don't have nice typed objects to work with. But one can use javax.xml.ws.Dispatch to send and receive SOAP messages. The advantages of using JAXWS for this purpose is that...
Mustang has a very good support for Web Services. One can create, publish a Web Service very easily. First write the Web Service endpoint implementation, and then use javax.xml.ws.Endpoint API to create and publish the Web Service. package myws;import javax.jws.WebService;import javax.jws.soap.SOAPBinding;@WebService@SOAPBinding(style=SOAPBinding.Style.RPC)public class Implementor {  ...