Standalone Client Implementation
A standalone client is essentially a J2SE application that uses the JAXM APIs to create and consume the SOAP messages. In this section, you will create a standalone JAXM client called MyJAXMClient that will send a SOAP message invoking the find_business method described in the InquiryAPI to the UDDI registry to get information about an organization.
The SOAP message that MyJAXMClient will send to the UDDI registry will be of the following form:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header/> <soap-env:Body> <find_business xmlns="urn:uddi-org:api" generic="1.0" maxRows="100"> <name>oracle</name> </find_business> </soap-env:Body> </soap-env:Envelope>
To create ...
Get Java™ APIs for XML Kick Start now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.