JCA SOA 11g - PLSQL bounded to Name of Parameters

Hi
I am calling a PLSQL package using JCA in BPEL11g. When i create the JCA, i have to connected to the DB and selected the package. As a result i have the XSD and WSDL for the same in terms of In and Out parameters. But when i change the "name" of IN & OUT parameters (Not the type or sequence of parameters) in the PLSQL package, BPEL throws the error as "Wrong number or type of parameters" while executing.
In Java , we use registerOutParameters for all the OUT parameters by their type and sequence & we never need to know the name of the parameter. But why JCA is bounded to the "name" of the IN/OUT parameters.? Do we have any workaround to handle this situation?
Since BES (which is PLSQL package provider) need not share the name of their internal variables (say IN/OUT parameter names, they will share the type and sequence of IN/OUT parameters) to the consumers( BPEL).
Please help me here on this.
Thanks
Sesha

Prabhu,
I totally agree that the XSD names should be matching to the PLSQL package IN and OUT parameter names. But in my case as i interact to a remote PLSQL package for which the details given to me are just the Package name , Procedure name , schema name & DB Type of IN/OUT parameters along with the sequence of them.
Since BES have rights to change the name of IN/OUT parameters since those are internal variables of the package/procedure . Is there any means that - based on type and sequence to make a PLSQL call to BES ?
thanks
Sesha
Edited by: Sesha on Aug 16, 2010 5:19 PM

