Problem deploying BPEL process using ANT

Hi,
I am trying to deploy BPEL process by executing ANT command from Windows environment.
JDK version of SOA suite installation and my system is 1.4.2.
But ANT is throwing the following error
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/collaxa/cube/lang/compiler/bpel/depl
oy/task/generatePlan (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
assLoader2.java:76)
at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
.java:1090)
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
der.java:1154)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
7)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)
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.helper.ProjectHelper2.parse(ProjectHelper2.java:
131)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:140)
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.helper.ProjectHelper2.parse(ProjectHelper2.java:
142)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
at org.apache.tools.ant.Main.runBuild(Main.java:653)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Total time: 1 second
java.lang.UnsupportedClassVersionError: com/collaxa/cube/lang/compiler/bpel/depl
oy/task/generatePlan (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
assLoader2.java:76)
at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
.java:1090)
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
der.java:1154)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
7)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)
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.helper.ProjectHelper2.parse(ProjectHelper2.java:
131)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:140)
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.helper.ProjectHelper2.parse(ProjectHelper2.java:
142)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
at org.apache.tools.ant.Main.runBuild(Main.java:653)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
com/collaxa/cube/lang/compiler/bpel/deploy/task/generatePlan (Unsupported major.
minor version 49.0)
D:\jdevstudio10134\jdev\mywork\BPELPractise\HelloWorldBPELProcess>
Can any one tell me what could be the problem
Regards
Srinivas

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

