SOAP runprocess2 request not passing User Input Parameters Values
search cancel

SOAP runprocess2 request not passing User Input Parameters Values

book

Article ID: 199967

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

While attempting to use the SOAP runProcess2 request, we can see that the process is being started/called in Nolio RA. However, the User Input Parameter is not receiving the value passed by the soap request. 

Environment

Release : 6.6

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Cause

Values for agentHostOrIp and serverTypeName parameters were missing.

Resolution

Simple example of a working soap request follows:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:mod="http://model.api.dataservices.server.platform.nolio.com/" xmlns:dto="http://dto.webservice.model.api.dataservices.server.platform.nolio.com">
   <soap:Header/>
   <soap:Body>
      <mod:runProcess2>
         <mod:username>superuser</mod:username>
         <mod:password>suser</mod:password>
         <mod:config>
            <dto:applicationName>TestApp</dto:applicationName>
            <dto:environmentName>Environment for Default Architecture</dto:environmentName>
            <dto:parameters>
             <dto:ParameterAssignmentWS>
                  <dto:container>
                     <dto:agentHostOrIp>192.168.1.2</dto:agentHostOrIp>
                     <dto:serverTypeName>Server Type 1</dto:serverTypeName>
                  </dto:container>
<dto:parameterPathName>Default Component/UIParam</dto:parameterPathName>
                  <dto:value>Hello!</dto:value>
    </dto:ParameterAssignmentWS>
            </dto:parameters>
            <dto:processFullName>UIParam</dto:processFullName>
         </mod:config>
         <mod:wait>true</mod:wait>
         <mod:timeout>3600</mod:timeout>
      </mod:runProcess2>
   </soap:Body>
</soap:Envelope>