ReplyTo Address in BPEL 11g

Hi',
We have a BPEL process A invoking BPEL process B, and for reply we are using replyToAddress to reply back from BPEL B to the BPEL process A.
We are using correlation between these 2 process. These process are in SOA 10G, Now after migration to SOA 11G we are trying for the same activity in
callback client > properties > bpel.replyToAddress, but this is not working.
Has anyone used this, Please advice
Thanks
Yatan

In BPEL 11.1.1.3 , i need to replace all the whitespace in string and store it on a variable. How this can be achieved?
Example
"0044 2232 2323" --> "004422322323"You can use the translate function in an expression in the Assign activity.

Similar Messages

  • Email Failure Tracking in BPEL 11g

    Hi All,
    I am working on BPEL 11g where i am sending a email to some address.and its all working fine.Now my problem is i am unable to track the failure of emails when i send the email to wrong email id.
    My requirement is whenever i send an email to a wrong email id the email must bounce back to the same sender with the same subject line.I am unable to find any help so plz help me out if any one has faced or worked on this issue.Its very urgent requirement.
    I am using
    email client as----->Thunderbird
    email server as---->James 2.2.3
    SOA suite 11g
    JDev 11.1.1.5.0

    Hi:
    I just made a quick test, and there is not reply to the sender, if the receiver mailbox was wrong.
    The only way to know if there was an error, is at the log file, or at the EM level, monitoring the Emails Server/Driver.
    I know that those are not options for u, but at least I am not seeing any way to capture that error.
    best
    rolando

  • Jax-ws 2.2.8 and ws-addressing: Client throwing java.lang.NullPointerException on receipt of HTTP 202 when using non-anonymous ReplyTo address

    Server: JBoss EAP 6.2.0
    Client: JDK 1.7.0_51 x64
    JAX-WS: RI 2.2.8 ( via -Djava.endorsed.dirs )
    I am getting a java.lang.NullPointerException when calling the operation on the WS endpoint from the client when using non-anonymous replyTo address.
    I have simplified the scenario into a small test case that hopefully others can replicate. Since the exception is happening on the client instead of the server, I would think that the container used is irrelevant, but I have specified it nonetheless.
    1) WebService:
    package test.webservice;
    import java.util.Random;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.soap.Addressing;
    @WebService(targetNamespace="http://services.nowhere.org/")
    @Addressing(required=true)
    @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
    public class RandomTest {
        @WebMethod
        public long nextRandom(@WebParam boolean forceException) throws Exception {
            if( forceException ) {
                throw new Exception("Some exception");
            Random rand = new Random();
            return rand.nextLong();
    2) Generated WSDL by JBossEAP 6.2.2:
    <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://webservice.test/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="RandomTestService" targetNamespace="http://webservice.test/">
      <wsdl:types>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://webservice.test/" elementFormDefault="unqualified" targetNamespace="http://webservice.test/" version="1.0">
      <xs:element name="nextRandom" type="tns:nextRandom"/>
      <xs:element name="nextRandomResponse" type="tns:nextRandomResponse"/>
      <xs:complexType name="nextRandom">
        <xs:sequence/>
      </xs:complexType>
      <xs:complexType name="nextRandomResponse">
        <xs:sequence>
          <xs:element name="return" type="xs:long"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>
      </wsdl:types>
      <wsdl:message name="nextRandom">
        <wsdl:part element="tns:nextRandom" name="parameters">
        </wsdl:part>
      </wsdl:message>
      <wsdl:message name="nextRandomResponse">
        <wsdl:part element="tns:nextRandomResponse" name="parameters">
        </wsdl:part>
      </wsdl:message>
      <wsdl:portType name="RandomTest">
        <wsdl:operation name="nextRandom">
          <wsdl:input message="tns:nextRandom" name="nextRandom" wsam:Action="http://webservice.test/RandomTest/nextRandomRequest" wsaw:Action="http://webservice.test/RandomTest/nextRandomRequest">
        </wsdl:input>
          <wsdl:output message="tns:nextRandomResponse" name="nextRandomResponse" wsam:Action="http://webservice.test/RandomTest/nextRandomResponse" wsaw:Action="http://webservice.test/RandomTest/nextRandomResponse">
        </wsdl:output>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="RandomTestServiceSoapBinding" type="tns:RandomTest">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsaw:UsingAddressing wsdl:required="true"/>
        <wsp:PolicyReference URI="#RandomTestServiceSoapBinding_WSAM_Addressing_Policy"/>
        <wsdl:operation name="nextRandom">
          <soap:operation soapAction="" style="document"/>
          <wsdl:input name="nextRandom">
            <soap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="nextRandomResponse">
            <soap:body use="literal"/>
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="RandomTestService">
        <wsdl:port binding="tns:RandomTestServiceSoapBinding" name="RandomTestPort">
          <soap:address location="http://localhost:8080/servertest/RandomTest"/>
        </wsdl:port>
      </wsdl:service>
        <wsp:Policy xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="RandomTestServiceSoapBinding_WSAM_Addressing_Policy"><wsam:Addressing><wsp:Policy/></wsam:Addressing></wsp:Policy>
    </wsdl:definitions>
    3) ant build.xml to generate the client code from WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <project default="build" basedir="..">
        <property name="jaxws.classpath" location="C://jaxws-2.2.8/jaxws-ri/lib/*.jar"/>
        <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
               <classpath path="${jaxws.classpath}"/>
        </taskdef>
        <target name="build" >
            <!-- For these to work, the JAR files in tools/jaxws-ri must be included in Ant's classpath -->
            <wsimport wsdl="http://localhost:8080/servertest/RandomTest?wsdl"
                   verbose="true"
                   sourcedestdir="src"
                   destdir="bin"
                   keep="true">
                   <xjcarg value="-enableIntrospection"/>
            </wsimport>
        </target>
    </project>
    4) Client code
    4a) ClientTest.java - Actual client run from client
    package test.wsclient;
    import java.util.ArrayList;
    import java.util.List;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.Endpoint;
    import javax.xml.ws.handler.Handler;
    import javax.xml.ws.soap.AddressingFeature;
    import org.nowhere.services.RandomTest;
    import org.nowhere.services.RandomTestService;
    public class ClientTest {
        public static void main(String args[]) throws Exception {
            ClientTest app = new ClientTest();
            app.testAddressing();
        public void testAddressing() throws Exception {
            String REPLY_TO_ADDRESS = "http://localhost:8082/servertest/RandomCallback";
            String FAULT_TO_ADDRESS = "http://localhost:8082/servertest/RandomCallbackFault";
            RandomTestService service = new RandomTestService();
            RandomTest port = service.getRandomTestPort(new AddressingFeature());
            BindingProvider provider = (BindingProvider) port;
            // pass the replyTo address to the handler
            provider.getRequestContext().put("ReplyTo", REPLY_TO_ADDRESS);
            provider.getRequestContext().put("FaultTo", FAULT_TO_ADDRESS);
            // Register handlers to set the ReplyTo and FaultTo on the SOAP request sent to the WS endpoint
            List<Handler> handlerChain = new ArrayList<Handler>();
            handlerChain.add(new ClientHandler());
            provider.getBinding().setHandlerChain(handlerChain);
            // Start endpoint to receive callbacks from WS
            Endpoint endpoint = Endpoint.publish(REPLY_TO_ADDRESS, new CallbackSEI());
            try {
                port.nextRandom(false);
            } catch( Exception ex ) {
                ex.printStackTrace();
            } finally {
                Thread.sleep(10000);
            endpoint.stop();
            System.exit(0);
    4b) ClientHandler.java - Used to set the wsa ReplyTo address and FaultTo address when sending SOAP request from client to server
    package test.wsclient;
    import java.util.Set;
    import javax.xml.namespace.QName;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.MessageContext.Scope;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class ClientHandler implements SOAPHandler<SOAPMessageContext> {
        public ClientHandler() {};
        @Override
        public Set<QName> getHeaders() {
            return null;
        @Override
        public void close(MessageContext arg0) {
        @Override
        public boolean handleFault(SOAPMessageContext context) {
            return true;
        protected void setAnAddress(SOAPHeader header, String tagName, String address) {
            NodeList nodeListReplyTo = header.getElementsByTagName(tagName);
            NodeList nodeListAddress = nodeListReplyTo.item(0).getChildNodes();
            for (int i = 0; i < nodeListAddress.getLength(); i++) {
                Node node = nodeListAddress.item(i);
                if ("Address".equals(node.getLocalName())) {
                    node.setTextContent(address);
                    break;
        protected String getMessageID(SOAPHeader header) {
            NodeList nodeListMessageId = header.getElementsByTagName("MessageID");
            return nodeListMessageId.item(0).getTextContent();
        @Override
        public boolean handleMessage(SOAPMessageContext context) {
            Boolean isOutbound = (Boolean) context.get(SOAPMessageContext.MESSAGE_OUTBOUND_PROPERTY);
            if (isOutbound) {
                try {
                    SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
                    SOAPHeader header = envelope.getHeader();
                    /* extract the generated MessageID */
                    String messageID = getMessageID(header);
                    context.put("MessageID", messageID);
                    context.setScope("MessageID", Scope.APPLICATION);
                    /* change ReplyTo address */
                    setAnAddress(header, "ReplyTo", (String) context.get("ReplyTo"));
                    setAnAddress(header, "FaultTo", (String) context.get("FaultTo"));
                } catch (Exception ex) {
                    throw new RuntimeException(ex);
            return true;
    4c) CallbackSEI.java - endpoint on the client for server to send the SOAP response back to the client
    package test.wsclient;
    import javax.annotation.Resource;
    import javax.jws.Oneway;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import javax.xml.ws.Action;
    import javax.xml.ws.RequestWrapper;
    import javax.xml.ws.WebServiceContext;
    import javax.xml.ws.soap.Addressing;
    @WebService
    @Addressing
    //@HandlerChain(file = "/handler-chain.xml")
    public class CallbackSEI {
        @Resource
        private WebServiceContext context;
         * If there is no namespace specified in the method below, then the CallbackSEI needs to be in the same package as the
         * WS endpoint.
        @Oneway
        @Action(input="http://services.nowhere.org/RandomTest/nextRandomResponse")
        @RequestWrapper(localName="nextRandomResponse", targetNamespace="http://services.nowhere.org/")
        public void handleNotification(@WebParam(name="return")long random) {
            System.out.println("Asynch response received");
            System.out.println( random );
            //System.out.println("This response relates to the message ID: "+ getMessageID());
    In summary:
    Server is listening on port 8080
    Client will listen in port 8082 for the callback from the server for the SOAP response
    Now when I run the client, I see that the proper behaviour as far as ws-addressing is concerned. That is:
    client  -- SOAP request ( on port 8080 ) --> server
    client <-- HTTP 202 ( empty HTTP body )  --- server
    client <-- SOAP response ( on port 8082 )  --- server
    All well and good, except that I am getting a NullPointerException on the client side when I call the operation.
    With debugging of the SOAP request and responses, I get the following output:
    ---[HTTP request - http://localhost:8080/servertest/RandomTest]---
    Accept: text/xml, multipart/related
    Content-Type: text/xml; charset=utf-8
    SOAPAction: "http://services.nowhere.org/RandomTest/nextRandomRequest"
    User-Agent: JAX-WS RI 2.2.8 svn-revision#13980
    <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8080/servertest/RandomTest</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://services.nowhere.org/RandomTest/nextRandomRequest</Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
        <Address>http://localhost:8082/servertest/RandomCallback</Address>
    </ReplyTo><FaultTo xmlns="http://www.w3.org/2005/08/addressing">
        <Address>http://localhost:8082/servertest/RandomCallbackFault</Address>
    </FaultTo><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:bcd2f6ef-3034-49e8-b837-dbd6a772fb93</MessageID></S:Header><S:Body><ns2:nextRandom xmlns:ns2="http://services.nowhere.org/"><arg0>false</arg0></ns2:nextRandom></S:Body></S:Envelope>--------------------
    ---[HTTP response - http://localhost:8080/servertest/RandomTest - 202]---
    null: HTTP/1.1 202 Accepted
    Content-Length: 0
    Content-Type: text/xml;charset=UTF-8
    Date: Fri, 18 Jul 2014 08:34:36 GMT
    Server: Apache-Coyote/1.1
    java.lang.NullPointerException
        at com.sun.proxy.$Proxy38.nextRandom(Unknown Source)
        at test.wsclient.ClientTest.testAddressing(ClientTest.java:43)
        at test.wsclient.ClientTest.main(ClientTest.java:18)
    ---[HTTP request]---
    Cache-control: no-cache
    Host: localhost:8082
    Content-type: text/xml; charset=UTF-8
    Content-length: 704
    Connection: keep-alive
    Pragma: no-cache
    User-agent: Apache CXF 2.7.7.redhat-1
    Accept: */*
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://www.w3.org/2005/08/addressing">http://services.nowhere.org/RandomTest/nextRandomResponse</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:65d8d7fc-09e4-494a-a9c5-0a01faf4d7e6</MessageID><To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8082/servertest/RandomCallback</To><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:bcd2f6ef-3034-49e8-b837-dbd6a772fb93</RelatesTo></soap:Header><soap:Body><ns2:nextRandomResponse xmlns:ns2="http://services.nowhere.org/"><return>2870062781194370669</return></ns2:nextRandomResponse></soap:Body></soap:Envelope>--------------------
    Asynch response received
    2870062781194370669
    As you can see from the output above, the proxy is throwing an Exception when it receives the HTTP 202 response.
    Any ideas ?

    I think I have found when I get this error and probably I have found a bug. I will appreciate if someone can confirm this.
    In my BPEL project setup, my BPEL process's wsdl file imports another wsdl from different namespace. Here is sample snippet -
    <wsdl:definitions targetNamespace="http://namespace/1">
    <wsdl:import namespace="http://namespace/2" location="resources/another.wsdl"/>
    <plnk:partnerLinkType....../>
    </wsdl:definitions>
    Please let me know. I checked the bundled samples with Oracle BPEL PM and did not find any similar case where process wsdl imports another wsdl.
    Thank you.
    Meghana

  • How delimited by header and footer from Source file in BPEL 11g

    Hi Friends,
    I have source data below like This..
    SOFTWARE COMPONENTS:
    BPEL 11G,
    J DEVELOPER(11.1.1.3)
    FILE READ ADAPTER
    WEB LOGIC EM SERVER(10.3.3.0)
    1|10005|857896|BR |0000 |6544|kantro|54635
    1|10265|69875|.36544|2456112|00000|000000|00000|SE|5456|466554|789745|54.325|KVM|56476.32
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45669
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45664
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55776|4454544|45660
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|85668
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|85876|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|69848
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|69566|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|78966|4454544|85669
    1|10255|km|5653|RJ |00000|5557544|13-08-1998
    But i need to Delimited and insert the data into table ..Here Header data insert into saperate table and
    middlle of the data insert into main table and footer data insert in another table it all happen one attempt by using file read Adapter(11.1.1.1.3)

    You have a header parameter in the file datastore. You can provide any number to skip rows from top of the file. For footer you can create a filter in staging area.
    Filter coould be something like this.
    where source_alias.source_column not like '%FOOTER_OR_ANY_VALUE_AS_PER_YOUR_REQ'

  • Roll back in Adapter DataBase using Polling | BPEL 11g

    Hello Guys,
    I'm having a problem with roll back for polling "Update a field in Table(Logical Delete)" in DataBase Adapter BPEL 11g.
    My process is:
    Does polling in the table from the database changed the value in column from 0 for 1 and then put the message on a JMS queue.
    The problem is:
    When an exception occurs in the process, for example, exception when posting message in the queue, he does not roll back the database, then the value in the table column is changed to 1 and not 0 as it should.
    Adapter Data Base:
    Oracle XA
    Properties BPEL(Composite):
    <binding.jca config="XXXX_db.jca">
        <property name="singleton">true</property>
    </binding.jca>
    <component name="XXXXX" version="2.0">
        <implementation.bpel src="XXXXX.bpel"/>
        <property name="bpel.config.transaction" type="xs:string" many="false">required</property>
        <property name="bpel.config.oneWayDeliveryPolicy">sync</property>
    </component>
    Properties JCA of Data Base:
    <property name="DescriptorName" value="XXXXXXXXX"/>
          <property name="QueryName" value="XXXXXXSelect"/>
          <property name="MappingsMetaDataURL" value="XXXXXX-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="STATUS"/>
          <property name="MarkReadValue" value="1"/>
          <property name="MarkReservedValue" value="2${weblogic.Name}-${IP}"/>
          <property name="MarkUnreadValue" value="0"/>
          <property name="PollingInterval" value="5"/>
          <property name="MaxRaiseSize" value="1"/>
          <property name="MaxTransactionSize" value="10"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
    Its roll back?
    Could anyone please help me on this.
    Tks,
    Azevedo, Artur.

    You need to ensure that your process is working in a single transaction.
    You are correctly using the XA datasource.
    Next you need to ensure that you do not have a dehydration point in the process and if there is a call to another BPEL process they are in a same transaction.

  • Polling from the database view in BPEL 11g

    Hi,
    We do have a requirement of polling from the database view in BPEL 11g. I am exploring the following polling strategies in our case:
    - Delete
    - Logical Delete
    In case of Delete polling strategy, can we delete the record as the view does not allow deletion. In this case, do we have any other way to achieve this functionality?
    In case of Logical Delete, We have to mark the status column with particular value. how could we achieve the same when the view is not updateable.
    In 10g, we can override the delete polling strategy with an update statement. Is it possible in 11g?
    Thanks & Regards
    Siva

    Hi,
    I am also doing the same thing what you have done, please help me.
    I have used BPEL export utility for exporting my JPDs to BPEL. but it was not a good help, ultimately i m creating a process manually.
    the main problem what is the replacement of control(jcx files)
    please guide me really it would be great help..
    Thanks in advance and hope to hear from you.
    my mail id is [email protected]
    please send some document if you have...

  • [Urget Help] [BPEL 11g] How to use Database 11g as Identity Service source?

    Dear all,
    My customer is using BPEL 11g for current project. They have a legacy user database (Oracle DB 11g) which store all accounts info.
    Now we want to connect BPEL with this database as identity service and pick up the users and groups as approver. I saw following graph from below link, but I don't know how to implement it. It seems a huge change in BPEL 11g.
    Can you give me an idea on it? Any suggestions are welcome.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm#BABEIHDD
    Thanks in advance.

    repost

  • New line character  is not working in BPEL 11g

    I am trying to use new line character &#13; in string concat operation in BPEL 11g, but it is not giving new line in output. Any idea why?

    We can achive this by embedding html tag break '&lt br &gt', something like below.
    string('Please click on the URL below to login and open your invoice Worklist.&lt br &gt
    &lt br &gt
    &lta href="http://localhost:8001/integration/worklistapp"> Invoice Worklist &lt/a&lt &lt br &lt
    &lt br &gt
    Edited by: RaviOrnext on Aug 16, 2012 4:24 AM

  • [HELP] [BPEL 11g] Customized BPEL worklist app could not work on JBoss

    Dear all,
    We are developing the customized Human Worklist app based on BPEL HW API 11g.
    The application (some jsp pages) works fine in JDeveloper 11g. However, after deploy to JBoss, it always prompt with "NoClassDefFoundError" exception, although we have already add following 7 jar files into Classpath:
    ${jdeveloper.home}\Middleware\wlserver_10.3\server\lib\weblogic.jar
    ${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.jrf_11.1.1\jrf.jar
    ${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar
    ${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.fabric_11.1.1/bpm-infra.jar
    ${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
    xml.jar
    xmlparserv2.jar
    Then we manually copy many other jars (nearly 100) under Weblogic server, but it still prompt lacking of some jar file with "NoClassDefFoundError" exception.
    So, does BPEL 11g support deploy HW app outside weblogic, like JBoss? If so, what we need to set at JBoss side to run our app?
    Thanks a lot.

    Not sure it is available yet as I have not seen any doc for 11g.
    here is the 10g instructions which may provide some pointers.
    http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b25947/deployment_topics012.htm
    cheers
    James

  • How to call the WS in BPEL 11g

    Hi,
    I have a WS externally provided, which need the following soap header...
    <soap:Header><fmw-context xmlns="http://xmlns.oracle.com/fmw/context/1.0"/><wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>MASKED</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MASKED</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security></soap:Header>
    Please let me know how do i call the WS in BPEL 11g.
    Please let me know the entire solution, kind of urgent...
    Thanks,
    Rosh

    Hi All,
    got the solution.
    Its working...
    http://soa-howto.blogspot.com/2008/09/how-to-set-security-credentials.html
    Thanks,
    Rosh

  • How to Use Oracle Coherence in BPEL 11g

    i have a scenario to cache the results some where, so that i can make use of the same for the same request.
    I hope this can be done using Oracle Coherence. Could you please let me know how can i use this coherence for cacheing in BPEL 11g (in my bpel process)
    thanks for the help in advance.

    Hi.
    U can use the Coherence API within a Spring bean.
    Take a look at this https://blogs.oracle.com/jaylee/entry/accessing_coherence_cluster_using_spring
    That's one way to do it.
    best

  • Invoke ODI Scenario (11g) in BPEL (11g)

    Hello -
    I'm developing a BPEL process to load data from SQL Server to Oracle database using ODI . And after that I'm doing more orchestration in the BPEL process. I'm using
    1) Oracle Data Integrator 11g (11.1.1.3)
    2) Oracle SOA Suite 11g (Web Logic Server)
    Have created a scenario in ODI 11.1.1.3 to read data from SQL Server and load into Oracle Database. I would like call this ODI scenario in BPEL 11g as a FIRST Activity.
    Please help me the STEPS I need to
    1) To expose the ODI scenario as a web service?
    2) And to invoke ODI scenario in BPEL
    3) Do I need configure/install public web services or anyother checks I need to do on ODI_server domain(WLS) to ensure it has all the components it need ?
    Detailed steps are greatly appreciated
    Thanks
    Babu

    I hope you have found your answer but if not here are some pointers when working in the 11g ODI version. As far as I understand all generated scenarios will be exposed as a web service. ODI provides a small set of service methods available via the agent to invoke those services:
    invokeStartScen
    invokeRestartScen
    getSessionStatus
    getVersion
    To get the WSDL for ODI, simply point your browser or partner descriptor to a running ODI agent: http://agentHost:port/oraclediagent/OdiInvoke?wsdl
    For me running on my local host I can access both the Stand Alone or JEE agents on thier running ports:
    Stand Alone running on 8886: http://localhost:8886/oraclediagent/OdiInvoke?wsdl
    JEE running on 19001 deployed to WLS: http://localhost:19001/oraclediagent/OdiInvoke?wsdl
    As you can see there is no difference between the two agents and they both return with the same list of operations:
    <wsdl:binding name="InvokeRequestSOAP11Binding" type="odi:requestPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    *<wsdl:operation name="invokeStartScen">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/invokeStartScen" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="getSessionStatus">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/getSessionStatus" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="getVersion">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/getVersion" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="invokeRestartSess">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/invokeRestartSess" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    Once you have this then you can invoke the different methods from what ever tool you are using and here are some samples:
    Getting the Version -- No Parameters are Required
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <soapenv:Header/>
    <soapenv:Body>
    <odi:getWebServiceVersionRequest/>
    </soapenv:Body>
    </soapenv:Envelope>
    Invoking a Scenario -- Scenario: LD_ODI_CERTS Scenario Version: 5 Context: GLOBAL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <soapenv:Header/>
    <soapenv:Body>
    <odi:OdiStartScenRequest>
    <!--You may enter the following 2 items in any order-->
    <Credentials>
    <!--You may enter the following 3 items in any order-->
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>SUPERVISOR</OdiPassword>
    <WorkRepository>workrep</WorkRepository>
    </Credentials>
    <Request>
    *<ScenarioName>LD_ODI_CERTS</ScenarioName>*
    *<ScenarioVersion>005</ScenarioVersion>*
    *<Context>GLOBAL</Context>*
    <Synchronous>true</Synchronous>
    <SessionName>LD_ODI_CERTS</SessionName>
    <Keywords>WebService</Keywords>
    <LogLevel>5</LogLevel>
    </Request>
    </odi:OdiStartScenRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    This is covered in section 14 of the Developers Guide for ODI ([Working with Web Services in Oracle Data Integrator|http://fmwdocs.us.oracle.com/doclibs/fmw/E14571_01/integrate.1111/e12643/web_services.htm#CJAJEBEJ]) and further expanded in section 19.7 ([Running Integration Processes|http://fmwdocs.us.oracle.com/doclibs/fmw/E14571_01/integrate.1111/e12643/running_executions.htm#BABDHJJF]).
    If you need additional asistance with the creation of the scenario, well that is another question ;)
    Edited by: Sydney on Oct 20, 2010 11:45 AM

  • BPEL 11g Transform Activity

    Hi
    We are developing EDI 850 Transaction using SOA 11g Environment. We are successfully able to complete the B2B 11g Trading partner setups and able to successfully puch EDI XML to IP_IN_QUEUE.
    We developed a 850 EDI BPEL mappings using BPEL 11g (Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536). We received the payload from IP_IN_QUEUE using B2B adapter successfully. After receiving this payload we are trying to map source elements to target schema. For testing we have mapped couple of elements from source to target.
    But, Transform activity is not performing the mappings which we mapped and its coming null at run time.
    We are not able to find the reason. Could some body let us know what could be issue?
    Regards
    Ravi

    Hi
    Thanks for your reply.
    We tried by assigning the static text, this text successfully comes at run time.
    We have only issue when mapping from source to target. None of the values are getting mapped to target from source.
    - Ravi

  • Oracle bpel 11g email polling ?

    could oracle bpel 11g support email polling(checking inbox of an email account for a defined period time) ?
    try to google and find some tutorial to enable email polling in bpel 10g.
    but try to implement it and can't find folder BPEL in <SOA_HOME>
    now i can utilize email polling from fusion middleware Oracle Service Bus. but it would be more suitable if i can do the polling from my bpel instance.
    if someone has experience in this, pls share and will be very appreciated it.

    using the tutorial from amis.nl, how can i get the sender, subject (email header) from the email that i'm polling ? with an empty body message email.
    i'm facing issue the xml that ums adapter poll and send to the bpel process is only the message body part. can not get the header part.

  • How to encrypt payload in BPEL 11g,Specific Fileds.

    How to encrypt payload in BPEL 11g,Specific Fileds.

    By adding a wsm policy to the service and encrypt parts of the payload?
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/sca_policy.htm#CHDHAJIH

Maybe you are looking for

  • PO Attachments to be sent by EDI or e-mail

    Good afternoon We need to know if we can send by EDI and/or e-mail Purchase Order attachments when we execute the output of the PO form. If so, is this "standard" or we need a development for this? Thank you very much and best regards, Alejandra

  • How do I add color to a text box border in Pages app?

    Can't find it anywhere. And don't have time to keep looking. Wondering if you can do this in Pages (in Word, you insert text box, then under Format you get in drop down menu "Borders and Shading" and then you can add color just to the border). Can yo

  • No new App rates/App Reviews in Windows Store since 01/14?

    What's wrong with Windows Store? It's working bad on A REGULAR BASIS!

  • Photo unable to be saved

    I have a Mac, Lightroom 3.3. Suddenly when processing a photo with Nik Software within Lightroom, I hit save - nothing happens ie a greyed Lightroom window comes up with a message: : no photo selected".  Not only is the newly processed photo  not sav

  • Variant Values during Run Time

    Hi   I am running a report as background job with a variant "VarOne"  which has the following values 1. Duration Interval  - value -  60 2. Program ID.       - value - 00123 3. Current Date ( Value not saved while creating variant) 4. Current Time (