XMLDecoder and Entities

Hi,
I would like to restore a couple of beans using XMLDecoder. However I would like to include entities in the XML source that should point to other XML sources. So I would like to restore the beans from multiple XML files which are 'connected' by <!ENTITY name  SYSTEM "otherFile.xml"> declarations.
Everything works fine so fare except that the SAX parser looks for the entities at the wrong place. If no absolute path is given, the parser uses the current working directory as base folder for resolving the entity location, not the location of the declaring file!
Question: Is there a way to tell XMLDecoder to resolve entites relative to the declaring document, not to some "arbitrary" working directory? (I guess this is what the XML specification says how it should work, right?)
Thanks,
Marcus

Hi,
it seems to me that XMLEncoder retrieves the hash map with get, excepting to get the original and modifiable reference to the hash map and executes put-statements on this reference.
Instead of the way I had expected (and should be logical way too), that XMLDecoder creates a new hash map (with stored values) and to set it via the set-method.
Is my assumption correct?
If yes, does anybody knows, why this way this way (get-method) is used and not the other way (set-method) ?
Cause the current way limits your modifications to the get-method and the Hash map itself to a minimum. (e.g. Collections.unmodifiableMap() isn't possible, also returning a new Map with putAll isn't possible)
Thanks a lot in advance.
Greetings Michael

