Creating a Java web service that generates and parses XML

You can create Java applications that parse and generate XML themselves. These applications are consistent with XML-aware applications written in other programming languages, but they benefit from using standard Java technologies for processing the XML.

Procedure

  1. Create an XML-ONLY WEBSERVICE resource. For more information, see Creating an XML-aware service requester application or Creating an XML-aware service provider application.
  2. Write a Java™ web service that can parse and generate XML for the body of the SOAP message. You can use various tools, such as the Java 6 Java Architecture for XML Binding (JAXB) library, to help you create a Java web service with these capabilities.
  3. Optional: If you are using a provider pipeline and you want to add the capability for a SOAP Fault message to be returned to the requester, use the JCICS SoapFault class to issue the EXEC CICS SOAPFAULT CREATE command.
  4. Optional: If you are using a requester pipeline, use the JCICS Service class to issue the EXEC CICS INVOKE SERVICE command.

What to do next

For more information about JCICS classes, see the JCICS class reference.


dfhws_create_java_webservice_xml.html | Timestamp icon Last updated: Monday, 5 June 2017