Can we call a named rule from another rule using Call action?
I have created an XML firewall with two rules.
Rule 1 calls Rule2 and Rule 2 sets service variable routing-url to dynamically route the request to the backend.
Well, iam able to see that Rule 2 is being called by Rule 1 , but the input request is not available in multi step probe after the route action in Rule 2.
I see the below error in the response....
<faultstring>org.xml.sax.SAXParseException: The root element is required in a well-formed document. To see the message containing the parsing error in the log, either enable web service engine tracing or set MessageContext.setHighFidelity(true).</faultstring>
Also , i see the service variable are set properly to hit the target.
Thanks in Advance,
Pinned topic Calling a named Rule using Call action.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2007-12-13T02:26:49Z at 2007-12-13T02:26:49Z by arun_tcs
arun_tcs 2700005GVQ144 Posts
Re: Calling a named Rule using Call action.2007-12-13T02:26:49ZThis is the accepted answer. This is the accepted answer.i got the answer to the above problem.
I missed a result action in rule 2, due to which an empty request was send to destination server.
chandra-X 270006CB252 Posts
Re: Calling a named Rule using Call action.2013-05-22T22:09:28ZThis is the accepted answer. This is the accepted answer.
- arun_tcs 2700005GVQ
dont think we can miss a result action ! even if we miss dp will add it by default, when u apply/save changes. something else might have fixed the issue.