Hello,
I am trying to create response attribute by java SDK. I am using below code but ended getting below error from SmApiResult. I can only see the object "accept_response31" in "test_domain1" but not response attribute. Here, I want to have "ATTR_WA_HTTP_HEADER_VARIABLE" as a Attribute Type,"User Attribute" as Attribute Kind and EIN=<%userattr="UID"%>in Attribute Field
Can you please advise on this...
error:
[facility=4 severity=3 reason=-1 status=36 message=ResponseAttr Unknown Failure] //failure for Resp Attr
[facility=4 severity=0 reason=0 status=0 message=] // Success for response
SmResponse response= new SmResponse();
SmResponseAttr response_attr=new SmResponseAttr();
response.setName("accept_response31");
response.setDomainName("test_domain1");
response_attr.setType(2);
boolean x=true;
response_attr.setAttrValue("UID");
response_attr.setVarName("EIN");
result=policyApi.addResponseAttr(response_attr,x);
System.out.println(result);
result=policyApi.addResponse(response);
System.out.println(result);