Thursday, July 19, 2012

Oracle SOA/BPM- Business Rule - Error(53): The role named "IDecisionService_Role" on this partnerLinkType uses portType "null" which is not defined anywhere.

When you add or remove rule set from the decision service you will get following type of error and warning during compilation

Error(53): The role named "IDecisionService_Role" on this partnerLinkType uses portType "null" which is not defined anywhere
Warning(126): The activity <bpel:invoke> refers to a bpel:partnerLink (via the attribute "partnerLink") - this bpel:partnerLink needs to be defined correctly.


This compilation error comes due to change in namespace in Rule's wsdl file(e.g xyzRule_DecisionService_1.wsdl)  by the JDeveloper. Its a bug in JDeveloper.

It changed from
 xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
to
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"

Just revert it to

xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"

 back after add or remove rule set from the decision service.


6 comments:

  1. This is great! You solved lot of time for me. Thanks for this Blog Post.

    Mahesh Adepu

    ReplyDelete
  2. Thank you - This specific fix solved my problem invoking a Business Rule.

    ReplyDelete
  3. Thanks alot. It worked as expected.

    Just one small suggestion to readers :

    I had same issue in my JDev 12c (12.2.1), I was already having namespace as is been asked to change -- "xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" "

    But still error persisted.

    Later I changed it to other url : - "http://schemas.xmlsoap.org/ws/2003/05/partner-link/" --- This Time it worked.

    ReplyDelete
  4. Hi !!! Thanks a lot... It resolved perfect !!!

    ReplyDelete
  5. Great tips, many thanks for sharing. I have printed and will stick on the wall! I like this blog. Procesos Administrativos

    ReplyDelete