XML Error Handling doesn't work as expected

Hi there,
we are doing some syncronization szenarios between CRM 5.0 and a legacy system via XI.
One szenario is an asynchronous XML syncronisation. As there are database locks the messages are errornous and turn to system failure - restartable (red flag). To be seen in SXMB_MONI.
Regarding to weblog /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically I configuered the CRM middleware with IS_Retry and also scheduled a job for report RSXMB_RESTART_MESSAGES.
That worked fine until yesterday our synchronous XML szenario dumped and produced errornous messages type system failure - not restartable (red dot). Since then the IS_Restart doesn't work anymore.
I've no idea how to handle theese messages. It seems they are preventing IS_Retry from working. If there are red flagged messages I can process them manually or with report RSXMB_RESTART_MESSAGES. But they are not automatically re-processed via IS_Retry.
I also checked the queues and they look fine in smq2. There are no stucked queues.
Does anyone have any idea what is going wrong and how I can fix this issue? I could schedule the report to work more than once a day as it is at the moment (night job), but IS_Retry option would be the better szenario.
Thanks a lot in advance.
kind regards
Michael

Hello Suraj,
the error log in SXI_MONITOR tells me that the sender/receiver realtion couldn't be found, due to XI had a downtime.
On Audit log from Message Monitoring on adapter engine I don't have permission, as I am working only on the CRM.
But i was able to deal with the errornous XML. The deletion job in sxmb_adm (rsmb_delete_messages) with the parameter PERSIST_DURATION_ERROR with Subparameter SYNC Value 1 has removed them from the system.
According to forum deletion of unprocessed xml messages
But I still don't know why IS_Retry doesn't work anymore.
Kind regards
Michael

