Configuration Parameters for SOAP Web Service Data Services
SOAP Web Service data services enable you to interact with web services by using Simple Object Access Protocol (SOAP). A web service is a platform-independent application that is hosted on a website. A SOAP implementation of web services provides a Web Services Description Language (WSDL), which is an XML-based language for defining an interface. A WSDL describes how a service can be called, what arguments can be used, and what type of data is expected to be returned.
The following panels and panes may be displayed when configuring a SOAP Web Service data service. There is no corresponding data source for a SOAP Web Service data service, but there is a corresponding xmlData business rule component.
Note: Whether the Is Parameter check boxes in a SOAP Web Service data service are selected or cleared has no impact. Disregard the Test Data Source panel.
Ribbon

Icon |
Command |
Description |
---|---|---|
![]() |
New |
Create a new object of a specific type. |
|
Open |
Open an existing object. |
|
Save |
Save the displayed object. |
![]() |
Delete |
Delete the displayed object. |
|
Undo Edits |
Reverse the most recent action on an object. |
|
Redo |
Reapply the previously undone action to an object. |

Command |
Description |
---|---|
Close |
Close the current object. |
Close All |
Close all objects that you have open. |
Save |
Save the object. |
Save As |
Save a copy of the object under a different name. |
Delete |
Delete the displayed object. |
Home

The Start Data Service and Stop Data Service functions control the availability of the data service to Designers and Data Providers.
Button | Command | Description |
---|---|---|
|
Start Data Service | Make a data service available. |
|
Stop Data Service | Make a data service unavailable. |

The Test function allows you to preview how the results of the query
A SQL query that a data service runs on an external database. The query can be entered as part of the data service or can be passed as a parameter from a Database data source used in the document. or settings that you have configured for a data service are displayed to Designers. Prompts are not displayed for any parameter for which the Is Parameter check box is cleared. You can also enter parameters and test the data service to preview how results are displayed to a person acting as a Data Provider
Person or process that enters data into a form or other data entry view for a label that was configured by a Designer. A user acting as a Data Provider requires the DOCUMENT_PRINTER role or equivalent permissions..
Note: JDBC Update data services and SOAP Web Service data services do not have corresponding data sources in Label Design
View

If the configuration of the web service in Data Services
Result Path |
/getCountryResponse/country |
XPath Override |
|
or
Result Path |
/*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='getCountryResponse']/*[local-name()='country'] |
XPath Override |
|
and the SOAP response from the web service is the following:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:getCountryResponse xmlns:ns2="http://spring.io/guides/gs-producing-web-service">
<ns2:country>
<ns2:name>Spain</ns2:name>
<ns2:population>46704314</ns2:population>
<ns2:capital>Madrid</ns2:capital>
<ns2:currency>EUR</ns2:currency>
</ns2:country>
</ns2:getCountryResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Then the following data map entries result:
/Body/name/!TEXT! Spain
/Body/population/!TEXT! 46704314
/Body/capital/!TEXT! Madrid
/Body/currency/!TEXT! EUR
For more information about XPath, see "Scripting, Java, and XML" in External Links.