Manipulating soap headers in BPEL 11g doesn't work

Hi,
I need to change the values of the soap header elements MessageId and RelatesTo in SOA Suite 11.1.1.5. The documentation is not very clear on how to achieve this. In the development guide bpelx:inputHeaderVariable is mentioned for manipulating soap headers. If you use the "Headers" tab on the invoke activity I instead get bpelx:headerVariable. But I've tried both and then run the calls through TCP Monitor. The messageId/RelatesTo is still not changed.
I have also tried the "Properties" tab on the invoke activity. There are two properties called wsa.messageId and wsa.relatesTo which sounds perfect. But still nothing happens when I use them.
My invoke looks like this (if e.g. using bpelx:headerVariable):
<invoke name="InvokeSomeProcess" partnerLink="SomeProcess"
portType="ns1:SomeProcessCallback" operation="onResult"
inputVariable="someProcessInputVariable"
bpelx:invokeAsDetail="no"
bpelx:headerVariable="relatesTo,MessageIdHeader">
</invoke>
This worked perfectly in 10.3.4 which is what I'm migrating from (then using bpelx:inputHeaderVariable).
Is this not working in 11g?? Or have I missed some crucial detail? Has anybody got it to work?
Thankful for any help!
Kind Regards
Kerstin

Ok, there are at least two bugs that are related to this problem:
1) JDeveloper adds the wrong property when you add a header through the GUI tab "Headers" on an invoke activity. It should be "bpelx:inputHeaderVariable" and NOT "bpelx:headerVariable". (Bug #12541901).
2) Currently in SOA Suite 11g the WS-Addressing headers are overwritten when the SOAP call is made. Enhancement Request #13718140 has been logged asking for this behaviour to be changed in a future release. This is currently being considered by Product Management.
Oracle support suggests that you use OSB to set the headers.
Kind Regards
Kerstin

