Oracle Weblogic Server (MOSC)

MOSC Banner

BPEL validate activity fault message

edited Sep 9, 2013 12:33AM in Oracle Weblogic Server (MOSC) 1 commentAnswered
 Hi,
I have problem in validating schema,

I am using validate activity to validate my schema .xsd using restriction.
In my bpel process, my validate activity handled by a catch all and it catch when my input break restriction.
here is the source:
      
      <scope name="ValidatingInputScope" variableAccessSerializable="no">
            <faultHandlers>
              <catchAll>
                <assign name="Assign1">
                  <copy>
                    <from expression="1"/>
                    <to variable="isError"/>
                  </copy>
                  <copy>
                    <from expression="concat(ora:getFaultAsString(),' ',ora:getFaultName())"/>
                    <to variable="SingleResponse"
                        query="/ns8:Group/ns6:Description"/>
                  </copy>
                </assign>
              </catchAll>
            </faultHandlers>
            <bpelx:validate name="ValidateSingleRequest"
                            variables="SingleRequest"/>
          </scope>

But, when I use getFaultAsString() and getFaultName() I only get 
response like this

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center