You have made an entry to your xpath-functions.xml in SOA_HOME\bpel/system\config\xpath-functions.xml something like this
<function id="getStatus">
<classname>BusinessProcess.Status</classname>
<comment>
<![CDATA[The character just append a string "available" <i>demo:getStatus(string)</i>.]]>
</comment>
<property id="namespace-uri">
<value>http://schemas.xmlsoap.org/ws/2003/03/business-process</value>
<comment>Namespace URI for this function</comment>
</property>
<property id="namespace-prefix">
<value>demo</value>
<comment>Namespace prefix for this function</comment>
</property>
<function/>
You restarted the SOA suite and now when you are trying to log in to the bpel console you are getting no domain accessible error.
This is because you have not added the corresponding class files to the correct directory.
In order to make it work.
Compile the status.java code and copy the status.class file in the following directory
SOA_HOME\bpel\system\classes
directory
Again you have to keep in mind that if you have defined some packages then you need to create a folder with that name.
As in my case
<classname>BusinessProcess.Status</classname>
I will create a folder called BusinessProcess and paste my status.class file in this folder.
One done the changes save it and restart the server.You should now able to log in to the console.
No comments:
Post a Comment