Problem by BPEL process compilation with JDeveloper

Hi,
I don't quite know whether my problem is in the JDeveloper forum or Oracle Process Manager one.
I am currently trying to execute a process, with dynamic invocation and dynamic management capabilities, but I won't go into technical details. In the WSDL Definition for the process I have defined 2 partnerLinkTypes - one for the standard synchronous request/response (receive-reply) and one for my management port (asynchronous receive).
The end of the WSDL Definition is as follows:
<portType name="ConfigurationPort">
<operation name="ConfigurationChanged">
<input message="client:ConfigMessage"/>
</operation>
</portType>
<portType name="DynamicDBServiceProcess">
<operation name="process">
<input message="client:DynamicDBServiceProcessRequestMessage"/>
<output message="client:DynamicDBServiceProcessResponseMessage"/>
</operation>
</portType>
<plnk:partnerLinkType name="DynamicDBServiceProcess">
<plnk:role name="DynamicDBServiceProcessProvider">
<plnk:portType name="client:DynamicDBServiceProcess"/>
</plnk:role>
</plnk:partnerLinkType>
<plnk:partnerLinkType name="ConfigPartner">
<plnk:role name="Reconfigure">
<plnk:portType name="client:ConfigurationPort"/>
</plnk:role>
<plnk:role name="ReconfigureResponse">
<plnk:portType name="client:ConfigurationPort"/>
</plnk:role>
</plnk:partnerLinkType>
The JDeveloper BPEL compiler is supposed to generate the binding and service tags for my abstract portTypes, but the binding and service for my ConfigurationPort are somehow wrong generated:
<binding name="DynamicDBServiceProcessBinding" type="tns:DynamicDBServiceProcess">
<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>
<binding name="ConfigurationPortBinding" type="tns:ConfigurationPort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ConfigurationChanged">
<soap:operation style="document" soapAction="ConfigurationChanged"/>
<input>
<soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle=""/>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="DynamicDBServiceProcess">
<port name="DynamicDBServiceProcessPort" binding="tns:DynamicDBServiceProcessBinding">
<soap:address location="http://I71NB60:9700/orabpel/default/DynamicDBServiceProcess/2.4"/>
</port>
</service>
<service name="ConfigurationPortService">
<port name="ConfigurationPortPort" binding="tns:ConfigurationPortBinding">
<soap:address location="http://set.by.caller"/>
</port>
</service>
I tried to find some configuration property for the project in order to properly modify the generation of my soap:address location (it surely isn't http://set.by.caller/). Nevertheless the process compiles fine and is successfully deployed, but at runtime an exception is generated because of "java.sql.SQLException: [POL-3221] Null-Schl?ssel in prim?rem Index" (trying to insert a NULL key in the primary Index). Has anyone know how to tune my project (or compiler) settings in order to generate a proper binding and service?
Best regards,
Genadi Genov

Try posting on the BPEL forum BPEL

Similar Messages

  • Problem in compile with JDeveloper

    Compile with JDeveloper failded if the class didn't implement the abstract method of it's super abstract class. But it is ok wiht other IDE(VisualCafe, Eclipse, JBuilder...).
    It seems that JDeveloper is more strict than other IDEs.
    Anyone can tell me how to avoid this error? TIA.

    I've found out the reason.
    JDeveloper will try to compile all the source files the project used even they're not added into the project.
    I have ClassA extend abstract ClassB, and ClassB extend abstract ClassC and implement the abstract methods of ClassC, they can all be compiled. And then I got a wrong source file of classB which didn't has the methods. Maybe I've kept this wrong source file for a long time but didn't get any trouble until I began to use JDeveloper and got the error.
    Since I didn't add ClassB into the project and classB.class didn't changed. So I didn't noticed that a wrong source file caused the problem.
    Thank you! :-)

  • How to install Oracle BPEL Process Manager with the BEA WebLogic

    Hi ,
    I will install Oracle BPEL Process Manager with BEA WebLogic 9.2(MP2). I have download orabpel_10133_WebLogic.zip ,then Modify the following mandatory installation properties in the orabpel_10133_WebLogic\bpelDomain.properties file:
    # BEA_HOME is the path where Weblogic is Installed
    BEA_HOME=/opt/bea
    # JAVA_HOME is the path of jdk folder inside your weblogic
    JAVA_HOME=/opt/bea/jrockit90_150_10
    # DOMAIN_HOME is the path where you wish to create your domain called BPELDomain
    DOMAIN_HOME=/opt/bea/user_projects/domains
    # APPS_HOME is the path where you wish to copy your applications and adapters that are required for oracleBPELServer
    APPS_HOME=/opt/bea/user_projects/apps
    # BEA_HOME is the path where BPEL PM is Installed
    BPEL_HOME=/home/oracle/bpel/product/10.1.3.1/OraBPEL_1/bpel
    # DRIVER_TYPE is the datasource class that installable use to create a datasources for oracleBPELServer
    DRIVER_TYPE=oracle.jdbc.xa.client.OracleXADataSource
    # DB_URL is the url to connect to orabpel schema
    DB_URL=jdbc:oracle:thin:@16.157.134.17:1521:orcl
    # DB_USER is the user Id for orabpel shema in database
    DB_USER=ORABPEL
    #DB_PASSWORD is the password for orabpel schema in database
    DB_PASSWORD=bpel
    #BPEL_SERVER_NAME is the server i.e. to be created under BPELDomain
    BPEL_SERVER_NAME=oracleBPELServer
    #PROXY_HOST is the Host name of the proxy server
    PROXY_HOST=www-proxy.us.oracle.com
    #PROXY_HOST=
    #PROXY_PORT is the Port where the proxy server is running
    PROXY_PORT=80
    #PROXY_PORT=
    #NON_PROXY_HOST is the list of non proxy hosts that are divided by a | symbol
    #NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com
    NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com|16.157.134.135
    When I run the setup.sh , it will report
    BUILD FAILED
    /opt/software/WL_Installables/build.xml:131: Traceback (innermost last):
    File "./wl_scripts/bpelDomain.py", line 22, in ?
    File "./wl_scripts/createGroupsAndUsers.py", line 4, in ?
    weblogic.management.utils.AlreadyExistsException: [Security:090267]Group BpelGroup
    Actully ,there is no BpelGroup in Weblogic. Does anybody know how to solve it ?

    MAke sure you have not set ANY environment variable related to Oracle / BEA / Java / LD_library path. Use the following script to unset / set the initial settings:
    #!/bin/sh
    unset ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
    unset LD_LIBRARY_PATH LD_LIBRARY_PATH_64
    unset CLASSPATH JAVA_HOME
    export PATH=.:/usr/sbin:/usr/bin:/usr/local/bin:/opt/VRTS/bin
    export BEA_HOME=/appl/oracle/products/9.2/weblogic
    Marc
    http://orasoa.blogspot.com

  • Can I use Oracle BPEL process manager with other AS and DB

    Can we user oracle bpel process manager with jboss application server and postgresql database.. is it possible..
    and what will be the price.. per licencse when i go to just purchase Oracle BPEL process manager

    MAke sure you have not set ANY environment variable related to Oracle / BEA / Java / LD_library path. Use the following script to unset / set the initial settings:
    #!/bin/sh
    unset ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
    unset LD_LIBRARY_PATH LD_LIBRARY_PATH_64
    unset CLASSPATH JAVA_HOME
    export PATH=.:/usr/sbin:/usr/bin:/usr/local/bin:/opt/VRTS/bin
    export BEA_HOME=/appl/oracle/products/9.2/weblogic
    Marc
    http://orasoa.blogspot.com

  • Integration of BPEL Process Manager with Oracle Plociy Automation(OPA)

    Hi,
    Can any one tell me how to integrate the BPEL Process Manager with Oracle Plociy Automation(OPA).

    Hi,
    Can any one tell me how to integrate the BPEL Process Manager with Oracle Plociy Automation(OPA).

  • 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

  • Does Oracle BPEL process manager ships jdeveloper bpel designer

    I had downloaded Oracle bpel process manager and installed on my desktop but I am unable to find jdeveloper bpel designer shiped with process manager.
    Could any one update me regarding the same

    Hi,
    Follow the steps which I have mentioned.If you want to start with BPEL you can do either of the two things.
    1) If you are interested in only BPEL then download and install BPEL server from oracle site. For coding you need to have Jdeveloper.
    or
    2) If you want to use all the components of SOA then download version 10.1.3.1 and install SOA suite. Apply Patch to upgrade version to 10.1.3.3.
    After installation of server, download Jdeveloper 10g and Unzip the file to use it.
    Hope I clarified your doubt.
    Cheers,
    Abhi...

  • Problem Installing BPEL Process Manager in Win2K

    Hello,
    I am new to BPEL and especially to Oracle BPEL Process Manager. I have to write my diploma thesis about an BPEL-related topic an so I decided to try the Oracle BPEL PM.
    My OS is Win2K, we run Bea Weblogic 8.1.4 as an app server. I installed the BPEL PM and everything was fine. Then it crashed when starting up the Weblogic instance with an command line error "line too long". The error occured while building the environment variable SERVICES_CLASSPATH. I tried to adjust the paths in a way that they have minimum length, I maximised all parameters for cmd.exe in WINNT/_default.pif but nothing helped. Is there anybody out there who can help me? I would appreciate any help.
    Regards,
    Cosima Paul
    PS: We cannot switch the OS because our product that should use BPEL has to run on Win2K AND on Win XP.

    Me again.... ;o)
    strange thing: today I tried to install Oracle BPEL PM for JBoss and everything went fine. What a miracle! The only problem is: I can use this for evaluation purpose but we won't be able to take Oracle BPEL PM in production later on because we need to use Bea Weblogic. Anyway... perhaps the Weblogic problem can be solved the next months or we find another nice BPEL engine.
    Regards,
    Cosima

  • 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

  • Problem starting BPEL Process Manager

    When starting the BPEL Process Manager, the second window that is spawned to run the start_olite.bat throws a hotspot error as shown below. This happens each time and causes the PM not to start. Anyone had this problem ?.
    Thanks
    Andrew
    C:\OraBPELPM\bin>call C:\OraBPELPM\bin\olsv2040.exe /debug
    Debugging Oracle Lite Multiuser Service.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c92ae22, pid=3268, tid=1948
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_12-b03 mixed mode)
    # Problematic frame:
    # C [ntdll.dll+0x2ae22]
    # An error report file with more information is saved as hs_err_pid3268.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    #

    It couldn't be such difficult.
    I have the jar's, the drivers in, the jdbc url connection as
    url="jdbc:oracle:thin:[USERNAME/PASSWORD]@IP:PORT:SID"/>
    Also I can connect via sqlplus with this string conn.
    The main error I get is
    "Cannot lookup jdbc datasource.
    The process domain was unable to lookup the TX datasource "jdbc/BPELServerDataSource"."

  • Oracle SOA Suite 11g (BPEL Process) Dependency with Database

    Folks,
    Oracle SOA Suite 11g requires a relational DB like Oracle, SQL Server to maintain the Metadata for the SOA & Related Components.
    Can you plz let me know with your experience - what should happen to a running BPEL Process if the database (SOAINFRA) is down? Being very specific -
    1, Does/Should end-point become inaccessible? Or Does service remains accessible but throws service remote-fault execption?
    2, What happens to a process which is in running state?
    My experience in these scenarios is not encouraging; we have notices the following -- during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running state. These instances do not complete or move forward even when the Database is back. These instances do not provide any information in the Enterprise Manager.
    Also, if DB is down WSDL's are still accesssible, is this right way?
    If this is how SOA does work then I would doubt for its merit……...your thought plz????
    Thanks & Regards
    Shyam Kumar

    I am not posting here because I'm smart but because your questions look interesting.
    during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running stateYou know that BPEL is a state-full product and it needs database support for persisting the process of state so if database goes down it is an expected behavior that processes may stuck in the same state where they were when DB went down. I don't see anything wrong with it.
    These instances do not complete or move forward even when the Database is back.Instances should auto/manually recoverable. If this is not the case then you may raise a SR with support.
    These instances do not provide any information in the Enterprise Manager. What information you could not find? Can you be more clear on this?
    Also, if DB is down WSDL's are still accesssible, is this right way?Yes, again it's expected because design time data also gets stored in DB only and hence if DB goes down, any design time data may not be accessible.
    If this is how SOA does work then I would doubt for its merit……...your thought plz????Why so? Alternative of DB is physical memory and that I don't think is perfect for long running BPEL processes and their heavy design time data. Moreover, it will create problems in terms of auditing, support and maintenance. If your requirement is such that it does not need any long running BPEL processes and even auditing is not required and use case is simple routing and transformation with no DB dependency then you may go for OSB which is a stateless product. BPEL is generally used for long running processes and hence DB is the best option, in my opinion at least.
    Regards,
    Anuj

  • 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

  • BPEL Process Integration with CEP?

    Hi,
    I would like to integrate a BPEL Process which generates a continuous stream of data, with Oracle CEP application.
    The use case is that the continuous stream of data gets converted into events by the adapter in CEP application and these events get filtered based on some criteria in the Processor and then the filtered events will be pushed to POJO where my business logic to present this data on a HTML Dashboard is implemented.
    Please let me know the detailed steps in achieving this as I'm very new to this application.
    Appreciate your help!
    Best Regards,
    CC

    Hi,
    It sounds like you are off to a pretty good start. I would begin by creating the EPN using the eclipse tooling. The helloworld sample application contains an example of a simple custom adapter which is probably something you will need to create to connect CEP to BPEL. Or you could use JMS as a bridge between BPEL and CEP, as well.
    Hope that helps.
    Seth

  • Any problems running a program compiled with SDK 1.4.2_14 with JRE 1.4.2_08

    Hi,
    Would there ever be a problem running a program compiled in Java 1.4.2_13 with JRE 1.4.2_08?
    Why or why not? No guesses please.
    Thanks

    No such hope. The alternative to testing is to review changes made to each version leading up to 14. This is spelled out in each version's Release Document. There are a lot of changes. Most will not affect your program. Each change is relatively well described, but your problem will be to decide if your program will be affected by the change.
    Or, do nothing, hope like hell that nothing breaks, and have an up-to-date copy of your resume.
    If someone came to me saying a program couldn't be tested, I'd have serious concerns for that person's future.

  • Assign Statement using EDI 850 XML Problem - No BPEL Process Instantion

    I am currently experiencing the following problem: I receive an EDI 850 message via AQ, and then when I try to copy one of the segments in the message
    to a temporary variable, my BPEL process instantiation never shows up in the BPEL console display, nor does it error out anywhere where I can see.
    Note: if I take out this assign activity, the BPEL process instantiation does show in the console, and does complete.
    Can someone tell me where to look inside of the BPEL engine for any error information and perhaps explain why this situation happens in the first place. Also, if anyone can tell me if my syntax below for the extraction is correct, that would also be great.
    Arthur (203-921-5925)
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://www.edifecs.com/xdata/100"
    schemaLocation="850.xsd" />
    </schema>
    </types>
    <message name="Header_msg">
    <part name="Header" element="tns:Header"/>
    </message>
    <message name="Transaction-850_msg">
    <part name="Transaction-850" element="imp1:Transaction-850"/>
    </message>
    <variable name="Variable_1" element="ns3:Segment-CTT"/>
    <variable name="Receive_PO_Dequeue_InputVariable"
    messageType="ns1:Transaction-850_msg"/>
    <sequence name="main">
    <receive name="Receive_PO" partnerLink="X12_4010_850_PO_DEQ"
    portType="ns1:Dequeue_ptt" operation="Dequeue"
    variable="Receive_PO_Dequeue_InputVariable" createInstance="yes"
    bpelx:headerVariable="Variable_Receive_X12_4010_850_PO_Hdr"/>
    <assign name="abc_test_assign">
    <copy>
    <from expression="bpws:getVariableData('Receive_PO_Dequeue_InputVariable',
    'Transaction-850','/ns3:Transaction-850/ns3:Loop-CTT/ns3:Segment-CTT')"/>
    <to variable="Variable_1"/>
    </copy>
    </assign>

    Hi Arthur,
    Please verify the namespace in the xml instance matches the xsd used in BPEL. In many cases, the data cannot be copied/transformed successfully if there is a mismatch in namespace.
    Eng

Maybe you are looking for

  • Selection screen block is invisable when radiobutton is selected

    Hi Experts, i am sending the my code...........my requerment is  : Radiobutton(rb_cdr1)   is checked donu2019t show the  Fourth & Sixth block and no output files will be generated in those respective blocks. Only Show option a & b in the Fifth block.

  • Trouble with audible manager

    I have a 4gb Zen. I've been using it for almost a year, downloading audiobooks from audible.com with no problem. However, I recently tried to download a book from a friend's audible account ( with her permission, of course) and once it was in my audi

  • Generate one time authentication for Guest on Cisco WLC

    Hi All Sorry for my question, because I just started to work with Cisco WLC. I have created some WLAN for local users with authentication by 802.1x + Radius by certificate. For Guest I used PSK with MAC-filtering. But I see that is not comfortable fo

  • HOW TO CHANGE SEQUENCE title

    hello NI team i am using TS2. i wish to change the sequence title, so it will give me more information, not only seq name, that i use, like card type, card release, Catalogue number..etc.. this inforamtion exists in Locals.CardType, Locals.CardReleas

  • Make an update statement from a proc

    That is, how is possible to call an update statement from within a procedure? I have tried execute update TT_Livraison set ... without success. Any idea?