Java Embedding Weird XML Node Error

Ok, I am going crazy. I have a java embedding node that takes a date string in, changes it to a different format and creates another date that contains the current time. if I run this in java to code run ok and there are no issues. At the end of the java I print out the string and they are exactly what I want. The thing that is going on is when I set the 2 string BPEL variables in the java embedding, when I try to reference them the 2nd time,I get a weird node object error. I get through the first pass ok. when I try to reference Test1 or Test2 on the 2nd pass I get the error below. Its like when I set the variable currentDB2UpdateDate and currentDB2CurrTimeDate it does something to them. Instead of setting it to just the string it seems to set it to some kind of object.
I have 3 steps here. Assign -> Java Embedding -> Assign.
Assign 1 => Initialize 2 String variables to X.
<code>
<assign name="Assign_2">
<copy>
<from expression="string('X')"/>
<to variable="currentDB2UpdateDate"/>
</copy>
<copy>
<from expression="string('X')"/>
<to variable="currentDB2CurrTimeDate"/>
</copy>
</assign>
</code>
Java Embedding =>
<code>
String currentFileDate = (String)getVariableData("currentFileDate");
String currentDate = "";
try
SimpleDateFormat sdfSource = new SimpleDateFormat("MM/dd/yyyy");
Date date = sdfSource.parse(currentFileDate);
SimpleDateFormat sdfDestination = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
currentFileDate = sdfDestination.format(date);
catch(ParseException pe)
System.out.println("Parse Exception : " + pe);
try
Calendar cal = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
currentDate = sdf.format(cal.getTime());
catch(Exception pe)
System.out.println("Parse Exception : " + pe);
System.out.println("currentFileDate : " + currentFileDate.toString());
System.out.println("currentDate : " + currentDate.toString());
setVariableData("currentDB2UpdateDate",currentFileDate);
setVariableData("currentDB2CurrTimeDate",currentDate);
</code>
Assign 3 =>
<code>
<assign name="Assign_1">
<copy>
<from variable="currentDB2UpdateDate"/>
<to variable="Test1"/>
</copy>
<copy>
<from variable="currentDB2CurrTimeDate"/>
<to variable="Test2"/>
</copy>
</assign>
</code>
<code>
<bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>Invalid to part type.
When performing the assign operation, the to node 2010-07-17 12:00:00 is invalid.
The node named in the error message was either null or an empty node set, and it was not an instance of org.w3c.Element.
Verify the node value at line number 819 is not null and is an instance of org.w3c.Element.
</summary></part></selectionFailure></bpelFault>
</code>
The 2nd pass to this throws the following error when trying to set Test1 and Test2 again... Its like it is setting the variable to an object and not just the string. I tried using toString() in the setVariable too and it didn't work. I don't get it.
Edited by: 806312 on Dec 1, 2010 8:13 AM
Edited by: 806312 on Dec 1, 2010 8:26 AM

