Highlighted
Absent Member.
Absent Member.
241 views

changing parameters

hi guys,

 

i have a requirement where the ID will be added into a timestamp something like this:

 

500000011339193795836 (11339193795836 is the timestamp that came from web_save_timestamp_param)

 

but i encountered this error msg:

Action.c(15): Error: InvokeMethod failure: Input string "500000011339193795836" could not be serialized to type Int64 in path '/recordList/UpdateHouseholdPoint/CorrelationId'.
Action.c(15): Error: ExtractResultArg failure: Object reference not set to an instance of an object..
Action.c(15): Error: Web service call "UpdateHouseholdBulk_103" execution failed

 

the parameter were inside a WSDL URL underneath is the actual webservice call

web_service_call( "StepName=UpdateHouseholdBulk_103",
  "SOAPMethod=PointsUpdate|BasicHttpBinding_IPointsUpdate|UpdateHouseholdBulk",
  "ResponseParam=response",
  "Service=PointsUpdate",
  "ExpectedResponse=SoapResult",
  "Snapshot=t1339185970.inf",
  BEGIN_ARGUMENTS,
  "xml:recordList="
   "<recordList>"
    "<UpdateHouseholdPoint>"
     "<AdjExpiry>-3</AdjExpiry>"
     "<AdjMain>-3</AdjMain>"
     "<CorrelationId>{CorrID}{TimeStamp}</CorrelationId>"
                 "<HouseholdId>350029006429</HouseholdId>"
    "</UpdateHouseholdPoint>"
   "</recordList>",
 
  END_ARGUMENTS,
  BEGIN_RESULT,
     
  END_RESULT,
  LAST);

 


 

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.