Problem with DOM API

Hi,
I use org.w3c.dom to create an XML file.
I need to configure "xmlns" into father and child tags, because I have to send my XML to a soap webservice,
and the server arises "error in schema XML" if I put "xmlns" only in father, not in child.
The problem is that DOM API automatically removes the "xmlns" from child, and I didn't find a way to force it
to use "xmlns" at any time.
This is my XML before to generate the DOM tree:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> 
  <nfeDadosMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRecepcao2"> 
    <enviNFe versao="2.00" xmlns="http://www.portalfiscal.inf.br/nfe"> 
      <idLote>75600</idLote> 
      <NFe xmlns="http://www.portalfiscal.inf.br/nfe"> 
        ... many internal tags ...
      </NFe> 
    </enviNFe> 
</nfeDadosMsg>After to generate the DOM tree, NFe becomes without "xmlns", only "<NFe>".
If I change to:
<NFe xmlns="http://www.portalfiscal.inf.br/nfeXXX">then the DOM tree becomes fine with "xmlns" into enviNFe and NFe, but
because the xmlns's are differents.

If you stop thinking of that as an "xmlns attribute" and start thinking of it as what it really is, namely a namespace declaration, then you might understand the part of the DOM documentation which refers to namespaces better. You might also track down the rule which describes what a "default" namespace is and how it's inherited (and overridden) by child elements. Without that these things are just going to be a mystery to you.
Also be sure to make your DOM be namespace-aware if you're going to use namespaces. By default it isn't. I believe it's the factory which has the setNamespaceAware method and not the parser.

