Consider we have a BPEL process which has the following input and output parameters.
Now using Assign activity we assigned the values of input elements to the output elements respectively.
While testing the above BPEL process it throws selection failure error when no value is passed for empage element which is an optional element in xsd.
In order to overcome this selection failure error of Assign activity we have to set two properties accordingly:-
After assigning this property the source code looks like:-
Now if you test the same it is Success.
Let us know your valuable feedback. Happy coding...:)
Now using Assign activity we assigned the values of input elements to the output elements respectively.
While testing the above BPEL process it throws selection failure error when no value is passed for empage element which is an optional element in xsd.
In order to overcome this selection failure error of Assign activity we have to set two properties accordingly:-
- ignoreMissingFromData -when source element is absent
- ignoreMissingToData- when target element is absent
After assigning this property the source code looks like:-
Now if you test the same it is Success.
Let us know your valuable feedback. Happy coding...:)
No comments:
Post a Comment