In this chapter, we shall look at various techniques to build OFBiz web service providers and consumers. In particular, you will find information on:
Requesting web services using URL parameters
Requesting web services using an
HttpClient
Creating
HttpClient
and passing XML documentsCreating XML-RPC web service clients
Becoming an XML-RPC web service provider
Generating a WSDL document
Building SOAP messaging clients
Creating SOAP compliant web services
Ask five people what "web services" are and you will likely get at least six different opinions. Because the term evokes such ambiguity, we need to set ground rules for this chapter and define what we mean by "web services". Therefore, for the purposes of this book, "web services" are the interactive exchange of messages from one system to another using the Internet as the network transport and HTTP/HTTPS as the messaging protocol. Message exchange transpires without human intervention and may be one-way—that...