Similar Messages

  • Problems with BPEL API calling a BPEL workflow

    Hallo,
    i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
    I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
    When this command is processed i following error:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
    The initialization of the deliveryService works fine.
    The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
    jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
    jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
    jndiUsername = "xxx";
    jndiPassword = "yyy";
    I get folowing errror message:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone tell me what i am doing wrong?
    BS
    PS: i used following tutorial to create my code for calling BPEL:
    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

    got some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
    jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
    jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
         at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
         at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
         at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone help me?
    What is wrong wis my ProviderURL?
    BS

  • Problem with adobe api for LC

    Hello to all,
    I'm trying to write code that retrive a file from registry but I ALWAYS get the following error:
    root cause
    java.lang.NoClassDefFoundError: com/adobe/ebxml/registry/services/query/filter/Clause
    java.lang.Class.getDeclaredConstructors0(Native Method)
    java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
    java.lang.Class.getConstructor0(Class.java:1930)
    java.lang.Class.newInstance0(Class.java:278)
    java.lang.Class.newInstance(Class.java:261)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:72)
    org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275 )
    org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java: 78)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:705)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Thread.java:534)
    What about this?
    I'm using Eclipse 3.1 (adobe has advised to me) and jboss 3.2.
    I'm very very tyred to see this error :-(((
    Any help?
    Thank you!!!!!
    I'm goind to became crazy.. ;-P
    Sorry for my poor english.
    Roberto.

    Ok, I have discarded eclipse :-) now I use Netbeans 5.0 and I don't see that error any more.
    By thw way I have some problems with adobe-registry-api.jar;
    Do anyone use this API write programs that use liveCycle registry?
    I would like get the document from registry, the version of them, and so on.
    I found some example from adobe, but also these examples have problem with data type, classes and so on.
    Every problem leads back to adobe-registry-api.jar and whichever other class is correctly used from Netbeans.
    Someone have any idea or suggestion?
    Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you! :-)
    Bye,
    Roberto.

  • Problems with Reflection API and intantiating an class from a string value

    I want to instantiate a class with the name from a String. I have used the reflection api so:
    static Object createObject(String className) {
    Object object = null;
    try {
    Class classDefinition = Class.forName(className);
    object = classDefinition.newInstance();
    } catch (InstantiationException e) {
    System.out.println(e);
    } catch (IllegalAccessException e) {
    System.out.println(e);
    } catch (ClassNotFoundException e) {
    System.out.println(e);
    return object;
    Let's say my class name is "Frame1".
    and then if i use:
    Frame1 frm = (Frame1) createObject("Frame1");
    everything is ok but i cannot do this because the name "Frame1" is a String variable called "name" and it doesn't work like:
    name frm = (name) createObject("Frame1");
    where i'm i mistaking?
    Thanks very much!

    i have understood what you have told me but here is a little problem
    here is how my test code looks like
    Class[] parameterTypes = new Class[] {String.class};
    Object frm = createObject("Frame1");
    Class cls = frm.getClass();
    cls.getMethod("pack",parameterTypes);
    cls.getMethod("validate",parameterTypes);
    everything works ok till now.
    usually if i would of had instantiated the "Frame1" class standardly the "cls" (or "frm" in the first question ) object would be an java.awt.Window object so now i can't use the function (proprietary):
    frame_pos_size.frame_pos_size(frm,true);
    this function requires as parameters: frame_pos_size(java.awt.Window, boolean)
    because my cls or frm objects are not java.awt.Window i really don't find any solution for my problem. I hope you have understood my problem. Please help. Thanks a lot in advance.

  • Problem with Scheduler API

    Hello Friends
    I am trying this concept of Job Scheduler API of Netweaver for the first time . The problem that I am encountering is , after successfull deployment of my application DC , I cant see the job created by me in the job definations on server
    I am laying down the approach that I took for the development of job : -
    1) I created one EJB Module DC( sample_mdb_session ) and created one Message Driven bean
    ( JobBean ) and laid down the logic to be run on the execution of job
    I have also included the scheduler api in the build path of my DC
    2) nextly I created the required job-definition.xml and did the changes in ejb-j2ee.xml
    ejb-j2ee.xml
    <enterprise-beans>
    <enterprise-bean>
    <ejb-name>com.sap.scheduler.examples.session.JobBean</ejb-name>
    <jndi-name>JobBean</jndi-name>
    <resource-ref>
    <res-ref-name>JobQueueFactory</res-ref-name>
    </resource-ref>
    <message-destination-ref>
    <message-destination-ref-name>JobQueue</message-destination-ref-name>
    <jndi-name>JobQueue</jndi-name>
    </message-destination-ref>
    </enterprise-bean>
    </enterprise-beans>
    job-definitons.xml
    <job-definitions>
    <job-definition name="JobBean"
    description="Logs a string and calculates its length">
    <job-definition-parameter name="UserName"
    data-type="String"
    direction="IN"/>
    <job-definition-parameter name="NameLength"
    data-type="Integer"
    direction="OUT"/>
    </job-definition>
    </job-definitions>
    3) In the application DC( sample_application_dc ) I did the required changes in application-j2ee-engine.xml
    <application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
    <reference reference-type="hard">
    <reference-target provider-name="sap.com" target-type= "service">
    scheduler~runtime
    </reference-target>
    </reference>
    <modules-additional>
    <module>
    <entry-name>demo.sap.com~sample_mdb_session.jar</entry-name>
    <container-type>scheduler~container</container-type>
    </module>
    </modules-additional>
    </application-j2ee-engine>
    The document that i had reffered to construct everything was actually dealing with an EJB project and a respective .ear project, things were working fine till the time I was dealing with local EJB projects but as soon as I started working with DCs , the problems occured
    And when i deployed the application on the server it is deployed successfully , but I cant see the job in job definitions in SAP Netweaver Administrator > java scheduler section
    What i am doubting is that the changes that i did in the xmls are not apt , so If any one on the forum has done the scheduling job earlier can please send the required xml code as that may help in solving the problem

    hi,
    i hope u follow this [lin k|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e]
    and the architecture and sample application [this |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8ab5056-0e01-0010-5581-d3e51724ee21]
    thanks and regards
    bvr

  • Problem with EGO_ITEM_PUB API

    Hi All,
    We are using EGO_ITEM_PUB.PROCESS_ITEMS API to insert data into our staging table. There are about 4000 records in our staging table which will update near about 60,000 records in mtl_system_items table. This process takes about 14 hrs to make complete update. In production we have 20,000 (Staging table, which means nearly 3-5 lakhs in MTL_SYSTEM_ITEMS table) records to be updated and this will take days to complete the update process.
    Any other work around which will take less time to complete this will be feasible. Pointers in this direction will be appreciated.
    Thanks in advance
    Thanks,
    Ashu Anand

    Hi Ashu,
    Is it possible for you to use Import Item Interface program instead of API? In open interface you have parallel execution facilitiy which will allow to run many parallel processing on records having set_process_id field.
    I understand changing that code is problem but you need to do cost benefit analysis and choose.
    Sunil

  • Problem with search API -- TextSearchConstraint.SOUNDS_LIKE

    Hi All,
    Im trying to use TextSearchConstraint.SOUNDS_LIKE to find similiar data records in MDM repository.
    There are 3 records in table "MDM_BUSINESS_PARTNERS", the value of it' "name" field are: "akedemic",  "akedemci",  and "akedemic Inc." respectively.
    below is the code of setting conditions:
    TextSearchConstraint constraint = new TextSearchConstraint("akedemic", TextSearchConstraint.SOUNDS_LIKE);
    search.addSearchItem(name_dim, constraint);
    I expect to use TextSearchConstraint.SOUNDS_LIKE t get all these 3 records, but the search only returns one record "akedemic",  anyone can explain me the reason?
    Thanks & Best regards,
    Bin
    Message was edited by:
            Bin Dong

    I tried in the Data Manager Free Form Search with the values you provided.
    It returs only 2 records with Sounds like constraint.
    Note: The first value and third value you provided are the same.
    If your data is just like the example you provided, you should get 2 records back.
    For testing the Search API, you can use the Data Manager to see if the API returned results are the same as in Data Manager.
    Example:
    You can try the Sounds like constraint with the values for 2 records
    quiet
    quite
    Have the constraint as sounds like quiet
    You will get the two records back.

  • Problem with Collection API method LIMIT?

    Hi,
    I am trying to learn PL/SQL in my free time and I can't get collection_name.LIMIT to work correctly.
    declare
    type list is table of integer;
    set_a list := list(1,2,3,3);
    i pls_integer := 0;
    begin
    set_a.trim(2);
    i := set_a.limit;
    dbms_output.put_line('Trim(2) leaves ' || to_char(i) || ' spaces in list');
    end;
    The above code prints 'Trim(2) leaves spaces in list'. I first tried putting set_a.limit inside the to_char and got the same results. I tried using it in the expression for an IF statement as I have read in the book and online; something like if set_a.limit < 4 then... This returns true, while set_a.limit > 1 returns false.
    Am I doing something wrong?
    Oh, and I am using the win32_11gR2_database I got from the Oracle download page on Windows XP SP3.
    Thanks.
    Edited by: user13107973 on Aug 24, 2010 3:08 PM

    I figured it out, on closer inspection I see it is only used for varying arrays, and I was trying it on a nested table... Thanks for the advice.
    So, I am reading a horrible book full of typos called "Oracle Database 11g PL/SQL Programming" from the Oracle Press and McGraw Hill.
    BULK COLLECT INTO, page 123
    "The LIMIT statement lets you constrain the size of bulk selections, but you can only use it with explicit cursors." - NOT what I asked about.
    FORALL, page 127
    "The FORALL loop is designed to work with Oracle collections. It lets you insert, update, or delete bulk data." - NOT what I asked about.
    Collection API, page 253
    "The LIMIT method returns the highest possible subscript value in a collection. It can only return a PLS_INTEGER type and can only be used by a VARRAY datatype. It has the following prototype..."
    Edited by: user13107973 on Aug 25, 2010 12:09 PM
    Edited by: user13107973 on Aug 25, 2010 12:09 PM

  • Having problem with DirectPath API LoadStream

    Hi,
    I am attempting to use the direct path API in Oracle 8.1.7 (SUN OS 5.8) to perform large data loads. For the most part I've got the interface doing what I want it to do, however I am also doing statement caching. For instance, after a transaction has been committed (i.e. we call OCIDirPathFinish) the statement goes into a cache to be reused. It will ONLY be reused for the same table that it was originally prepared for. When a cached statement is going to be reused, I perform the following steps:
    1. call OCIDirPathColArrayReset
    2. call OCIDirPathStreamReset
    3. call OCIDirPathColArrayEntrySet for each data entry
    4. call OCIDirPathConvertToStream
    5. call OCIDirPathLoadStream
    6. call OCIDirPathDataSave
    7. call OCIDirPathFinish
    Steps 1 through 4 execute without error, however step 5 returns an ORA-01001 - invalid cursor error. The whole process will work if I perform all of the steps of preparing the DirPath context again, but I'm trying to prevent that from happening with every transaction. I tried only performing a call to OCIDirPathPrepare, but it returns with an error message telling me that my DirPath context handle is already prepared. I then thought that perhaps my stream was corrupt somehow, so I freed up the old stream handle and created a new one, but I got the same ORA-01001 error when I tried to load the stream.
    I also, tried to suppress the call to OCIDirPathFinish, but this leaves the partition that I am loading in some sort of direct path mode which seems to prevent other queries to that partition.
    Anyone have any suggestions?
    Thanks.

    Go back where you downloaded the API and read the FAQ. I think it's the question number 2.

  • Problem with ProductWS_ProductInsertOrUpdate_Input api call

    Hi All,
    There seems to be an issue with siebel's ProductWS_ProductInsertOrUpdate_Input api call on release 14 of CRM OnDemand.
    The api call is failing if I am trying to update and insert the product records in a same call based on the IntegrationId.
    The Siebel CRM on demand URL we used is:
    https://secure-ausomxapa.crmondemand.com/Services/I ntegration
    The sample soap request used is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/enve lope/" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:prod="urn:/crmondemand/xml/product" xmlns:ns="urn:crmondemand/ws/product/10/2004">
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
    <prod:ListOfProduct>
    <prod:Product>
    <prod:IntegrationId>AAPA-KYTAR</prod:IntegrationId >
    <prod:Description>desc nk_test3</prod:Description>
    <prod:Orderable>Y</prod:Orderable>
    </prod:Product>
    <prod:Product>
    <prod:ExternalSystemId>nk_test4</prod:ExternalSyst emId>
    <prod:PartNumber>nk_test4</prod:PartNumber>
    <prod:Name>nk_test4</prod:Name>
    <prod:Description>desc nk_test4</prod:Description>
    <prod:Orderable>Y</prod:Orderable>
    </prod:Product>
    </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    The response error is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env elope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc e" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Multiple matches found for instance of integration component 'Internal Product' using search specification '' in the business component 'Internal Product', based on user key 'Product User Key: 2'.(SBL-EAI-04390)</faultstring>
    <detail>
    <siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault">
    <siebelf:error>
    <siebelf:errorsymbol>IDS_ERR_EAI_SA_MULTIPLE_MATCH </siebelf:errorsymbol>
    <siebelf:errormsg>Multiple matches found for instance of integration component 'Internal Product' using search specification '' in the business component 'Internal Product', based on user key 'Product User Key: 2'.(SBL-EAI-04390)</siebelf:errormsg>
    </siebelf:error>
    </siebelf:errorstack>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Also the same soap request was passing when we are using old siebel crm on demand release 12 urls:
    https://secure.crmondemand.com/Services/Integration or
    https://siebel.crmondemand.com/Services/Integration
    Also note that same API call works on release 14 if I perform all updates at one go and all inserts at one go.
    So my doubt is:
    1) Is there any change in handling of ProductWS_ProductInsertOrUpdate_Input api call for release 14 (or)
    2) do we need to do some setup/configuration at siebel end?
    Please help us in resolving this issue.
    Thanks,
    Nitesh K

    Alex,
    Thanks for the reply. I can understand the same with the response error that there are multiple records with the same user key exists. But why the same error is not getting thrown if I submit the same SOAP request for those two products individually? I am able to submit multiple products which are new in one SOAP request and multiple products which needs to be updated(i.e i already have there ProductId and IntegrationId) in another SOAP request using the same InsertOrUpdate api call. But when I submit one product which is new(i.e. to insert) and one which already exists(i.e to update) in a single SOAP request, then its giving me that error.
    One more strange thing is(as mentioned earlier) this same single SOAP request works in R12 of CRM OnDemand.
    Anyways please find below how I tested my investigation:
    I created two products in our BigMachines application "nk_11111_part" and "nk_22222_part" to integrate with siebel. Now I first generated SOAP request for nk_22222_part as below:
    <soapenv:Envelope>
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
         <prod:ListOfProduct>
              <prod:Product>
              <prod:ExternalSystemId>nk_22222_part</prod:ExternalSystemId>
              <prod:Name>nk_22222_part</prod:Name>
              <prod:PartNumber>nk_22222_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nnk_22222_part</prod:Description>
              <prod:DealerInvoicePrice>454</prod:DealerInvoicePrice>
              </prod:Product>
         </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Then I submitted the request and got ProductId and IntegratinId as "AAPA-LF3CR" in SOAP response. This we will store in our DB and use it for updating the same product for subsequent calls.
    Then I generated SOAP request for both the products nk_11111_part(not integrated) and nk_22222_part(integrated product) as below:
    <soapenv:Envelope>
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
         <prod:ListOfProduct>
              <prod:Product>
              <prod:ExternalSystemId>nk_11111_part</prod:ExternalSystemId>
              <prod:Name>nk_11111_part</prod:Name>
              <prod:PartNumber>nk_11111_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nk_11111_part</prod:Description>
              <prod:DealerInvoicePrice>324</prod:DealerInvoicePrice>
              </prod:Product>
              <prod:Product>
              <prod:ProductId>AAPA-LF3CR</prod:ProductId>
              <prod:IntegrationId>AAPA-LF3CR</prod:IntegrationId>
              <prod:ExternalSystemId>nk_22222_part</prod:ExternalSystemId>
              <prod:PartNumber>nk_22222_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nk_22222_part</prod:Description>
              <prod:DealerInvoicePrice>454</prod:DealerInvoicePrice>
              </prod:Product>
         </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Now when I submit this request I am getting the above mentioned error. Note that both the products are newly created products in our application. So only user key ExternalSystemId with "nk_22222_part" for our integrated product exists
    in siebel. So logically the InsertOrUpdate api call should insert the first product "nk_11111_part" and update the
    second product "nk_22222_part". As mentioned earlier, the same flow works in R12 of Siebel CRM OnDemand.
    We are struck with this issue. Please help us and reply asap.
    Thanks,
    Nitesh K

  • Problem with drawing api and textfield

    I have a flash file that will be used on multiple sites and
    therefore will need to be able to change it's colors based on
    colors fed in through parameters. I'm trying to draw a rounded
    rectangle button with some text on it. I can get everything to draw
    except the text. When I debug it, the textfield variables show up
    with everything set up properly so I'm not sure why it won't
    display. Here's the code that creates the button and text. And it's
    adding the Sprites to an movie clip on my stage called btnBG in
    case you're wondering what that is.
    import flash.display.Sprite;
    import flash.display.GradientType;
    import flash.geom.ColorTransform;
    import flash.events.MouseEvent;
    var btnSprite:Sprite = new Sprite(); //main button sprite
    var btnOutline:Sprite = new Sprite(); //outline for button
    var matrix:Matrix = new Matrix();
    var btnCircleOutline:Sprite = new Sprite();
    var btnCircle:Sprite = new Sprite();
    var btnArrow:Sprite = new Sprite();
    var btnOverlay:Sprite = new Sprite();
    btnCircleOutline.graphics.beginFill(btnOutlineStartColor,
    1);
    btnCircleOutline.graphics.drawCircle(59,11,7);
    matrix.createGradientBox(15, 15, Math.PI/2,0,0);
    btnCircle.graphics.beginGradientFill(GradientType.LINEAR,
    [btnEndColor, btnStartColor], [1,1], [0,255], matrix);
    btnCircle.graphics.drawCircle(59,11,6);
    //draw arrow shape
    btnArrow.graphics.beginFill(0xcad7e9, 1);
    btnArrow.graphics.moveTo(57, 7);
    btnArrow.graphics.lineTo(62, 11);
    btnArrow.graphics.lineTo(57, 15);
    btnArrow.graphics.endFill();
    //draw invisible overlay
    btnOverlay.graphics.beginFill(0xffffff,0);
    btnOverlay.graphics.drawRect(0,0,70,22);
    btnOverlay.buttonMode = true;
    btnOverlay.useHandCursor = true;
    btnOverlay.addEventListener(MouseEvent.CLICK, clickHandler);
    //draw button outline and gradient fill
    matrix.createGradientBox(70,22,Math.PI/2,0,0);
    btnOutline.graphics.beginGradientFill(GradientType.LINEAR,
    [btnOutlineStartColor, btnOutlineEndColor], [1,1], [0,255],
    matrix);
    btnSprite.graphics.beginGradientFill(GradientType.LINEAR,
    [btnStartColor, btnEndColor], [1,1], [0,255], matrix);
    btnOutline.graphics.drawRoundRect(0,0,70,22,5,5);
    btnSprite.graphics.drawRoundRect(1,1,68,20,3,3);
    //draw buy now text on button
    var btnText:TextField = new TextField();
    var txtFormat:TextFormat = new TextFormat();
    txtFormat.font = "Arial";
    txtFormat.size = 18;
    txtFormat.color = 0x000000;
    btnText.setTextFormat(txtFormat);
    btnText.embedFonts = true;
    btnText.text = "Buy Now";
    btnText.selectable = false;
    btnBG.addChildAt(btnOutline, iIndexer++);
    btnBG.addChildAt(btnSprite, iIndexer++);
    btnBG.addChildAt(btnCircleOutline, iIndexer++);
    btnBG.addChildAt(btnCircle, iIndexer++);
    btnBG.addChildAt(btnArrow, iIndexer++);
    btnBG.addChildAt(btnText, iIndexer++);
    btnBG.addChildAt(btnOverlay, iIndexer++);

    You can only set embedFonts to true if you are using a font
    in the library. There is no need to embed the Arial font as it is
    on basically all computers, also use btnText.defaultTextFormat =
    txtFormat;.
    txtFormat.font = "Arial";
    txtFormat.size = 18;
    txtFormat.color = 0x000000;
    btnText.defaultTextFormat = txtFormat;
    //btnText.embedFonts = true;
    btnText.text = "Buy Now";
    btnText.selectable = false;

  • Cisco Prime 2.1 problem with API/Client

    Hi,
    im having a problem with the API output i get from Cisco Prime Infrastructure. The URL im trying to GET info from is:
    https://<URL>/webacs/api/v1/data/Clients
    The output shows that im missing data from a specific ID. Example:
    {"@url":"https:\/\/prime.lmv.lm.se\/webacs\/api\/v1\/data\/Clients\/1280389614","@type":"Clients","$":"1280389614"}
    Then i try to GET the info regarding this ID: https://<URL>/webacs/api/v1/data/Clients/1280389614
    {"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"No such entity as Clients \/ 1280389614.-PRS-101","id":"presentation.PRS-101","uriPath":"data\/Clients\/1280389614","queryParams":"{}"}}
    So something is wrong here, so when i add ".full=true" parameter i get the following error as it cannot show the client data:
    https://<URL>/webacs/api/v1/data/Clients.json?.full=true&.firstResult=1000&.maxResults=1000
    {"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'; nested exception is org.hibernate.HibernateException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'","exception":"org.springframework.orm.hibernate3.HibernateSystemException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'; nested exception is org.hibernate.HibernateException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'","uriPath":"data\/Clients","queryParams":"{.full=[true], .firstResult=[1000], .maxResults=[1000]}"}}
    Any idea how to solve this issue, how can i find the client that is causing this problem? In my script im reading all the clients in the network to a third party application. But right now its hard to get this output in a smart way. It might be resolved in 2.2, but it feels like the data i corrupt in some way so i doubt that this error is related to the version?
    Best Regards // Mattias Andersson

    Hi,
    I have also run into this problem on two different Prime 2.1-systems when trying to get all Client-data available. I haven't figured out a way to fix it more than making small calls (.maxResults=100) then trying to pin-point and skip the ID giving the error. I've been using 2.2 for a while now but haven't tested the Client-API that much yet. I'll experiment some more on it and see if I can recreate the problem to see if it's related to the version.

  • Problem with PDFLGetInitCount

    I am having problem with PDFLGetInitCount()API. The API returns a very strange value (usually very big number). Does anyone has similar problem before? And this API can be used before calling PDFLInit(), right?
    Thanks,

    Is this the first version of the PDFL you've had on this machine, and it's only been on for a very short time? Otherwise it would be a large number.
    This function returns the total number of times the PDFL has been initialized, not the current number of initialized instances. Every time you run an application, even to debug, the counter is incremented. It's the total number of times PDFLInit() has been called on your system, ever.

  • Problems with Java DOM Mapping

    Hi Experts,
    as part of my diploma-thesis I have to write a java DOM-Mapping, which mapps the following incoming message:
    <mt_MappingOUT>
    <set>
    <set_Element_01>...</set_Element_01>
    <set_Element_02>... </set_Element_02>
    <set_Element_03>... </set_Element_02>
    <set_Element_10>  </set_Element_10>
    </set>
    </mt_MappingOUT>
    to the following outgoinig message:
    <mt_MappingIN>
    <TABLE>
    <item>
    <item_FIELD_01>  </item_FIELD_01>
    <item_FIELD_10>  <item_FIELD_10>
    <i/tem>
    </TABLE>
    </mt_MappingIN>
    I am not a very experienced Java-Developer. You can see my code down there, which I tried to implement according to some bloggs; unfortunately the result is not what I want to have
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Text;
    import org.xml.sax.SAXException;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public class DOMMAPPING implements StreamTransformation{
         public static void main(String[] args) throws Exception
              try
                   FileInputStream fin =
                        new FileInputStream("C:/mt_MappingOut.xml");
                   FileOutputStream fout =
                        new FileOutputStream("C:/target.xml");
                   DOMMAPPING mapping = new DOMMAPPING();
                   mapping.execute(fin, fout);
              catch (Exception e)          {
                   e.printStackTrace();
    public void setParameter (Map param) {}
    public void execute (InputStream in, OutputStream out)
         throws com.sap.aii.mapping.api.StreamTransformationException {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              Document documentIn = null;
              DocumentBuilder builder = null;
              try {
                        builder = factory.newDocumentBuilder();
                   } catch (ParserConfigurationException e1) {
                        e1.printStackTrace();
              try {
                   Element itemNode = null;
                   NodeList[] list_f=new NodeList[10];
                   Element[] field=new Element[10];
                   documentIn = builder.parse(in);
                   Document documentOut = builder.newDocument();
                   Element rootNode = documentOut.createElementNS("urn:agrp:xi:geissseb","ns0:mt_MappingIn");
                   documentOut.appendChild(rootNode);
                   Element tableNode = documentOut.createElement("TABLE");
                   rootNode.appendChild(tableNode);
                   NodeList list_Set=documentIn.getElementsByTagName("set");
                   System.out.println(list_Set.getLength());
                   for(int j=1;j<10;j++){
                        list_f[j-1]=documentIn.getElementsByTagName("set_ELEMENT_01"+j);
                list_f[9]=documentIn.getElementsByTagName("set_ELEMENT_10");
                   //NodeList list_f01=documentIn.getElementsByTagName("f01");
                   for (int i=0;i<list_Set.getLength();i++)
                        itemNode=documentOut.createElement("item");
                        tableNode.appendChild(itemNode);
                        for(int k=0; k<10;k++){
                             Node f=list_f[k].item(i);
                             f=f.getFirstChild();
                             String str_f=f.getNodeValue();
                             Text text_f=documentOut.createTextNode(str_f);
                             field[k]=documentOut.createElement("item_FIELD_"(k1));
                             field[k].appendChild(text_f);
                             itemNode.appendChild(field[k]);
                   TransformerFactory tf = TransformerFactory.newInstance();
                   Transformer transform = tf.newTransformer();
                   transform.transform(new DOMSource(documentOut), new StreamResult(out));
                   } catch (SAXException e2) {
                        e2.printStackTrace();
                   } catch (IOException e2) {
                        e2.printStackTrace();
                   }catch (Throwable t) { throw new StreamTransformationException("error", t); }
    Unfortunately there seems to be at least one error in there because the result I get is just the following:
      <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    - <ns0:mt_MappingIn xmlns:ns0="urn:agrp:xi:geissseb">
      <TABLE />
      </ns0:mt_MappingIn>
    Below you will find my source message:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <xsd:schema targetNamespace="urn:agrp:xi:geissseb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:agrp:xi:geissseb">
      <xsd:element name="mt_MappingOut" type="dt_MappingOut" />
    - <xsd:complexType name="dt_MappingOut">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">a7a28830bebf11dc81aa001a4b0af224</xsd:appinfo>
      </xsd:annotation>
    - <xsd:sequence>
    - <xsd:element name="Set">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366510aeda11dcb3bb00174205b856</xsd:appinfo>
      </xsd:annotation>
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="f01" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366511aeda11dcaf2600174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_02" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366512aeda11dc84d400174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_03" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366513aeda11dcbcab00174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_04" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366514aeda11dc96a300174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_05" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366515aeda11dca77700174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_06" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366516aeda11dc8f7d00174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_07" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366517aeda11dcc24b00174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_08" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366518aeda11dc92cd00174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_09" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b366519aeda11dcc9b100174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="set_ELEMENT_10" type="xsd:string">
    - <xsd:annotation>
      <xsd:appinfo source="http://sap.com/xi/TextID">0b36651aaeda11dcc5a700174205b856</xsd:appinfo>
      </xsd:annotation>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:schema>
    When I had problems withe Java SAX Mapping, I got great hints in the forum. So I hope you can help me out again...
    Cheers Sebastian

    Here you go.
    Code
    package com.sap.test;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.apache.crimson.tree.TextNode;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Text;
    import org.xml.sax.SAXException;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public class DomTest {
         Document documentOut = null;
         public static void main(String[] args) throws Exception
         try
         FileInputStream fin =      new FileInputStream("test.xml");
         FileOutputStream fout = new FileOutputStream("test_out.xml");
         DomTest mapping = new DomTest();
         mapping.execute(fin, fout);
         catch (Exception e) {
         e.printStackTrace();
         public void setParameter (Map param) {}
         public void execute (InputStream in, OutputStream out)
         throws com.sap.aii.mapping.api.StreamTransformationException {
         DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
         Document documentIn = null;
         DocumentBuilder builder = null;
         try {
         builder = factory.newDocumentBuilder();
         } catch (ParserConfigurationException e1) {
         e1.printStackTrace();
         try {
         Element itemNode = null;
         //NodeList[] list_f=new NodeList10;
         //Element[] field=new Element10;
         documentIn = builder.parse(in);
         documentOut = builder.newDocument();
         Element rootNode = documentOut.createElementNS("urn:agrp:xi:geissseb","ns0:mt_MappingIn");
         rootNode.setAttribute("xmlns:ns0", "urn:agrp:xi:geissseb");
         documentOut.appendChild(rootNode);
         Element tableNode = documentOut.createElement("TABLE");
         rootNode.appendChild(tableNode);
         NodeList list_Set = documentIn.getElementsByTagName("set");
         System.out.println(list_Set.getLength());
         for(int j = 0 ; j < list_Set.getLength() ;j++){
              Element setNode = (Element)list_Set.item(j);
              NodeList children = setNode.getChildNodes();
              for(int index = 0; index < children.getLength(); index++)
                   Node child = children.item(index);
                   if (child instanceof Element) {
                        Element element = (Element) child;
                        if(element.getNodeName().startsWith("set_ELEMENT"))
                             createItemFeildNode(tableNode,element);
         //list_f[9]=documentIn.getElementsByTagName("set_ELEMENT_10");
    //     NodeList list_f01=documentIn.getElementsByTagName("f01");
         /*for (int i=0;i<list_Set.getLength();i++)
         itemNode=documentOut.createElement("item");
         tableNode.appendChild(itemNode);
         for(int k=0; k<10;k++){
         Node f=list_f[k].item(i);
         f=f.getFirstChild();
         String str_f=f.getNodeValue();
         Text text_f=documentOut.createTextNode(str_f);
         field[k]=documentOut.createElement("item_FIELD_"(k1));
         field[k].appendChild(text_f);
         itemNode.appendChild(field[k]);
         TransformerFactory tf = TransformerFactory.newInstance();
         Transformer transform = tf.newTransformer();
         transform.transform(new DOMSource(documentOut), new StreamResult(out));
         transform.transform(new DOMSource(documentOut), new StreamResult(System.out));
         } catch (SAXException e2) {
         e2.printStackTrace();
         } catch (IOException e2) {
         e2.printStackTrace();
         }catch (Throwable t) { throw new StreamTransformationException("error", t); }
         private void createItemFeildNode(Element root, Element element) {
              String inName = element.getNodeName();
              int temp = inName.lastIndexOf('_');
              if (temp == -1)
                   return;
              String index = inName.substring(temp+1);
              String nodeName = "Item_FIELD_" + index;
              String nodeVal = element.getFirstChild().getNodeValue();
              Element newElement = documentOut.createElement(nodeName);
              Text txtNode = documentOut.createTextNode(nodeVal);
              newElement.appendChild(txtNode);
              root.appendChild(newElement);          
    Input
    <?xml version="1.0" encoding="UTF-8" ?>
    <mt_MappingOut xmlns="urn:agrp:xi:geissseb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:agrp:xi:geissseb file:/D:/Eclipse/workspace/SDN/test.xsd">
    <set xmlns="">
      <set_ELEMENT_01>E1</set_ELEMENT_01>
      <set_ELEMENT_02>E2</set_ELEMENT_02>
      <set_ELEMENT_03>E3</set_ELEMENT_03>
      <set_ELEMENT_04>E4</set_ELEMENT_04>
      <set_ELEMENT_05>E5</set_ELEMENT_05>
      <set_ELEMENT_06>E6</set_ELEMENT_06>
      <set_ELEMENT_07>E7</set_ELEMENT_07>
      <set_ELEMENT_08>E8</set_ELEMENT_08>
      <set_ELEMENT_09>E9</set_ELEMENT_09>
      <set_ELEMENT_10>E10</set_ELEMENT_10>
      </set>
      </mt_MappingOut>
    Output
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:mt_MappingIn xmlns:ns0="urn:agrp:xi:geissseb">
    <TABLE>
      <Item_FIELD_01>E1</Item_FIELD_01>
      <Item_FIELD_02>E2</Item_FIELD_02>
      <Item_FIELD_03>E3</Item_FIELD_03>
      <Item_FIELD_04>E4</Item_FIELD_04>
      <Item_FIELD_05>E5</Item_FIELD_05>
      <Item_FIELD_06>E6</Item_FIELD_06>
      <Item_FIELD_07>E7</Item_FIELD_07>
      <Item_FIELD_08>E8</Item_FIELD_08>
      <Item_FIELD_09>E9</Item_FIELD_09>
      <Item_FIELD_10>E10</Item_FIELD_10>
      </TABLE>
      </ns0:mt_MappingIn>

  • Problems with async callback with the BPEL Java API (Urgent- pls help)

    Hi,
    I have an async BPEL process and I invoke it form a JSP page using BPEL java API.
    I have followed the tutorials and docs at:
    $SOA_HOME/bpel\samples\tutorials\102.InvokingProcesses\rmi\com\otn\samples\async
    I can inititiate successfully the process, but when I try to get the result using getResult() or getField(String fieldName) methods I get the error:
    Oct 2, 2007 2:35:16 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:856)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name com.collaxa.cube.i18n.exception_cube, locale en_US
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
         at com.collaxa.cube.CubeException.getResourceBundle(CubeException.java:142)
         at com.collaxa.cube.CubeException.<clinit>(CubeException.java:82)
         ... 17 more
    07/10/02 14:35:16 java.lang.ClassCastException: java.util.MissingResourceException
    07/10/02 14:35:16      at com.oracle.bpel.client.delivery.ext.async.thread.AsyncInstanceWatchdog.run(AsyncInstanceWatchdog.java:152)
    I check for the result only after I have checked that the instance is closed (completed or faulted) by using IInstanceHandle:getState() and InstanceHandle.STATE_CLOSED_COMPLETED, or IInstanceHandle.STATE_CLOSED_FAULTED
    I would like to add that so far I had no problems with invocation and geting result of sync BPEL processes. I do not what is missing for async processes.
    Any kind of help is appreciable.
    Thanks and best regards,
    Evanela

    Hi again,
    i managed to solve the problem:) Totally stupid.. the process variable name was not specified correctly..., but more stupid sounds the error message:))))
    Best Regards,
    Evanela

Maybe you are looking for

  • How can I hide the "home" and "net" volumes in mountain lion

    I have a MacBook Pro that I updated to Mt. Lion.  The home and net volumes are now visible in the Finder at the root level.  They contain 0 bytes of data.  How can I make them invisible?

  • Help needed in 10gR2 to 11gR2 EBS Database Upgrade

    Hi, I am upgrading EBS Database from 10gR2 (10.2.0.3) to 11gR2 11.2.0.3. While going through Oracle Note Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1], under the point 3 of "Recommendations from Source database" it says: "Disable the

  • How can I "proxy edit:" a high-definition project?

    This is an undocumented process, created by the always amazing Robert Johnston, and a good solution if you find that editing HDV and AVCHD video natively puts too much stress on your system's resources. Proxy editing temporarily substitutes a sort of

  • Error applying XSL stylesheet to XML

    Hi, after installed SPS 21 into portal we are facing an issue: A contentadministrator wants to publish a new newsfact in portal, but get the following error message: Error applying XSL stylesheet to XML: com.sapportals.wcm.WcmException: com.sap.engin

  • Batch processing of file records(FTP) with validation logic to IDOC

    Hi, We have a scenario where we're expecting 10,000 records in XML file format where validation has to be done against multiple R/3 tables at the field level before IDOC posting. Can anyone suggest if we should go for RFC lookup or call proxies to do