Policy server throws following error while evaluating the Webservice Variable: (Java util logging)
October 13, 2016 4:08:01.865 PM[1977511:E] Parse error caught parsing definition for variable: "Calculator_WS_IIS01" message: The prefix "soapenv" for element "soapenv:Body" is not bound.
October 13, 2016 4:08:01.865 PM[1977511:E] Exception Stack Trace: java.lang.NullPointerException
Also, On trying to modify the variable it shows following error in the Admin UI server.log:
2016-10-13 16:16:20,852 ERROR [STDERR] (http-0.0.0.0-8080-1) [Fatal Error] :1:496: The prefix "soapenv" for element "soapenv:Body" is not bound.
2016-10-13 16:16:20,852 ERROR [ims.ui] (http-0.0.0.0-8080-1) java.lang.reflect.InvocationTargetException
- Policy Server : R12.5 and above
- Policy Server OS : Any
This was a mis-configuration of SOAP Body paramater in the Variable definition in the Administrative UI.
It was configured like this :
The <soapenv:Body> element is automatically added by Policy server. So it NOT necessary to include this element while defining the SOAP Body during variable definition.
Also, if there is any namespace used inside the SOAP Body element it needs to be defined within the Body itself.
For e.g in the above sample, the namespace "tem" is used but is not defined.
Unfortunately, Administrative UI doesn't allow you to modify the Variable when there is this particular mis-configuraiton.
So, to fix this issue, you will need to delete the problematic variable and create new variable with proper configuration as below :
Tech Tip : CA Single Sign-On :Policy Server:How to enable log for Variable Processing