Previewing the Repository Changes Before Delivery
You can preview changes to a developer or integration workspace before you deliver them. This is
due to the Workspace&Version
parameter, which helps preview changes
specific to an object in a developer branch and/or its version. To learn more about
using this parameter, see Siebel REST API Guide.
This topic gives an example of a SOAP request and response before and after changes to the Related Contact integration component (IC) in a developer workspace.
SOAP URI:
https://<host_name>:<port_number>/siebel/app/eai/enu?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1
SOAP Body:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:asi="http://siebel.com/asi/">
<soapenv:Header>
<ns1:SessionType xmlns:ns1="http://siebel.com/webservices">Nonens1:SessionType xmlns:ns1="http://siebel.com/webservices">None</ns1:SessionType>
<ns2:UsernameToken xmlns:ns2="http://siebel.com/webservices"><username>:UsernameToken xmlns:ns2="http://siebel.com/webservices"><username></ns2:UsernameToken>
<ns3:PasswordText xmlns:ns3="http://siebel.com/webservices"><password>:PasswordText xmlns:ns3="http://siebel.com/webservices"><password></ns3:PasswordText>
</soapenv:Header>
<soapenv:Body>
<asi:SiebelAccountQueryById_Input>
<asi:PrimaryRowId><Primary Row Id></asi:PrimaryRowId>
</asi:SiebelAccountQueryById_Input>
</soapenv:Body>
</soapenv:Envelope>
When you request details, the Related Contacts IC displays along with other objects in the workspace:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns:SiebelAccountQueryById_Output xmlns:ns="http://siebel.com/asi/">
<ListOfAccountInterface xmlns="http://www.siebel.com/xml/Account%20Interface">
<Account>
.
.
.
<ListOfRelatedSalesRep>
.
.
.
</ListOfRelatedSalesRep>
<ListOfRelatedContact>
<RelatedContact>
<ContactId><Contact IdContact Id>ContactId>
<FirstName>JohnFirstName>John>
<ContactIntegrationId/>
<LastName>Smith FINSLastName>Smith FINS>
<MiddleName/>
<PersonUId>Contact IdPersonUId>Contact Id>
<PrimaryOrganization>ABC Insurance IN ENUPrimaryOrganization>ABC Insurance IN ENU>
</RelatedContact>
<RelatedContact>
.
.
.
</RelatedContact>
</ListOfRelatedContact>
<ListOfRelatedOrganization>
.
.
.
</ListOfRelatedOrganization>
.
.
</Account>
</ListOfAccountInterface>
</ns:SiebelAccountQueryById_Output>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
You can modify the object definition and then preview the changes before delivery of workspace. In the following example, Related Contact is no longer a child component of the base List of Related Contact integration object (IO). This change to the structure of the IO is seen by passing the workspace name and its version as query parameters in the request. The response fetches other objects but not the Related Contacts IC and its IO due to inactivation of the IC.
For more information about how to inactivate an object in Web Tools, see Using Siebel Tools. For more information on how to activate a web service, see Invoking Siebel Web Services Using an External System.
SOAP URI:
https://<host_name>:<port_number>/siebel/app/eai/enu?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1&Workspace=<Workspace_<workspace_name>&Version=<ver_num>>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
</soapenv:Body>
<ns:SiebelAccountQueryById_Output xmlns:ns="http://siebel.com/asi/">
<ListOfAccountInterface xmlns="http://www.siebel.com/xml/Account%20Interface">
<Account>
.
.
.
<ListOfRelatedSalesRep>
.
.
.
</ListOfRelatedSalesRep>
<ListOfRelatedOrganization>
.
.
.
</ListOfRelatedOrganization>
</Account>
</ListOfAccountInterface>
</ns:SiebelAccountQueryById_Output>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>