I am also facing a similar issue.There is selection failure in assignment to local variable of BPEL .
PFB the logs :
parts: {{
summary=&amp;lt;summary&amp;gt;Invalid to part type.
When performing the assign operation, the to node false is invalid.
The node named in the error message was either null or an empty node set, and it was not an instance of org.w3c.Element.
Verify the node value at line number 3577 is not null and is an instance of org.w3c.Element.
&amp;lt;/summary&amp;gt;}
Here is the code:
<copy>
<from expression="xpath20:add-dayTimeDuration-to-dateTime($calculatednpexectime,'P200YT')"/>
<to variable="calculatednpexectime"/>
</copy>
It seems as if Oracle is not accepting the date format .
Is there some issue with local variables of new version of BPEL ??

Similar Messages

  • Java 5.0 XML Parsing Error

    I've written a XML parser awhile ago, and it works perfectly when running using Java 1.4.2_04.
    Now when running with Java 5.0 Beta 2, the parser simply crashes. It looks like when using node.getAttributes(), it reads in each attributes in reverse order than the parser in Java 1.4.2_04. The last attribute is indexed 0, and so forth ...
    I wonder if anyone else has experienced this? Is this a bug in Java 5.0 Beta 2? Any thoughts?
    Thanks in advance!

    But my question is why Java 5.0 XML parser reads in
    attributes in different order? Isn't that a potential
    compatibility problem for a lot of codes written for
    Java 1.4.2?The XML specification explicitly says that the order of attributes is meaningless. So your "why" is a pointless question. (You'll notice that all Java parsers return the attributes in a Map, which has no specified order.) And it's only a potential compatibility problem for code that erroneously relies on the behaviour of a particular parser.

  • Problem with  Jdeveloper Embedded OC4J  XML parsing

    Hi all,
    I am having a problem getting jdeveloper to work well. If I use jdeveloper to build the WAR file for my app and I deploy to Tomcat, the app runs fine with no error.
    However, if I try to run my app within the jdeveloper, I get this error -
    08/06/10 19:11:10 com.ibatis.dao.client.DaoException: Error while configuring DaoManager. Cause: java.lang.RuntimeException: XML Parser Error. Cause: oracle.xml.parser.v2.XMLDOMException: invalid character [ in name
    Caused by: java.lang.RuntimeException: XML Parser Error. Cause: oracle.xml.parser.v2.XMLDOMException: invalid character [ in name
    08/06/10 19:11:10 at com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.buildDaoManager(XmlDaoManagerBuilder.java:112)
    08/06/10 19:11:10 at com.ibatis.dao.client.DaoManagerBuilder.buildDaoManager(DaoManagerBuilder.java:47)
    I have tried to turn off XML parsing within Jdeveloper but no luck. I don't understand why jdeveloper will be trying to implicitly parse the XML doc, and wont even do it well.
    Is there a way I can turn off Embedded OC4J XML parsing ? and let it just use the parser in the application ? I mean Tomcat works fine with this application.
    Please help !

    I think maybe you use wrong adf lib when deploying your project to the OC4J.
    You can update your oc4j in the jdev.[JDEV->Tools->ADF Runtime Installer-> Standalone OC4J].
    Good luck
    Hart

  • Weird attribute validation error

    Hi!
    I'm trying to get an XML message to validate in Spring WS. I have the following XML Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema version="1.0"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               elementFormDefault="qualified"
               targetNamespace="http://namespace.lantmateriet.se/distribution/products/geoaccess/admindirekt/v1"
               xmlns:app="http://namespace.lantmateriet.se/distribution/products/geoaccess/admindirekt/v1">
      <xs:element name="FindCountyRequest">
        <xs:complexType>
          <xs:choice>
            <xs:element name="id" type="xs:string"  form="unqualified"/>
            <xs:element name="name" type="xs:string"  form="unqualified"/>
          </xs:choice>
          <xs:attribute name="detail" use="required">
              <xs:simpleType>
                  <xs:restriction base="xs:string">
                      <xs:enumeration value="GENERAL"/>
                      <xs:enumeration value="DETAILED"/>
                  </xs:restriction>
              </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:schema>When I send the following message...:
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
                   xmlns:app="http://namespace.lantmateriet.se/distribution/products/geoaccess/admindirekt/v1"
       <soap:Header/>
       <soap:Body>
          <app:FindCountyRequest detail="DETAILED">
             <id>21</id>
          </app:FindCountyRequest>
       </soap:Body>
    </soap:Envelope>...I get this error:
    WARN  XML validation error on request: cvc-complex-type.3.2.2: Attribute 'detail' is not allowed to appear in element 'app:FindCountyRequest'. at org.springframework.ws.soap.server.endpoint.interceptor.AbstractFaultCreatingValidatingInterceptor.handleRequestValidationErrors(AbstractFaultCreatingValidatingInterceptor.java:154)
    WARN  XML validation error on request: cvc-complex-type.4: Attribute 'detail' must appear on element 'app:FindCountyRequest'. at org.springframework.ws.soap.server.endpoint.interceptor.AbstractFaultCreatingValidatingInterceptor.handleRequestValidationErrors(AbstractFaultCreatingValidatingInterceptor.java:154)What?! How come it says that I must have the attribute and that, at the same time, it is not allowed?
    Any ideas?
    Thanks!

    I've come to the conclusion that the attribute is in the wrong namespace.
    How do I fix the schema so that the message validates?

  • Having a weird issue with my assign after java embedding

    hi,
    I'm having a weird issue with my assign activity, i am using a Java Embedding wherin i access a variable and assign it some data, later in next step when i try to assign some other data to this same variable in assign activity i get a Error message as below.
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} parts: {{ summary=Invalid to part type. When performing the assign operation, the to node THIS,IS,,TEST is invalid. The node named in the error message was either null or an empty node set, and it was not an instance of org.w3c.Element. Verify the node value at line number 795 is not null and is an instance of org.w3c.Element. } .
    i'm using soa 11.1.1.5
    Can anyone please help ?
    - Thanks
    Shirish

    Shirish,
    It's a bug and you will need to apply a patch for that.
    You can find all explanation in Oracle Support Id ID 1194228.1.
    Arik

  • Error in setDataVariable in Java Embedding

    Hi All,
    I am trying to write a simple java embedding----
    Here is the code.
    try{                            
    String firstName = ((oracle.xml.parser.v2.XMLElement)getVariableData("inputVariable","payload","/client:JavaEmbeddingBpelProcessRequest/client:input")).getFirstChild().getNodeValue();
    addAuditTrailEntry("Inputvalue is"+firstName);
    String sConcatString ="Hello!!!"+firstName;
    addAuditTrailEntry("OutputString is"+sConcatString);
    setVariableData("outputVariable","payload","/client:JavaEmbeddingBpelProcessResponse/client:result",sConcatString);
    addAuditTrailEntry("ENDING.....");
    catch (Exception e)
    e.printStackTrace();
    All the Audit trails come in the screen except the last one, just before where i m trying to assign to the result variable.
    I get some thing like this in the console:-
    Error in <assign> expression :<to> value is empty at line"".The XPath expression:"" returns zero node,when applied to the document shown below.
    oracle.xml.parser.v2.XMLElement@64d196
    This is a simple code i was trying. This code i found in the threads only, but for me this isnt working.
    Can anyone please help me to fix this prob.??
    I appreciate all the time n help for this.

    Here it comes:::
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/JavaEmbeddingBpel"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="JavaEmbeddingBpelProcessRequest">
              <complexType>
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="JavaEmbeddingBpelProcessResponse">
              <complexType>
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
    </schema>

  • Getting error while calling external Jars in BPEL by using Java embedding activity in soa 12c

    Hi,
    I am trying to use an external Jars for the business logic implementation. Here I need to pass XML as input and
    and I expect the "Password " field has to be return.
    Following are the steps I have followed:
    1) Created a java project with sample class and added the external jars into the project "Libraries &Classpath".
    2) Created a jar file out of it.
    3) Created a BPEL project with Java Embedding.
    4)Wrote the java code in java embedding activity.
    4) Added the above created jar file to the BPEL project's lib/jar  and added in SCA-INF/lib project folder as well.
    5) Imported the package with the class as in the jar (e.g <bpelx:exec
    import="pkg.testInterface"/>)
    6) Deploy the BPEL project.
    while deploying the SOA build is sucessful but my depoyment is incomplete.
    error:
    advices will be great....
    Regards,
    Dilip

    Hi,
    Can you confirm if the BPEL Version is 1.1 or 2.0.
    If you are using BPEL 2.0 you need to import the required jar/class file as:
    <import importtype="http://schemas.oracle.com/bpel/extension/java" location="pkg.testInterface"/>
    For BPEL 1.1 the syntax to import other jar/class file is:
    <bpelx:exec import="pkg.testInterface"/>
    If you import the classes in the correct format you will not face any deployment error.

  • How to use Java Embedding activity, getting error

    Below is a simple code where in I am just assigning input variable to output variable(of type long), using java embedding activity, and I am getting error in Java Embedding Activity step.
    <bpelx:exec name="Java_Embedding_1" language="java" version="1.4">
    <![CDATA[ 
    Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");   
    String arg1=inputValue1.getNodeValue(); 
    setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg1));]]>
    </bpelx:exec>
    Runtime Error:
    <runtimeFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>java.lang.*NumberFormatException*</code>
    </part><part name="summary"><summary>null</summary>
    </part><part name="detail"><detail>[Ljava.lang.StackTraceElement;@1c50684</detail>
    </part></runtimeFault>
    Could anyone please point out the mistake?

    No, that's not working. Throwing below error.
    faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {}
    parts: {{summary=<summary>XPath query string returns zero node.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity &amp;lt;to&amp;gt; part query should not return zero node.
    Please check the BPEL source at line number "" and verify the &amp;lt;to&amp;gt; part xpath query.
    My output varaible is of type long and there i m creating a Long object using it's constructor which takes in a string, Long(String s)
    Actually, I m not just priniting the input, but i need to perform some calculations also on the inputs, like
    Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");  
    Element inputValue2 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input2");  
    long arg1=Long.parseLong(inputValue1.getNodeValue());  
    long arg2=Long.parseLong(inputValue2.getNodeValue());  
    long arg3 = arg1+arg2; 
    setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg3));                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Payload XML DOM Object Update using Java Embedding

    Hi,
    I have a Java Embedding activity which updates the payload after making
    a call to a local EJB. The EJB sends back updated information. In my Java
    Embedding activity i try to update the payload nodes with the new information.
    It get's really cumbersome to do this sort of thing in BPEL. Basically i am trying
    to remove an existing node in the payload and replace it with a new node.
    I did so may things that i really don't remember what are they. Finally i managed to
    update the payload with the following code.
    org.w3c.dom.Element payload = (org.w3c.dom.Element)getVariableData("inputVariable","payload","/MSG");
    org.w3c.dom.Element oldNode = (org.w3c.dom.Element)getVariableData("inputVariable","payload","/MSG/TSLData");
    org.collaxa.thirdparty.dom4j.Element tslElem = com.collaxa.cube.xml.dom.DOMFactory.convertToCollaxaElement(oldNode);
    oldNode = (org.w3c.dom.Element)getVariableData("inputVariable","payload","/MSG/REC");
    payload.removeChild(oldNode);
    msgElem = com.collaxa.cube.xml.dom.DOMFactory.convertToCollaxaElement(payload);
    msgElem.add(recElem);
    I feel that there no proper interface to update the data in the payload values with
    nodes, string etc. It would be nice if we don't have to work with
    com.collaxa.cube.xml.dom.DOMFactory
    org.collaxa.thirdparty.dom4j.Element
    the collaxa classes.
    We need to have more than setVariableData, bascally good payload manipulation API's.
    Let me know if there are any alternatives to do this.
    Thanks,
    Senthil L

    I have been having the same difficulties. Were you able to find any documentation or javadocs for the Collaxa libraries? If so, I would greatly appreciate locating them.

  • Getting  Error: SCAC-50012 while using Java Embeding Activity

    Hi,
    I am using Jdeveloper 11.1.1.4.0 . I am using a Java Embedding Activity in my BPEL and when i compile the project, i got one error------Error: SCAC-50012
    The code i am using in Java Embedding activity is
    java.lang.String TraceLogMessage = null;
         java.lang.Boolean tracelogenabled;
    java.lang.String title = (java.lang.String)getVariableData("Title");
    java.lang.String instanceID = (java.lang.String)getVariableData("InstanceID");
    java.lang.String serviceName = (java.lang.String)getVariableData("ServiceName");
    tracelogenabled = oracle.apps.aia.core.eh.logging.AIALogger.isTraceLoggingEnabled("INFO","http://xmlns.oracle.com/ExecuteSalesOrderFulfillmentDeviceUpdateEBF");
    setVariableData("TraceLogEnabled", tracelogenabled);
    if (tracelogenabled.booleanValue())
    TraceLogMessage = "Starting " + serviceName + " Instance: " + instanceID + title; ;
    oracle.apps.aia.core.eh.logging.AIALogger.logTraceMessage("INFO", null ,TraceLogMessage);
    i have imported the following in bpel but there is no luck........
    <bpelx:exec import="java.util.logging.Logger"/>
    <bpelx:exec import="java.util.logging.Level"/>
    <bpelx:exec import="oracle.fabric.logging.LogFormatter"/>
    <bpelx:exec import="org.w3c.dom.*"/>
    <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>
    <bpelx:exec import="java.util.*"/>
    <bpelx:exec import="java.lang.*"/>
    <bpelx:exec import="java.math.*"/>
    <bpelx:exec import="java.io.*"/>
    <bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>
    Please help me with this......
    Thanks&Regards,
    suman

    Hi Lara,
    Thanks for the responce.......
    I checked the scac log file it contains the following code.
    ---------------------------------------------- scac logfile ----------------------------------------------------
    Mar 15, 2012 5:32:18 PM com.collaxa.cube.CubeLogger info
    INFO: validating "BPELProcess1.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
         at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:154)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:282)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:156)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:49)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
         at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
         at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Mar 15, 2012 5:32:23 PM CubeProcessGenerator compile
    WARNING: classpath is: D:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;;C:\JDeveloper\mywork\sampleApplication\JavaEmbed\SCA-INF\classes;C:\JDeveloper\mywork\sampleApplication\JavaEmbed\SCA-INF\classes;C:\JDeveloper\mywork\sampleApplication\JavaEmbed\SCA-INF\gen-classes;D:\Oracle\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel1-1-xbeans.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel_coherence_config.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\thirdparty.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpm-analytics.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\wsif-binding.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\monitor-rt-xbean.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\oracle.soa.bpmn.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\user-patch.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.thirdparty.jar;D:\Oracle\Middleware\jdeveloper\uddi\lib\oracle.soa.uddi.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\bpm-infra.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-scheduler.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\xmlunit-1.1.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-xpath-exts.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.wls.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-was.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-wls.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\classes;D:\Oracle\Middleware\oracle_common\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar
    Please help me how can i solve this issue.
    Thanks&Regards,
    Suman

  • Invocation error in Java Embedding activity of BPEL process in 10g

    Hi,
    I am facing an issue as below in Java embedding activity of BPEL process in 10g...
    Could not invoke: "GTM servlet URL" with verb: POST and context: null
    and the code in java embedding activity is as below...
    // create a new rest invoker stub
    RestInvocation invocation = new RestInvocation();
    org.w3c.dom.Element callOtm_process_InputVariable = (org.w3c.dom.Element)getVariableData("Variable_GTMTransmission");
    // get the result el - so we can derive the namespace needed
    org.w3c.dom.Element callOtm_process_OutputVariable = (org.w3c.dom.Element)getVariableData("Variable_GTMTransmissionAck");
    String GTMURL = "GTM servlet URL";
    try
    callOtm_process_OutputVariable = invocation.invoke
    (callOtm_process_InputVariable, "GET", GTMURL, null,
    callOtm_process_OutputVariable.getNamespaceURI());
    setVariableData("Variable_GTMTransmissionAck", callOtm_process_OutputVariable);
    } finally
    addAuditTrailEntry(invocation.getAuditAsString());
    If anybody is aware of this error, please help me to resolve this issue.
    Thanks in advance.

    Try copy the code from java embedding and paste it to eclipse and run it from there. you will find the exact issue.
    Thanks

  • XML Deserialization error while consuming Enterprise service in wd java..

    Hello,
    I am trying to build 2 webdynpro java webdynpro applications which consumes enterprise service for purchase order and another application for Busines partner.
    While i was able to successfully consume the PO service in webdynpro java and get the desired output for PO..i get XML Deserialization error while running appliation for Business Partner..
    These are the details/steps i followed for the Business Partner application:
    1. After creating the model using the enterprise service, i created a service controller from the model to the component controller..
    2. Out of many inputs/output attributes during mapping from model to component controller. i further mapped the context from CC to ViewC.
    3. In the wdDoInit() method, i added the follwing code:
        BPCreate model1 = new BPCreate();
        Request_BusinessPartnerERPCreateRequestConfirmation_In RequestC = new  Request_BusinessPartnerERPCreateRequestConfirmation_In(model1);
        BPERPCrteReqMsg_S CreateMessage = new BPERPCrteReqMsg_S(model1);
        BPERPCrteReq_SBP Cpartner = new BPERPCrteReq_SBP(model1);
    String Category = new String();
        String lf = new String();
        Cpartner.setInternalID(new String());
        Cpartner.setNumberRangeIntervalBusinessPartnerGroupCode(new String());
        Cpartner.setLifeCycleStatusCode(lf);
        Cpartner.setCategoryCode(Category);   
        CreateMessage.setBusinessPartner(Cpartner);
        RequestC.setBusinessPartnerERPCreateRequestMessage_Sync(CreateMessage);
        wdContext.nodeBusinessPartnerERPCreateRequestMessage_Sync().bind(CreateMessage);
    4. When i comment this code and run the application, the aplication comes up but the input fields are non-editable..
    5. If i place this code in wdDoInit() method, i get the Deserialization error..
    Any idea about why this error occurs and which areas in the application can lead to these errors?
    I checked that the service runs fine in soamanager.
    Thanks, JVR

    Hi Kishore,
    This error is majorly because while executing this Webdynpro application you are not entering all the mandatory fileds of WS.
    Please try to execute this WS from WS-Navigator, check which fileds are mandatory and then
    appropriately instantiate it in wdDoInit and pass all the fields required.
    Regards,
    Vaibhav Modi.

  • Java.rmi.ServerException: Internal Server Error (deserialization error: XML

    I am trying to transmit a document as a byte array to a web service using jax-rpc, and I get the following error:
    2004-05-25 08:04:39,468 exception [Thread-5] - [email protected]33fd java.rmi.ServerException: Internal Server Error (deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:58: Expected "</ns0:receivexmldocument>" to terminate element starting on line 2)
         at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:370)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:231)
         at com.mobius.cmsl.client.contentindexlistener.ContentWebServiceListenerIF_Stub.receivexmldocument(ContentWebServiceListenerIF_Stub.java:63)
         at com.mobius.cmsl.adapters.convera.client.ContentWebServiceClient.sendxml(ContentWebServiceClient.java:89)
         at com.mobius.cmsl.adapters.convera.client.ContentInterceptor.doGet(ContentInterceptor.java:89)
         at com.mobius.cmsl.adapters.convera.client.ContentInterceptor.doPost(ContentInterceptor.java:110)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    The code looks like:
    Client:
    clientStub = (ContentWebServiceListenerIF_Stub)new ContentIndexService_Impl().
    getContentWebServiceListenerIFPort();
    clientStub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endPoint);
    obj = clientStub.receivexmldocument(cd.externalLink.contents,inxml);
    Web Service:
    public String receivexmldocument(byte docstream[],
    String inxml
    ) throws RemoteException {
    The wsdl looks like:
    <message name="ContentWebServiceListenerIF_receivexmldocument">
    <part name="arrayOfbyte_1" type="xsd:base64Binary"/>
    <part name="String_2" type="xsd:string"/></message>
    <operation name="receivexmldocument" parameterOrder="arrayOfbyte_1 String_2">
    <input message="tns:ContentWebServiceListenerIF_receivexmldocument"/>
    <output message="tns:ContentWebServiceListenerIF_receivexmldocumentResponse"/></operation>
    The documents I am sending do contain special characters like maybe japanese or italian.

    Sounds like the xml you are sending is not well-formed. Please start with simple xml documents to see if it works.

  • Java embedding error

    Hello all
    I'm using bpel 10.1.3.1.0, and I'm experiencing the following problem: I'm am not able to use the JAVA EMBEDDING in a process which polls for records using the db adapter.
    Steps to reproduce the problem:
    - I create a very simple bpel process which poll for records in a table.
    - I deploy it, write manually a record in the polled table and the process start.
    - I can see the record picked up through the visual flow in the console
    - everything looks ok and the process ends correctly
    - now I add a java embedding activities just after the receive
    - getting the data through getVariableData() and replacing the special characters and then again setting into the same variable.
    - redeploy, write a record in the polled table and the process start.
    - but the process ends in error with the following message "XMLDOMException has been thrown. invalid namespace for prefix xmlns". This is the only output from the instance. Even polling and other tasks are not executing with JAVA EMBEDDING activity.
    Below is the snippet...
    *<bpelx:exec name="Java_Embedding_encode_special_chars" language="java"*
    version="1.4">
    *<![CDATA[java.lang.String temp = (String) getVariableData("niku_xog_project_write_xml_as_string");*         
    *System.out.println("===================================String before manipulation: " + temp);*         
    *temp = temp.replaceAll("&", "&amp;amp;").replaceAll("\"", "&quot;quot;");*          
    *System.out.println("==================================String after manipulation: " + temp);*         
    *setVariableData("niku_xog_project_write_xml_as_string", temp);]]>*
    *</bpelx:exec>*
    I am not using any import statement because the same snippet is working in another project having no polling. According to other thread it is bug 5664594. But I am not able to download this patch from metalink because of not having the credentials. If it can fix the problem then can anybody give me another link for downloading this patch other than metalink?

    Brian,
    Thanks for the reply. For your questions:
    1. A firewall between your process and the rest of the cluster.
    I run Weblogic and Coherence server on the same development laptop, so no firewall here.
    2. Mis/different configuration between your process and the cluster.
    I did not use any customized configuration files, all configs are straight from coherence.jar.
    3. A classloader issue leading to the wrong cache configuration being picked up.
    Since I use the same jar in Coherence server and weblogic server, and confgurations are from the jar, so they are the same.
    4. Using different and incompatible versions of Coherence between your process and the cluster.
    See answer to 3.
    I do not see the process from BPEL join the coherence server from the server console.
    I am wondering if Weblogic server block coherence multicast messages, if that's the case, what other choices I can have to communicate to coherence server? is Coherence-extend the right direction to explore?
    Thanks
    George

  • Getting Error 'Root XML Node nqw not found in island!'

    I have upgraded my setup from OBIEE 11.1.1.5.0 to 11.1.1.5.1 and then uploaded a catalog created in older version, 11g itself.
    I'm able to run the dashboards and see all reports. They run absolutely fine, show all correct data.
    However if I try to edit report or try to open them in Answers module .... from anywhere (Catalog Link/ Edit option below reports in Dashboard) it gives me this error.
    " Root XML Node nqw not found in island! "
    It's strange. I tried following:
    1. doing a Upgrade of catalog by setting up parameter in instanceconfig.xml file
    <Catalog>
    <UpgradeAndExit>true</UpgradeAndExit>
    </Catalog>
    and then reverting back to false.
    2. Also tried the GUID upgarde by setting parameters in instanceconfig.xml file and NQSConfig.ini file
    none helped.
    Any help?

    Hi Naresh,
    I hope you have resolved the issue by this time.
    In my case, it was related to an invalid filter on the report.
    I have removed the filter by updating the report .xml file from Catalog Manager.
    Hope this helps other with similar issue.
    Thanks,
    Ravi

Maybe you are looking for

  • Odd burning issue

    So i've tried to burn a playlist using Itunes 9 twice and both times it failed. It gets done with the first song and when i turn my back, something odd happens and it claims it finished but asks me if i want to import the songs into my library, stati

  • In How Many ways or Techinques used to have relation beween two factables which dont have common dimesions

    Hi folks,  In How Many ways or Techinques used to have relation beween two factables which dont have common dimesions or  how to establish relation beween two factables. Thanks Ravindra KAvali

  • OBIEE11.1.1.6 Weblogic server error.

    Hi All, I have installed OBIEE11G in Linux box.First 1 days it working fine without any issues,After my weblogic server was down.I cant able to start. I tryed below steps. - <MW_HOME>/domains/<DOMAIN_NAME>/servers/<SERVERNAME>/data/ldap/ldapfiles - R

  • Error Code -2147467259 when custom FrontEnd Callback is called from Teststand.

    Hello, For the project I am working on, the standard LoginLogout sequence has to be overriden from a custom one. The sequence i implemented does the following: A connection to a database, located on a virtual machine at my pc, is initially opened, th

  • RFC error sending a table

    People.. please... I am sending one table to one RFC with this code: wdContext.nodeZctftv003_Input().bind( inputSol ); wdContext.nodeT_Saida().bind( new ArrayList() ); wdContext.nodeT_Saida().addElement(  tSaida );      inputSol.modelObject().execute