Similar Messages

  • Problem with XMLDecoder and a custom ClassLoader

    NOTE: Posted over in Serialization forum as more appropriate there, sorry for the crosspost but didn't notice that forum at first. Please direct any replies there.
    I am implementing an application based around Java Plugin Framework (jpf.sourceforge.net). In short one consequence of this framework is that each plugin uses its own classloader with scope of that plugins classes.
    One plugin I am using requires the ability to deserialize objects from a javabean xml file. I am using XMLDecoder to do this, and I used the constructor to pass the current plugin ClassLoader to it.
    This however only partially seems to work, this is a shortened extract from an example xml
    <java version="1.5.0" class="java.beans.XMLDecoder">
    <object class="usermanager.javabeans.BeanUser">
      <string>drftpd</string>
      <void property="downloadedBytes">
       <long>737132544</long>
      </void>
      <void property="hostMaskCollection">
       <void method="add">
        <object class="usermanager.HostMask">
         <string>*@*</string>
        </object>
       </void>
      </void>
       <void property="keyedMap">
       <void method="put">
        <object class="dynamicdata.Key">
         <class>commands.UserManagement</class>
         <string>slots</string>
         <class>java.lang.Integer</class>
        </object>
        <int>0</int>
       </void>
    etc...Now without passing XMLDecoder a ClassLoader as would be expected I get a ClassNotFoundException for the first <object>.
    However if I pass XMLDecoder the correct ClassLoader it reads the xml fine until it reaches <class>commands.UserManagement</class> at which point again I get a ClassNotFoundException.
    Here is the stacktrace from that exception:
    java.lang.ClassNotFoundException: commands.UserManagement
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.sun.beans.ObjectHandler.classForName(ObjectHandler.java:67)
         at com.sun.beans.ObjectHandler.classForName(ObjectHandler.java:54)
         at java.beans.Statement.invoke(Statement.java:140)
         at java.beans.Expression.getValue(Expression.java:98)
         at com.sun.beans.MutableExpression.getValue(ObjectHandler.java:400)
         at com.sun.beans.ObjectHandler.getValue(ObjectHandler.java:106)
         at com.sun.beans.ObjectHandler.endElement(ObjectHandler.java:327)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:625)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:344)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:120)
         at java.beans.XMLDecoder.readObject(XMLDecoder.java:205)
         at usermanager.javabeans.BeanUserManager.loadUser(BeanUserManager.java:128)
    Now after looking through some of the source it appears to me at least that XMLDecoder when processing an <object> uses an ObjectHandler with the ClassLoader as a parameter, however a class contained within a <class> element gets handled by Statement.invoke() which uses an ObjectHandler without a ClassLoader specified thus using the standard ClassLoader.
    I've managed to work around it for now by setting the contextClassLoader to the correct one before calling readObject() in XMLDecoder and then reverting it back immediately after, but this feels like somewhat of a hack to me.
    I would've expected it to have been properly handled when passing the ClassLoader to XMLDecoder rather than like it is.
    Anyone know if this is intended behaviour or a bug? and if the former is there any recommended way to deal with this other than the one I'm currently using.
    NOTE: Posted over in Serialization forum as more appropriate there, sorry for the crosspost but didn't notice that forum at first. Please direct any replies there.
    Message was edited by:
    djb61
    NOTE: Reposting to Serialization

    You can provide a cell renderer to the JTree to paint the checkBox.
    The following code checks or unchecks the box with each click also:
    _tree.setCellRenderer(new DefaultTreeCellRenderer()
      private JCheckBox checkBox = null;
      public Component getTreeCellRendererComponent(JTree tree,
                                                    Object value,
                                                    boolean selected,
                                                    boolean expanded,
                                                    boolean leaf,
                                                    int row,
                                                    boolean hasFocus)
        // Each node will be drawn as a check box
        if (checkBox == null)
          checkBox  = new JCheckBox();
          checkBox .setBackground(tree.getBackground());
        DefaultMutableTreeNode node = (DefaultMutableTreeNode)value;
        checkBox.setText(node.getUserObject().toString());
        checkBox.setSelected(selected);
        return checkBox;
    });

  • Unable to retrieve the operations and entities during service introspection

    Hi,
                      I created one sample flex mobile project using flash builder 4.5, i would like to invoke the web service (wsdl file), which is developed in java and hosted in remote machine server.i want to call a one getEmployeeList method from the webservice.
                          In flash builder i used the menu Data->connect to web service , i gave the url, changed the service name and package name, after that i clicked next button,
    the service introspection dialog appears and after a few seconds, flash builder 4.5 shows the message "Unable to retrieve the operations and entities from the web service" and "There was an error during service interospection".
                       I try to open the url in the browser window i could able to see the wsdl file.so, please help me to solve this issue!
    Thanks & Regards,
    siva
    Message was edited by: siva csc

    same problem also on my xampp installation , it worked perfect with REST service in the previous flex 3 release , is it my apache conf or something related on Flash builder
    this happens when I call my function that connect to mysql do the query and returns the array object
    Err log from Flash Builder 4:
    There was an error during service introspection.
    <br /><b>Warning</b>:  require_once(Zend/Loader/Autoloader.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br /><br /><b>Fatal error</b>:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\xampp\php\pear\;C:/xampp/htdocs/ZendFramework/library') in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br />
    thanks in advance
    P

  • Accounts and entities do not match in application ownership

    Hi all,
    I'm working on NW 7.5 SP07 (upgrading in SP09 isn't an option at the moment) and when running Consolidation i am getting the error "Accounts and entities do not match in application ownership".
    I am very familiar with Consolidation and created consol appsets numerous times, so I am confident I have set up the dimensions correctly (with all the right properties), appset and app web parameters all look ok, business rules are good, ownership and rate data is all in correct place...but no matter what i do i still get this error.
    FX, carry-forward and calc accounts all work ok, so it is simply something wrong with the ownership app or with how finance is talking to it.
    There was only 1 thread I could find where others had this issue - many people had the same problem and there was never a clear solution to it ..... [Accounts and entities do not match data in application OWNERSHIP; 
    Any ideas besides upgrading to SP09?
    Tom.

    Hi Tom
    Thank you for answer. I found some missing data in my ownership cube and now  'Accounts and entities do not match in application ownership' gone but new error appears after validate script in se38 'GETWA_NOT_ASSIGNED'. Have you ever had this kind of error?
    SAP sent me some tasks list but it seems to me that I have all settings they sent in that document.
    I have a couple of questions and will be very appreciate if you can answer me.
    Are additional members in O_Acct  necessary? If I use only METHOD PCON PGROUP POWN in my input schedules.
    METHOD_SYS
    PCON_SYS
    PCTRL
    PCTRL_SYS
    POWN_SYS
    POWND
    POWND_SYS
    Are you using those above for your consolidation process?
    Are you using dynamic hierarchy editor or input schedules to maintain your ownership data?
    Regards!
    Justyna

  • RUN LOGIC:Accounts and entities do not match data in application Ownership (BPC10.0 NW)

    Hello Experts,
    During execution of the legal consolidation package we get the following error: "Accounts and entities do not match data in application OWNERSHIP"
    We have entered the ownership and transaction data.
    Could you, please, help us to solve the problem?
    Thanks.

    Hi
    The Ownership has accounts like Percentage consolidation etc. Please check if you have selected the correct ones, marked as use in consolidation process and loaded Ownership data aganst those .
    Regards
    Surabhi

  • Accounts and entities do not match data in application OWNERSHIP

    Dear experts,
    During execution of the legal consolidation package we get the following error:
    "Accounts and entities do not match data in application OWNERSHIP"
    We have entered the ownership and transaction data.
    Could you, please, help us to solve the problem?
    Thanks.
    Mila

    This problem occurs when your Legal application is not in synch with your Ownership.
    See below what you have to do to fix this problem.
    I am considering you are using BPC for NETWEAVER.
    If you are using BPC for Windows, then you gonna have to check some other properties too. ok?
    Here we go.
    LEGAL APPLICATION parameters must be setup in web, as follows:
    ORG_ACCOUNTLIST = METHOD,PCON,POWN
    ORG_ACCOUNTOWN = PGROUP
    ORG_INTCO = I_NONE
    ORG_OWNERSHIPCUBE = OWNERSHIP (or the name of your ownership InfoCube)
    ORG_PARENTPROPERTY = PARENT_GROUP
    OWNERSHIP_APP = OWNERSHIP (or the name of your ownership application)
    USELIM = 1 (if you gonna use US elimination)
    VALIDATIONS = 1 (if you gonna use "online" validations entered in Netweaver)
    OWNERSHIP APPLICATION parameters must be setup in web, as follows:
    ORG_ACCOUNTLIST = METHOD,PCON,POWN
    ORG_ACCOUNTOWN = PGROUP
    ORG_INTCO = I_NONE
    ORG_OWNERSHIPCUBE = OWNERSHIP (or the name of your ownership InfoCube)
    ORG_PARENTPROPERTY = PARENT_GROUP
    OWNERSHIP_APP = OWNERSHIP (or the name of your ownership application)
    After setup web parameters, go to BPC console and check the following dimensions:
    (I am mentioning just the ones you need to setup for the consolidation)
    C_ACCT
    This is your account, and if you are using SAP ECC it should be equal to 0050 accounts of your GL (for example)
    In this dimension, you must check the following properties:
    ID - NEVER, I repeat NEVER, use lower case letters since BPC is case sensitive.
         ALWAYS USE UPPER CASE, FOR EXAMPLE, MY ACCOUNT ID'S ARE:   VLD_PL_INV,   VLD_PR_INV and so on.....
         This is valid for all dimensions or any other ID you gonna create in BPC.
    RATETYPE - must setup and must be the ones you gonna use in your RATE application
    DIMLIST2 - must use to GROUP your accounts for eliminations or any other automatic adjustment
    C_CATEGORY
    This is your consolidation categories used to link data you gonna load to your Legal InfoCube.
    You must have C_100 for example, for your Actual Version.
    You can use the ones that comes with APSHELL C_CATEGORY. It is fine.
    C_DATASRC
    This is just to TRACK your entries.
    Create as many data sources you need and you gonna use.
    You can use the ones that comes with APSHELL C_DATASRC. It is fine.
    ATTENTION for the following properties:
    DATASRC_TYPE - I for input (all the entries, transaction data from txt or ECC) and A for automatic adjustments
    IS_CONSOL - Y means that ALL entries in the Legal infocube must be considered for consolidation
    IS_CONVERTED - Y means that ALL entries in the Legal infocube must be converted to the GROUP for consolidation
    DATASRC_STAGE = Y (allways Y)
    ENTITY
    ID and PARENTH1 must be entered and must reflect your company hierarchy.
    INTCO - inform the associated Inter Company.
    CURRENCY - You must inform the currency of the company otherwise IT IS NOT GONNA WORK.
               This currency ID must be setup IN ALL the currency dimensions.
    In this entity you must enter:
    1-All the companies
    2-ALL TECHNICAL COMPANIES for the consolidation to work
    3-ALL TECHNICAL COMPANIES for VALIDATIONS (if you gonna do you validations thru script logic to
    have better control of accounts and values).
    ATTENTION:
    JUST FOR THE TECHNICAL COMPANIES FOR CONSOLIDATION YOU MUST INFORM  Y   TO THE ELIM PROPERTY.
    Leave it blank for all the other companies.
    FLOW - you can use the one that comes with APSHELL
    GROUPS
    If your version of BPC is 7.0 than this dimension has two objectives.
    First Objective - store all the currencies.
    All you company data must be loaded with LC currency i.e. in the Legal InfoCube, you gonna see LC in the GROUPS column.
    This is you Local Currency, so NEVER delete it.
    These currencies must have the following properties setup:
    REPORTING - Y for any other currency you insert, X for LC currency, X for Transction Currency.
    CURRENCY_TYPE - R for reporting, L just for LC currency, T for the transaction Currency
    Leave all the other properties blank!!!!
    Edited by: JADIRM on Nov 7, 2010 3:23 AM

  • "Accounts and entities do not match data in application OWNERSHIP failed"

    Hi experts,
    We are executing the IC Elimination package and we get next error:
    "Accounts and entities do not match data in application OWNERSHIP failed"
    We have entered the ownershipdata, post the correcta data, executed the currency conversion but the status package is error and gives the reported message.
    Did it happen to anybody? How can we solve the problem?
    Regards.

    Hi Dani, thanks a lot for your reply.
    I am running BPC 7.0.0.8 SP8
    I've turnned ELIM property of ENTITY to blank as you suggested.
    Now I get another error:
    DATA FOR CATEGORY C_100 NOT FOUND IN APPLICATION LEGAL.
    Looking into the LEGAL cube I have data for C_100....
    Do you have any idea?
    Thanks a lot again...
    Jadir

  • XMLDecoder and InputStream

    I am trying to restored an object from the database. The object was formated to xml by using XMLEncoder and write it to the database in ByteArrayOutputStream.
    protected restore(Resultset rsData)
    try
    InputStream ips = rsData.getBinaryStream(index) ;
    java.beans.XMLDecoder xmlDcd = new java.beans.XMLDecoder(ips);
    Object objVal = xmlDcd.readObject();
    }catch(Exception expE)
    It threw expection
    [java.util.NoSuchElementException] null
    java.util.NoSuchElementException
         at java.util.Vector.lastElement(Vector.java:464)
         at java.beans.ObjectHandler.lastExp(XMLDecoder.java:266)
         at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:271)
         at java.beans.XMLDecoder.readObject(XMLDecoder.java:150)
    I printed out the InputStream line by line and found out there is an "null" at the end of the xml stream and it was considered as an invalid element.
    Does anyone know what is the easier way to work around this problem.. thanks

    I have tried using XMLEncode and XMLDecode to save and restore UIs but I ran across lots of problems with the output of XMLEncode. Most of the problems were due to dependencies like setting the JMenu displayedMnemonicIndex property before the actionCommand property was set causing a index out of bounds exception. XMLDecode seems to work fine if the input file is correct but XMLEncode needs additional work. I don't think XMLDecode and XMLEncode are a good choice for what you are trying to do. As a workaround you can write the data to a text file and edit by hand to figure out what's wrong. I was able to create an application UI with a text editor and XMLDecode. There are two articles on the Swing page describing long term persistence using XMLEncode & XMLDecode check them out.

  • How to validate using schema and entities

    I am able to validate documents using w3c schema with either SAX or JDOM. But I need to add some entity definitions from a DTD.
    If I add a DOCTYPE to my document that references a DTD, the entities are handled correctly, validation fails because the document is not valid per the DTD. I may be dealing with a lot of schemas and do not want to create the whole DTD for every schema.
    Is there a way to validate using the schema and get the entity declarations without doing dtd validation?? I am using jaxp-1.2.2 (wsdp 1.1) and jdom beta-8.

    Declare only the Entities in the Dtd.
    Validate with schema & validate with Dtd containing
    only the entities.I did create a dtd that contains only the entities. The parser will correctly parse this but validation fails because the entire document is not dtd valid.

  • JAXM and entities in SOAP document

    I've been trying out JAXM (1.0.0) and I've reached a situation where JAXM is telling me that I can't have entities (such as & lt ;) in my SOAP document. I've not seen this restriction mentioned anywhere before -- I can't find it in the SOAP 1.1 spec. Can anyone provide me with a clue here?
    The exception is:
    javax.xml.soap.SOAPException: Unable to create envelope from given source: Entities are illegal in a SOAP document Nested exception: Entities are illegal in a SOAP document at com.sun.xml.messaging.soap.dom4j.EnvelopeFactoryImpl.createEnvelope(EnvelopeFactoryImpl.java:76)
    at com.sun.xml.messaging.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:92)
    I'm trying to do the following; for testing I thought it would be useful to modify the simple.war/ReceiveServlet to return the message it receives in a SOAP response. That is, if I send a message like this.....
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <f:checksheet-request xmlns:f="http://someone.com/SOAP/checksheet" locale="en_GB">
    <VIN>12345678901234567
    </VIN>
    </f:checksheet-request>
    </soap-env:Body>
    </soap-env:Envelope>
    I'd get back the following......
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header/>
    <soap-env:Body>
    <Response><soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><f:checksheet-request xmlns:f="http://someone.com/SOAP/checksheet" locale="en_GB"><VIN>12345678901234567</VIN></f:checksheet-request></soap-env:Body></soap-env:Envelope>
    </Response>
    </soap-env:Body>
    </soap-env:Envelope>
    ...and those are the messages that are sent (I watched the messages using the Axis project's tcpmon tool).
    This is the code I'm using the read the message:
    SOAPMessage response = connection.call(message, endpoint);
    SOAPPart soapPart = response.getSOAPPart();
    // The next line throws the exeption....
    SOAPEnvelope env = soapPart.getEnvelope();
    What's the problem with having entities in the response?
    Many thanks
    Richard

    Thanks for the help. The onMessage implementation is as follows:
    public SOAPMessage onMessage(SOAPMessage message)
            logger.debug("onMessage called in receiving servlet");
            try
                logger.debug("Here's the message: ");
                   ByteArrayOutputStream bytes = new ByteArrayOutputStream();
                   message.writeTo(bytes);
                   String receivedMessage = bytes.toString();
                logger.debug(receivedMessage);
                SOAPMessage msg = fac.createMessage();
                SOAPEnvelope env = msg.getSOAPPart().getEnvelope();
                env.getBody()
                    .addChildElement(env.createName("Response"))
                    .addTextNode(receivedMessage);
                return msg;
            catch(Exception e)
                logger.error("Error in processing or replying to a message", e);
                return null;
        }As you can probably tell, that's just a small change to one of the sample servlets in the JAXM distribution.
    The client that sends the message is a junit test class as follows:
         public void testEchoSendRequest() throws SOAPException
              SOAPConnectionFactory scFactory =  SOAPConnectionFactory.newInstance();
              SOAPConnection connection = scFactory.createConnection();
              MessageFactory mf = MessageFactory.newInstance();
             SOAPMessage message = mf.createMessage();
               SOAPPart sp = message.getSOAPPart();
             SOAPEnvelope envelope = sp.getEnvelope();
             SOAPHeader header = envelope.getHeader();
              header.detachNode();
             SOAPBody body = envelope.getBody();
              Name bodyName = envelope.createName("checksheet-request",     
                   "f", "http://someone.com/SOAP/checksheet");     
              SOAPBodyElement checksheetRequest = body.addBodyElement(bodyName);
              SOAPElement vin = checksheetRequest.addChildElement("VIN");
              vin.addTextNode("12345678901234567");
              checksheetRequest.addAttribute(envelope.createName("locale"), "en_GB");
              URLEndpoint endpoint = new URLEndpoint("http://127.0.0.1:9888/etis/soap-echo");     
              SOAPMessage response = connection.call(message, endpoint);
              assertTrue("Expected non-null response", response !=null);
              SOAPPart soapPart = response.getSOAPPart();
              SOAPEnvelope env = soapPart.getEnvelope();
              SOAPBody contents = env.getBody();
              assertTrue("Didn't expect a fault: "+ contents.getFault().getFaultString(), contents.hasFault() == false);
              Iterator it = contents.getChildElements(env.createName("Response"));
              assertTrue("Expected content in response", it != null && it.hasNext());
              SOAPBodyElement bodyElement = (SOAPBodyElement)it.next();     
              assertTrue("Expected non-empty response", bodyElement != null);
              String sentMsg = bodyElement.getValue();     
              System.out.println("Got back: "+sentMsg);
         }Thanks for looking into this.
    Richard

  • XMLDecoder and Vista x64

    Hi,
    My program has a set of XML files which it decodes when it needs some data.
                    FileInputStream fis = new FileInputStream(fileName);
                    BufferedInputStream bis = new BufferedInputStream(fis);
                    XMLDecoder in = new XMLDecoder(bis);
                    s = (Service)in.readObject();
                    in.close();
                    bis.close();
                    fis.close();The problem is that on XP and Vista x32 this seems to work fine, but on Vista x64 it kills my JVM and I quite often get a java.lang.OutOfMemoryError: Java heap space error even tho this computer with Vista x64 has twice the specs of the other computer that this program runs fine on.
    Does anyone have any ideas why or any thing I could used instead?

    The 64-bit version needs more memory than the 32-bit version as all the references are twice the size.
    Java will only use as much memory as you allow it, the default is 64 MB, if you would like it to be able to use more then you can add the -mx argument to the command line. e.g. -mx512m

  • Master Data Explorer disables Model and Entities after every action in Excel

    I'm working with MSSQL 2014 and Excel 2013 with the Master Data Services Add-on (MSQL and Excel are both trial versions.)
    When I connect to the model then I perform any action on an entity in that model, the Model and the list of Entities in the Master Data Explorer panel become disabled and I have to close the pane, reconnect to the MDS server and select the model again.
    My MDS security settings are fine because I can edit the entities I want from Excel, it's just the disabling that is a pain. 
    Is this the behaviour of the trial version? I haven't found anything that says it is.
    Any advise appreciated. 
    Thanks

    After turning up the logs on the MDS client and the MDS server, and putting Fiddler in between, I saw the client ask the server:  Is DQSInstalled?  The server politely responded: <IsInstalled>false</IsInstalled>.  What criteria
    does the MDS server use to determine that DQS is installed?
    The guts of the request:
    <s:Body><DataQualityInstalledStateRequest xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09"/></s:Body>
    And the response:
    <s:Body><DataQualityInstalledStateResponse xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09"><IsInstalled>false</IsInstalled><OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Errors/><RequestId>682c9b4e-ffef-492d-8bbb-17b315b5fe4d</RequestId></OperationResult></DataQualityInstalledStateResponse></s:Body>

  • Discovering structure and entities in unstructured content

    Hi,
    On http://technet.microsoft.com/library/ee667266(v=office.15).aspx it is described that:
    For HTML content, redundant generic information such as menus, headers, and footers are classified as such and removed from document summaries in the search results.
    We still see menus appearing in the document summeries. Should this menus follow certain (html) rules or ... The same for html headers and footers
    Links with more info would also be much appreciated
    adTHANKSvance,
    Jan

    Thank you for your answer, Waldek!
    I knew that but apparently then the links in the menu section will not be followed and so not indexed. And I want to crawl everything...
    Further within our university and associated schools of higher education I cannot force all decentral web servers and web content providers to include <div class="noindex"> in header, footer and menus.  And IIRC noindex should be
    repeated in each nested div...
    So I am looking another solution.
    I tried to perform data cleansing via a Content Enrichment Web Service. I thought it would be possible to send the raw html data to CEWS but I was not able to alter the data (remove header and footer) and send it back.
    adTHANKSvance,
    Jan
    Hi Jan,
    I have checked the content of
    http://search.kuleuven.be search center & find that the pages are causing an issue are html pages. To get rid of unwanted html contents follow are the steps.
      Custom stage in CEWS and use the REGEX to get the content under <div id=”Content”> tag and put into one custom MP.
    Create new display template and result type by copy the OOB template.
    Create the result type based on the html page & override the Custom MP with HihiglighedSummary as mentioned in the below blog link.
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/12/how-to-display-values-from-custom-managed-properties-in-search-results-option-2.aspx
    Regards
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com

  • JPA and Entities without setter methods

    Hello,
    maybe a stupid question: I have an entity without a setter methods in order to make it immutable after creation. I�ve written all JPA annotations on method level - here on the getter method. I�ve got the error msg that the setter is required. It is possible to annotate fields without the setter method?
    Thx,
    Thilko

    I've got a number of immutable Entity Beans working, but I annotated them all on the field level, not the method level. I couldn't figure out why anyone would want to annotate them as methods, especially given the fact that JPA still sucks with dates. I store all my dates as longs, and use the getters and setters to convert back and forth from java.util.Date objects. If I annotated the methods, I assume I'd either have to find some way to store Date objects, or have my getters and setters deal with longs.
    It feels a little weird declaring a field private and then annotating it so that external code can change it, but it works fine. Additionally, you only have to write half as many annotations.
    Try annotating fields rather than methods (of course, you have to do each Entity Bean all the same way, no mixing) and see how it works for you.

  • Adding workflow process owners for Scenarios/Versions and Entities

    Hi. I want to add managers and their email addresses for each combination of Scenarios/Versions and each Entity member.
    I see when I'm in the Application I can go into File | Workflow , Manage Process I can see that under the "Current Owner", each entity is showing "Not Available".
    How can I add these owner(s) for ech entity so that a process can be started for each entity and the next higher person in management gets notified?
    Thanks!

    The administrator or the user with the admin access initiates the workflow for each entity and assigns to a person. So that person becomes the owner. After he completes he promotes it to the next level. Only the current owner will have the access to that particular entity. The process continues.

Maybe you are looking for

  • Getting error message can't open unistalled product

    Cant open itunes ... getting error message can't open uninstalled product.... can't uninstall..  help

  • Switching between Apple IDs on iphone

    I have an Iphone issued by my employer. What would happen if I logged out the the company Apple ID and logged into my own so I can download apps?

  • Advice to "thick as a brick" in Java-files tuning, please

    I have just now installed on the NT ojsp, jswdk, jsdk, Apache and tried OJSP "White papers"'s example with <%@ page import="mybeans.NameBean" %>. I have compiled "NameBean.java" to "NameBean.class" and put it into the same directory where a jsp-coded

  • No sound after (kernel)update 64bit

    Hey I just rebooted my PC the first time after the new kernel update. Now sound is not working anymore at all... But the soundcard (Audigy 2 ZS) is still recognized (e.g. via alsamixer), and kmix does not give any error message. Everything seems to w

  • Recording Video via firewire + camera

    I do not get the same options in my menu as my mac. It does not offer video recording even if I plug a camera that is recognized by windows. I read everything carefully and I did not see this apparent difference so I must be doing something wrong her