Similar Messages

  • Invoking deployed bpel process using WLST

    Hi All,
    Am new to WLST. So please tolerate with me if i am asking the obvious
    I read through the forums and have successfully deployed a BPEL process using WLST as given below
    ant -f ant-sca-deploy.xml -DserverURL=http://localhost:8001 -DsarLocation=C:\oracle\Middleware\PS3\Oracle_SOA1\bin\sca_esd9_jca_bpel1.1_ccgd_trn_ob_rev1.jar -Doverwrite=true -Duser=weblogic -Dpassword=welcome1 -DforceDefault=true
    And i have also tried un deploying and it works fine.
    But, the problem is, i want to invoke the deployed BPEL process either by accessing the WSDL URL (http://localhost:8001/soa-infra/services/default/esd9_jca_bpel1.1_ccgd_trn_ob/bpelprocess1_client_ep?WSDL) or by any other means using WLST. I have to send an input to this deployed process.
    I have googled it and have found ways to invoke a web service using JAVA or VBS. But is it possible to do it through WLST?
    Thanks in advance.

    Sancho,
    Thanks for the prompt reply. We trying to automate the following process:-
    1. The user select multiple documents from a folder in a library that contains all released documents.
    2. He then locks the documents.
    3. Selects the locked documents and copies it to a folder in the personal library.
    We are trying to lock and copy the documents as a 1 step process, because its difficult for the users to select all of the documents locked earlier and then copy it the personal library.
    We are trying to take the folder name as the user parameter, when the files are locked, so that the process and create the lock the files, create the folder and copy the files in this folder.
    Thanks again for your time and help.
    Hetal

  • ANT_HOME is set incorrectly while deploying BPEL 11g using Ant script

    Hi All,
    I am new to ant script, i am deploying BPEL process(11g) using ant script. I set ANT_HOME to G:\Oracle\Middleware\jdeveloper\ant (the location of ant ) and i set PATH to G:\Oracle\Middleware\jdeveloper\ant\bin
    while excecuting 'call ant -f build.soa.xml deployeComposite -Dtargetenv dev
    i am getting the this error
    "ANT_HOME is set incorrectly or ant could not be located please set ANT_HOME"
    please help me in this issue..
    Thanks in advance

    Why? Just copy/paste the error into Google and help yourself.
    For further assistance with your SOA suite deployment issue, refer to a SOA suite related forum. This has absolutely -nothing- to do with general Java development and especially not the java compiler.

  • Error getting while deploying BPEL process using CI in peoplesoft adapter

    When i am deploying BPEL process which connects to peoplesoft through component interface (CI) using peoplesoft adapter. I am getting error when i pass the input parameter which fetches data from peoplesoft component.
    after posting XML message following error occurs.
    <faultstring>java.lang.IllegalStateException: Cannot call setRollbackOnly() current thread is NOT associated with a transaction</faultstring>
    any help will be very thankful

    Thanks for your response
    This is the part of log when i am giving request from JCA servlet to JDE test
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() exited.
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFConnection.close() called, on connection: com.ibi.afjca.cci.IWAFConnection@188518f for IWAFManagedConnection: com.ibi.afjca.spi.IWAFManagedConnection@e19158
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [info ] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning dispatch event 1
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection.cleanup() for JDEdwards:JDEFinalMorning entered.
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning cleaned.
    Wed, 23 Jan 2008 10:28:31.0573 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection.destroy() for JDEdwards:JDEFinalMorning entered.
    Wed, 23 Jan 2008 10:28:31.0604 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning destroyed.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection created for JDEdwards:JDEdwardsCFIN
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [info ] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEdwardsCFIN has listener registered: com.evermind.server.connector.ConnectionContext@1f24a78
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFConnection created, com.ibi.afjca.cci.IWAFConnection@1f71eb7, for IWAFManagedConnection: com.ibi.afjca.spi.IWAFManagedConnection@1267d64
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction created.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() entered.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() called with string:
    <jdeRequest type="callmethod" user="ASHISHM" pwd="ASHISHM" environment="JDV811" session="">
    <callMethod name="GetEffectiveAddress" app="" runOnError="no">
    <params>
    <param name="mnAddressNumber">1001</param>
    <param name="jdDateBeginningEffective"></param>
    <param name="cEffectiveDateExistence10"></param>
    <param name="szAddressLine1"></param>
    <param name="szAddressLine2"></param>
    <param name="szAddressLine3"></param>
    <param name="szAddressLine4"></param>
    <param name="szZipCodePostal"></param>
    <param name="szCity"></param>
    <param name="szCountyAddress"></param>
    <param name="szState"></param>
    <param name="szCountry"></param>
    <param name="szUserid"></param>
    <param name="szProgramid"></param>
    <param name="jdDateupdated"></param>
    <param name="szWorkstationid"></param>
    <param name="mnTimelastupdated"></param>
    <param name="szNamealpha"></param>
    <param name="mnSynchronizationStatus"></param>
    <param name="mnServerStatus"></param>
    </params>
    <onError abort="no"></onError>
    </callMethod>
    </jdeRequest>
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() gets the inDoc com.iwaysoftware.idom.XmlDocument@101bde9
    Wed, 23 Jan 2008 10:28:49.0606 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() added at index 0, return record:
    <jdeResponse user="ASHISHM" type="callmethod" session="3780.1201064308.7" environment="DV811" role="*ALL">
    <callMethod app="" name="GetEffectiveAddress" runOnError="no">
    <returnCode code="2"/>
    <params/>
    </callMethod>
    </jdeResponse>
    Wed, 23 Jan 2008 10:28:49.0606 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() return record:
    [<jdeResponse user="ASHISHM" type="callmethod" session="3780.1201064308.7" environment="DV811" role="*ALL">
    <callMethod app="" name="GetEffectiveAddress" runOnError="no">
    <returnCode code="2"/>
    <params/>
    </callMethod>
    </jdeResponse>

  • Deploying BPEL project using ant script in 11g

    Hi,
    i am just trying to deploy a single BPEL project using ant script.
    please specify what are all the needed jar's to be needed for deploying the project using ant
    and where exactly they have to placed, i mean into which directory i need to place those jar's...
    if u have any specific blog which describes step by step procedurs for single project deployment via ant, please tell me...
    its very urgent..
    thanks in advance...

    Hi',
    The .jar file required will be of the project/composite you want to deploy to server, this jar is inside deploy folder (11G).
    This .jar file gets created when you try to deploy your composite using right click on the project in JDev.
    This .jar can be picked from any location.
    Try this its little more descriptive.
    http://shrikworld.blogspot.com/2011/03/deploying-soa-11g-application-using-ant.html
    -Yatan

  • Undeploying BPEL Process Using ANT

    All,
    I want to Undeploy a bpel process using an ANT script, is there any command for that?
    Its a bit urgent.

    Hi All,
    I got a solution for this...
    <undeployBPELProcess
    User="${admin.user}"
    Password="${admin.password}"
    Domain="${domain}"
    Process="${bpel.process.name}"
    Rev="${rev}"
    Opmnrequestport="${opmn.requestport}"
    Oc4jinstancename="${oc4jinstancename}"
    hostname="${http.hostname}"/>

  • Strange Problem while deploying BPEL processes by ANT Script.

    Hi,
    Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
    example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
    The Environment is clustered.
    Any suggestion to make my Ant script to run at a go will be highly appreciated
    Thanks
    Krishna
    Edited by: KrishnaBhaskarla on Oct 30, 2008 5:22 PM

    Krishna,
    Could we see your ant script? If you are using oc4j andmin_client.jar, there is a -redeploy command which may prove helpful. You might redeploy AB, then CD, then E.
    -Mike

  • Error while trying to Deploy the SelectManufacturer BPEL process using Ant

    Hello... I'm doing the example word by word an so far so good.
    I'm actually stuck at this step and i don't know why.
    This is the error I get from the Apache-Ant log console in JDeveloper:
    BUILD FAILED
    C:\soademo\SelectManufacturer\build.xml:50: java.lang.IllegalArgumentException: URI is not hierarchical
    Total time: 2 seconds
    Line 50 of the build.xml file is this guy....
    <bpelc input="${basedir}/bpel/bpel.xml" out="${basedir}/output"
    rev="${rev}" home="${bpel.home}"/>
    I have revised the build.properties file many times and everything seems ok. My ports are all correct and everything matches the example.
    Any information on this would be appreciated.
    Thanks.

    I second your request for help! I have the same issue. Different line number, though:
    Buildfile: C:\Projects\SOAdemo\SelectManufacturer\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process Selectmanufacturer, revision 1.0
    [bpelc] java.lang.IllegalArgumentException: URI is not hierarchical
    [bpelc]      at java.io.File.<init>(File.java:335)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.XMLEntityResolverWrapper.resolveEntity(XMLEntityResolverWrapper.java:154)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:688)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:616)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(XSDHandler.java:1459)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(XSDHandler.java:758)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(XSDHandler.java:844)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:459)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:572)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:1333)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:528)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadSchemaHelper(WSDLSchemaManager.java:451)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.postProcessXSD(WSDLSchemaManager.java:550)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadAllSchemas(WSDLSchemaManager.java:316)
    [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)
    BUILD FAILED
    C:\Projects\SOAdemo\SelectManufacturer\build.xml:143: java.lang.IllegalArgumentException: URI is not hierarchical
    Total time: 28 seconds

  • 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

  • Deploying bpel processes through ant

    Hi all I have to deploy bpel through ant for this I am following below steps.
    1) SET ANT_HOME to C:\jdev\ant
    2) copied the followong jar files into ant home library orabpel.jar,orabpel-ant.jar, orabpel-boot.jar, orabpel-boot.jar,orabpel-exts.jar,orabpel-thirdparty.jar,oracle_http_client.jar,xmlparserv2.jar,orawsdl.jar
    Below is my buil.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="bpel.deploy" default="deployTaskForm" basedir="." xmlns:oracle="antlib:oracle">
    <target name="deployProcess">
    <deployProcess
    user="${admin.user}" password="${admin.password}"
    domain="${domain}" process="${process1.name}"
    rev="${rev}" dir="${process.dir}/output"
    hostname="${http.hostname}" httpport="${http.port}"
    verbose="${verbose}"
    />
    </target>
    <target name="deployTaskForm" depends="deployProcess">
    <deployTaskForm
    platform="${platform}" dir="${process.dir}/public_html"
    domain="${domain}" process="${process.name}" rev="${rev}"
    user="${admin.user}" password="${admin.password}"
    hostname="${j2ee.hostname}" cluster="${cluster}"
    rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
    oc4jinstancename="${oc4jinstancename}"
    asinstancename="${asinstancename}" verbose="${verbose}"
    />
    </target>
    </project>
    I am getting an error
    C:\Documents and Settings\254876>cd C:\Documents and Settings\254876\Desktop\BPEL_ANT
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
    Buildfile: build.xml
    deployProcess:
    BUILD FAILED
    C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:36: Could not create
    task or type of type: deployProcess.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'deployProcess'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>

    Please cross check your ant-orabpel.xml in bpel\utilities with mine ::
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="ant-orabpel">
    <import file="ant-deployapps.xml"/> <!-- for applications(EJB, JSP) -->
    <path id="orabpel.tasks.class.path">
    <pathelement location="${bpel.home}/lib/orabpel-ant.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel-thirdparty.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel-common.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel-exts.jar"/>
    <pathelement location="${bpel.home}/lib/xmlparserv2.jar"/>
    <pathelement location="${bpel.home}/lib/orawsdl.jar"/>
    <pathelement location="${bpel.home}/lib/connector15.jar"/>
         <!-- used by deployRemote -->
         <pathelement location="${bpel.home}/lib/oracle_http_client.jar"/>
         <!-- used by deployTaskForm -->
         <pathelement location="${bpel.home}/system/appserver/oc4j/j2ee/home/lib/oc4j-internal.jar"/>
         <!-- used by validateTask to load WorkflowTaskDefinition.xsd-->
         <pathelement location="${bpel.home}/system/services/schema"/>
    </path>
    <property name="orabpel.tasks.class.path" refid="orabpel.tasks.class.path"/>
    <taskdef resource="com/collaxa/cube/ant/orabpel-antlib.xml" loaderRef="orabpel.tasks.ClassLoader">
    <classpath>
    <pathelement path="${orabpel.tasks.class.path}"/>
    </classpath>
    </taskdef>
    </project>

  • Error while deploying BPEL Process using FTPAdapter

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

  • Problem deploying bpel process to oc4j_soa container on separate server

    Hi - after searching for a solution both here and on Metalink for some time, I've reached the point where I think I need to post my problem:
    (This might be an application server/BPEL related issue and perhaps more relevant there than JDeveloper. If so, my apologies in advance.)
    On client; Windows XP with JDeveloper 10.1.3.4.0, on server Windows Server 2003 with Oracle SOAsuite 10.1.3.
    Created a very simple bpel process (ftp get a remote file -> write locally) that I want to deploy on the dedicated SOA-server.
    From JDeveloper, the "Application Server and ESB Server connections checks out fine. But the "BPEL Process Manager Server" check failes with the error:
    "BPEL Identity Service: Failed" - Details: "oracle.xml.parser.v2.XMLParseException:Whitespace required."
    I have not found any postings/info on the "Whitespace required" error anywhere... mighty strange....
    I'm therefore unable to use the BPEL Process Deployer, it states that "Server Mode: Server is unreachable".
    I've triple-checked all ports etc. The Integration Server Connection is using port 80.
    I'm able to access and open the BPELConsole (& EM & ESB) on the server from my JDeveloper workstation.
    A "opmnctl status -l" on the SOA-server gives:
    Processes in Instance: SOAProd.aresrv136.gard.local
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
    OC4JGroup:default_group | OC4J:OC4JUDDI | 364 | Alive | 707857842 | 153388 | 17:33:58 | jms:12603,ajp:12503,rmis:12703,rmi:12403
    OC4JGroup:default_group | OC4J:oc4j_soa | 500 | Alive | 707857841 | 266220 | 17:33:58 | jms:12601,ajp:12502,rmis:12701,rmi:12401
    OC4JGroup:default_group | OC4J:home | 804 | Alive | 707857840 | 153080 | 17:33:58 | jms:12602,ajp:12501,rmis:12702,rmi:12402
    HTTP_Server | HTTP_Server | 2020 | Alive | 707857839 | 67188 | 17:33:30 | https1:443,http2:7200,http1:80
    I cannot find the "deploy_service" as a separate service on my server however. Only the hw_services are up and running, but it contains a "deploy" web module.
    Would be immensely grateful for any information that might help me further in solving this issue, as I'm rather stuck right now....
    Regards,
    -Haakon-

    Haakon,
    I think the BPEL forum is the better source to ask
    BPEL
    Frank

  • Deploy bpel project using ant

    Hi,
    I am try to create the build.xml to deploy the bpel project with ant.
    The build.xml and build.properties work fine with Jdev now, but when I use the command line 'ant deploy' to test it, it got following error:
    Buildfile: build.xml
    [echo]
    [echo] oracle.home = "D:/jdevstudio10134"
    [echo] bpel.home = "D:/jdevstudio10134/integration/bpel"
    [echo]
    [java] Java Result: 1
    [taskdef] Could not load definitions from resource com/collaxa/cube/ant/orabpe
    l-antlib.xml. It could not be found.
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    BUILD FAILED
    D:\Projects\NetApp\SVN\Integration\Item\SourceCode\UpdateItemEbizReqABCSImpl\bui
    ld.xml:72: Could not create task or type of type: validateTask.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'validateTask'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds.
    Any hint on it?
    Thanks!

    you need to set environment variables (at least $ORACLE_HOME and $JAVA_HOME), for ant tasks to work from command line.
    If you are trying this on the SOA Suite server, open a devprompt.sh from $ORACLE_HOME/bpel/bin, and it would work from there.
    Regards,
    Shanmu.
    http://www.prshanmu.com/articles/

  • Problem calling BPEL process using apache axis client

    We have a BPEL process which we are trying to call from apache axis client. The problem is when we execute "call.invoke(new Object[] { xmlStr }) ", it adds an "argo" element to the message, and the xpath is unable to evaluate the message.
    We are able to call the process fron .Net and VB 6 using soap toolkit without any problem, so it seems odd we are not able to do so from apache axis.
    Here is how it should be received by the BPEL process:
    <inputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <Request xmlns="http://e1.oracle.com/IAM">
                   <MessageHeader>
                        <Operation>update</Operation>
                   </MessageHeader>
                   <MessageDetail xmlns="">
                        <szSecondaryUoM_UOM2/>
                   </MessageDetail>
              </Request>
         </part>
    </inputVariable>
    But this is the way it is received having been sent from apache axis (notice the arg0 element) :
    <inputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <arg0 xsi:type="xsd:string" xmlns="http://xmlns.oracle.com/InventoryAdjustment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                   <Request xmlns="http://e1.oracle.com/IAM">
                        <MessageHeader>
                             <Operation>update</Operation>
                        </MessageHeader>
                        <MessageDetail xmlns="">
                             <szSecondaryUoM_UOM2/>
                        </MessageDetail>
                   </Request>
              </arg0>
         </part>
    </inputVariable>
    Any insight as to how to approach this would be appreciated. The WSDL and java code follow.
    WSDL:
    <?xml version="1.0" encoding="UTF8" ?>
    <definitions name="InventoryAdjustment" targetNamespace="http://xmlns.oracle.com/InventoryAdjustment" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/InventoryAdjustment" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <element name="InventoryAdjustmentProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    <element name="InventoryAdjustmentProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <xsd:import namespace="http://e1.oracle.com/IAM" schemaLocation="http://tigger:7777/orabpel/xmllib/InventoryAdjustmentRequest.xsd" />
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <xsd:import namespace="http://e1.oracle.com/IAM" schemaLocation="http://tigger:7777/orabpel/xmllib/InventoryAdjustmentResponse.xsd" />
    </xsd:schema>
    </types>
    <message name="InventoryAdjustmentRequestMessage">
    <part name="payload" element="ns1:Request" />
    </message>
    <message name="InventoryAdjustmentResponseMessage">
    <part name="payload" element="ns1:Response" />
    </message>
    <portType name="InventoryAdjustment">
    <operation name="process">
    <input message="tns:InventoryAdjustmentRequestMessage" />
    <output message="tns:InventoryAdjustmentResponseMessage" />
    </operation>
    </portType>
    <binding name="InventoryAdjustmentBinding" type="tns:InventoryAdjustment">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <operation name="process">
    <soap:operation style="document" soapAction="process" />
    <input>
    <soap:body use="literal" />
    </input>
    <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    <service name="InventoryAdjustment">
    <port name="InventoryAdjustmentPort" binding="tns:InventoryAdjustmentBinding">
    <soap:address location="http://tigger:7777/orabpel/default/InventoryAdjustment/1.0" />
    </port>
    </service>
    <plnk:partnerLinkType name="InventoryAdjustment">
    <plnk:role name="InventoryAdjustmentProvider">
    <plnk:portType name="tns:InventoryAdjustment" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    java code:
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceException;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.encoding.XMLType;
    import javax.xml.rpc.soap.SOAPFaultException;
    import org.apache.axis.client.Call;
    public class PostMessageClient {
         private static QName SERVICE_NAME;
         private static QName PORT_TYPE;
         private static QName OPERATION_NAME;
         private static String SOAP_ACTION;
         private static String STYLE;
         private static String THIS_NAMESPACE = "http://xmlns.oracle.com/InventoryAdjustment";
         static {
              SERVICE_NAME = new QName(THIS_NAMESPACE, "InventoryAdjustment");
              PORT_TYPE = new QName(THIS_NAMESPACE, "InventoryAdjustmentPort");
              OPERATION_NAME = new QName(THIS_NAMESPACE, "process");
              SOAP_ACTION = "process";
              STYLE = "message";
         public static void main(String[] args) {
                   try {
                        ServiceFactory serviceFactory = ServiceFactory.newInstance();
                        Service service = serviceFactory.createService(SERVICE_NAME);
                        Call call = (Call) service.createCall(PORT_TYPE);
                        call
                                  .setTargetEndpointAddress("http://tigger:7777/orabpel/default/InventoryAdjustment/1.0");
                        call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
                        call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
                        call.setProperty(Call.OPERATION_STYLE_PROPERTY, STYLE);
                        call.setOperationName(OPERATION_NAME);
                        String xmlStr = "<Request xmlns=\"http://e1.oracle.com/IAM\"><MessageHeader><Operation>update</Operation></MessageHeader><MessageDetail xmlns=\"\"><szSecondaryUoM_UOM2/></MessageDetail></Request>";
                        System.out.println("PostMessageClient - calling");
                        String ret = (String) call.invoke(new Object[] { xmlStr });
                        System.out.println("ret = " + ret);
                   } catch (SOAPFaultException e) {
                        System.err.println("Generated fault: ");
                        System.out.println(" Fault Code = " + e.getFaultCode());
                        System.out.println(" Fault String = " + e.getFaultString());
                   } catch (JAXRPCException e) {
                        System.err.println("JAXRPC Exception: " + e.getMessage());
                   } catch (ServiceException e) {
                        System.err.println("Service Exception: " + e.getMessage());
                   } catch (Exception e) {
                        System.err.println("Service Exception: " + e.getMessage());
    }

    Just a tip: Use a tool as SoapUI to findout the correct SOAP request and related attributes for the SOAP request.
    Marc
    http://orasoa.blogspot.com

  • Deployment of a BPEL Process usng ANT with new version

    Hi Experts,
    How to deploy a bpel process using ANT command into weblogic server with a newer version when already a bpel process is existing there in weblogic server with 1.0 version.
    how to create a new jar file with a newer version. your help is highly appreciated
    Regards,
    CH

    In the project's build.properties file you can define you version of the composite.
    For Example: See below sample build.properties
    projects=TestProject
    TestProject.revision=1.1
    TestProject.enabled=true
    TestProject.partition=default
    This will deploy version 1.1 on the server.
    Thanks,
    Ashu

Maybe you are looking for

  • General issue in module pool

    I am working on dialog program. i have a provide a f4 value for one of the field. lats say i have two fields field A                            field B I have to provide f4 help fir field B. I have a ztable which have field A and field B . FIELD A is

  • Data subsetting [ORA-00957: duplicate column name]

    I want to select only rows with a certain id from a table. The code for the publication : SELECT * FROM ZOO.ANIMAL A, ZOO.TYPE_ANIMAL TA, ZOO.ANIMAL_EMPLOYE AE WHERE A.IDTYPEANIMAL = TA.IDTYPEANIMAL AND TA.IDTYPEANIMAL = AE.IDTYPEANIMAL AND AE.IDEMPL

  • How to read historical alarms end events from client computer

    How Can I read historical data stored on server computer using Lookout client computer? After installing Lookout client I have not possibility to use NI MAX viewer. What is preferred way for display historical data on client computer? Does client ser

  • Is there a way to send the TOC tooltip on top of the Collapse icon in Captivate 5.5?

    The customized TOC Collapse icon covers the portion of the TOC tooltip that passes through it. Is there a way to send the TOC tooltip on top of the Collapse icon in Captivate 5.5?

  • ABAP run time error SAPLMCEX

    Hi, When i am in RSA3 (Extractor checker in R/3)... Entered a DataSource name and then press entered.. But after extraction...some ABAP runtime error is occuring SAPLMCEX... Pls suggest me for further process... Thanks