Skip to Content
0
Jun 24, 2020 at 07:39 PM

JXBPWebService execute job parameters issue

200 Views Last edit Jun 24, 2020 at 07:52 PM 3 rev

Hi all,

I am trying to execute JXBPWebService from external job scheduler however I am getting error when I try . Could some one have any suggestion kindly let me know .

endpoint :

http://host/scheduler~runtime~gate~web/JXBPWebService

  • executeJob

is the service

Payload :

and Output error I am getting is

"

Required job parameter "AggregateAlerts" for job "sap.com/com.sap.aii.af.service.alert.app:AlertConsumerJobV2" not specified.

"

Even after having this parameters .

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://sap.com/engine/services/scheduler/jxbp/ws/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:executeJob>
         <jobDefId>
            <bytes>jobid</bytes>
         </jobDefId>
         
       <jobParametersWS>
            <booleanValue></booleanValue>
            <dateValue></dateValue>
           <doubleValue></doubleValue>
            <floatValue></floatValue>
            <integerValue></integerValue>
           <jobParameterDefinitionWS>
               <direction>IN</direction>
               <display>true</display>
               <localizationInfoMap>
                 <entry>
                    
                     <key/>
                    <value>yyy@xx.com</value>
                  </entry>
               </localizationInfoMap>
               <name>MailTo</name>
               <nullable>false</nullable>
               <type>string</type>
            </jobParameterDefinitionWS>
<jobParameterDefinitionWS>
               <direction>IN</direction>
               <display>true</display>
               <localizationInfoMap>
                <entry>
                    <key></key>
                    <value></value>
                  </entry>
               </localizationInfoMap>
               <name>AggregateAlerts</name>
               <nullable>false</nullable>
               <type>boolean</type>
</jobParameterDefinitionWS>
<jobParameterDefinitionWS>
      <direction>IN</direction>
               <display>true</display>
               <localizationInfoMap>
                <entry>
                    <key></key>
                    <value>yyy@xx.com</value>
                  </entry>
               </localizationInfoMap>
               <name>MailFrom</name>
               <nullable>false</nullable>
               <type>string</type>
</jobParameterDefinitionWS>

            <longValue></longValue>
            <propertiesValue>
               <item></item>
            </propertiesValue>
            <stringValue></stringValue>
         </jobParametersWS>
       <retentionPeriod></retentionPeriod>
      </ws:executeJob>
   </soapenv:Body>
</soapenv:Envelope>