Similar Messages

  • BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite

    Hi,
    I am just testing one simple SOA Application in SOA 11g Suite. Created a SOA Composite Application with one DB Adapter at designtime all worked fine with DB Adapter. But when I deploy the Application on the server I get the following error:
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ".Do I need to jndi-name in weblogic-ra.xml if so what is the exact location. Any help is appreciated.
    Thanks

    I did but still not able to connect now getting the following error. I went to the Weblogic Console, clicked on deployments, selected DBAdapter, clicked on configuration ,
    and then I don't see outbound configurations instead it shows Outbound Connection Pools, Under Outbound Connection Pools tab I clicked on New and it asked to select Outbound Connection Group I selected the one that was already there (with JNDI eis/DB/SOADemo) and then created my JNDI which was added to the default Outbound Connection Group and in the end it asked to save the Plan.xml which I saved it under a new directory created under soa directory. But still am not able to connect.
    How do I create my own Connection Group as don't want to use the defualt one out there.
    After creating the JNDI Name it asks for saving the Plan.xml file. Where exactly we save this file. Are there any standards.
    Why can't I update any properties when I click on the new JNDI name it takes to Settings for javax.resource.cci.ConnectionFactory --> Outbound Connection Properties but there I see a save buttn but I can't make any changes.
    BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception. Missing Property: [DBManagedConnectionFactory.userName]. You may have set a property (in _db.jca) which requires another property to be set also. Make sure the property is set in the interaction (activation) spec by editing its definition in _db.jca. . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. Is there any documentation that lists all these steps as I couldn't find it anywhere. The guide only talks abou DBAdapter but how to configure etc can't find any info. Any help is appreciated.
    Thanks.

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • Getting INVALID_WSDL error in SOA 11g Samples

    Hi,
    Jdev version: 11g (11.1.1.2) (Also tried in 11.1.1.3..got same issue)
    I downloaded SOA 11g samples from Oracle. When I open any of the SOA project in jdev and double-click any service in the left-right swimlane, I am getting following error:
    Error while reading wsdl file
    <<filepath/filename>>
    Exception:
    WSDLException: faultCode=INVALID_WSDL: Invalid XML indocument at:
    file:<<filepath/filename>>
    line: 1,column: 1: oracle.xml.parser.v2.XMLParserException: Start of root element expected.
    I dont see anything unusual with the WSDL file. Besides it's created/provided by Oracle. I am attaching code of one of the WSDL:
    <?binding.jca ReadCust_file.jca?>
    <wsdl:definitions name="ReadCust" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/ReadCust/" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/ReadCust/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:imp1="http://xmlns.oracle.com/Esb/CustomerData" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/Esb/CustomerData" schemaLocation="xsd/LegacyCustomer.xsd"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="CustomerData_msg">
    <wsdl:part name="CustomerData" element="imp1:CustomerData"/>
    </wsdl:message>
    <wsdl:portType name="Read_ptt">
    <wsdl:operation name="Read">
    <wsdl:input message="tns:CustomerData_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    <plt:partnerLinkType name="Read_plt">
    <plt:role name="Read_role">
    <plt:portType name="tns:Read_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    </wsdl:definitions>
    SOA Experts, any advise/suggestion in this regard is greatly appreciated.
    Thanks

    Thanks for response, Anuj!
    I checked the WSDL file in jdev. The 1st line is as follows:
    <?binding.jca ReadCust_file.jca?>
    I am sharing the error message screenshot and jdev application zip
    Error Message => https://docs.google.com/document/d/1VeOsLGYxoVexkx8uKM3l028Uz0WGS_DiKBsLTB0kBW8/edit?hl=en&authkey=COv_xO4E
    Jdev Application => https://docs.google.com/leaf?id=0B6W2rsWyyNGMOTllZTRiMDUtOGZjYS00OWU4LTk5MjUtNGZmMGIyMzY4MWE5&hl=en&authkey=CKOT8usO
    Please advise.
    Thanks again

  • Configuration plan in SOA 11g, help needed.

    Hi All,
    I'm trying to use configuration plans in SOA 11g to migrate composites from my DEV environment to STG. I have ant scripts that would help me in promoting the composite from DEV to STG, but im stuck up with using configuration plans.
    Can someone help me in explaining what should we do to the configuration plan that we create in JDev. I know that some portions of the file has to be edited so that endpoints of the new environment would get replaced in .bpel,.wsdl and other required files, but i dont know which sections of the configuratin plan file have to be edited and what is its significance.
    If someone can share an example configuration plan file also it would be great.
    Thanks,

    Hi,
    You have to replace the things imported in composite.xml and urls in your wsdl and xsd that are part of your composite.
    I am posting some sample configuartion.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAConfigPlan xmlns:jca="http://platform.integration.oracle/blocks/adapter/fw/metadata" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy" xmlns="http://schemas.oracle.com/soa/configplan">
       <composite name="CompositeName">
          <!--Add search and replace rules for the import section of a composite
         Example:
         <searchReplace>
              <search>http://my-dev-server</search>
              <replace>http://my-test-server</replace>
         <searchReplace>
         <searchReplace>
              <search>8888</search>
              <replace>8889</replace>
         <searchReplace>-->
          <import>
          <searchReplace>
                <search>SearchString</search>
                <replace>ReplaceString</replace>
             </searchReplace>
          </import>
          <service name="dequeueJMSSiebelOrder">
             <!--Add search and replace rules for the binding properties-->
             <binding type="jca">
                <property name="jca.retry.count">
                   <replace>3</replace>
                </property>
                <property name="jca.retry.interval">
                   <replace>2</replace>
                </property>
                <property name="jca.retry.backoff">
                   <replace>2</replace>
                </property>
                <property name="jca.retry.maxInterval">
                   <replace>1</replace>
                </property>
             </binding>
          </service>
          <property name="oracle.composite.faultPolicyFile">
             <replace>oramds:/deployed-composites/FndIntgFaultPolicies_rev1.0/SOAFaultPolicies.xml</replace>
          </property>
          <!--Add search and replace rules for the component properties
         For components and service/reference bindings, you can add policy references.
         Example:
         <component name="*">
              <wsp:PolicyReference orawsp:category="management" orawsp:status="enabled" URI="oracle/log_policy"/>
         </component>-->
          <component name="ComponentName">
             <property name="activationAgent.dequeueJMSSiebelOrder.className">
                <replace>oracle.tip.adapter.fw.agent.jca.JCAActivationAgent</replace>
             </property>
             <property name="activationAgent.dequeueJMSSiebelOrder.portType">
                <replace></replace>
             </property>
          </component>
          <reference name="ReferenceName">
             <binding type="ws">
                <attribute name="port">
                   <replace>ReferencePort</replace>
                </attribute>
                <attribute name="location">
                <searchReplace>
                <search>SearchString</search>
                <replace>ReplaceString</replace>
             </searchReplace>
                </attribute>
             </binding>
          </reference>
          <reference name="ReferenceName">
             <binding type="ws">
                <attribute name="port">
                   <replace>ReferenceEndPort</replace>
                </attribute>
                <attribute name="location">
            <searchReplace>
                <search>SearchString</search>
                <replace>ReplaceString</replace>
             </searchReplace>
                </attribute>
             </binding>
          </reference>
       </composite>
       <!--Add search and replace rules for wsdls, xsd and jca files
         Example:
         <jca:property name="PollingInterval"><replace>10</replace></jca:property>
         <searchReplace>
              <search>http://my-dev-server</search>
              <replace>http://my-test-server</replace>
         <searchReplace>
         <searchReplace>
              <search>8888
              <replace>8889</replace>
         <searchReplace>
         or provide a new replace value like:
         <replace>http://my-new-server:8889/myservice</replace>-->
       <!--<wsdlAndSchema name="dequeueJMSSiebelOrder.wsdl|dequeueJMSSiebelOrder_jms.jca">
          <searchReplace>
             <search/>
             <replace/>
          </searchReplace>
       </wsdlAndSchema>-->
       <wsdlAndSchema name="dequeueJMSSiebelOrder.wsdl">
          <searchReplace>
             <search>SearchString</search>
             <replace>ReplaceString</replace>
          </searchReplace>
       </wsdlAndSchema>
    </SOAConfigPlan>  Regards
    PavanKumar.M
    Edited by: pavan4s on Jul 17, 2010 10:43 PM

  • Transformation issue in SOA 11g

    I have a SOA application with a webservice that receive XML messages from third party and through a mediator and JMS adapter writes to a JMS topic. The XML messages gets validated against a XSD and using XSL is transformed to the target format. I want to retain the original XML message with no transformation, but with transformation the message has some added element. I am attaching the four files XSL, XSD and the XML file before and after transformation. I am using SOA 11g
    XSL file_
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="../receiveESTA.wsdl"/>
    <rootElement name="odsCad" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="../ProduceOrtdJms.wsdl"/>
    <rootElement name="odsCad" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.2.0(build 091103.1205.1216) AT [TUE APR 20 16:26:09 EST 2010]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:xpath20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/jms/ORTDJMSDemo/receiveESTA/ProduceOrtdJms"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:tns="http://xmlns.oracle.com/sca/soapservice/ESTAProcessing/receiveESTA"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:inp1="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl tns inp1 xsd wsdl ns0 plt xpath20 bpws mhdr oraext dvm hwf med ids xdk xref ora socket ldap">
    <xsl:template match="/">
    <inp1:odsCad>
    <inp1:odsCadEvent>
    <inp1:datasetname>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadEvent/inp1:datasetname"/>
    </inp1:datasetname>
    <inp1:messagesequence>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadEvent/inp1:messagesequence"/>
    </inp1:messagesequence>
    <inp1:eventid>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadEvent/inp1:eventid/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadEvent/inp1:eventid"/>
    </inp1:eventid>
    <inp1:eventrevisionno>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadEvent/inp1:eventrevisionno/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadEvent/inp1:eventrevisionno"/>
    </inp1:eventrevisionno>
    </inp1:odsCadEvent>
    <inp1:odsCadAgency>
    <inp1:datasetname>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:datasetname"/>
    </inp1:datasetname>
    <inp1:messagesequence>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:messagesequence"/>
    </inp1:messagesequence>
    <inp1:eventid>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:eventid/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:eventid"/>
    </inp1:eventid>
    <inp1:eventrevisionno>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:eventrevisionno/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:eventrevisionno"/>
    </inp1:eventrevisionno>
    <inp1:agencyeventnumber>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:agencyeventnumber/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:agencyeventnumber"/>
    </inp1:agencyeventnumber>
    <inp1:agencyeventnumberrevision>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:agencyeventnumberrevision/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="/inp1:odsCad/inp1:odsCadAgency/inp1:agencyeventnumberrevision"/>
    </inp1:agencyeventnumberrevision>
    </inp1:odsCadAgency>
    </inp1:odsCad>
    </xsl:template>
    </xsl:stylesheet>
    XSD*
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent"
    elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!-- CAD EVENT -->
    <xs:complexType name="odsCadEvent">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <!-- CAD AGENCY -->
    <xs:complexType name="odsCadAgency">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyeventnumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="12"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="odsCad">
    <xs:complexType>
    <xs:choice minOccurs="1" maxOccurs="1">
    <xs:element name="odsCadEvent" type="odsCadEvent" minOccurs="0" maxOccurs="1"
    nillable="true" />
    <xs:element name="odsCadAgency" type="odsCadAgency" minOccurs="0" maxOccurs="1"
    nillable="true"/>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    XML file before transformation_
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="430009"/>
    <property name="tracking.ecid" value="0000IWTcdiF9xWD_n9P5iZ1BZnIF000FGG"/>
    <property name="transport.http.remoteAddress" value="10.103.50.20"/>
    </properties>
    <parts>
    <part name="request">
    <ns1:odsCad>
    <ns1:odsCadEvent>
    <ns1:datasetname>rest</ns1:datasetname>
    <ns1:messagesequence>12</ns1:messagesequence>
    </ns1:odsCadEvent>
    </ns1:odsCad>
    </part>
    </parts>
    </message>
    XML File after transformation_
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="430009"/>
    <property name="tracking.ecid" value="0000IWTcdiF9xWD_n9P5iZ1BZnIF000FGG"/>
    <property name="transport.http.remoteAddress" value="10.103.50.20"/>
    </properties>
    <parts>
    <part name="body">
    <inp1:odsCad>
    <inp1:odsCadEvent>
    <inp1:datasetname>rest</inp1:datasetname>
    <inp1:messagesequence>12</inp1:messagesequence>
    <inp1:eventid xsi:nil=""/>
    <inp1:eventrevisionno xsi:nil=""/>
    </inp1:odsCadEvent>
    <inp1:odsCadAgency>
    <inp1:datasetname/>
    <inp1:messagesequence/>
    <inp1:eventid xsi:nil=""/>
    <inp1:eventrevisionno xsi:nil=""/>
    <inp1:agencyeventnumber xsi:nil=""/>
    </inp1:odsCadAgency>
    </inp1:odsCad>
    </part>
    </parts>
    </message>
    Any suggestion to how to get this sorted
    Thanks

    Morever I do not want the extra odsCadAgency element displayed in my transformed XML file. How do I resolve it.
    Thanks

  • Error while starting SOA 11g

    Hi Gurus,
    I have recently started working on SOA 11g and I tried to install it in my machine.. Everything got installed fine without an error.
    Below are the component versions:
    1. Database : 11.1.0.6.0
    2. RCU Version : 11.1.1.3.3
    3. Weblogic Server : 10.3.2
    4. SOA Suite : 11g
    5. Jdeveloper : 11.1.2.0
    Now that I am trying to start my weblogic I am getting an error saying "
    "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    I tried starting the managed server but it also failed with the error
    <Jan 18, 2011 3:59:46 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Unable to obtain lock on C:\Oracle\Midd
    leware\user_projects\domains\base_domain\servers\SOAServer\tmp\SOAServer.lok. Server may already be running
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
    at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:749)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:488)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:446)
    at weblogic.Server.main(Server.java:67)>
    <Jan 18, 2011 3:59:46 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jan 18, 2011 3:59:46 PM IST> <Error> <WebLogicServer> <BEA-000383> <A criticalservice failed. The server will shut itself down>
    <Jan 18, 2011 3:59:46 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    However, I am able to login into Admin Consle but I am unable to deploy any BPEL Composite on it. Can you please help with your thoughts..???
    Regards,
    Vikas Manchanda
    Edited by: 829347 on Jan 19, 2011 12:00 AM

    Hi ,
    I don't see any entry like this in my SetSOADomainenv. cmd file. Howver I added it as per your suggestion, but still no luck.
    It is still showing up the same error.
    ####<Jan 19, 2011 2:27:37 PM IST> <Warning> <HTTP> <testmac> <SOAServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1295427457094> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SensorManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricMesh' while setting bean property 'fabricMesh'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMesh': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WSServiceBC' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'InstanceManager' while setting bean property 'instanceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InstanceManager' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'DOStoreFactory' while setting bean property 'DOStoreFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DOStoreFactory' defined in ServletContext resource [WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'FabricConfigManager' while setting bean property 'fabricConfigManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FabricConfigManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'MediatorServiceEngine' while setting bean property 'configurables' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MediatorServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-mediator.xml]: Cannot resolve reference to bean 'FaultRecoveryManager' while setting bean property 'faultRecoveryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FaultRecoveryManager' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'BPELServiceEngine' while setting bean property 'serviceEngines' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BPELServiceEngine' defined in ServletContext resource [WEB-INF/fabric-config-bpel.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Any Pointers..???
    Regards,
    Vikas

  • How to invoke secure web service from BPEL in SOA 11g

    In SOA 11g I have a simple bpel process in which I am invoking a secured webservice as partnerlink. The webservice which is used in bpel process is deployed in weblogic and the SSL port is enabled on weblogic server. The wsdl url starts with "https:\\hostname:port\servicename?wsdl"
    But I am getting compilation errors when i compiled the BPEL code
    Error(16,65): Load of wsdl "AddressBookManager.wsdl" failed
    Error(19,30): Load of wsdl "https://hostname:port/DV900/AddressBookManager?wsdl" failed
    Error(35,102): Cannot find Port Type "{http://oracle.e1.bssv.JP010000/}Oracle_E1_SBF_SEI_PkgBldFile_AddressBookManager" for "AddressBookManager" in WSDL Manager
    Can anyone please help me out in resolving this.
    Thanks,
    Shameem banu.

    Solution is you need to import the keystore into Jdeveloper jdk first.
    keytool -import -alias <name> -file <name>.pem -keystore <name>.jks -storepass <passwd>
    All details in <> are your specific keystore,pwd details.
    Then go to Jdeveloper/jdev/bin
    add the following to
    jdev.conf file
    AddVMOption -Djavax.net.ssl.trustStore=path_to_keystore\keystorename.jks
    AddVMOption -Djavax.net.ssl.trustStorePassword=password
    Then you can create partner link for https based wsdl
    Good Luck

  • Task.getProcessInfo().getProcessName Returns null -Oracle SOA 11g Worklist

    Hi,
    Im working on building custom worklist application using oracle SOA 11g Java API .I 'm able to query a list of tasks from the BPM server. But, When I try to find process name by invoking task.getProcessInfo().getProcessName() it returns null even I specify PROCESSNAME in my column list.Do i have to specify anywhere else except query columns ? What could be the reason?
    Thanks,
    Govindh

    If BPEL don't timed out, you can have Human task in Synchronous BPEL process.
    For this, you can have your synchronous reply before any Human task call back receive activities (this causes the timeout) or you can just create human task and no other call back receive activities.
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Request-Reply in JMSAdapter SOA 11g using a Topic and a Queue

    Hi All
    We are trying to implement JMS Request\Reply with Tibco EMS Server using JMS Request\Reply. Problem is that Tibco has exposed a topic (where request message has been enqueued) and replies the message is a pre defined JMS queue.
    I am trying to use JMS adapter in SOA 11g (OSB doesnt support request\reply as soon as destination is selected as Topic ) with foreign JMS server setup in weblogic.
    Problem is that when i invoke the composite, it errors out saying that request destination has to be a queue. I tried to find any sample that talks about request-reply with topics but could not find any.
    Is request-reply pattern supported with topics or topic-queue combinations in JMS adapter 11g? Please let u know. Thanks

    Hi All
    The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
    <adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
    wsdlLocation="RemoteOSBJMSService.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RequestReplyTopic"
    UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
    UIConnectionName="chdsez147855d"/>
    <endpoint-activation portType="Reply_ptt" operation="Reply"
    UITransmissionPrimitive="Request-response">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.soa.local.response.q"/>
    </activation-spec>
    </endpoint-activation>
    <endpoint-interaction portType="Request_ptt" operation="Request"
    UITransmissionPrimitive="Request-response">
    <interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
    <property name="TimeToLive" value="0"/>
    <property name="PayloadType" value="TextMessage"/>
    <property name="DeliveryMode" value="Persistent"/>
    <property name="DestinationName" value="jms.soa.local.request.topic"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
    Please help!

  • Send xML packet to TCP/IP socket in SOA 11g

    Send xML packet to TCP/IP socket in SOA 11g
    Hi,
    I have a requirement like
    I need to pass xml data to TCP/IP socket in the form of packets in SOA11g.
    How we can do this.Please advise me.step by step procedure helps more.

    Hi,
    There is a JCA Adapter for Sockets available... Have a look at this doc...
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_sock.htm#BABEBEJH
    Cheers,
    Vlad

  • Modifying Memory Optimization parameter for BPEL process in SOA 11g

    Hello
    I have turned on memory optimization parameter for my BPEL process in the composite.xml (11g)
    this is what I have in composite.xml:
    <property name="bpel.config.inMemoryOptimization">false</property>
    How do we modify this parameter in the EM console at runtime? I changed this property to "true" using the System MBean browser, but it wasn't taking effect. I thought the SOA server must be restarted (similar to what we used to do in 10g). But when I restart the SOA server, the parameter goes back to whatever the value was in the composite.xml ignoring the change I made in the System MBean browser
    Please share your thoughts.
    Thanks in advance.
    Raja

    Deploying a newer version is not an option, as the endpoints could change (not sure if it would in 11g, but in 10g it does) and also, our service consumers will be pointing to the older version.As mentioned above, if clients are using URL without version then call will be forwarded to default version of composite internally. No manual tweaking required for this. Just make sure that while deploying the new version you are marking it as default.
    Besides, we report on service metrics and having multiple versions just complicates things.Not at all. If you are not using versioning feature, you are really under utilizing the Oracle SOA 11g. Remember that metrics can be collected for a single composite with same effort, irrespective of the number of composite versions deployed. Only few product tables refer the version while storing composite name and rest all use only the composite name without version. I do not know how you are collecting service metrics but we use DB jobs for same it works perfectly with any number of composites having multiple versions deployed.
    The idea is to do some debugging and collect audit trail in case there is a production issue by disabling inMemoryOptimization parameter. This is a live production environment and deploying whenever we want is not even an option for us, unfortunately. Why not debug by increasing log level. Diagnostic logs are the best option to debug an issue even in production. For getting audit trail you may re-produce the issue in lower environments. I think no organization will allow re-deployments just for debugging some issue in production until and unless it is too critical issue to handle.
    Does this not supported in 11g? if it isn't, it does seem like a bug to me. You may always go ahead and raise a case with support.
    Regards,
    Anuj

  • How to add namespace prefix to root tag in XSL version 1.1  SOA 11g

    Hi Experts,
       Can any one post solution for adding namespace prefix to root tag using XSL version 1.1 in SOA 11g?
    I have tried the below options and none is working.
    1. Removing prefix add in exclude-prefixes in XSL.But still seeing no prefix for root tag.
    2. Added the <xsl-element>   tag with namespace.But it is not working
    3. Added the below XSL code and it is not working.
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       xmlns:ns0="https://api.ladbrokes.com/v1/sportsbook-couchbase/Temp.xsd">
      <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
      <xsl:template match="@* | node()">
       <xsl:copy>
       <xsl:apply-templates select="@* | node()"/>
       </xsl:copy>
      </xsl:template>
      <xsl:template match="/*">
       <xsl:element name="ns0:{local-name()}">
       <xsl:copy-of select="namespace::*" />
       <xsl:apply-templates select="@* | node()" />
       </xsl:element>
      </xsl:template>
    </xsl:stylesheet>

    Try this:
    <xsl:stylesheet  version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="@*|text()|comment()|processing-instruction()">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
        </xsl:template>
        <xsl:template match="/">
            <RootTag xmlns:ns0="https://api.ladbrokes.com/v1/sportsbook-couchbase/Temp.xsd">
                <xsl:apply-templates select="@*|node()"/>          
            </RootTag >
        </xsl:template>
        <xsl:template match="*">
            <xsl:element name="{local-name()}">
                <xsl:apply-templates select="@*|node()"/>
            </xsl:element>
        </xsl:template>
    </xsl:stylesheet>

  • Database lookup option in SOA 11g

    Hi,
    We need to call a database table ( look up table) for getting some information based on some search criteria , with in a SOA 11g BPEL component.
    We are considering the following options , but at the same time see some cons too.
    1.DB Adapter - select operation
    Cons : Not SOAP but making a DB call every time is costlier option. Looking for some caching support.
    2. Create an ADF-BC / SDO service on top of table and access it using ADF-BC service in SOA. Now access this using Entity variables in SOA.
    This would not create SOAP bindings at the same time we have EO Cache support which would further help increase in performance.
    Do you see any flaw in this understanding ?
    In Approach 2 above , I see an issue. Would EO caching retain for more than one instance ? As far as I know in ADF BC - EO cache works for each user session. So does that mean that EO cache is refreshed for another instance of SOA ?
    Any other ways to do caching apart from ADF BC ?
    Regards,
    Sridhar.

    If you are using DB Adapter, you have to define your web service, with assoicated schema file, in runtime the server will spent time to make sure your message is pertaining to the schema and the service is exposed as web service, in times you will configure the JCA adapter service with performance configurations.
    You need to do the above along with database performance tuning, when you use DBAdapter.
    But if you use the XSLT database functions it will be using only the database performance tuning only.
    Thanks,
    Vijay

  • Issues installing SOA 11G on Windows

    I am having trouble installing SOA 11.1.1.6 on Windows 64 bit.
    1. I installed RCU
    2. I installed JDK 1.7.0.25 in C:\Program Files\Java\jdk1.7.0.25
    3. I installed Web Logic Server and selected jdk from above path.(since while installing WLS i din't find JROCKIT, so I browsed for JDK from my C:Drive)
    4. While installing SOA 11G, when I give setup -jreLoc C:\Program Files\Java\jdk1.7.0_25  I am getting Error "Java Run Time Environment was not found in C:\Program\bin\javaw.exe"
    I have set JAVA_HOME in Environment Variables.
    Can some one please help me fix this issue.

    Yes. I validated it. I tried with below 2 locations. I have installed this before in Windows and Linux. Strange that I am struggling to do it now..Not sure what I am missing.
    C:\Program Files\Java\jdk1.7.0_25\jre
    C:\Program Files\Java\jre7
    When I try with Quotes i.e, setup -jreLoc "C:\Program Files\Java\jdk1.7.0_25\jre"I get a screen with Error:setup.exe has stopped working (below is the log)
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    setup.exe_unknown
      Application Version:    0.0.0.0
      Application Timestamp:    4e71ef42
      Fault Module Name:    setup.exe
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    4e71ef42
      Exception Code:    c0000005
      Exception Offset:    00002b2f
      OS Version:    6.1.7601.2.1.0.272.7
      Locale ID:    1033
      Additional Information 1:    cb5a
      Additional Information 2:    cb5adf8f5bac4bc39db6c83fb76b8021
      Additional Information 3:    855b
      Additional Information 4:    855b1466c96ca73472fe5c46cb1df042
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

Maybe you are looking for