Wednesday, April 14, 2010

orabpel-10902

While trying to deploy a bpel process which is calling another bpel process you are getting error

[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element. In WSDL at
"file:/u01/app/oracle/product/10.1.3/OracleAS_1/bpel/domains/default/tmp/.bpel_HelloWorld_1.0_544a5dd23bd076b9a9ee86ec78724a4f.tmp/HelloWorld.wsdl", message part element "{http://xmlns.oracle.com/HelloWorld}HelloWorldProcessResponse" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete. ".
[Potential fix]: n/a.


Cause
========

In my case i was having two process HelloWorld which i had deployed to a remote server.

Then i was having another BPEL process Helloindia which was calling the HelloWorld Process through partner link.When i tried to compile the project i got the following error.

The reason is that we have not defined the host name in C:\WINDOWS\system32\drivers\etc\hosts file

When ever we are calling a remote service we must make an entry in to our hosts for that correponding server

It should be defined in such a ways

ip-address something@something.com alias-name.something.com

Once you make the changes save the hosts file and try to rebuild your project it should compile successfully.

If it doesn't work try to remove the file in the

SOA_HOME\bpel/domains/default/tmp directory and undeploy the project and redeploy it will work.

No comments: