SOAOrderBooking

When i creat the partnerlink "CreditValidatingService" when i load the WSDL file i have an error that says: Error loading WSDL file, please click here to see the details!" and when i click it "ERROR:Error reading import of file C:/....... failed to read wsdl file at: http://......, caused by: java.net.ConnectException. : Connection refused: connect"
I reviewed all the configuration files and nonencounter the error, some idea?
thanks!

I checked the application CreditService and is deployed but the webservice of that application is with other name, but i'm following a tutorial and i don't understand what the problem is...it doesn't say anything about that

Similar Messages

  • Deploying SOAOrderBooking BPEL Process using ANT

    I cannot resolve the following error when deploying this process - all services are reqistered and deployed as specificed in the demo
    The error says 'cannot get deployment manager' and some messages about a URI de descriptor
    | Deploying workflow form for SOAOrderBooking on ASarnoXP, port 8888
    [deployTaskForm] Start of deploying forms
    [deployTaskForm] checking for form directory as form/warC:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\war
    [deployTaskForm] Form directory name = C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Start of deploying form C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Start of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
    [deployTaskForm] End of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
    [deployTaskForm] Context name before converting /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Context name after converting /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Creating applicatio xml with context /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] WEB File : C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\war\WEB-INF
    [deployTaskForm] Generating the web archive workflowform.war in directory C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear
    [deployTaskForm] Deleting file = workflowform.war
    [deployTaskForm] Deleting file = default_SOAOrderBooking_1_0_ApproveOrder.ear
    [deployTaskForm] Generating the application archive default_SOAOrderBooking_1_0_ApproveOrder.ear in directory C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Deploying apps to platform ias_10g
    [deployTaskForm] Start of deploying default_SOAOrderBooking_1_0_ApproveOrder.ear to oc4j
    [deployTaskForm] java oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline deployer:oc4j:opmn://ASarnoXP:6003/home/home oc4jadmin welcome1 -deploy -file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\default_SOAOrderBooking_1_0_ApproveOrder.ear -deploymentName default_SOAOrderBooking_1_0_ApproveOrder -parent orabpel
    [deployTaskForm] Start of deploy apps
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Failed at "Could not get DeploymentManager".
    [deployTaskForm]
    [deployTaskForm] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    [deployTaskForm]
    [deployTaskForm] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Start of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
    [deployTaskForm] End of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
    BUILD FAILED
    C:\Jdeveloper\Order Booking Application\SOAOrderBooking\build.xml:107: Error while deploying the form on server "ASarnoXP" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 30 seconds

    I assume you checked the reasons that are suggested in the message:
    "This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details"
    It looks like a typo...
    Lonneke

  • Error deploying SOAOrderBooking BPEL Process through Ant

    Hello,
    I following Oracle SOA Quick Start Guide (Part # B28938-01) to setup Demo SOA Application.
    I followed the document Chapter 2 and installed SOA Suite with "Basic Install" and JDeveloper 10.1.3.1.0.
    When deploying SOAOrderBooking BPEL Process as mentioned in Page 2-11 Step # 7, I get following error
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    I tried enabling verbose in bpelc command in build.xml file and stack trace indicate java.lang.ClassNotFoundException for oracle.javatools.jndi.LocalInitialContextFactory class.
    I'm trying to setup the demo as Proof-of-concept for one of my projects. So any help in resolving this issue will be greatly appreciated. I've include the full log file for reference.
    Thanks,
    Sankaran.
    | Compiling bpel process SOAOrderBooking, revision 1.0
    fileset: Setup scanner in dir C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel with patternSet{ includes: [] excludes: [**/.project, bpel.xml, _bpel.xml, testSuites/**, testsuites/**] }
    [bpelc] home directory is: C:\oracle\jdevstudio10131\/integration/bpel
    [bpelc] loading WSDLs ...
    [bpelc] reading partner client's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\SOAOrderBooking.wsdl
    [bpelc] done reading wsdl for partner: client
    [bpelc] reading partner OrderFulfillment's WSDL at http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl
    [bpelc] done reading wsdl for partner: OrderFulfillment
    [bpelc] reading partner RapidService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\RapidService.wsdl
    [bpelc] done reading wsdl for partner: RapidService
    [bpelc] reading partner TaskService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\TaskServiceWSIF.wsdl
    [bpelc] done reading wsdl for partner: TaskService
    [bpelc] reading partner CustomerService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\CustomerSvc.wsdl
    [bpelc] done reading wsdl for partner: CustomerService
    [bpelc] reading partner NotificationService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\NotificationService.wsdl
    [bpelc] done reading wsdl for partner: NotificationService
    [bpelc] reading partner SelectService's WSDL at http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl
    [bpelc] done reading wsdl for partner: SelectService
    [bpelc] reading partner CreditValidatingService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\CreditValidatingService.wsdl
    [bpelc] done reading wsdl for partner: CreditValidatingService
    [bpelc] reading partner DecisionServicePL's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\DecisionServiceRef.wsdl
    [bpelc] done reading wsdl for partner: DecisionServicePL
    [bpelc] reading partner OrderStatus's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\OrderStatus.wsdl
    [bpelc] done reading wsdl for partner: OrderStatus
    [bpelc] reading partner Order's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\Order.wsdl
    [bpelc] done reading wsdl for partner: Order
    [bpelc] reading partner OrderSequence's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\OrderSequence.wsdl
    [bpelc] done reading wsdl for partner: OrderSequence
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/CreditValidatingService.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def http://localhost:8888/CreditService/ValidateCreditCardServiceSoapHttp?WSDL
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/NotificationService.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/TaskServiceWSIF.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/TaskServiceInterface.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/OrderStatus.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/DBAdapterOutboundHeader.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/Order.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/DBAdapterOutboundHeader.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] BPELValidator
    [bpelc] ORABPEL-09701
    [bpelc]
    [bpelc] Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc]
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadEmbeddedSchemas(WSDLSchemaManager.java:720)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadSchemasFromWSDL(WSDLSchemaManager.java:610)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadAllSchemas(WSDLSchemaManager.java:313)
    [bpelc]      at com.collaxa.cube.lang.compiler.BPELProcessModel.loadWSDLs(BPELProcessModel.java:208)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validateClientSide(BPELValidator.java:67)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1130)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] Caused by: java.lang.IllegalStateException: Unable to create an InitialContext.
    [bpelc]      at oracle.javatools.jndi.Names.internalEx(Names.java:172)
    [bpelc]      at oracle.javatools.jndi.Names.newInitialContext(Names.java:56)
    [bpelc]      at oracle.ide.AddinManager.getAddinManager(AddinManager.java:56)
    [bpelc]      at oracle.jdevimpl.webdav.HostUtil.getClient(HostUtil.java:47)
    [bpelc]      at oracle.jdevimpl.webdav.api.Authentication.getConnections(Authentication.java:199)
    [bpelc]      at oracle.jdevimpl.webdav.api.Authentication.getAuthorization(Authentication.java:106)
    [bpelc]      at oracle.jdevimpl.webdav.api.DAVAuthenticator.getPasswordAuthentication(DAVAuthenticator.java:70)
    [bpelc]      at java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:300)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection$1.run(HttpURLConnection.java:267)
    [bpelc]      at java.security.AccessController.doPrivileged(Native Method)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication(HttpURLConnection.java:263)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.getHttpProxyAuthentication(HttpURLConnection.java:1448)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication(HttpURLConnection.java:1246)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:950)
    [bpelc]      at java.net.URL.openStream(URL.java:1007)
    [bpelc]      at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2551)
    [bpelc]      at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:285)
    [bpelc]      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:259)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.parseXMLSrc(WSDLSchemaManager.java:2073)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.parseXSDSrc(WSDLSchemaManager.java:2023)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.processSchemaImportsAndInclude(WSDLSchemaManager.java:1920)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadEmbeddedSchemas(WSDLSchemaManager.java:716)
    [bpelc]      ... 24 more
    [bpelc] Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: oracle.javatools.jndi.LocalInitialContextFactory [Root exception is java.lang.ClassNotFoundException: oracle.javatools.jndi.LocalInitialContextFactory]
    [bpelc]      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    [bpelc]      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    [bpelc]      at javax.naming.InitialContext.init(InitialContext.java:223)
    [bpelc]      at javax.naming.InitialContext.<init>(InitialContext.java:197)
    [bpelc]      at oracle.javatools.jndi.Names.newInitialContext(Names.java:52)
    [bpelc]      ... 44 more
    [bpelc] Caused by: java.lang.ClassNotFoundException: oracle.javatools.jndi.LocalInitialContextFactory
    [bpelc]      at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1166)
    [bpelc]      at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1107)
    [bpelc]      at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977)
    [bpelc]      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [bpelc]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [bpelc]      at java.lang.Class.forName0(Native Method)
    [bpelc]      at java.lang.Class.forName(Class.java:242)
    [bpelc]      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
    [bpelc]      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
    [bpelc]      ... 48 more
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\build.xml:72: Validation error
         at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:647)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)

    UP!!!
    The same error occurred in our enviroment:
    Buildfile: C:\Softs\oracle\Jdevstudio10131_new\workspace\soademo_101310_preview\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/Softs/oracle/Jdevstudio10131_new/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://10.171.11.124/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://10.171.11.124/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\Softs\oracle\Jdevstudio10131_new\workspace\soademo_101310_preview\SOAOrderBooking\build.xml:72: Validation error
    Total time: 3 seconds

  • Error occured while deploying SOAOrderBooking

    I encountered the following error while deploying SOAOrderBooking BPEL process using Ant. The following messages are copied from "Apache Ant - Log". Please advice....
    Buildfile: C:\soademo\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/oracledevday/jdeveloper/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] unknown wsdl extension.
    [bpelc] In WSDL at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", extension element "{http://www.oracle.com/esb/}binding" is not known. Ignore this element.
    [bpelc] Please make sure the spelling of the element is correct and the WSDL import is complete.
    [bpelc]
    [bpelc] validating "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\soademo\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 134 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 145 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}comments anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 191 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 629 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 645 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 692 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process SOAOrderBooking on localhost, port 8888
    [deployProcess] Deploying process C:\soademo\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [deployProcess] Successfully deployed the process "SOAOrderBooking" on server "localhost" and port "8888"
    deployTaskForm:
    [echo]
    | Deploying workflow form for SOAOrderBooking on localhost, port 8888
    [deployTaskForm] Start of deploying forms
    [deployTaskForm] checking for form directory as form/warC:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\war
    [deployTaskForm] Form directory name = C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Start of deploying form C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Start of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
    [deployTaskForm] End of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
    [deployTaskForm] Context name before converting /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Context name after converting /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Creating applicatio xml with context /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] WEB File : C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\war\WEB-INF
    [deployTaskForm] Generating the web archive workflowform.war in directory C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear
    [deployTaskForm] Generating the application archive default_SOAOrderBooking_1_0_ApproveOrder.ear in directory C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Deploying apps to platform ias_10g
    [deployTaskForm] Start of deploying default_SOAOrderBooking_1_0_ApproveOrder.ear to oc4j
    [deployTaskForm] java oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline deployer:oc4j:opmn://localhost:6003/home oc4jadmin welcome1 -deploy -file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\default_SOAOrderBooking_1_0_ApproveOrder.ear -deploymentName default_SOAOrderBooking_1_0_ApproveOrder -parent orabpel
    [deployTaskForm] Start of deploy apps
    [deployTaskForm] 06/09/10 23:14:25 Notification ==>Application Deployer for default_SOAOrderBooking_1_0_ApproveOrder STARTS.
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:25 Notification ==>Undeploy previous deployment
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_SOAOrderBooking_1_0_ApproveOrder.ear begins...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_SOAOrderBooking_1_0_ApproveOrder.ear ends...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Starting application : default_SOAOrderBooking_1_0_ApproveOrder
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Started application : default_SOAOrderBooking_1_0_ApproveOrder
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Application Deployer for default_SOAOrderBooking_1_0_ApproveOrder COMPLETES. Operation time: 1625 msecs
    [deployTaskForm]
    [deployTaskForm] End of deploy apps
    [deployTaskForm] java oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline deployer:oc4j:opmn://localhost:6003/home oc4jadmin welcome1 -bindWebApp -appName default_SOAOrderBooking_1_0_ApproveOrder -webModuleName workflowform -webSiteName default-web-site -contextRoot /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Start bind web app
    [deployTaskForm] End of bind web app
    [deployTaskForm] End of deploying default_SOAOrderBooking_1_0_ApproveOrder.earto oc4j
    [deployTaskForm] Deleting file = workflowform.war
    [deployTaskForm] Deleting file = default_SOAOrderBooking_1_0_ApproveOrder.ear
    [deployTaskForm] End of deploying form C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] End of deploying forms
    [deployTaskForm] Successfully deployed form on server "localhost"
    [deployTaskForm] Start of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
    [deployTaskForm] End of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 8888
    BUILD FAILED
    C:\soademo\SOAOrderBooking\build.xml:126: Error while deploying decision services on server "localhost"
    Total time: 2 minutes 7 seconds

    Your path includes "oracledevday" so I wonder if you were one of the original ODD attendees. If so, you have a pre-developer preview version of the SOA Demo and SOA Suite - these are matched to each other.
    If you get a new version of either one from OTN Dev Preview, you'll have this deployment problem.
    Be sure to get both the SOA Order Booking Demo AND the SOA Suite software from the OTN developer preview download.
    Heidi.

  • Plz Help Me Out SOAORDERBOOKING deployment

    Hi I am trying to deploy the SOAOrderBooking and getting this error can any one help me to please resolve this issue. the error message is also attached bellow.
    Buildfile: C:\jdev\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml
    pre-build:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/jdev/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] unknown wsdl extension.
    [bpelc] In WSDL at "http://127.0.0.1:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", extension element "{http://www.oracle.com/esb/}binding" is not known. Ignore this element.
    [bpelc] Please make sure the spelling of the element is correct and the WSDL import is complete.
    [bpelc]
    [bpelc] validating "C:\jdev\jdev\mywork\SOADEMO\SOAOrderBooking\bpel\SOAOrderBooking.bpel" ...
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10900]: xml parser error
    [bpelc] [Description]: in line 484 of "file:/C:/jdev/jdev/mywork/SOADEMO/SOAOrderBooking/bpel/SOAOrderBooking.bpel", XML parsing failed because file:/C:/jdev/jdev/mywork/SOADEMO/SOAOrderBooking/bpel/SOAOrderBooking.bpel<Line 484, Column 35>: XML-24534: (Error) Element 'switch' not expected..
    [bpelc] [Potential fix]: Fix the invalid XML.
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10900]: xml parser error
    [bpelc] [Description]: in line 484 of "file:/C:/jdev/jdev/mywork/SOADEMO/SOAOrderBooking/bpel/SOAOrderBooking.bpel", XML parsing failed because file:/C:/jdev/jdev/mywork/SOADEMO/SOAOrderBooking/bpel/SOAOrderBooking.bpel<Line 484, Column 35>: XML-24534: (Error) Element 'switch' not expected..
    [bpelc] [Potential fix]: Fix the invalid XML.
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\jdev\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:62: Validation error
    Total time: 2 seconds
    I have given the following properties in the build.xml that i have adjusted
    # Use this file to OVERRIDE default properties when deploying this project
    # using "ant" from Developer Prompt or "ant" on project's build.xml in Jdev
    # These properties do not get used when deploying from Jdev project -> Deploy
    # AppServer platform: currently supported values are ias_10g, oc4j_10g
    #platform = ias_10g
    # Change below if deploying in domain other than "default"
    #domain = default
    # Change below if deploying with process revision other than 1.0
    #rev = 1.0
    # Make sure admin.user, admin.password is correct for appserver
    #admin.user = oc4jadmin
    #admin.password = welcome1
    # http.hostname and http.port should point to BPEL Server's host and http port
    #http.hostname = localhost
    #http.port = 8888
    # For BPEL in cluster environemnt, j2ee.hostname may not be same as
    # http.hostname, where j2ee.hostname will be local hostname,
    # while http.hostname will be virtual hostname
    # For deployment of applications in oc4j cluster, set cluster = true
    # and oc4jinstancename to opmn cluster group it belongs to such as default_group
    #cluster = false
    #j2ee.hostname = localhost
    # rmi.port or opmn.requestport is used in jndi.url/deployment-url in
    # standalone or midtier installation respectively.
    # rmi.port value below is default value as in BPEL standalone-developer install.
    # If you rely on this value, make sure it's correct for your installation
    # as from command "opmnctl status -l" output in midtier/SOA install.
    #rmi.port = 12401
    #opmn.requestport = 6003
    #oc4jinstancename = home
    #asinstancename =
    # Set verbose to true if you want to see verbose output from deployment tasks
    #verbose = false
    # Following properties are used by bpelTest.
    #bpeltest.callHandler =
    #bpel.context.properties = ${bpel.home}/samples/tutorials/102.InvokingProcesses/rmi/context.properties
    ##### Properties for used for process deployment #####
    # Which is app server going to use on this machine?
    platform = ias_10g
    # hostname, http.port must match with values for http url for BPEL engine, i.e.
    # property soapServerUrl defined in collaxa-config.xml
    hostname = localhost
    http.hostname = ${hostname}
    http.port = 8888
    # For BPEL in cluster environemnt, j2ee.hostname may not be same as
    # http.hostname, where j2ee.hostname will be local hostname,
    # while http.hostname will be virtual hostname
    # For deployment of applications in oc4j cluster, set cluster = true
    # and oc4jinstancename to opmn cluster group it belongs to such as
    # default_group.
    cluster = false
    oc4jinstancename = home
    j2ee.hostname = localhost
    # rmi.port or opmn.requestport is used in jndi.url/deployment-url in
    # standalone or midtier installation respectively.
    # rmi.port value below is default value as in BPEL standalone-developer install.
    # If you rely on this value, make sure it's correct for your installation
    # as from command "opmnctl status -l" output in midtier/SOA install.
    rmi.port = 12401
    opmn.requestport = 6003
    # make sure admin.user, admin.password is correct for [PLATFORM] appserver
    admin.user = oc4jadmin
    admin.password = welcome1
    # DONOT use jndi.user, jndi.password as they will get deprecated
    jndi.user = ${admin.user}
    jndi.password = ${admin.password}
    asinstancename =
    # default domain and bpel process revision for deployment
    domain = default
    rev = 1.0
    # Set verbose to true if you want to see verbose output from deployment tasks
    verbose = false
    ##### End of Properties for used for process deployment #####
    # Where the j2ee applications can be deployed, this environment variable
    # is application server dependent. The process developers will use this
    # this env. variable to deploy their J2EE applications
    # (e.g. .war or .ear files)
    apps = C:/product/10.1.3.1/OracleAS_3/j2ee/home/applications
    # default-web-app.dir is directory pointing to url http://http.host:http.port/
    default-web-app.dir = C:/product/10.1.3.1/OracleAS_3/j2ee/home/applications../default-web-app
    ##### Properties for used for process testing #####
    bpeltest.minCoverage = 100%
    bpeltest.timeout = 90
    bpeltest.numWorkers = 1
    bpeltest.package =
    bpeltest.results.dir = ${default-web-app.dir}${file.separator}results
    ##### End of Properties for used for process testing #####
    # Oracle BPEL Version and Build info as also reported by obversion[.sh] command
    bpel.version = 10.1.3.1.0
    bpel.build = PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    # Where has Orabpel been installed on this machine?
    bpel.home = C:/product/10.1.3.1/OracleAS_3/bpel
    # oracle.home is useful for ias/midtier
    oracle.home = C:/product/10.1.3.1/OracleAS_3/bpel..
    # ias_10g appserver specific j2ee.home
    j2ee.home = C:/product/10.1.3.1/OracleAS_3/bpel../j2ee/home
    # ias_10g appserver specific jndi.url
    jndi.url = opmn:ormi://localhost:6003:home
    # ias_10g appserver specific jndi.InitialContextFactory
    jndi.InitialContextFactory = com.evermind.server.rmi.RMIInitialContextFactory
    soapServerUrl = http://${hostname}:${http.port}
    # Properties for ORABPEL dehydration store's DB connection as supplied during
    # installation of BPEL in midtier or SOA installation i.e. these would not
    # be set in case of standalone developer installation.
    orabpel.db.user = [DB_USERNAME]
    orabpel.db.password = [DB_PASSWORD]
    orabpel.db.connect_string = [DB_CONNECT_STRING]
    # [platform] appserver specific client.classpath
    client.classpath = C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/oc4jclient.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/../../lib/xml.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/rmic.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/../../lib/dms.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/oc4j.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/lib/jmxri.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/lib/javax77.jar;C:/product/10.1.3.1/OracleAS_3/bpel/../j2ee/home/admin_client.jar;C:/product/10.1.3.1/OracleAS_3/bpel/lib/orabpel.jar;C:/product/10.1.3.1/OracleAS_3/bpel/lib/orabpel-common.jar;C:/product/10.1.3.1/OracleAS_3/bpel/lib/orabpel-thirdparty.jar
    #

    are you sure the .bpel file is valid?
    looking at the message i assume something 'around' the code of the switch is wrong
    when you open the file in jdeveloper bpel editor, do you see any messages?

  • ORABPEL Err: 10007 while deploying SOAOrderBooking appln.

    When i tried to deploy the SOAOrderBooking Appln...iam getting this compilation err: ORABPEl err:1007 ...tell me some suggestions pls...
    Error is:
    Error(453):
    [Error ORABPEL-10007]: unresolved messageType
    [Description]: in line 453 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", WSDL messageType "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}EmailNotificationRequest" of variable "varNotificationReq" is not defined in any of the WSDL files.
    [Potential fix]: Make sure the WSDL messageType "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}EmailNotificationRequest" is defined in one of the WSDLs referenced by the deployment descriptor.
    SOAOrderBooking.bpel code:
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Fri Jan 06 13:47:07 PST 2006
    // Author: Roman
    // Purpose: Asynchronous BPEL Process
    -->
    <process name="SOAOrderBooking"
    targetNamespace="http://www.globalcompany.com/ns/OrderBooking"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:ns4="http://www.globalcompany.com/ns/order"
    xmlns:ns24="http://xmlns.oracle.com/pcbpel/adapter/db/top/Order"
    xmlns:ns30="http://rapidservice.soademo.org/types/"
    xmlns:rules="http://xmlns.oracle.com/bpel/rules"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns16="http://xmlns.oracle.com/pcbpel/adapter/db/top/Orders/Orders"
    xmlns:ns27="http://www.globalcompany.com/ns/OrderBooking/rules"
    xmlns:ns5="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns31="http://creditservice.soademo.org/"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns32="http://creditservice.soademo.org/types/"
    xmlns:ns9="http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus"
    xmlns:ns17="http://www.globalcompany.com/ns/selectservice"
    xmlns:ns1="http://xmlns.oracle.com/bpel/rules"
    xmlns:ns25="http://selectservice.srdemo.org/"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/OrderStatus/"
    xmlns:ns26="http://www.globalcompany.com/ns/Fulfillment"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns15="http://xmlns.oracle.com/pcbpel/adapter/db/Orders/"
    xmlns:ns10="http://www.globalcompany.com/ns/Fulfillment"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns20="http://www.oracle.com/webservices/internal/literal"
    xmlns:ns13="http://xmlns.oracle.com/bpel"
    xmlns:ns7="http://credit.soademo.org/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns29="http://xmlns.oracle.com/bpel/services/IdentityService"
    xmlns:ns12="http://xmlns.oracle.com/pcbpel/adapter/db/OrderSequence/"
    xmlns:client="http://www.globalcompany.com/ns/OrderBooking"
    xmlns:ns23="http://www.globalcompany.com/ns/rapidservice"
    xmlns:ns18="http://xmlns.oracle.com/pcbpel/adapter/db/OrderSequence"
    xmlns:ns6="http://www.globalcompany.com/ns/credit"
    xmlns:ns28="http://www.globalcompany.com/ns/OrderBooking/DecisionService"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns22="http://www.globalcompany.com/ns/selectservice"
    xmlns:ns11="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns19="http://persistence.customerservice.soademo.org/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns3="http://www.globalcompany.com/ns/customer"
    xmlns:ns14="http://www.globalcompany.com/ns/OrderBooking/ApprovalRequired"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:ns21="http://www.globalcompany.com/ns/credit.xsd"
    xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/db/Order/">
    <!-- ================================================================= -->
    <!-- PARTNERLINKS -->
    <!-- List of services participating in this BPEL process -->
    <!-- ================================================================= -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SOAOrderBooking"
    myRole="SOAOrderBookingProvider"
    partnerRole="SOAOrderBookingRequester"/>
    <partnerLink name="OrderFulfillment" partnerRole="execute_pptProvider"
    partnerLinkType="ns26:execute_pptLT"/>
    <partnerLink name="RapidService" partnerRole="RapidQuote_Role"
    partnerLinkType="ns23:RapidQuote_PL"/>
    <partnerLink name="CustomerService" partnerRole="CustomerService_Role"
    partnerLinkType="ns3:CustomerService_PL"/>
    <partnerLink myRole="SelectServiceRequester" name="SelectService"
    partnerRole="SelectServiceProvider"
    partnerLinkType="ns17:SelectService_PL"/>
    <partnerLink name="OrderStatus" partnerRole="OrderStatus_role"
    partnerLinkType="ns2:OrderStatus_plt"/>
    <partnerLink name="Order" partnerRole="Order_role"
    partnerLinkType="ns8:Order_plt"/>
    <partnerLink name="OrderSequence" partnerRole="OrderSequence_role"
    partnerLinkType="ns12:OrderSequence_plt"/>
    <partnerLink name="CreditValidatingService" partnerRole="creditservice_Role"
    partnerLinkType="ns31:creditservice_PL"/>
    </partnerLinks>
    <!-- ================================================================= -->
    <!-- VARIABLES -->
    <!-- List of messages and XML documents used within this BPEL process -->
    <!-- ================================================================= -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="inputVariable"
    messageType="client:SOAOrderBookingRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:SOAOrderBookingResponseMessage"/>
    <variable name="OrderBookingFault"
    messageType="client:SOAOrderBookingFaultMessage"/>
    <variable name="customerServiceResponse"
    messageType="ns3:CustomerService_findCustomerByIdResponse"/>
    <variable name="requiresApproval" type="xsd:boolean"/>
    </variables>
    <faultHandlers>
    <catch faultName="client:OrderBookingFault"
    faultVariable="OrderBookingFault">
    <sequence name="Sequence_12">
    <scope name="SetOrderStatus">
    <variables>
    <variable name="orderStatusRequest"
    messageType="ns2:OrdersCollection_msg"/>
    </variables>
    <sequence name="Sequence_13">
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:ordid"/>
    </copy>
    <copy>
    <from expression="string('canceled')"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:status"/>
    </copy>
    <copy>
    <from variable="OrderBookingFault" part="payload"
    query="/client:SOAOrderBookingProcessFault/client:status"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:comments"/>
    </copy>
    </assign>
    <invoke name="SetFaultedOrderStatus" partnerLink="OrderStatus"
    portType="ns2:OrderStatus_ptt" operation="update"
    inputVariable="orderStatusRequest"/>
    </sequence>
    </scope>
    </sequence>
    </catch>
    </faultHandlers>
    <!-- ================================================================= -->
    <!-- ORCHESTRATION LOGIC -->
    <!-- Set of activities coordinating the flow of messages across the -->
    <!-- services integrated within this business process -->
    <!-- ================================================================= -->
    <sequence name="main">
    <!-- Receive input from requestor.
    Note: This maps to operation defined in SOAOrderBooking.wsdl
    -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SOAOrderBooking" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <scope name="InsertOrderIntoDB">
    <variables>
    <variable name="orderRequest" messageType="ns8:OrdersCollection_msg"/>
    <variable name="orderSequenceInput"
    messageType="ns12:OrderSequenceInput_msg"/>
    <variable name="orderSequenceOutput"
    messageType="ns12:OrderSequenceOutputCollection_msg"/>
    </variables>
    <sequence name="Sequence_11">
    <invoke name="GetOrderId" partnerLink="OrderSequence"
    portType="ns12:OrderSequence_ptt" operation="OrderSequence"
    inputVariable="orderSequenceInput"
    outputVariable="orderSequenceOutput"/>
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="orderSequenceOutput"
    part="OrderSequenceOutputCollection"
    query="/ns18:OrderSequenceOutputCollection/ns18:OrderSequenceOutput/ns18:order_seq_id_gen.nextval"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    </copy>
    <copy>
    <from expression="string('pending')"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:OrderInfo/ns4:OrderStatus"/>
    </copy>
    </assign>
    <assign name="TransformOrder">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="orderRequest" part="OrdersCollection"/>
    </copy>
    </assign>
    <invoke name="InsertOrder" partnerLink="Order" portType="ns8:Order_ptt"
    operation="write" inputVariable="orderRequest"/>
    </sequence>
    </scope>
    <scope name="CustomerService">
    <variables>
    <variable name="customerServiceRequest"
    messageType="ns3:CustomerService_findCustomerById"/>
    </variables>
    <sequence name="Sequence_9">
    <assign name="AssignRequest">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:CustID"/>
    <to variable="customerServiceRequest" part="parameters"
    query="/ns3:findCustomerById/ns3:custid"/>
    </copy>
    </assign>
    <invoke name="GetCustInfo" partnerLink="CustomerService"
    portType="ns3:CustomerService" operation="findCustomerById"
    inputVariable="customerServiceRequest"
    outputVariable="customerServiceResponse"/>
    <assign name="AssignInitialCustomerResponse">
    <bpelx:append>
    <bpelx:from>
    <ns4:ShipTo xmlns:ns4="http://www.globalcompany.com/ns/order">
    <ns4:Name>
    <ns4:First/>
    <ns4:Last/>
    </ns4:Name>
    </ns4:ShipTo>
    </bpelx:from>
    <bpelx:to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder"/>
    </bpelx:append>
    </assign>
    <assign name="AssignCustomerResponse">
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:fname"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:First"/>
    </copy>
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:lname"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:Last"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope name="CreditService">
    <variables>
    <variable name="validateRequest"
    messageType="ns31:Creditservice_verifyCC"/>
    <variable name="validateResponse"
    messageType="ns31:Creditservice_verifyCCResponse"/>
    </variables>
    <sequence name="Sequence_19">
    <assign name="InitializeInput">
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:creditcardtype"/>
    <to variable="validateRequest" part="parameters"
    query="/ns32:verifyCCElement/ns32:creditCard/ns32:ccType"/>
    </copy>
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:creditcardnumber"/>
    <to variable="validateRequest" part="parameters"
    query="/ns32:verifyCCElement/ns32:creditCard/ns32:ccNum"/>
    </copy>
    </assign>
    <invoke name="InvokeCreditService" partnerLink="CreditValidatingService"
    portType="ns31:creditservice" operation="verifyCC"
    inputVariable="validateRequest"
    outputVariable="validateResponse"/>
    <switch name="CheckCreditResponse">
    <case condition="bpws:getVariableData('validateResponse','parameters','/ns32:verifyCCResponseElement/ns32:result')='false'">
    <sequence name="Sequence_18">
    <assign name="AssignCreditErrorStatus">
    <copy>
    <from expression='string("Credit Card Invalid")'/>
    <to variable="OrderBookingFault" part="payload"
    query="/client:SOAOrderBookingProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="client:OrderBookingFault"
    faultVariable="OrderBookingFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <switch name="CheckForApproval">
    <case condition="string(bpws:getVariableData('requiresApproval')) != 'false'">
    <empty name="Empty_1"/>
    </case>
    </switch>
    <scope name="SelectSupplier">
    <variables>
    <variable name="selectManufacturerResponse"
    messageType="ns17:RequestQuote_processRequestQuoteResponse"/>
    <variable name="rapidManufacturerResponse"
    messageType="ns23:RequestQuotePortType_POItemsQuoteResponse"/>
    </variables>
    <sequence>
    <flow name="CallManufacturers">
    <sequence name="Sequence_2">
    <scope name="GetSelectMfrQuote">
    <variables>
    <variable name="manufacturerRequest"
    messageType="ns17:RequestQuote_processRequestQuote"/>
    </variables>
    <sequence name="Sequence_15">
    <assign name="TransformSelectRequest">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('SelectTransformation.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="manufacturerRequest" part="parameters"/>
    </copy>
    </assign>
    <invoke name="InvokeSelectManufacturer"
    partnerLink="SelectService"
    portType="ns17:SelectService"
    operation="processRequestQuote"
    inputVariable="manufacturerRequest"/>
    <receive name="ReceiveSelectManufacturer" createInstance="no"
    partnerLink="SelectService"
    portType="ns17:SelectServiceCallback"
    operation="processRequestQuoteResponse"
    variable="selectManufacturerResponse"/>
    </sequence>
    </scope>
    </sequence>
    <sequence name="GetRapidMfrQuote">
    <scope name="CallRapidManufacturer">
    <variables>
    <variable name="manufacturerRequest"
    messageType="ns23:RequestQuotePortType_POItemsQuote"/>
    </variables>
    <sequence name="Sequence_6">
    <assign name="TransformRapidRequest">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('RapidTransformation.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="manufacturerRequest" part="parameters"/>
    </copy>
    </assign>
    <invoke name="InvokeRapidManufacturer"
    partnerLink="RapidService" portType="ns23:RequestQuote"
    operation="POItemsQuote"
    inputVariable="manufacturerRequest"
    outputVariable="rapidManufacturerResponse"/>
    </sequence>
    </scope>
    </sequence>
    </flow>
    <switch name="SelectByPrice">
    <case condition="number(bpws:getVariableData('selectManufacturerResponse','parameters','/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierPrice')) &lt; number(bpws:getVariableData('rapidManufacturerResponse','parameters','/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierPrice'))">
    <assign name="AssignSelectManufacturer">
    <copy>
    <from variable="selectManufacturerResponse" part="parameters"
    query="/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierPrice"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierPrice"/>
    </copy>
    <copy>
    <from variable="selectManufacturerResponse" part="parameters"
    query="/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierName"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierName"/>
    </copy>
    </assign>
    </case>
    <otherwise>
    <assign name="AssignRapidManufacturer">
    <copy>
    <from variable="rapidManufacturerResponse" part="parameters"
    query="/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierPrice"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierPrice"/>
    </copy>
    <copy>
    <from variable="rapidManufacturerResponse" part="parameters"
    query="/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierName"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierName"/>
    </copy>
    </assign>
    </otherwise>
    </switch>
    </sequence>
    </scope>
    <scope name="PostFulfillmentReq">
    <variables>
    <variable name="orderFulfillmentRequest"
    messageType="ns26:PurchaseOrder_request"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <empty/>
    </catchAll>
    </faultHandlers>
    <sequence name="Sequence_4">
    <assign name="initializeRequest">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder"/>
    <to variable="orderFulfillmentRequest" part="PurchaseOrder"/>
    </copy>
    </assign>
    <invoke name="PostFulfillmentReq" partnerLink="OrderFulfillment"
    portType="ns26:execute_ppt" operation="execute"
    inputVariable="orderFulfillmentRequest"/>
    </sequence>
    </scope>
    <scope name="SetFinalOrderStatus">
    <variables>
    <variable name="orderStatusRequest"
    messageType="ns2:OrdersCollection_msg"/>
    </variables>
    <sequence name="Sequence_13">
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:ordid"/>
    </copy>
    <copy>
    <from expression="string('completed')"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:status"/>
    </copy>
    </assign>
    <invoke name="UpdateOrderStatus" portType="ns2:OrderStatus_ptt"
    inputVariable="orderStatusRequest" partnerLink="OrderStatus"
    operation="update"/>
    </sequence>
    </scope>
    <scope name="NotifyCustomer">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns5:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns5:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns5:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence_17">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('Your order has been shipped')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Subject"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:UserContact/ns4:EmailAddress')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:To"/>
    </copy>
    <copy>
    <from expression="concat(string('Dear '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:First'), string('
    This is to inform you that your order number '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID'), string('has been '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:OrderInfo/ns4:OrderStatus'), string('
    If you have a question about your order, please contact customer service or send an email to [email protected]
    Thank you for doing business with Global Company. We appreciate your business!
    Global Company Customer Service'))"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Content/ns5:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Content/ns5:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    portType="ns5:NotificationService"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"
    operation="sendEmailNotification"
    partnerLink="NotificationService"/>
    </sequence>
    </scope>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:SOAOrderBookingCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    there is some prob with ns5:notificationservice.....help me
    Thanks,
    Indhu

    Thx. Now there is no errors in compiling that SOAOrderBooking BPEL process(there is some warnings), but iam getting deployment errors:
    Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] unknown wsdl extension.
    [bpelc] In WSDL at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", extension element "{http://www.oracle.com/esb/}binding" is not known. Ignore this element.
    [bpelc] Please make sure the spelling of the element is correct and the WSDL import is complete.
    [bpelc]
    [bpelc] validating "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel" ...
    [bpelc] BPEL suitcase generated in: I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 130 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 141 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}comments anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 187 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 375 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 391 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 438 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process SOAOrderBooking on localhost, port 8888
    [deployProcess] Deploying process I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    BUILD FAILED
    I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\build.xml:87: Authentication failed for user "oc4jadmin" on host "localhost"
    Total time: 7 seconds
    I think the above deployment err were bcoz of compilation warnings:
    Warning(130):
    [Error ORABPEL-10041]: Trying to assign incompatible types
    [Description]: in line 130 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    plz come up with suggestions to resolve this issue...
    Thanks,
    Indhu

  • Unable to deploy SOAOrderBooking

    Hi,
    When running ant on SOAOrderBooking (Windows 2003) from SOA tutorial the following happens:
    Buildfile: C:\oracle_share\soademo.orig\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/jdeveloper/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 80
    [deployDecisionServices] 08/09/10 13:21:12 Notification ==>Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService STARTS.
    [deployDecisionServices]
    [deployDecisionServices] 08/09/10 13:21:13 Notification ==>Copy the archive to C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\rules_default_SOAOrderBooking_1_0_DecisionService.ear
    [deployDecisionServices]
    [deployDecisionServices] 08/09/10 13:21:13 Notification ==>Initialize C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\rules_default_SOAOrderBooking_1_0_DecisionService.ear begins...
    [deployDecisionServices]
    [deployDecisionServices] 08/09/10 13:21:13 Notification ==>Unpacking rules_default_SOAOrderBooking_1_0_DecisionService.ear
    [deployDecisionServices]
    [deployDecisionServices] Exception in thread "ConfigurableThreadImpl::" java.lang.NoClassDefFoundError: oracle/classloader/util/LocalizedText
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    [deployDecisionServices]      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    [deployDecisionServices]      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    [deployDecisionServices]      at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    [deployDecisionServices]      at __Proxy2.getEvents(Unknown Source)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:319)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:217)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:303)
    I found post where it is mentioned to change Application Server connection OC4J Instance name from home to oc4j_soa, but it doesn't help.
    Any clue?

    are you deploying to the correct oc4j_container..the one inwhich bpel is installed too ?

  • ORABPEL Err: 1007 in deploying SOAOrderBooking

    When i tried to deploy the deploy SOAOrderBooking Appln...iam getting this compilation err: ORABPEl err:1007 ...tell me some suggestions pls...
    Error is:
    Error(453):
    [Error ORABPEL-10007]: unresolved messageType
    [Description]: in line 453 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", WSDL messageType "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}EmailNotificationRequest" of variable "varNotificationReq" is not defined in any of the WSDL files.
    [Potential fix]: Make sure the WSDL messageType "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}EmailNotificationRequest" is defined in one of the WSDLs referenced by the deployment descriptor.
    SOAOrderBooking.bpel code:
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Fri Jan 06 13:47:07 PST 2006
    // Author: Roman
    // Purpose: Asynchronous BPEL Process
    -->
    <process name="SOAOrderBooking"
    targetNamespace="http://www.globalcompany.com/ns/OrderBooking"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:ns4="http://www.globalcompany.com/ns/order"
    xmlns:ns24="http://xmlns.oracle.com/pcbpel/adapter/db/top/Order"
    xmlns:ns30="http://rapidservice.soademo.org/types/"
    xmlns:rules="http://xmlns.oracle.com/bpel/rules"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns16="http://xmlns.oracle.com/pcbpel/adapter/db/top/Orders/Orders"
    xmlns:ns27="http://www.globalcompany.com/ns/OrderBooking/rules"
    xmlns:ns5="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns31="http://creditservice.soademo.org/"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns32="http://creditservice.soademo.org/types/"
    xmlns:ns9="http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus"
    xmlns:ns17="http://www.globalcompany.com/ns/selectservice"
    xmlns:ns1="http://xmlns.oracle.com/bpel/rules"
    xmlns:ns25="http://selectservice.srdemo.org/"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/OrderStatus/"
    xmlns:ns26="http://www.globalcompany.com/ns/Fulfillment"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns15="http://xmlns.oracle.com/pcbpel/adapter/db/Orders/"
    xmlns:ns10="http://www.globalcompany.com/ns/Fulfillment"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns20="http://www.oracle.com/webservices/internal/literal"
    xmlns:ns13="http://xmlns.oracle.com/bpel"
    xmlns:ns7="http://credit.soademo.org/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns29="http://xmlns.oracle.com/bpel/services/IdentityService"
    xmlns:ns12="http://xmlns.oracle.com/pcbpel/adapter/db/OrderSequence/"
    xmlns:client="http://www.globalcompany.com/ns/OrderBooking"
    xmlns:ns23="http://www.globalcompany.com/ns/rapidservice"
    xmlns:ns18="http://xmlns.oracle.com/pcbpel/adapter/db/OrderSequence"
    xmlns:ns6="http://www.globalcompany.com/ns/credit"
    xmlns:ns28="http://www.globalcompany.com/ns/OrderBooking/DecisionService"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns22="http://www.globalcompany.com/ns/selectservice"
    xmlns:ns11="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns19="http://persistence.customerservice.soademo.org/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns3="http://www.globalcompany.com/ns/customer"
    xmlns:ns14="http://www.globalcompany.com/ns/OrderBooking/ApprovalRequired"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:ns21="http://www.globalcompany.com/ns/credit.xsd"
    xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/db/Order/">
    <!-- ================================================================= -->
    <!-- PARTNERLINKS -->
    <!-- List of services participating in this BPEL process -->
    <!-- ================================================================= -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SOAOrderBooking"
    myRole="SOAOrderBookingProvider"
    partnerRole="SOAOrderBookingRequester"/>
    <partnerLink name="OrderFulfillment" partnerRole="execute_pptProvider"
    partnerLinkType="ns26:execute_pptLT"/>
    <partnerLink name="RapidService" partnerRole="RapidQuote_Role"
    partnerLinkType="ns23:RapidQuote_PL"/>
    <partnerLink name="CustomerService" partnerRole="CustomerService_Role"
    partnerLinkType="ns3:CustomerService_PL"/>
    <partnerLink myRole="SelectServiceRequester" name="SelectService"
    partnerRole="SelectServiceProvider"
    partnerLinkType="ns17:SelectService_PL"/>
    <partnerLink name="OrderStatus" partnerRole="OrderStatus_role"
    partnerLinkType="ns2:OrderStatus_plt"/>
    <partnerLink name="Order" partnerRole="Order_role"
    partnerLinkType="ns8:Order_plt"/>
    <partnerLink name="OrderSequence" partnerRole="OrderSequence_role"
    partnerLinkType="ns12:OrderSequence_plt"/>
    <partnerLink name="CreditValidatingService" partnerRole="creditservice_Role"
    partnerLinkType="ns31:creditservice_PL"/>
    </partnerLinks>
    <!-- ================================================================= -->
    <!-- VARIABLES -->
    <!-- List of messages and XML documents used within this BPEL process -->
    <!-- ================================================================= -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="inputVariable"
    messageType="client:SOAOrderBookingRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:SOAOrderBookingResponseMessage"/>
    <variable name="OrderBookingFault"
    messageType="client:SOAOrderBookingFaultMessage"/>
    <variable name="customerServiceResponse"
    messageType="ns3:CustomerService_findCustomerByIdResponse"/>
    <variable name="requiresApproval" type="xsd:boolean"/>
    </variables>
    <faultHandlers>
    <catch faultName="client:OrderBookingFault"
    faultVariable="OrderBookingFault">
    <sequence name="Sequence_12">
    <scope name="SetOrderStatus">
    <variables>
    <variable name="orderStatusRequest"
    messageType="ns2:OrdersCollection_msg"/>
    </variables>
    <sequence name="Sequence_13">
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:ordid"/>
    </copy>
    <copy>
    <from expression="string('canceled')"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:status"/>
    </copy>
    <copy>
    <from variable="OrderBookingFault" part="payload"
    query="/client:SOAOrderBookingProcessFault/client:status"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:comments"/>
    </copy>
    </assign>
    <invoke name="SetFaultedOrderStatus" partnerLink="OrderStatus"
    portType="ns2:OrderStatus_ptt" operation="update"
    inputVariable="orderStatusRequest"/>
    </sequence>
    </scope>
    </sequence>
    </catch>
    </faultHandlers>
    <!-- ================================================================= -->
    <!-- ORCHESTRATION LOGIC -->
    <!-- Set of activities coordinating the flow of messages across the -->
    <!-- services integrated within this business process -->
    <!-- ================================================================= -->
    <sequence name="main">
    <!-- Receive input from requestor.
    Note: This maps to operation defined in SOAOrderBooking.wsdl
    -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SOAOrderBooking" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <scope name="InsertOrderIntoDB">
    <variables>
    <variable name="orderRequest" messageType="ns8:OrdersCollection_msg"/>
    <variable name="orderSequenceInput"
    messageType="ns12:OrderSequenceInput_msg"/>
    <variable name="orderSequenceOutput"
    messageType="ns12:OrderSequenceOutputCollection_msg"/>
    </variables>
    <sequence name="Sequence_11">
    <invoke name="GetOrderId" partnerLink="OrderSequence"
    portType="ns12:OrderSequence_ptt" operation="OrderSequence"
    inputVariable="orderSequenceInput"
    outputVariable="orderSequenceOutput"/>
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="orderSequenceOutput"
    part="OrderSequenceOutputCollection"
    query="/ns18:OrderSequenceOutputCollection/ns18:OrderSequenceOutput/ns18:order_seq_id_gen.nextval"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    </copy>
    <copy>
    <from expression="string('pending')"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:OrderInfo/ns4:OrderStatus"/>
    </copy>
    </assign>
    <assign name="TransformOrder">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="orderRequest" part="OrdersCollection"/>
    </copy>
    </assign>
    <invoke name="InsertOrder" partnerLink="Order" portType="ns8:Order_ptt"
    operation="write" inputVariable="orderRequest"/>
    </sequence>
    </scope>
    <scope name="CustomerService">
    <variables>
    <variable name="customerServiceRequest"
    messageType="ns3:CustomerService_findCustomerById"/>
    </variables>
    <sequence name="Sequence_9">
    <assign name="AssignRequest">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:CustID"/>
    <to variable="customerServiceRequest" part="parameters"
    query="/ns3:findCustomerById/ns3:custid"/>
    </copy>
    </assign>
    <invoke name="GetCustInfo" partnerLink="CustomerService"
    portType="ns3:CustomerService" operation="findCustomerById"
    inputVariable="customerServiceRequest"
    outputVariable="customerServiceResponse"/>
    <assign name="AssignInitialCustomerResponse">
    <bpelx:append>
    <bpelx:from>
    <ns4:ShipTo xmlns:ns4="http://www.globalcompany.com/ns/order">
    <ns4:Name>
    <ns4:First/>
    <ns4:Last/>
    </ns4:Name>
    </ns4:ShipTo>
    </bpelx:from>
    <bpelx:to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder"/>
    </bpelx:append>
    </assign>
    <assign name="AssignCustomerResponse">
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:fname"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:First"/>
    </copy>
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:lname"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:Last"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope name="CreditService">
    <variables>
    <variable name="validateRequest"
    messageType="ns31:Creditservice_verifyCC"/>
    <variable name="validateResponse"
    messageType="ns31:Creditservice_verifyCCResponse"/>
    </variables>
    <sequence name="Sequence_19">
    <assign name="InitializeInput">
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:creditcardtype"/>
    <to variable="validateRequest" part="parameters"
    query="/ns32:verifyCCElement/ns32:creditCard/ns32:ccType"/>
    </copy>
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:creditcardnumber"/>
    <to variable="validateRequest" part="parameters"
    query="/ns32:verifyCCElement/ns32:creditCard/ns32:ccNum"/>
    </copy>
    </assign>
    <invoke name="InvokeCreditService" partnerLink="CreditValidatingService"
    portType="ns31:creditservice" operation="verifyCC"
    inputVariable="validateRequest"
    outputVariable="validateResponse"/>
    <switch name="CheckCreditResponse">
    <case condition="bpws:getVariableData('validateResponse','parameters','/ns32:verifyCCResponseElement/ns32:result')='false'">
    <sequence name="Sequence_18">
    <assign name="AssignCreditErrorStatus">
    <copy>
    <from expression='string("Credit Card Invalid")'/>
    <to variable="OrderBookingFault" part="payload"
    query="/client:SOAOrderBookingProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="client:OrderBookingFault"
    faultVariable="OrderBookingFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <switch name="CheckForApproval">
    <case condition="string(bpws:getVariableData('requiresApproval')) != 'false'">
    <empty name="Empty_1"/>
    </case>
    </switch>
    <scope name="SelectSupplier">
    <variables>
    <variable name="selectManufacturerResponse"
    messageType="ns17:RequestQuote_processRequestQuoteResponse"/>
    <variable name="rapidManufacturerResponse"
    messageType="ns23:RequestQuotePortType_POItemsQuoteResponse"/>
    </variables>
    <sequence>
    <flow name="CallManufacturers">
    <sequence name="Sequence_2">
    <scope name="GetSelectMfrQuote">
    <variables>
    <variable name="manufacturerRequest"
    messageType="ns17:RequestQuote_processRequestQuote"/>
    </variables>
    <sequence name="Sequence_15">
    <assign name="TransformSelectRequest">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('SelectTransformation.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="manufacturerRequest" part="parameters"/>
    </copy>
    </assign>
    <invoke name="InvokeSelectManufacturer"
    partnerLink="SelectService"
    portType="ns17:SelectService"
    operation="processRequestQuote"
    inputVariable="manufacturerRequest"/>
    <receive name="ReceiveSelectManufacturer" createInstance="no"
    partnerLink="SelectService"
    portType="ns17:SelectServiceCallback"
    operation="processRequestQuoteResponse"
    variable="selectManufacturerResponse"/>
    </sequence>
    </scope>
    </sequence>
    <sequence name="GetRapidMfrQuote">
    <scope name="CallRapidManufacturer">
    <variables>
    <variable name="manufacturerRequest"
    messageType="ns23:RequestQuotePortType_POItemsQuote"/>
    </variables>
    <sequence name="Sequence_6">
    <assign name="TransformRapidRequest">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('RapidTransformation.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="manufacturerRequest" part="parameters"/>
    </copy>
    </assign>
    <invoke name="InvokeRapidManufacturer"
    partnerLink="RapidService" portType="ns23:RequestQuote"
    operation="POItemsQuote"
    inputVariable="manufacturerRequest"
    outputVariable="rapidManufacturerResponse"/>
    </sequence>
    </scope>
    </sequence>
    </flow>
    <switch name="SelectByPrice">
    <case condition="number(bpws:getVariableData('selectManufacturerResponse','parameters','/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierPrice')) &lt; number(bpws:getVariableData('rapidManufacturerResponse','parameters','/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierPrice'))">
    <assign name="AssignSelectManufacturer">
    <copy>
    <from variable="selectManufacturerResponse" part="parameters"
    query="/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierPrice"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierPrice"/>
    </copy>
    <copy>
    <from variable="selectManufacturerResponse" part="parameters"
    query="/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierName"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierName"/>
    </copy>
    </assign>
    </case>
    <otherwise>
    <assign name="AssignRapidManufacturer">
    <copy>
    <from variable="rapidManufacturerResponse" part="parameters"
    query="/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierPrice"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierPrice"/>
    </copy>
    <copy>
    <from variable="rapidManufacturerResponse" part="parameters"
    query="/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierName"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierName"/>
    </copy>
    </assign>
    </otherwise>
    </switch>
    </sequence>
    </scope>
    <scope name="PostFulfillmentReq">
    <variables>
    <variable name="orderFulfillmentRequest"
    messageType="ns26:PurchaseOrder_request"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <empty/>
    </catchAll>
    </faultHandlers>
    <sequence name="Sequence_4">
    <assign name="initializeRequest">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder"/>
    <to variable="orderFulfillmentRequest" part="PurchaseOrder"/>
    </copy>
    </assign>
    <invoke name="PostFulfillmentReq" partnerLink="OrderFulfillment"
    portType="ns26:execute_ppt" operation="execute"
    inputVariable="orderFulfillmentRequest"/>
    </sequence>
    </scope>
    <scope name="SetFinalOrderStatus">
    <variables>
    <variable name="orderStatusRequest"
    messageType="ns2:OrdersCollection_msg"/>
    </variables>
    <sequence name="Sequence_13">
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:ordid"/>
    </copy>
    <copy>
    <from expression="string('completed')"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:status"/>
    </copy>
    </assign>
    <invoke name="UpdateOrderStatus" portType="ns2:OrderStatus_ptt"
    inputVariable="orderStatusRequest" partnerLink="OrderStatus"
    operation="update"/>
    </sequence>
    </scope>
    <scope name="NotifyCustomer">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns5:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns5:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns5:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence_17">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('Your order has been shipped')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Subject"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:UserContact/ns4:EmailAddress')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:To"/>
    </copy>
    <copy>
    <from expression="concat(string('Dear '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:First'), string('
    This is to inform you that your order number '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID'), string('has been '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:OrderInfo/ns4:OrderStatus'), string('
    If you have a question about your order, please contact customer service or send an email to [email protected]
    Thank you for doing business with Global Company. We appreciate your business!
    Global Company Customer Service'))"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Content/ns5:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Content/ns5:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    portType="ns5:NotificationService"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"
    operation="sendEmailNotification"
    partnerLink="NotificationService"/>
    </sequence>
    </scope>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:SOAOrderBookingCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    there is some prob with ns5:notificationservice.....help me
    Thanks,
    mathi

    Thank you James.Yes u r right james...by mistake i deleted the NotificationService scope, so i started invoking creditservice from SOAOrderBooking BPEL process right from the begining..so now there is no errors during compilation(only some warnings)...
    but iam getting errors while deploying it...
    The Error is:
    Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] unknown wsdl extension.
    [bpelc] In WSDL at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", extension element "{http://www.oracle.com/esb/}binding" is not known. Ignore this element.
    [bpelc] Please make sure the spelling of the element is correct and the WSDL import is complete.
    [bpelc]
    [bpelc] validating "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel" ...
    [bpelc] BPEL suitcase generated in: I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 130 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 141 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}comments anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 187 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 375 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 391 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 438 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process SOAOrderBooking on localhost, port 8888
    [deployProcess] Deploying process I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    BUILD FAILED
    I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\build.xml:87: Authentication failed for user "oc4jadmin" on host "localhost"
    Total time: 7 seconds
    I think these errors were bcoz of some warnings that i got during compilation time:
    Warning(130):
    [Error ORABPEL-10041]: Trying to assign incompatible types
    [Description]: in line 130 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    pls give me suggestions reg this issue.
    Thanks,
    Indhu

  • Failed to deploy SOAOrderBooking on SOADEMO 10.1.3.1

    I am newbie to oracle SOA suite. I have followed the instruction in SOA Suite Developer Guide to deploy SOAOrderBooking application and encountered the following problems when I am "Deploying decision services for SOAOrderBooking on localhost, port 80":
    Buildfile: D:\Sources\SOADEMO\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Dev/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] 工作流任务定义的验证已完成, 无错误
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 80
    [deployDecisionServices] Exception in thread "ConfigurableThreadImpl::" java.lang.NoClassDefFoundError: oracle/classloader/util/LocalizedText
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    [deployDecisionServices]      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    [deployDecisionServices]      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    [deployDecisionServices]      at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    [deployDecisionServices]      at __Proxy2.getEvents(Unknown Source)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:319)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:217)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:303)
    There is nothing from here, and ant was halt
    The environment is: xp, jdk 1.5, JDeveloper 10.1.3.1
    Thanks for any advices!

    I am newbie to oracle SOA suite. I have followed the instruction in SOA Suite Developer Guide to deploy SOAOrderBooking application and encountered the following problems when I am "Deploying decision services for SOAOrderBooking on localhost, port 80":
    Buildfile: D:\Sources\SOADEMO\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Dev/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] 工作流任务定义的验证已完成, 无错误
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 80
    [deployDecisionServices] Exception in thread "ConfigurableThreadImpl::" java.lang.NoClassDefFoundError: oracle/classloader/util/LocalizedText
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    [deployDecisionServices]      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    [deployDecisionServices]      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    [deployDecisionServices]      at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    [deployDecisionServices]      at __Proxy2.getEvents(Unknown Source)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:319)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:217)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:303)
    There is nothing from here, and ant was halt
    The environment is: xp, jdk 1.5, JDeveloper 10.1.3.1
    Thanks for any advices!

  • SOAOrderBooking - Run Ant

    Anyone have encounter the same error as below.
    I've follow through the Oracle SOA Suite Tutorial, 8 Creating the SOAOrderBooking Project exactly, but can't build the SOAOrderBooking project???!!!!!
    [bpelc] [Error ORABPEL-10900]: xml parser error
    [bpelc] [Description]: in line 477 of "file:/D:/Oracle/JDevStudioBase/jdev/mywork/SOADEMO/SOAOrderBooking/bpel/SOAOrderBooking.bpel", XML parsing failed because file:/D:/Oracle/JDevStudioBase/jdev/mywork/SOADEMO/SOAOrderBooking/bpel/SOAOrderBooking.bpel<Line 477, Column 35>: XML-24534: (Error) Element 'switch' not expected..
    [bpelc] [Potential fix]: Fix the invalid XML.
    -----------------------------------

    Hi.
    Did you already deployed and tested all the dependent projects before SOA Order Booking? I mean, the CustomerService web service, CreditService, SelectManufacturing BPEL process (which is not found acording to your error message log), etc...
    Also, check that your properties file for ant is properly configured. Or, try to compile by right clicking your BPEL project em selecting Deploy->Your SOA Suite Connection->Your Domain
    Denis

  • ORABPEL-10903 while deploying SOAOrderBooking

    I've seen multiple posts regarding this error but they don't seem to apply to my installation. We are doing a remote deployment, thus hostname is not localhost. But, the deployment logs seem to want to deploy to localhost. The error appears during the "Compiling bpel process SOAOrderBooking, revision 1.0" step. We do not have embedded spaces nor do we have a proxy. Here is the log:
    Buildfile: C:\OraSOA\soademo_101310_prod\SOADEMO\SOAOrderBooking\build.xml
    [deployDecisionServices] 07/03/23 11:16:00 Notification ==>Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService COMPLETES. Operation time: 657 msecs
    [deployDecisionServices]
    [deployDecisionServices] Successfully deployed decision services on server "vacuitydev03"
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : connect: Address is invalid on local machine, or port is not valid on remote machine".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : connect: Address is invalid on local machine, or port is not valid on remote machine".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\OraSOA\soademo_101310_prod\SOADEMO\SOAOrderBooking\build.xml:72: Validation error
    Total time: 20 seconds

    Hello,
    Thanks for your attention. This is the error I get when I try to Deploy SOAOrderBooking BPEL process using Ant. All of my installation is done on my laptop computer. I cant find which file is it looking for and where this file should be? I also checked the configurations in ESB Control but it sounds correct.
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] [Fatal Error] :-1:-1: Premature end of file.
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "XML غير صالح في المستند في: http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl، السطر: -1، العمود: -1: Premature end of file.".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "XML غير صالح في المستند في: http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl، السطر: -1، العمود: -1: Premature end of file.".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\SOADEMO\SOAOrderBooking\build.xml:72: Validation error
    Total time: 51 seconds

  • Unable to deploy SOAOrderBooking project

    Hi All,
    I am doing SOA tutorial and was trying to deploy SOAOrderBooking project but i am getting following error. I believe its a set up issue, can somebody guide me.
    [deployTaskForm] 08/08/29 11:01:40 Notification ==>Application Deployer for default_SOAOrderBooking_1_0_ApproveOrder STARTS.
    [deployTaskForm]
    [deployTaskForm] 08/08/29 11:01:40 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\jdevstudio10133\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)

    Are we supposed to modify build.xml also? if yes, then what parameters? i was just following tutorial instructions and it asked me to modify build.properties.
    I am pasting 2 build.properties file one which works fine [for project selectManufacturer] and one which errors out [for project SOAOrderBooking]:
    build.properties for SelectManufacturer:
    *# AppServer platform: currently supported values are ias_10g, oc4j_10g*
    platform = ias_10g
    *# Change below if deploying in domain other than "default"*
    domain = default
    *# Change below if deploying with process revision other than 1.0*
    rev = 1.0
    *# Make sure admin.user, admin.password is correct for appserver*
    admin.user = oc4jadmin
    admin.password = welcome12
    *# http.hostname and http.port should point to BPEL Server's host and http port*
    http.hostname = localhost
    http.port = 80
    *# For BPEL in cluster environemnt, j2ee.hostname may not be same as*
    *# http.hostname, where j2ee.hostname will be local hostname,*
    *# while http.hostname will be virtual hostname*
    *# For deployment of applications in oc4j cluster, set cluster = true*
    *# and oc4jinstancename to opmn cluster group it belongs to such as default_group*
    *#cluster = false*
    j2ee.hostname = localhost
    *# rmi.port or opmn.requestport is used in jndi.url/deployment-url in*
    *# standalone or midtier installation respectively.*
    *# rmi.port value below is default value as in BPEL standalone-developer install.*
    *# If you rely on this value, make sure it's correct for your installation*
    *# as from command "opmnctl status -l" output in midtier/SOA install.*
    rmi.port = 12402
    opmn.requestport = 6003
    oc4jinstancename = home
    *#asinstancename =*
    *# Set verbose to true if you want to see verbose output from deployment tasks*
    *#verbose = false*
    *# Following properties are used by bpelTest.*
    bpeltest.callHandler =
    *bpel.context.properties = ${bpel.home}/samples/tutorials/102.InvokingProcesses/rmi/context.properties*
    build.properties for SOAOrderBooking:
    *# AppServer platform: currently supported values are ias_10g, oc4j_10g*
    platform = ias_10g
    *# Change below if deploying in domain other than "default"*
    domain = default
    *# Change below if deploying with process revision other than 1.0*
    rev = 1.0
    *# Make sure admin.user, admin.password is correct for appserver*
    admin.user = oc4jadmin
    admin.password = welcome12
    *# http.hostname and http.port should point to BPEL Server's host and http port*
    http.hostname = localhost
    http.port = 80
    *# For BPEL in cluster environemnt, j2ee.hostname may not be same as*
    *# http.hostname, where j2ee.hostname will be local hostname,*
    *# while http.hostname will be virtual hostname*
    *# For deployment of applications in oc4j cluster, set cluster = true*
    *# and oc4jinstancename to opmn cluster group it belongs to such as default_group*
    *#cluster = false*
    j2ee.hostname = localhost
    *# rmi.port or opmn.requestport is used in jndi.url/deployment-url in*
    *# standalone or midtier installation respectively.*
    *# rmi.port value below is default value as in BPEL standalone-developer install.*
    *# If you rely on this value, make sure it's correct for your installation*
    *# as from command "opmnctl status -l" output in midtier/SOA install.*
    rmi.port = 12402
    opmn.requestport = 6003
    oc4jinstancename = home
    *#asinstancename =*
    *# Set verbose to true if you want to see verbose output from deployment tasks*
    *#verbose = false*
    *# Following properties are used by bpelTest.*
    bpeltest.callHandler =
    *bpel.context.properties = ${bpel.home}/samples/tutorials/102.InvokingProcesses/rmi/context.properties*

  • SOAOrderBooking demo - no data on dashboards

    Hi,
    I'm trying to make the SOAOrderBooking demo works with BAM. I followed all the instructions in the readme files. But when I order an item and place the order, I get a bunch of exceptions in the OPMN log file.
    07/08/03 17:56:07 calling http://localhost:8888/CustomerService/CustomerService
    07/08/03 17:57:55 calling http://localhost:8888/event/OrderBooking/OrderBookingService
    07/08/03 17:57:56 Order submitted...
    <2007-08-03 17:57:56,122> <ERROR> <default.collaxa.cube.sensor> <DataRouter::send> error
    ORABPEL-20301
    Data Publisher failed.
    The Reporting Data Publisher 1.OrderReceived failed.
    Please examine the log file for more details.
         at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:101)
         at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:133)
         at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.send(DataCaptureAgency.java:181)
         at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.sendActivityData(DataCaptureAgency.java:153)
         at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.onActivityComplete(DataCaptureAgency.java:227)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:201)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3672)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1650)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:276)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5658)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:535)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-20301
    Data Publisher failed.
    The Reporting Data Publisher 1.OrderReceived failed.
    Please examine the log file for more details.
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:137)
         at com.collaxa.cube.engine.sensor.registry.BpelSensorActionInfo.publish(BpelSensorActionInfo.java:148)
         at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:93)
         ... 57 more
    Caused by: java.lang.NullPointerException
         at com.collaxa.cube.engine.sensor.dca.BpelVariableAgent.capture(BpelVariableAgent.java:89)
         at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedActivityData.getSensorData(BpelCapturedActivityData.java:135)
         at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedData.getFacade(BpelCapturedData.java:128)
         at com.collaxa.cube.engine.sensor.sa.FilteredDataPublisher.publish(FilteredDataPublisher.java:86)
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
         ... 59 more
    <2007-08-03 17:57:58,150> <INFO> <default.collaxa.cube.sensor> Flushed 1 rows in BAM batch
    <2007-08-03 17:57:58,220> <ERROR> <default.collaxa.cube.sensor> <DataRouter::send> error
    ORABPEL-20301
    Each sensors failed to get some data. And the dashboard in the Active Viewer does not update. I also get the following errors in the ActiveDataCache.log
    2007-08-03 17:57:58,160 [ActiveDataQueueThread (static 0)] ERROR - ActiveDataCache Value cannot be null.
    2007-08-03 17:57:58,170 [ActiveDataQueueThread (static 0)] WARN - ActiveDataCache Exception occurred in method ActiveViewset.ActiveDataHandler
    Stack trace:
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Features.ActiveNow.EvaluateFilter(DataSetChangedEventArgs e)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ActiveViewset.ActiveDataHandler(Object sender, DataSetChangedEventArgs oEventArgs)
    2007-08-03 17:57:59,169 [ActiveDataQueueThread (static 1)] ERROR - ActiveDataCache Value cannot be null.
    2007-08-03 17:57:59,169 [ActiveDataQueueThread (static 1)] WARN - ActiveDataCache Exception occurred in method ActiveViewset.ActiveDataHandler
    Stack trace:
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Features.ActiveNow.EvaluateFilter(DataSetChangedEventArgs e)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ActiveViewset.ActiveDataHandler(Object sender, DataSetChangedEventArgs oEventArgs)
    It seems that the OrderBooking service can't communicate with the BAM Server, but I don't know where is the problem since I put in the bpel.xml file the same parameters as the ones that I put on the JDeveloper BAM server connection and this connection works.
    Any help would be greatly appreciated.
    Amir

    Hi Amir,
    Yesterday I installed BAM 10.1.3.3 and implemented the orderbooking Demo. It's working fine.
    I use a VM with Win XP with te following Oracle software:
    Oracle XE database 10.2.0 (for SOA suite schema's and BAM schema's)
    SOA Suite 10.1.3.3
    BAM 10.1.3.3
    I downloaded the demo form :
    http://www.oracle.com/technology/products/integration/bam/10.1.3/samplefiles/Samples/Zip_Files/BPEL-BAM-sensor.zip
    This is the one I got working.
    Good luck

  • SOADEMO - deploying SOAOrderBooking build.xml "Could not get Deployment M..

    Hi All, I have seen a few issues with the SOA demo but still not able to resolve my issue so posting a thread.
    First off using SOA suite 10.1.3.1.0 and Jdev 10.1.3.1.0, so the same versions. Downloaded the demo from the same oracle page as downloaded suite from etc so should be compatible. Installed SOA Suite on an OE Linux 4 update 5 install. Using jdev on Vista laptop. I appreciate that these are not the most current versions but they should work as on the Oracle site and I am not able to install newer versions for the next few weeks.
    Going through the install guide for the demo and hitting a problem with deploying the build.xml for SOAOrderBooking as a few others have. The first error I am getting is:
    [deployDecisionServices] Failed at "Could not get DeploymentManager".
    I have checked the build.properties file which matches exactly that from the 'SelectManufacturer' which deployed fine.
    One of the main differences between these two is that the 'SelectManufacturer' does not have any decision services.
    One thread I saw suggested changing in the properties file
    platform=ias_10g
    #platform=oc4j_10g
    to
    # platform=ias_10g
    platform=oc4j_10g
    I did do this and the deployment when further but then fails at a later stage. I should not have to make this change anyway as I am using ias_10g so I have gone back to the original. Why would this change allow me to get further?? Appreciate any comments on this bit apart from my general problem.
    Any ideas why the deployment of the decision services would fail?
    I have spent a fair bit of time as you do trying to resolve it but no luck so any help greatly appreciated. Searched google, metalink, technet etc.
    FYI I have edited the properties file to use a different port for HTTP etc. Again these settings worked fine for 'SelectManufacturer' so do not think there is a problem with the URI being used.
    Also appreciate on debugging could anyone tell me under the IAS control panel which log component I should set to get some more debug info on this deployment error. I have tried a few without success and cannot find a clear explanation of the various component logs.
    Thanks for reading my post Cel

    Hi James, thanks again for your reply.
    I went on to the linux server and ran the below to validate the URI:
    /oracle/product/10.1.3.1/OracleAS_1/jdk/bin/java -jar /oracle/product/10.1.3.1/OracleAS_1/j2ee/home/admin_client.jar deployer:oc4j:opmn://del4100.cel:6003/appserver/oc4j_soa oc4jadmin <password> -validateURI
    This is the same command being executed by jdeveloper when I try to deploy the decision service.
    I get the same error as with jdev:
    Failed at "Could not get DeploymentManager".
    I had a further look at the command and omitted the name of the application server instance which in my case is 'appserver', the default when you install SOA Suite.
    so now ran:
    /oracle/product/10.1.3.1/OracleAS_1/jdk/bin/java -jar /oracle/product/10.1.3.1/OracleAS_1/j2ee/home/admin_client.jar deployer:oc4j:opmn://del4100.cel:6003/oc4j_soa oc4jadmin <password> -validateURI
    This validated the successfully. Went back to jdev and commented out the line from the build.properties:
    # asinstancename=appserver
    Re-ran the ant build and this time the deployment of the decision service succeeded.
    This has now failed on the next stage of the build on compiling the bpel process SOAOrderBooking which I shall look at now.
    Do you know why the above would not work with the appserver instance name. I have checked and it is the correct name and spelling?
    I have another error now on the next stage of the build and wonder if this is related to it.
    The error I am getting is that could not read the wsdl and:
    Error happened when reading wsdl at "http://localhost:7777/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:7777/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : Connection refused: connect".
    Thanks for your suggestions and welcome any other comments on this next error as I wonder if it is related to the first one that I have worked around.
    Thanks Cel

  • Failed to deploy SOAOrderBooking on 10.1.3.1

    I am newbie to oracle SOA suite. I have followed the instruction in SOA Suite Developer Guide to deploy SOAOrderBooking application and encountered the following problems when I am "Deploying decision services for SOAOrderBooking on localhost, port 8888":
    deployDecisionServices BindWebApp error: javax.management.ReflectionException cannot be cast to javax.management.MBeanException
    deployDecisionServices
    BUILD FAILED
    C:\Programs\jdeveloper\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:126: Error while deploying decision services on server "localhost"
    detail of the output in excuting this ANT task:
    Buildfile: C:\Programs\jdeveloper\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml
    java Java Result: 1
    pre-deploy:
    validateTask:
    echo-----
    | Validating workflow
    validateTask url is file:/C:/Programs/jdeveloper/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    validateTask Validation of workflow task definitions is completed without errors
    deployDecisionServices:
    echo
    | Deploying decision services for SOAOrderBooking on localhost, port 8888
    deployDecisionServices 08/12/07 08:06:16 Notification ==&gt;Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService STARTS.
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:16 Notification ==&gt;Undeploy previous deployment
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:16 Notification ==&gt;Initialize C:\product\10.1.3.1\OracleAS\j2ee\home\applications\rules_default_SOAOrderBooking_1_0_DecisionService.ear begins...
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Initialize C:\product\10.1.3.1\OracleAS\j2ee\home\applications\rules_default_SOAOrderBooking_1_0_DecisionService.ear ends...
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Starting application : rules_default_SOAOrderBooking_1_0_DecisionService
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Initializing ClassLoader(s)
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Initializing EJB container
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Loading connector(s)
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Starting up resource adapters
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Initializing EJB sessions
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Committing ClassLoader(s)
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Initialize DecisionService-web begins...
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Initialize DecisionService-web ends...
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Started application : rules_default_SOAOrderBooking_1_0_DecisionService
    deployDecisionServices
    deployDecisionServices 08/12/07 08:06:17 Notification ==&gt;Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService COMPLETES. Operation time: 797 msecs
    deployDecisionServices
    deployDecisionServices
    deployDecisionServices BindWebApp error: javax.management.ReflectionException cannot be cast to javax.management.MBeanException
    deployDecisionServices
    BUILD FAILED
    C:\Programs\jdeveloper\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:126: Error while deploying decision services on server "localhost"
    Total time: 15 seconds
    The environment is: Vista, jdk 1.5, JDeveloper 10.1.3.4
    Thanks for any advices!

    thanks a lot for the reply!
    I am using JDK 1.5.0_06 as compiler and SOA Suite VM, they are the same, however, I kept on getting the same error when I was trying to deploy many BPEL application samples, such as the one in C:\product\10.1.3.1\OracleAS_1\bpel\samples\demos\AutoLoanDemo\AutoLoanFlow.
    In case of AutoLoanFlow and name it as MyLoanFlow, I recreated this project by following the instruction pdf in AutoLoanFlow directory step by step. But when I deploy it to OC4J Application Server, I got the following message:
    [deployTaskForm] 09/01/20 22:56:43 Notification ==&gt;Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/01/20 22:56:43 Notification ==&gt;Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 09/01/20 22:56:43 Notification ==&gt;Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 09/01/20 22:56:43 Notification ==&gt;Started application : default_MyLoanFlow_1_0_LoanApproval
    [deployTaskForm]
    [deployTaskForm] 09/01/20 22:56:43 Notification ==&gt;Application Deployer for default_MyLoanFlow_1_0_LoanApproval COMPLETES. Operation time: 359 msecs
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] BindWebApp error: javax.management.ReflectionException cannot be cast to javax.management.MBeanException
    [deployTaskForm]
    BUILD FAILED
    D:\Programs\jdeveloper\jdev\mywork\Application1\MyLoanFlow\build.xml:97: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
    at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
    at java.lang.Runtime.exit(Runtime.java:88)
    at java.lang.System.exit(System.java:906)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
    at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:818)
    at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
    at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
    at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 24 seconds
    What can cause the SecurityException in MyLoanFlow project? Is there any special configuration for jdeveloper or SOA suite?

  • Exception when deploying SOADEMO's SOAOrderBooking project

    when I use ant in JDeveloper by right-click on icon of "\SOAOrderBooking \resource\build.xml",the Exception appears and the JDeveloper freezed.
    who can help me?
    [deployDecisionServices] Exception in thread "ConfigurableThreadImpl::" java.lang.NoClassDefFoundError: oracle/classloader/util/LocalizedText
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    [deployDecisionServices]      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    [deployDecisionServices]      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    [deployDecisionServices]      at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    [deployDecisionServices]      at __Proxy2.getEvents(Unknown Source)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:319)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:217)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:303)

    thanks.it's solved.
    I mistook the oc4jinstancename which ought to be "octj_soa" instead of "home".
    snow

Maybe you are looking for

  • My iphone 5 in ios 6.1.4 does not have facetime

    my iphone 5 in ios 6.1.4 does not have facetime, in call or settings. not have icon facetime in anywhere,, please heeelp,

  • Send to a particular person in the EP/GP Role

    Hi, Hi, I would like GP to notify the particular person of a Role of the pending task whenever the user select that person from a dropdown list in WD UI. For example, The Role - ApprovingOfficer consisting user A, user B and user C If I am from dept

  • Miro line item

    Dear Forum, I would like to seek clarification on miro line item. Below are few scenario which I need help. 1) when PO number is entered, why item lines are still grey out? 2) when PO number is entered, item lines not grey out but quantity and amount

  • Problem in Mail deletion in POP3

    Hi I am using Pop3. I opened folder using folder.open (Folder.READ_WRITE); setting flag for deletion mimeMessages.setFlag (Flags.Flag.DELETED, true); then in finally block closing the folder if (mailbox.isConnected ()) { if(folder != null && folder.i

  • Please read this prior to posting in this area.

    Hi everyone, The "Forum Feedback and Suggestions" area is for posting ideas, questions, comments, concerns about the actual forum experience. If you are looking for help with a product issue, please locate that area of the forum and post your questio