-
Book Overview & Buying
-
Table Of Contents
Apache OfBiz Cookbook
Web Service Descriptor Language (WSDL) is an XML-based grammar used to define the interface provided by a web service. Web service providers publish—on the Web—one or more WSDL(s) describing how an interested service consumer may connect and consume a Service.
The work of creating SOAP web service's WSDLs by hand can be tedious and error-prone. Fortunately, OFBiz makes the job of publishing WSDLs easy by automatically creating them from a Service's definition.
For this section, we shall assume that an OFBiz Service already exists. In fact, we shall use as an illustration the testSvc Service that comes with OFBiz out-of-the-box.
To publish a SOAP WSDL for this Service, or any other OFBiz Service, follow these simple steps:
To indicate that a URL should be handled as a SOAP web service request and be forwarded to the SOAP event handler, add the following line to the controller.xml file for the OFBiz webapp where the web service will be...
Change the font size
Change margin width
Change background colour