Similar Messages

  • Repository event handler doesn't work when inserting an xml-doc via ftp

    Hi,
    I want to add a 'schemaLocation'-attribute to an XML-document when I load it in the repository. Therefore, I use the precreate-repository event and created a Repository Event Handler (see code extract below).
    Everything works fine if I type the following code in SQL Plus:
    Declare
    v_return BOOLEAN;
    Begin
    v_return:=DBMS_XDB.createresource('/public/xml/test.xml', XMLType(bfilename('XMLDIR', 'test.xml'),nls_charset_id('AL32UTF8')));
    end;Unfortunately, when I try to insert an XML-document via ftp into the /public/xml folder it doesn´t work as expected and no 'schemaLocation'-attribute is added to the new resource.
    What's the reason for this strange behavior and how can I solve it?
    For your information: I use the Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    Thank you very much for your help!!!
    Repository Event Handler code extract:_
    create or replace
    PACKAGE BODY schemalocation AS
    PROCEDURE handlePreCreate (eventObject DBMS_XEVENT.XDBRepositoryEvent) AS
    XDBResourceObj DBMS_XDBRESOURCE.XDBResource;
    var XMLType;
    l_return BOOLEAN;
    l_xmldoc dbms_xmldom.DOMDocument;
    l_docelem dbms_xmldom.DOMElement;
    l_attr dbms_xmldom.DOMAttr;
    c1 clob;
    node     dbms_xmldom.DOMNode;
    txid varchar2(100);
    dDoc DBMS_XMLDOM.DOMDocument;
    nlNodeList DBMS_XMLDOM.DOMNodeList;
    BEGIN
    XDBResourceObj := DBMS_XEVENT.getResource(eventObject);
    dbms_lob.createTemporary(c1,TRUE);
    var:=DBMS_XDBRESOURCE.getcontentxml(XDBResourceObj);
    l_xmldoc := dbms_xmldom.newDOMDocument(var);
    l_docelem := DBMS_XMLDOM.getDocumentElement(l_xmldoc);
    ------ add schemaLocation attribute
    l_attr := DBMS_XMLDOM.createAttribute(l_xmldoc, 'xsi:schemaLocation');
    DBMS_XMLDOM.setValue(l_attr, 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd');
    l_attr := DBMS_XMLDOM.setAttributeNode(l_docelem, l_attr);
    DBMS_XMLDOM.WRITETOCLOB(l_xmldoc, c1);
    ------- get the value of the TxId-tag
    dDoc := DBMS_XMLDOM.NEWDOMDOCUMENT(c1);
    nlNodeList := DBMS_XMLDOM.GETELEMENTSBYTAGNAME(dDoc, 'TxId');
    node := DBMS_XMLDOM.ITEM(nlNodeList, 0);
    txid:= dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(node));
    l_return:=DBMS_XDB.createresource('/public/ok/'||txid||'.xml', XMLType(c1));
    END;

    Marco,
    Here's an example of the problem :
    create or replace package handle_events
    as
      procedure handlePreCreate(p_event dbms_xevent.XDBRepositoryEvent);
    end;
    create or replace package body handle_events
    is
    procedure handlePreCreate (p_event dbms_xevent.XDBRepositoryEvent)
    is
      XDBResourceObj dbms_xdbresource.XDBResource;
      doc XMLType;
      res boolean;
    begin
      XDBResourceObj := dbms_xevent.getResource(p_event);
      doc := dbms_xdbresource.getContentXML(XDBResourceObj);
      select insertchildxml(
        doc
      , '/root'
      , '@xsi:schemaLocation'
      , 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
      , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
      into doc
      from dual;
      res := dbms_xdb.CreateResource('/public/xml/result.xml', doc);
    end;
    end;
    declare
    res boolean;
    begin
    res := dbms_xdb.CreateFolder('/public');
    res := dbms_xdb.CreateFolder('/public/tmp');
    res := dbms_xdb.CreateFolder('/public/xml');
    end;
    declare
    res            boolean;
    resconfig      xmltype;
    my_schema      varchar2(30) := 'DEV';
    resconfig_path varchar2(300) := '/public/ResConfig.xml';
    resource_path  varchar2(300) := '/public/tmp';
    begin
      resconfig  := xmltype(
    '<ResConfig xmlns="http://xmlns.oracle.com/xdb/XDBResConfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/XDBResConfig.xsd http://xmlns.oracle.com/xdb/XDBResConfig.xsd">
      <event-listeners set-invoker="true">
        <listener>
          <description>My event handler</description>
          <schema>'||my_schema||'</schema>
          <source>HANDLE_EVENTS</source>
          <language>PL/SQL</language>
          <events>
            <Pre-Create/>
          </events>
          <pre-condition>
            <existsNode>
              <XPath>/r:Resource[r:ContentType="text/xml"]</XPath>
              <namespace>xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd"</namespace>
            </existsNode>
          </pre-condition>
        </listener>
      </event-listeners>
      <defaultChildConfig>
        <configuration>
          <path>'||resconfig_path||'</path>
        </configuration>
      </defaultChildConfig>
    </ResConfig>'
      res := dbms_xdb.CreateResource(resconfig_path, resconfig);
      dbms_resconfig.addResConfig(resource_path, resconfig_path, null);
    end;
    /Giving the following input XML file :
    <?xml version="1.0" encoding="utf-8"?>
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>This works :
    SQL> declare
      2    res boolean;
      3  begin
      4    res := dbms_xdb.CreateResource('/public/tmp/test.xml',
      5               xmltype(bfilename('TEST_DIR','test.xml'), nls_charset_id('AL32UTF8')));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    RESULT
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
    urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
    "/>With the same document loaded via FTP, we get :
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00283: document encoding is UTF-16-based but default input encoding is not
    Error at line 1
    no rows selectedand the content looks like :
    < ? x m l   v e r s i o n = " 1 . 0 "   e n c o d i n g = " u t f - 8 " ? >
    < r o o t   x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e " / >As a workaround, I've found that serializing and re-parsing the document solves the problem :
      select insertchildxml(
        xmltype(doc.getclobval())
      , '/root'
      , '@xsi:schemaLocation'
      , 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
      , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
      into doc
      from dual;
    ...We then get the expected result after FTP transfer :
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    RESULT
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
    urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
    "/>The workaround also works for the DOM version presented above.
    Any ideas?

  • Error mapping doesn't work for me. Plz Help!

    I have created a .war using deploytool and added "404, /WEB-INF/NoSuchPage.html" in the error mapping area in file refs on the right tabbed panes.
    When I deploy the war and test it, the error mapping doesn't work. The server still display the default 404 page to me.
    What is the problem?
    I do have checked the descriptor. It contains:
    <error-page>
    ������<error-code>404</error-code>
    ������<location>/WEB-INF/NoSuchPage.html</location>
    </error-page>
    Any help will be greatly appreciated!

    <?xml version="1.0" encoding="UTF-8" ?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>WebApp</display-name>
    - <welcome-file-list>
    <welcome-file>login.html</welcome-file>
    </welcome-file-list>
    - <error-page>
    <error-code>404</error-code>
    <location>/Error.html</location>
    </error-page>
    <jsp-config />
    </web-app>
    This is a very simple war with no component and an error page is defined. But this doesn't work. When I type something like /loginnnn.htmllll, it doesn't give me the error page. That is my problem. Any idea???

  • The onDeactivate event handler doesn't work in InDesign CC. Why?

    Hi guys.
    I’m working on a script in Javascript for InDesign CC.
    The big problem is that the onDeactivate event handler doesn’t work.
    Here’s an example that works in InDesign CSx but not in InDesign CC:
    #target indesign
    var w = new Window ("dialog", "Test onDeactivate");
    var et_1 = w.add("edittext", [undefined, undefined, 300, 30], "Lorem ipsum");
    var et_2 = w.add("edittext", [undefined, undefined, 300, 30], "Dolor sit amet");
    var st = w.add("statictext", [undefined, undefined, 300, 30], "CONSOLE:\r\r", {multiline: true});
    et_1.onDeactivate = et_2.onDeactivate = function(){
         st.text = "CONSOLE: I left the field with this text:\r\t«" + this.text +"»"; }
    var b_ok = w.add("button", undefined, "OK");
    w.show();
    The script shows a dialog window with 2 edit text fields: when a field loses the focus (clicking on the other one), the «CONSOLE» shows the text of the old field.
    Adobe, please, fix this issue as soon as possible.
    Thanks.
    Giorgio

    It's a bug, and it has been reported. Please report it yourself, the more reports the better. It's no good asking Adobe in this forum to fix something.
    Peter

  • ArrayDeque as a stack doesn't work as expected with complex objects

    Trying to use ArrayDeque as a strorage for complex values <PSList<PSol>> (i.e. Arraylists of structured Values PSol), this doesn't work as expected. The code below should produce different values of pSLWk, being stored on bkStack, which are then to be retrieved by pop() to the variables pSL1, pSL2, pSL3.
    However, retrieval only ends up with three identical data sets (variables) pS1,pS2, pS3.
            public PSList<PSol> pSL;
            private ArrayDeque<PSList<PSol>> bkStack=new ArrayDeque<PSList<PSol>>();
            pSLWk=new PSList<PSol>();       // Constructor copies some Array (static field) to the PSLists
            pSL=new PSList<PSol>();
            pSLAux=new PSList<PSol>(pSLWk);   // Constructor copies from existing PSList
            pSLWk.checkResult("pSLWk prior to setDefaults - modifies pSLWk !");
            setDefaults();                                                            // Modifies pSLWk only
            pSLWk.checkResult(" pSLWk after setDefaults");              // .. got changes (o.k.)
            pSL.checkResult(" pSL after setDefaults");                  // .. unchanged  (o.k.)
            pSL.checkResult(" pSLAux after setDefaults");               // .. unchanged  (o.k.)
            bkStack.push(new PSList<PSol>(pSLWk));                      // store changes in bkStack
            pSLWk.getEl(77).setVal(new StringBuffer("4"));              // change pSLWk again (value 4 @ 77)
            pSLWk.checkResult("pSLWk, after PUSH, THEN modify 4@77");   // .. got change (o.k.)
            pSL.checkResult("pSL after setVal 77");
            bkStack.push(pSLWk);                      // store changes in bkStack
            pSLWk.getEl(80).setVal(new StringBuffer("8"));              // change pSLWk again (value 8 @ 80)
            pSLWk.checkResult("pSLWk after setVal 8@80");               // .. got change (o.k.)
            pSL.checkResult("pSL after setVal 80");
            bkStack.push(new PSList<PSol>(pSLWk));                      // store changes in bkStack
            pSL1=new PSList<PSol>(bkStack.pop());
            pSL1.checkResult("pSL1 after 1st pop");
    //      pSL1=bkStack.pop()                                          // Straightforward way doesn't work either...
            pSL2=new PSList<PSol>(bkStack.pop());
            pSL2.checkResult("pSL2 after 2nd pop");
            pSL3=new PSList<PSol>(bkStack.pop());
            pSL3.checkResult("pSL3 after 3rd pSLWk=..pop()");Here the result from the code above:
    debug:
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSLWk prior to setDefaults - modifies pSLWk !
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2   63 <C.R.> pSLWk after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSL after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSLAux after setDefaults
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  463 <C.R.>pSLWk, after PUSH, THEN modify 4@77
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 77
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSLWk after setVal 8@80
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 80
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL1 after 1st pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL2 after 2nd pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL3 after 3rd pSLWk=..pop()
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSLWk prior to setDefaults - modifies pSLWk !
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2   63 <C.R.> pSLWk after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSL after setDefaults
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.> pSLAux after setDefaults
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  463 <C.R.>pSLWk, after PUSH, THEN modify 4@77
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 77
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSLWk after setVal 8@80
    1 8 9   4  5 42 9 7  5  2 6 4 923     1  7   3         86   7 5  3 69     2   63 <C.R.>pSL after setVal 80
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL1 after 1st pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL2 after 2nd pop
    128 96  4635 42 9 7945  2 6 47923     1  7   3 9       86   7 5  3 69     2  4638<C.R.>pSL3 after 3rd pSLWk=..pop()What's the problem with this ?
    Rem: I tried the simple approach as well:
    bkstack.push(pSLWk);
    ...

    Thank you for your comments, although I see we still don't have a common understanding of the problem.
    Firstly, I add the code for the PSList and the PSol classes, so you might find some problem with that:
         public class PSol     {
              private StringBuffer val;
              private int zI;
              private int sI;
              private int bI;
                        // == Konstruktor
              public PSol( StringBuffer v, int z, int s, int b )     {
                   this.val=v;
                   this.zI=z;
                   this.sI=s;
                   this.bI=b;
                        // == Getter,Setter
              public StringBuffer getVal()     {return val;}
              public int getZ()     {return zI;}
              public int getS()     {return sI;}
              public int getB()     {return bI;}
              public int getVSize()     {return val.length();}
              public void setVal(StringBuffer v)     {val=v;}
              public boolean hasVChar( StringBuffer ch, boolean delCh )     {
                   boolean bT=false;
                   StringBuffer fSt=getVal();
                   if (!(fSt.indexOf( ch.toString() )     == -1))     {
                        bT=true;
                        if (delCh)     {
                             setVal(fSt.deleteCharAt(fSt.indexOf( ch.toString() )));
                   return bT;
         }     // PSol
         public class PSList<E> extends ArrayList<PSol>     {
                   /**     Construktor 1: PSList(v,z,s,b) - makes list from single arrays
              private static final long serialVersionUID =  4711L;                         // ### JAVAC Warning! ###
            public PSList (String[] vS, int[] z, int[] s, int[] b) {
                   StringBuffer[] v=new StringBuffer[valDim];
                for (int i=0;i<valDim;i++)  {
                    v=new StringBuffer(vS[i]);
    //ArrayList<PSol> pSL=new ArrayList<PSol>;
                   for (int i=0; i<valDim; i++) {
                        this.add( new PSol( v[i], z[i], s[i], b[i] ) );
    /** Konstruktor2 : makes list from matrix array
    public PSList () {
    for (int j=0; j<nDim; j++) {
    for (int i=0; i<nDim; i++) {
    this.add( new PSol( new StringBuffer(sGuiArr[i][j]), i, j , i/locDim + (j/locDim)*locDim) );
                        /**     ------- Construktor 3 : PSList(PSList pS) - makes list as a copy of an existing one
    public PSList ( PSList<PSol> pX )     {
                   super (pX); // ArrayList-Constructor (Collection)
    // get Element <PSol>
    public PSol getEl ( int i )     {return get(i);}
         public int getCount()     {return size();}
         public int getTValLg()     {
                   int lg=0;
                   for (int i=0; i<getCount(); i++)     {
                        lg=lg + getEl(i).getVal().length();
                   return lg;
                        /**     ------- checkResult()     -     Check if alll elements are single char +dump
         public boolean checkResult(String messg)     {
                   boolean allOne=true;
                   for (int i=0; i<size(); i++)     {
                        if ( getEl(i).getVal().length() > 1 )     {
                             allOne=false;
                             System.out.print(" ");
                   else     {
                        System.out.print(getEl(i).getVal());
                   System.out.println("<C.R.>"+messg);
                   return allOne;
         }     // Class PSList
    Secondly, I don't really see what you mean by pointing out to 'only one "pSLWk" instance of PSList'. The variable pSLWk is the variable to be worked upon; after some change of the contents, I want to save this state of contents to the stack. When I pop that variable from the stack, I wouldn't want to restore it to pSLWK, but to some other variable, e.g. by public PSList<PSol> pSL1;
    pSL1=new PSList<PSol>(bkStack.pop());Again - to my understanding (which comes from old days of microprocessor coding... - there shouldn't be a need to know how the data came there, or what was the name of the variable who stored it there. And  : the implementation of ArrayDeque returns 'elements' of class E, not references !
    Thirdly, you're right, that the method of using a copy constructor for retrieval looks 'weird'. However - I had some other versions that didn't work either, e.g. the straightforward one, as I pointed out.
    And fourthly: yes, I'm almost sure that I'm messing up something somewhere. I went to this forum hoping to clarify that ... :)
    If you don't mind, could you please sketch a few lines of code, how to 'push' a complex variable to a ArrayDeque stack, and retrieve it - by 'pop()' - to some to other variable of the same class later ?
    Might make our discussion much easier, to see how things REALLY work.
    Thank you !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • VoiceOver navigation buttons doesn't work as expected on latest version of Firefox

    VoiceOver navigation buttons doesn't work as expected on latest version of Firefox. VO+Left/Right not jump from element to element
    Version of OS: OS X Yosemite 10.10.1
    Version of Chrome: 42.0.2311.90 (64-bit)
    Version of Firefox: 37.0.2

    Did this work in a previous version of Firefox?
    There is an open bug to improve accessibility on OS X. (Bug 336306) I'll update that bug with any relevant information you provide here.

  • JAX-WS Handler doesn't work.

    Hi,
    I try to put my handler to handler chain (on client side) this way:
    // MyService class is generated from WSDL file by Apache-CXF wsdl2java tool.
    // Of course MyService extends javax.xml.ws.Service
    MyService myService = mew MyService()
    myService.setHandlerResolver(new HandlerResolver() {
    public List<Handler> getHandlerChain(PortInfo arg0) {
    System.out.println(arg0);
    List c = new ArrayList();
    // MyHandler class prints some text to System.out in handleXXX() methods, it implements javax.xml.ws.handler.Handler
    c.add(new MyHandler());
    return c;
    It is a snippet of StatelessBean - it is client of external services.
    When I next try to invoke some service - myService.getPort().run() - the handler is not "notified".
    Why it doesn't work???
    I tried another way:
    ((BindingProvider) myService.getPort()).getBinding().getHandlerChain().add(new MyHandler())
    It doesn't work too!
    And surprise:)
    I wrote that code:
    ((BindingProvider) myService.getPort()).getBinding().getHandlerChain().add(new MyHandler())
    System.out.println(
    ((BindingProvider) myService.getPort()).getBinding().getHandlerChain().size()
    What's the result of print?
    0 (zero)
    Could someone tell me why?
    Thx,
    Peter.

    I am having a similiar problem with Vista x32.  The preview handler is able to display the pdf, but the fields that were filled in prior to the email are not showing any values, but when you open the pdf with reader the values are there.  Below is a more detail account of what is happening.  I have contacted the third party dll as well, but thought someone here might have an idea too.
    I have a client that is using the a thrid party PDF dll (Syncfusion) to generate and email PDFs reports. There seems to be an issue with the PDFs that are generated and using the built-in PDF Preview Handler for Vista. The scenario is ...
    1. User receives an email into Outlook that contains a generated PDF (see image ''01-Opening-Email.jpg'')
    2. User clicks on the attachment in Outlook and the preview handler starts up (see image ''02-Loading-Previewer.jpg'')
    3. The PDF displayed in the preview handler does not have any of the fields filled out (see image ''03-Report-Loaded-In-Viewer.jpg'')
    4. User then right clicks on the PDF (in outlook) and selects to open the PDF with Adobe Acrobat Version 9.0 and the report is displayed with all the fields filled out (see image ''04-Report-Opened-With-Adobe.jpg'')
    All of these images are included in the attachment that I have uploaded with this incident. As well, in the RAR file is the PDF that was sent by the system using the PDF dll from Syncfusion. Please let me know if you need any more information from me.

  • Connecting to other computers on network doesn't work as expected.

    This is kind of interesting.
    I do this: From Menu Go > Network
    Then I choose either my iMac or MacBook Pro and double click the user name for my home folders on the other computers.
    A window opens up and the bottom right of the window the little twirling busy thing just goes and goes and goes.
    I notice the server icon on the Desktop and double click it and everything is there an access is fast, just like I expected from the first window that popped up. But it's still there, blank, with a little twirly thing (very technical).
    I get what I'm after, but it doesn't work the way it should.

    Try keeping your shares from sleeping during the expected period of use--assuming they are. If this procedure works, then you'll need to decide between the "lesser of the two evils."

  • Why custom logon error messages doesn't work in WAS 7.0, EP 7.0?

    I managed to get custom error messages in WAS 6.40 / EP 6.0.
    I'm using JAAS custom Login module for user authentication and from there different Login Exceptions are thrown.
    I have modified logon.par file to display different error messages like "Logon ID is empty", "Password is empty", "Your user ID or password could not be validated.  Please check and try again."
    When i copy the same code into my working environment i.e WAS 7.0 / EP 7.0, it doesn't work, message always was "User Authentication Failed". Do anyone knows the reason why i was like that?
    Can you please explain exactly when the custom login module gets executed after the user clicks on "Logon" Button.
    In logon.par file i have not seen any code to execute JAAS - custom logon module. PLease explain exact execution flow ..
    Thanks in advance ..
    MMK

    Your card reader might be finicky like mine. Figure out which device your card reader is at (from what I'm reading probably sdb), then attempt to mount /dev/sdb to any location. If your card reader is like mine, this mount will fail but you'll find you now magically have /dev/sdb1, /dev/sdb2, etc devices, which will successfully mount... oddness, but it "just works" so I'm happy
    Note that if you plug a card into a slot that is to the kernel, for example, /dev/sda2, then try to mount /dev/sda1, this will (obviously) fail, so be sure to try mounting all the devices that magically appear (if any do).
    -dav7

  • Simple drag&drop with handler doesn't work in Edge?

    Hi all!
    I made this very simple example of Drag&Drop in Edge: http://www.terredainventare.it/simpledrag/simpledrag.html using Jquery Ui http://docs.jquery.com/UI/Draggable.
    I try to use the JQueryUi "handle" property that makes you drag an object restricting drag click on only one element but it doesn't work.
    Here's the code I've put in Edge onCompositionReady:
    sym.$("drag").draggable({ handle:"handler" });
    Of course my two Div-elements are called "drag" and "handler". Now the drag works only on the "wrong" element and not on the "handle".....
    Here's the Adobe Edge files: http://www.terredainventare.it/simpledrag/web.zip
    Many thanks in advance for your help!
    Davide

    So, on stage i add a rectangle named "drag" and i try this code:
    yepnope({
                nope:[
                'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js',
                'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css'
                complete: init
    function init() {
             //$("#Stage_drag").draggable();
             //$(sym.lookupSelector("drag")).draggable();
             sym.$("drag").draggable();
    3 lines work: $("#Stage_drag").draggable() or $(sym.lookupSelector("drag")).draggable() or sym.$("drag").draggable()
    And css file is not required.
    Well, your dowload link is not perfect but i download your folder. See you later.
    There is a tutorial: a movie tutorial (adobe tv). Mix it baby! Extending Edge Animate 02:57
    They use: yepnope (both, callback)
    yepnope({
         both: ['jquery-ui.min.js',
                   'jquery-ui.css'
         callback: function(){sym.$("drag").draggable()}
    I will send you your files tomorrow (private message).

  • Photoshop PlugIn error installation doesn't work !

    Download a PlugIn for Adobe Photoshop, in description stand PS CC / CS6 but Plugin doesn't work with CS6 ... error message coming: Photoshop 13,0 or newer need, my actually version is 13.06 but every try the error messager is coming.
    The app is "Beauty Retouching Kit"

    When booted from the Tiger DVD, open Disk Utility from one of the menues at the top. Check that your iMac's hard drive is healthy (don't repair permisssions, but repair disk).
    Exactly when does the system freeze? Do you get to choose any install options, like archive and install? When upgrading from 10.2.8 to 10.4, you should do an Archive and Install.
    Check out the following thread for tips about upgrading Mac OS X:
    http://discussions.apple.com/thread.jspa?messageID=607363
    Good luck

  • Finder 'Back' button doesn't work as expected

    Try this in Leopard Finder: In Finder View Options (Command-J), set Applications to always open in icon view, and Documents to always open in list view. Now open a fresh window and click each in the sidebar. They open as expected, one in icon view, and the other in list view. Now click the back button, and you're looking at the folder you just had open half a second earlier, but it's suddenly shifted to a different view - a view you explicitly told the Finder you didn't want this folder to open in. How does this make sense?
    (Thanks to grasshopperus for posting this first at arstechnica: http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/982000038831/p/1)

    Back button behaviour can be pretty wierd. I usually use the keyboard combination, but for some reason it doesn't work on PDF's and I have to end up using the graphical back button.
    There are some websites out there that for some reason or another break the Back button's behaviour. Sometimes I have to hold down the mouse button to get the back button menu in order to work around that problem.
    In another case there was this page in Amazon that wouldn't allow me to go back to. Everytime I went to that page the browser to automatically kick me to the next page. I had to disable javascript to work around that problem.

  • Changed AppleID doesn't work as expected - System shows old AppleID

    A friend of mine switched her AppleID in their OS X system. E.g. she changed the respective preference panel.
    Unfortunately, the switch didn't work as expected: If she tries to download application updates in AppStores, the system allways presents the old AppleID. Additionally, she isn't aple to change the AppleID value in the respective dialogs.
    Since she changed all places she is aware of, the system effectively prevents all updates since a far too long time now...
    Questions
    Did someone know how to effectively change the AppleID system-wide?
    Should she delete a certain *.plist file?

    The actual email address doesn't matter. Once it is created as an AppleID, it is just a text string that is used as the username for iCloud, iTunes Store, Mac App Store, etc. It does get used as a contact email, but you can associate any number of email addresses with that AppleID. The password used for the AppleID should be different than the email address, but could be the same if you choose. Regardless, there is really no link between an email account and the AppleID, besides the same text string is used.
    As I stated earlier, AppleIDs cannot be merged or transferred and the purchases on one AppleID cannot be transferred to another. Whatever AppleID was used to purchase the items has to be used to update them or reinstall the OS.
    It doesn't matter that she created a new AppleID. The purchases on the old ID cannot be transferred to the new AppleID. The old email address (which isn't an email address but a username for the AppleID) pops up because that is the AppleID that was used to purchase the OS. Nobody can change that, unless Apple decides to change its position, which I doubt it will due to security concerns.

  • Automatic security handling doesn't work at all

    Hi all,
    I'm just discovering that the automatic security handling of LV DSC 7.0 doesn't work! That means if I set security options for a control, they won't be applied. Even the VI's in example\lvdsc\security don't work as supposed (and as they did in LV DSC 6.1)!
    Does anyone out there experience the same problems?

    Since logging off and then back on seems to fix the problem it would seem that when LabVIEW is starting it is automatically logging you into an account with access priviledges. You can check what account is automatically logged into by launching LabVIEW and going to Tools>>DSC Module>>Security>>User Info.... You can also set this behavior by logging in as an Administrator and then going to Tools>>DSC Module>>Options and then the Security Preferences button on the Advanced tab.
    Regards,
    JR A.

  • XML Flash banner doesn't work in Firefox

    hey everyone,
    I'm using a simple Flash based / XML banner that doesn't
    appear to be working in Firefox. I know that I've uploaded the
    correct files because it works in IE 6 and Safari for some reason.
    It also appears to be working in Firefox when viewing it locally
    and when viewing the demo online from where I got the code. I
    didn't alter the code so I'm stumped as to why this is not working.
    Any insight to this?? Thanks!!
    PS. I'm using Flash Player 9 for all browsers. Also, I've
    tried changing the path of the image source, etc. but nothing
    appears to work.

    Can you post a link to it.
    My best guess is you don't have the <embed tag in your
    HTML SWF object. That is typically the only reason I've seen a
    flash not work in FF, while working in IE. IE doesn't need the
    embed, but FF only uses it. Best bet to avoid any of these issues
    is to use the standard method: SWFObject 2.1 to embed your SWFs.
    http://code.google.com/p/swfobject/

Maybe you are looking for

  • Form Settings - Item Cost on Sales Order row

    Hello, I used form settings to add the field Item Cost onto my AR invoice row. I tried to add the same with Sales Order form settings but the field is not available when I go to Form Settings. Is there any way to add it? I'm using 8.81 PL09. Thank Yo

  • Package lcdui error

    Hi! I've been reading about J2ME lalely, & just tried to compile a midlet, I've install wireless toolkit, but then after compiling the midlet using javac -bootclasspath <path>cldcapi11..... DateTimeApp.java I get the error package javax.microedition.

  • Help with connection to mysql database, Getting error : No suitable Driver

    Below is my code : 1) i have added the mysql driver (mm.mysql-2.0.14-bin.jar)in my classpath 2) the code is getting compiling properly 3) while running it using tomcat, it says "NO SUITABLE DRIVER" PLEASE HELP !! import java.io.*; import java.text.*;

  • Need help with connecting

    I just purchased a itouch and when i try to connect to the wireless networks that pop it it will give me the check mark, when i open safari and try to access a web page i.e. google, it tells me safari cant find a server? even when my wireless symbol

  • Can´t create apps with CCP

    I get the following error when I try to create a new package in CCP 6/18/2013 13:27:26[INFO] AdobePackageBuilder - Build Version - 1.0.0.55 6/18/2013 13:27:26[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4 6/18/2013 13:27:27 [WARN] Ado