Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Building SOAP services based on an XML Schema Definition

Updated on April 6, 2022

You can build a SOAP service based on your own schema, rather than on Pega Platform definitions. By building a SOAP service this way, the generated WSDL file references the original XML schema document (XSD).

Before you begin:
  1. Import the XSD file by using the Metadata and Connector wizard. For details, see About the Connector and Metadata wizard.
  2. Create a service package for your SOAP service. For more information, see Creating a service package.
The XML parse and stream rules that are generated upon the importing of an XSD document contain references to that XSD file, which will then be referenced by the WSDL generated for your service.

After you import the schema into Pega Platform, write a SOAP service based on the rules generated by the schema import.

  1. Create a new SOAP service or open an existing SOAP service.
    ChoicesActions
    Create a new SOAP serviceFollow the steps in Creating a Service SOAP rule.
    Open an existing SOAP service
    1. In the navigation pane of Dev Studio, click Records.
    2. Expand the Integration-Services category, and then click Service SOAP.
    3. Click the row of the SOAP service that you want to open.
  2. Click Request tab.
  3. In the Request parameters section, in the Data type field, select XML Literal.
  4. In the Map to field, select XML ParseRule.
  5. In the Map to key field, press the Down arrow key to select the XML ParseRule that the Connector and Metadata wizard created during the XSD import process.
    You must provide both the second and third key parts of the XML ParseRule.
  6. Click the Response tab.
  7. In the Response parameters section, in the Data type field, select XML Literal.
  8. In the Map from field, select XML ParseRule.
  9. In the Map from key field, select the XML Stream rule that the Connector and Metadata wizard generated during the XSD import process.
  10. Click Save.
What to do next: Generate the WSDL file for your SOAP service. For more information, see WSDL generation for Service SOAP rules.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us