My Web Service element in the CVP application is not storing the response parameters to session variables. I am getting the right information in response_xml. I am using two session variables to store the result, but they are giving me an error message 'A substitution representing Session data named "isvalid" referred to non-existent information. An empty string was substituted instead'. I have attached the response parameter configuration with this and application log is below.
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:03.745,My Web Service,enter,
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.495,My Web Service,element,warning,A substitution representing Session data named "statusvalue" referred to non-existent information. An empty string was substituted instead.
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,My Web Service,element,warning,A substitution representing Session data named "isvalid" referred to non-existent information. An empty string was substituted instead.
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,My Web Service,exit,done
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,enter,
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,element,warning,A substitution representing Session data named "isvalid" referred to non-existent information. An empty string was substituted instead.
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,custom,Valid orNot,
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,element,warning,A substitution representing Session data named "statusvalue" referred to non-existent information. An empty string was substituted instead.
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,custom,Status,
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,custom,Response,<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header/><soap:Body><ValidatePinResponse xmlns="http://onecrm.com/"><ValidatePinResult><Status>OK</Status><IsValid>True</IsValid></ValidatePinResult></ValidatePinResponse></soap:Body></soap:Envelope>
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,custom,Counter Progress, INITIAL: 0 STEP: 1 TYPE: increment COUNT: 0
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Counter_01,exit,done
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.511,Send to ICM,enter,
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.542,Send to ICM,exit,
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.542,,end,how,app_session_complete
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.542,,end,result,normal
10.0.41.144.1397747343589.190.PR_Test,04/17/2014 11:09:04.542,,end,duration,1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the WS element, did you press *CONFIGURE *next to Response:Configure?
In this Response:Configure window, you have to select each item and then
specify the name of a variable to store it into. You must also specify
whether to store it as Element data or Session data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks Janine. I did configure the response parameters. Could you please check the configuration attached in my previous post?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OK, what you need to do at the bottom of that window, is to enter the
name of a variable to hold the result as isvalid and *select the Radio
button Session Data.
**Don't enter{Data.Session.isvalid}. *
As then you'll end up with a session variable named
{Data.Session.isvalid} instead of a session variable named*isvalid
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks Janine.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dear Janine,
we are facing similar issue in CVP.
we are storing the response in element data as attached, but getting same error as above.
when we test the webservice through SOAPUI, we are getting expected response from the webservice.
could you please tell us what went wrong in the configuration.
Regards,
Shalid K.C
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dears,
we have rectified the issue, after changing the store in to Session Data and var name put only the var name as below
thank you all..
Rate if it helpfull
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.