Skip to main content

“axis2ns2:selectionFailure” Error happened while the process is running in apache ode


While the process is running in apache ode this error javax.xml.ws.soap.SOAPFaultException: axis2ns2:selectionFailure shows up . It occurs if one of the following happened:

  1. There is an error with the xml namespace.
  2. If zero or more than one element is selected. where BPEL expects a single element to be selected when evaluating <to> and <from> expressions, and a selectionFailure fault is thrown if zero or more than one element are selected.
  3. You don’t initialize your variables before assigning into them.
So to solve it:
  1. Fix any error with xml namespace inside “yourbpelname.bpel” file.
  2. Make BPEL selects one element during evaluation.
    • If you don’t want to use an element inside the “From” make sure to check “Ignore missing source data” that exist under properties view for the activity.
  3. Initialize your variables even if you use Fixed Value.

Comments

Popular posts from this blog

Error Class names are only accepted if annotation processing is explicitly requested

Do you get the following error? Class names, 'Hello', are only accepted if annotation processing is explicitly requested 1 error In case you got this error, then you forget to add .java to the file name when you compile it So when you want to compile a file using cmd console window write the filename.java extension Example: Javac Hello.java If you write it in this way the error will go away. So don’t forget to include suffix with your file name during compilation.

An attempt was made to insert a node where it is not permitted

Do you face this Error while you are writing code to generate xml file from java? Exception in thread "main" org.w3c.dom.DOMException : HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.        at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(Unknown Source)        at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(Unknown Source)        at generatexml.WriteXMLFile.main( WriteXMLFile.java:30 ) Well the answer is: Don't insert the node where it isn't permitted. Change your generated directory file path from 'C' to other directory ex, D or to any directory you have. Make sure the ‘appendChild’ is referring to the right element. Don’t appending twice, only make it once. Ex, //Writetoxml.java   Element rootElement = doc . createElement ( " Company " );   doc . appendChild ( ro...

Drive A not ready…the drive is not ready for use it's door may be open Please check drive A and make sure that a disk is inserted?

Does that happen to you!!! Well it happened to me. I got a message tell me “ Drive not ready the drive is not ready for use it's door may be open Please check drive A and make sure that a disk is inserted and that the drive door is closed?” and it gives me three options Continue, Cancel, and Try again Well the answer is so easy but first you should know what cause this problem to happen. Let say you have programs and one of your programs is checking for a floppy drive I'd guess antivirus. So you have two options to do that but first of all do the basic steps which are: scan your computer well with antivirus software, Defragment your hard drive, and do the windows disk clean up and error checking. If this step doesn’t work then pick one option from the following options: Option 1 Disabling the floppy controller in your Device Manager : a.        Right click on My Computer b.       Choose Manage c.   ...