Similar Messages

  • Accessing SOAP Headers in BPEL

    Hi All,
    I have been trying to access a custom soap header in BPEL but in vain.
    I have the header like this in my wsdl
        <wsdl:message name="doTransactionRequest">
            <wsdl:part name="part1" element="tns:doTransaction"/>       
        </wsdl:message>   
        <wsdl:message name="doTransactionHeader">
            <wsdl:part name="teamName" element="tns:myName"/>
        </wsdl:message>
        <wsdl:message name="doTransactionResponse">
            <wsdl:part name="part1" element="tns:doTransactionReply"/>
        </wsdl:message>
        <wsdl:binding name="RequestHandlerProxySoapBinding" type="tns:RequestProxyPortType">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <wsdl:operation name="doTransaction">
                <soap:operation soapAction=""/>
                <wsdl:input name="doTransactionInput">
                    <soap:header message="doTransactionHeader" part="teamName" use="literal"/>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output name="doTransactionOutput">
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>In BPEL I have a corresponding header variable defined for the header "teamName".
    Now how do I tell BPEL "receive" to copy the incoming header to this variable ? There is no parameter called "headerVariable" or so for the receive element. As far as I understand, when the soap header "myName" comes, it is copied as a property in the normalized message. Now I need to tell BPEL service engine some how to copy the property to the header variable. But I don't know how to do that.
    I Really need some help. Thanks in advance.
    best regards,
    bala

    I would try defining the soap:header under the <operation> description in your .wsdl
    to look something like this:
    <Input>
    <soap:header message="tns:SessionHeader" part="SessionHeader"/>
    <soap:body message="[yourprocess]RequestMessage"/>
    </Input>
    Then create a variable of the sessionHeader message type and assign it in the adapters tab.
    You'll probably also need to add this namespace to your wsdl:
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/
    I haven't tested this but it should get you on the right track...

  • Oralce Applications Adapters in OBPM 11g doesn't work....

    with EBS 11i adapter, to create a new supplier,
    use the same configuration of deployment , datasource, oracleAppsAdapter & server, bpel works well, but bpm doesn't work, and no exception, return is null too.
    anyone know why? thank you.

    have tried that myself , but on my itunes it keeps coming up cannot be synced with iphone as your not authorized on this computor , but its my itunes account and my pc ? songs have gone on fine just having this trouble with applications can someone help me ?

  • Deployment on OC4J 11g doesn't work

    Jdeveloper 11g ADF runtime installer for standalone OCJ4 11 doesn't find the following file: - Input File doesn't exist "adfcm.jar".
    Then, when i deploy an application (ear or war) on standalone OC4J, i have the following error:
    2007-06-26 11:54:14.328 NOTIFICATION Exception : NoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    2007-06-26 11:54:14.359 NOTIFICATION L'opÚration Application Deployer sur GregWar a ÚchouÚ.
    2007-06-26 11:54:14.375 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est dÚmarrÚe.
    2007-06-26 11:54:14.375 NOTIFICATION Suppression de toutes les liaisons de l'application GregWar dan
    s tous les sites Web
    2007-06-26 11:54:14.796 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est terminÚe.
    07/06/26 11:54:14 ATTENTION: DeployerRunnable.run NoClassDefFoundErrororacle.oc4j.admin.internal.Dep
    loyerException: NoClassDefFoundError
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:140)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
    e.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2059)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1623)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1579)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1564)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at oracle.adf.share.logging.internal.perf.ADFPerfSensor.<clinit>(ADFPerfSensor.java:92)
    at oracle.adf.model.servlet.ADFBindingFilter.<clinit>(ADFBindingFilter.java:55)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.http.deployment.WARAnnotationParser.getFilterClasses(WARAnnotationPar
    ser.java:189)
    at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationPar
    ser.java:103)
    at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8929)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1210)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:833)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
    va:433)
    at com.evermind.server.Application.getHttpApplication(Application.java:693)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
    omReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
    58)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1652)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:235)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:554)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:205)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:98)
    ... 5 more

    Hi,
    thanks for reporting the issue, but OC4J 11 already has the ADF libraries in it
    Frank

  • Deployment for OC4J 11g doesn't work

    Jdeveloper 11g ADF runtime installer for standalone OCJ4 11 doesn't find the following file: - Input File doesn't exist "adfcm.jar".
    So, when i deploy an application (ear or war) on standalone OC4J, i have the following error:
    2007-06-26 11:54:14.328 NOTIFICATION Exception : NoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    2007-06-26 11:54:14.359 NOTIFICATION L'opÚration Application Deployer sur GregWar a ÚchouÚ.
    2007-06-26 11:54:14.375 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est dÚmarrÚe.
    2007-06-26 11:54:14.375 NOTIFICATION Suppression de toutes les liaisons de l'application GregWar dan
    s tous les sites Web
    2007-06-26 11:54:14.796 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est terminÚe.
    07/06/26 11:54:14 ATTENTION: DeployerRunnable.run NoClassDefFoundErrororacle.oc4j.admin.internal.Dep
    loyerException: NoClassDefFoundError
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:140)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
    e.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2059)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1623)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1579)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1564)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at oracle.adf.share.logging.internal.perf.ADFPerfSensor.<clinit>(ADFPerfSensor.java:92)
    at oracle.adf.model.servlet.ADFBindingFilter.<clinit>(ADFBindingFilter.java:55)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.http.deployment.WARAnnotationParser.getFilterClasses(WARAnnotationPar
    ser.java:189)
    at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationPar
    ser.java:103)
    at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8929)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1210)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:833)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
    va:433)
    at com.evermind.server.Application.getHttpApplication(Application.java:693)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
    omReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
    58)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1652)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:235)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:554)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:205)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:98)
    ... 5 more

    User,
    There is a specific forum for JDev 11: JDeveloper and OC4J 11g Technology Preview
    However, the specific issue you mention is documented in the release notes addendum for 11: http://www.oracle.com/technology/products/jdev/htdocs/11tp/11gtechpreviewaddendum.html#dep2
    John

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • Pure Natvie Oracle Database. 11G Doesn't work!!!!!

    Has anybody create successfully a Pure Native Oracle Database.
    The database is created package also but no dynamic library file is created!!!!
    select from DBA_STORED_SETTINGS
    PARAM_VALUE COUNT(1)
    plsql_warnings=DISABLE:ALL 6284
    plsql_code_type=NATIVE 6284
    show parameter plsql
    NAME TYPE VALUE
    plsql_ccflags string
    plsql_code_type string NATIVE
    plsql_debug boolean FALSE
    plsql_native_library_dir string /opt/oracle/admin/O11G/library
    plsql_native_library_subdir_count integer 1000
    plsql_optimize_level integer 2
    plsql_v2_compatibility boolean FALSE
    plsql_warnings string DISABLE:ALL
    find /opt/oracle/admin/O11G/library -type f -print
    NOTHING!!!!
    In 9.*,10.* It 's work perfectly!!!
    What is missing ? Nothing constructive from the enginer who is managing the tar!!!
    Quick test to check even if the whole database is not in Native mode:
    export PLSQL_NATIVE_LIBRARY_SUBDIR_COUNT=1000
    export OSD=$ORACLE_BASE/admin/$ORACLE_SID
    mkdir $OSD
    mkdir $OSD/library
    N="-n"
    C=""
    export N
    export C
    export i=0
    while [ i -le ${PLSQL_NATIVE_LIBRARY_SUBDIR_COUNT:=0} ]
    do
    mkdir -p $OSD/library/d$i &&
    chown oracle:dba $OSD/library/d$i &&
    chmod 0755 $OSD/library/d$i && echo $N ".$C" || $N echo "F$C"
    export i=`expr $i + 1`
    echo $i | egrep '50$|00$' > /dev/null && echo " $i"
    done
    echo "
    set echo on
    prompt TO BE ADDED IN THE INIT.ORA OR ALTER SYSTEM
    alter system set plsql_code_type=NATIVE scope = spfile ;
    alter system set plsql_native_library_dir='$OSD/library' scope = spfile ;
    alter system set plsql_native_library_subdir_count=${PLSQL_NATIVE_LIBRARY_SUBDIR_COUNT:=0} scope = spfile ;
    shutdown immediate
    startup
    create procedure IT_IS_A_TEST AS
    BEGIN
    NULL ;
    END IT_IS_A_TEST ;
    show errors
    select * from user_errors where name ='IT_IS_A_TEST' ;
    begin IT_IS_A_TEST ; end ;
    drop procedure IT_IS_A_TEST ;
    set define off
    host ls -l $OSD/library/d*/* | grep -i IT_IS_A_TEST && echo OK || echo It does not work. "

    impdp refused to create tablespaceOr, a slightly more accurate statement, perhaps the database user running impdp does not have rights to create tablespaces. Or it could be the datafile(s) for the tablespace(s) are not specifying a valid path, i.e. the source database used 'd:\oraclexe\...\<datafile>.DBF' and the impdp target database does not have a d: drive, or the oraclexe or folder names in the path are not valid locations.
    There are many ways to run datapump, one option is specifying tablespace translations. Or create the desired tablespaces ahead of time. See the full 11g doc pages on datapump for more info that what is included in the 11g XE docs: http://download.oracle.com/docs/cd/E11882_01/server.112/e22490/dp_import.htm#i1007653
    I anyway have lots of limits on memory that can be used ... ORA-04031: unable to allocate 16 bytes of shared memoryPost a snippet of your alertlog content, the section with the last startup showing the non-default parameters. Perhaps an increase to sga_target or a similar parameter is needed, find the last entry stanza that starts with "System parameters with non-default values:", something like that.

  • Tracking email failure in BPEL 11g

    Hi All,
    I am working with email activity in Oracle BPEL 11g and its working fine.But i want to handle the failure of emails. Like whenever i send an email to a wrong email-id then it must bounce back to the From email-id with same subject line as specified prefixing with "Undelivered" word. Please help me if anyone has worked on the same issues.
    Thanks in Advance
    Irfan Shaikh

    Hi,
    I dont think u have any out of the box feature for this....try configuring the watch logs at the server level, Have a luk at the below link:
    http://blogs.oracle.com/jamesbayer/entry/weblogic_notifications_watch_t

  • BPEL 11g SOAP with Attachments

    Does anyone have any examples utilizing SOAP with Attachments with BPEL 11g?
    I have previously worked with SwA in BPEL 10g, but I have not been able to successfully port my BPEL projects to 11g. I am able to send in an attachment without error, but the outgoing requests and/or responses do not contain the attachment as they should.
    Note: I am trying to use traditional SOAP with Attachments (hrefs) and not MTOM

    Hi ,
    Even we too have same requirement where soap with attachment (swa) has to pass through bpel process(11g).You hava mentioned that ur able to attach file to req..please can u share your sample for reference.
    Thanks for suggestions.

  • Passing HTTP Headers from BPEL to a RESTFul service in SOA 11g PS2.

    Hi All,
    We have the following requirement.
    We need to pass the following headers to RESTFul service.
    x_invensys_wss_username = "Some UserName"
    x_invensys_wss_password = "Some Password".
    I tried to first pass username and password properties by following below post.
    Attach Http headers in BPEL Process
    Specifically below steps..
    Hi,
    If you are talking about how to invoke a secured webservice...please follow this...
    After creating the reference for your secured webservice in your composite, right click on the composite and say configure web service policies...
    Add the security policy named "oracle/wss_http_token_client_policy"
    And also, for the reference, create two binding properties
    1. oracle.webservices.auth.username
    2. oracle.webservices.auth.password
    For the above two properties, provide the appropriate values.....
    Please test the same after making this changes and let me know....
    Thanks,
    Narsing Pumandla
    ======================================================
    Somehow i don't see the headers getting added to the call.
    The service i am calling don't really need these headers.But the URL we will be calling shortly for the real application need them.
    Can someone let me know whether this SOA version supports this or not.?
    If yes , Then what is the best way to solve this issue.[i.e Able to send hardcoded values and also user specified values.]
    Thanks,
    Sid.

    I am using this URL : api.geonames.org/postalCodeSearch?postalcode=90110&username=siddhardha
    I see below message in audit trail.Not sure why the headers are not visible.
    Am i missing something which is very fundamental.?
    <messages>
    <Rest_InputVariable>
    <part name="Input">
    <Input>
    <postalcode>90110</postalcode>
    <username>Siddhardha</username>
    </Input>
    </part>
    </Rest_InputVariable>
    <Rest_OutputVariable>
    <part name="geonames">
    <geonames>
    .....results.............
    </geonames>
    </part>
    </Rest_OutputVariable>
    </messages>
    Edited by: Siddhardha M on Jul 19, 2012 5:44 AM

  • BPEL 11g error consuming UCM SOAP service.

    Hi,
    Has anyone consumed the search.wsdl from UCM 11g in BPEL or OSB 11g?
    Consume search.wsdl from BPEL 11g
    Any help would be much appreciated.
    Regards,
    Shaukat

    I'm sorry.  I didn't notice.
    1) Go to SICF.
    2) Click execute.
    3) Expand the tree:
    sap --> bc --> srt
    Make sure that everything in <b>srt</b> is active.  You might have to have your Basis team do this.

  • 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 Post XML Messages with SOAP Headers to a Trading Partner URL

    Hi All,
    Greeting to the Oracle B2B Community. We are currently working on how to post a Custom XML Message with SOAP Headers to a Trading Partner URL. I would really appreciate if anybody could provide me some inputs or links to some documentation on how to achieve the above requirement. The details are below:
    1. Our Internal Application generates a Flat File (PO Extract).
    2. The Extract then needs to be transformed to an XML Message. We are planning to use BPEL to do the transformation to XML Message.
    3. Once it is transformed to an XML message it needs to be posted to the Trading Partner URL as an HTTP Post and with SOAP Headers.
    We are planning to use B2B to do the posting but I am not sure on how to do the set-ups and what all parameter files in B2B needs to be updated in order to achieve the same. Also it is mandatory that we send SOAP Headers in the XML Message.
    Thanks In Advance for your help.
    Regards,
    Dibya

    Hello Dibya,
    As you are already doing the transformation from Flat file to XML in BPEL which is typically the capability of B2B, please use the Soap binding in BPEL to send the document to Trading partner.
    Rgds,Ramesh

  • 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

  • Secured Web service performance problem in BPEL 11g

    Hi,
    When calling Secured web service from BPEL 11g, performance issue is coming.
    Actually when we test a Secured web service using SOAP UI, Average response time is 2-3 secs.
    Where when we are calling from BPEL, average response time is 18-22 secs.
    Steps:
    1) Go to composite
    Right click on the external reference service and select “Configure WS policies”
    Under the security tab, click add button and select “oracle/ wss_username_token_client_policy
    2) Now Open the property Inspector window and click the add button under “Binding properties” tab.
    3) Include the “oracle.webservices.auth.username-->UserName
    4) Include the “oracle.webservices.auth.password”-->Password
    Please let me know if i am doing anything wrong.
    Do you have any idea for fix this issue?
    Thank you.

    there shouldn't much difference in the time for the response ..., also when you are calling the secured web service from another BPEL, make sure you don't consider the time of the calling process ( i mean that BPEL ). you just try calling the secured web service from the EM console if it is a SOA composite. do you see any messages in the log files ? the procedure you followed is correct only, confirm here., i have posted a similar solution long back..
    Re: Creating a partnerlink  from a secure webservice
    Thanks,
    N

Maybe you are looking for

  • 'Show JInternalFrame Contents While Dragging'

    hi, I have a question I have an application that has internal frames, Basically it is a MDI Application. I am using JDK 1.2.2 and windows 2000. The question is that when you go to the desktop right click properties and in Effects tab you uncheck the

  • Preview - PDF files?

    Okay soo confused here. I cannot find where to post this topic. I have an online class, and that class comes with an online textbook that is opened with the application Preview automatically. I want to search for a specific topic, so I enter it in th

  • Simplify the initialization of and application (currently done with singletons)

    Say I have two startup classes: class A extends Parent {     public void startUp() {         Foo.getInstance().init();         Moo.getInstance().init();         // and 25 more of the same kind class B extends Parent {     public void startUp() {     

  • My Firefox 5.0 does not support the latest Acrobat Reader. I went back to IE because of this. Is there a fix?

    I'm an Acrobat 8 user, and I have the latest version of Reader (checked--no updates are available). After a recent update to Reader, Firefox stopped supporting .pdf files. I tried updating to the latest Firefox version--5.0, but I still have the prob

  • InDesign CS4 Debug not working on Windows

    Dear All, Two days back I purchased Bronze ASN memebership. This is the first time when I am trying debug version of InDesign. I have installed InDesign CS4 Debug on both Mac & Windows. On Mac it is working fine, but on windows it is not working. Deb