XPath processing with namespaces does not work. Please review my code..

Dear all,
I am working on with the IMS Group's Enterprise XML standard (http://www.imsproject.org/enterprise/) and need to retrieve member information using XPath.
After significant fault finding, I have narrowed down the problem to the XML file containing multiple namespaces in the root element. I have checked out some forum postings here and on Google (programmer's best friend) for possible solutions... namely the implementation of the my own NamespaceContext object. I have implemented and yet I am still not able to retrieve the data I want.
Could someone advise where I am going wrong?
When I remove the namespaces from the root element I can find out the number of member elements in the XML (just for testing atm). I could write a regular expression to remove the namespaces from my XML, but that's just dodgy..
Here's a sample XML:
<enterprise xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:webct="http://www.webct.com/IMS">
<properties>...</properties>
<group>...</group>
<membership>
<member>...</member>
</membership>
</enterprise>
My implementation of the a NamespaceContext object:
public class IMSProjectNamespaceContext implements NamespaceContext {
public String getNamespaceURI(String prefix) {       
if(prefix == null) throw new NullPointerException("Null prefix");
else if("xsi".equals(prefix)) return "http://www.w3.org/2001/XMLSchema-instance";
else if("webct".equals(prefix)) return "http://www.webct.com/IMS";
else if("xml".equals(prefix)) return XMLConstants.XML_NS_URI;
return XMLConstants.NULL_NS_URI;
}// end of overriding getNamespaceURI method
// This method is not necessary for XPath processing
public String getPrefix(String uri) {
throw new UnsupportedOperationException();
}// end of overriding getPrefix method
// This method is not necessary for XPath processing
public java.util.Iterator getPrefixes(String uri) {
throw new UnsupportedOperationException();
}// end of overriding getPrefixes method
}// end of IMSProjectNamespaceContext class
My method attempting to use XPath... but not successful (it should print out the number of member elements if XPath works correctly with my XML file, but only prints out 0 each time):
private void getSectionMembers(String dataXML) throws Exception {
try {       
InputSource inputSource = new InputSource(new StringReader(dataXML));
XPath xPath = XPathFactory.newInstance().newXPath();
xPath.setNamespaceContext(new IMSProjectNamespaceContext());
XPathExpression xPathExpression = xPath.compile("/enterprise/membership/member");
NodeList nodes = (NodeList)xPathExpression.evaluate(inputSource, XPathConstants.NODESET);
System.out.println(nodes.getLength()); // Debugging
} catch(Exception ex) {
ex.printStackTrace();
throw new Exception("XPath Querying Failed.");
}// end of xPathQuery method

Dear dvohra09,
Thank you for your quick reply. Much appreciated. I have implemented a NamespaceContext object that is able to set more than one prefix for a URI as you suggested.
It works when I remove the first namespace that is generated in the IMSProject Enterprise XML:
xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01"
When I hack the XML and set a prefix for this ('default') namespace it works... For example:
xmlns:ims="http://www.imsproject.org/xsd/imsep_rootv1p01"
Is the NamespaceContext class supposed to handle for so called "default" namespaces (without needing to touch the XML)?
My method is performing the XPath query is below:
private void getSectionMembers(String dataXML) throws Exception {
try {       
InputSource inputSource = new InputSource(new StringReader(dataXML));
IMSProjectNamespaceContext imsproject = new IMSProjectNamespaceContext();
imsproject.setNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
imsproject.setNamespace("webct", "http://www.webct.com/IMS");
imsproject.setNamespace("ims", "http://www.imsproject.org/xsd/imsep_rootv1p01lme");
XPath xPath = XPathFactory.newInstance().newXPath();
xPath.setNamespaceContext(imsproject);
XPathExpression xPathExpression = xPath.compile("//ims:enterprise/@xmlns/text()");
NodeList nodes = (NodeList)xPathExpression.evaluate(inputSource, XPathConstants.NODESET);
System.out.println(nodes.getLength()); // Debugging
System.out.println(nodes.item(0).getNodeValue()); // Debugging
} catch(Exception ex) {
ex.printStackTrace();
throw new Exception("XPath Querying Failed.");
}// end of xPathQuery method
Regards
Zig

Similar Messages

  • UCCX XPath-expression with -operator does not work

    Hi all,
    I'd like to read opening hours from an XML file. The UCCX version is 8.5.
    The XML looks like this:
    <ccdata>
       <dow>
          <dow6>
             <open>
                <from hour="8"  minute = "00" />
                <until hour="19" minute ="15" />
             </open>           
         </dow6>
      </dow>
    </ccdata>
    I simpified the file for testing, it should contain several open items later for every day of week.
    I want to use an XPath expression to check if there's a open item for the current day of week and time.
    I started with a simplified expression that should return the node for an hour value of 8:
    //ccdata/dow/dow6/open/from[@hour=8 ]/@hour
    that's working- it returns "8".
    But if I change the expression to return the node for an hour value less then 9:
    //ccdata/dow/dow6/open/from[@hour<9]/@hour
    it returns nothing. If I enter the expression into a XPath test tool ("XPath Visualizer Tool") it looks ok.
    Any ideas? Is that a bug?
    Thanks in advance
    Jörg

    It must be a bug- I tried it on UCCX 7.0(1)SR03 and it's working there.

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, send me ansver,please

    Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, write me of bookmarks could not be loaded. Please advice on everything because I came and they seriously need it.

    Did your computer crash or did Firefox crash causing the loss of the bookmarks?
    You can check for problems with the places.sqlite database file in the Firefox Profile Folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    See also:
    *http://kb.mozillazine.org/Lost_bookmarks
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

  • Confirmation process in SRM does not work whenever there is a discrepancy

    Hello,
    we are on SRM 5.0 version with classic scenario(follow on documents in backed system - ECC 5.0). to procure maintainence service user cretes a shopping cart by selecting describe requirements method and UOM at times in incorrectly asssigned as EA so upon shopping cart approval a follow on ducument (purchase requistion) is created in ECC  as per config set up(in SRM). Buyer while coverting this purchase requisition to PO rectifies this erroe and chages the UOM of meausre to Hr and send a PO to vendor.
    we are not bale to use confirmation feature in SRM to perform receipt of this service. is this how system works? any configration or a BADI needs to be usd to allow to perform confirmation in SRM even tough there is discrepancy in shopping cart UOM and Purcahse requsition UOM.
    when thre is change in UOM in ECC that Purchase
    *Confirmation process in SRM does not work whenever there is a discrepancy (i.e. different UM )between Shoping cart and Purchase Requisition related to that Shoping cart.*
    we donot use serive option in SRM and donnot MM service module in ECC.
    any help on this will be much appreciated.
    Thanks,
    sairam

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Serial number provided with download does not work, now what?

    serial number provided with download does not work, now what?

    Chrish29593217 you are welcome to contact our directly at Contact Customer Care.  What Adobe software title are you facing difficulties with?

  • Redemption code from Photoshop Elements 12 purchased from Best Buy does not work 'Oops! This code doesn't seem to be active. Please contact the retailer you purchased the card from, or use a different code.'   I have an invoice and the pickup notice from

    Redemption code from Photoshop Elements 12 purchased from Best Buy does not work 'Oops! This code doesn't seem to be active. Please contact the retailer you purchased the card from, or use a different code.'   I have an invoice and the pickup notice from Best Buy.   What other information does Best Buy need?   What will they do?   Will I get a new box?   What happened to the days of just typing in a simple s/n?   

    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • ORDS Template with parameter does not work

    Hello everybody,
    I can not get working a RESTful Service using the ORDS_SERVICES -API (ORDS version 3.0.0.343.07.58), same Query without parameter (hardcoded product_id) works fine.
    declare
    l_module_id number;
    l_template_id number;
    l_handler_id  number;
    l_parameter_id number;
    begin
    ORDS_SERVICES.delete_module(p_name => 'test_parameter');
    l_module_id := ORDS_SERVICES.create_module(p_name => 'test_parameter',
                                p_uri_prefix => '/test_parameter',
                                p_items_per_page => 10,
                                p_status => 'PUBLISHED',
                                p_comments => null);
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info_10/',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = 2',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    /* now same result but with parameter */
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info/{product_id}',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = :product_id',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    l_parameter_id := ORDS_SERVICES.add_parameter(p_handler_id => l_handler_id,
                               p_name =>  'product_id',
             p_bind_variable_name => 'product_id',
             p_source_type => 'URI',
             p_param_type => 'INT',
             p_access_method => 'IN',
             p_comments => null);
    commit;
    end;
    The first template works fine:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info_10/
    shows a jpeg image of a wallet.
    The second template does not work:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info/10/
    fails with error:
    mapped request using: BasePathMapper [basePath=/xxx/] to: SCHEMA:apex|XXX
    Choosing: oracle.dbtools.http.dispatch.DispatchMetaData as current candidate with score: MetaDataScore [score=0, matchedMethod=  GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    , matchedPattern= /test_parameter/demo_product_info/{product_id}
    common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=null, pagination=null, requiresPrivilege=null, transport=null]
    methods:
      GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    stack trace:
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: INT
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:51)
    at oracle.dbtools.http.cors.CORSFilter.doFilter(CORSFilter.java:35)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    I changed the add_parameter-call p_param_type => 'INT' to be  p_param_type => 'STRING'
    then error remains the same and strack trace says
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: STRING
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    Could you please confirm and fix,
    kind regards,
    Tom

    This is a guess, but I suspect that ords_services.add_parameter() is not required at all.
    Also, your URL /demo_product_info/10/ should not have the trailing slash (according to your template URI).
    For more information, I suggest you look here:
    ords.3.0.0.343.07.58.zip\ords.war\scripts\migrate\core\ords_migrate.plb
    The migration package will show what is usually done for templates that already exist within APEX 4.2. I checked my templates and the ones with URI variables {in-curly-brackets} contain no records in apex_040200.wwv_flow_rt$parameters.
    -Kris

  • Sync with Itunes does not work

    Hi,
    I reinstalled latest Itunes completly but still sync with outlook 2007 does not work.
    Itunes says Sync finished, but nothing is synced.
    Here is the log:
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ===================
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] iTunes.exe begins
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ===================
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] "C:\Programme\iTunes\iTunes.exe"
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] APPDATA=C:\Dokumente und Einstellungen\mispde\Anwendungsdaten
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] asl.log=Destination=file;OnFirstLog=command,environment
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] CIHOLOSCLI=C:\Programme\Seagate Software\Open Olap\
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] CLASSPATH=.;C:\Programme\Java\jre6\lib\ext\QTJava.zip
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] CommonProgramFiles=C:\Programme\Gemeinsame Dateien
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] COMPUTERNAME=MISPDE0
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ComSpec=C:\WINDOWS\system32\cmd.exe
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] FPNO_HOSTCHECK=NO
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HARVESTHOME=C:\Programme\CA\AllFusion Harvest Change Manager
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HOME=C:\Programme\Computer Associates International, inc.\CCC Harvest
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HOMEDRIVE=C:
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HOMEPATH=\Dokumente und Einstellungen\mispde
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] LOCALHARVESTHOME=C:\Programme\CA\AllFusion Harvest Change Manager
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] LOGONSERVER=\\ERLCNDC1
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] NewEnvironment1=C:\Programme\Vodafone\Vodafone Mobile Connect\"Optimization Client"
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] NUMBEROFPROCESSORS=2
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] OS=Windows_NT
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] Path=C:\Programme\Gemeinsame Dateien\Apple\Apple Application Support\;C:\Programme\Gemeinsame Dateien\Microsoft Shared\Windows Live;C:\Programme\CA\SharedComponents\PEC\bin;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\Programme\Microsoft SQL Server\80\Tools\Binn\;C:\oracle\ora102\bin;L:\deployment files\runtime;L:\development\client;D:\FOUNDA~1\fnd301\deployment files\runtime;D:\FOUNDA~1\fnd301\development\client;C:\Programme\Samsung\Samsun g PC Studio 3\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Programme\CA\AllFusion Harvest Change Manager;C:\Programme\QuickTime\QTSystem\;C:\Programme\Gemeinsame Dateien\Microsoft Shared\Windows Live
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PERL5LIB=C:\oracle\ora102\perl\lib\5.8.3\MSWin32-x86;C:\oracle\ora102\perl\lib\ 5.8.3;C:\oracle\ora102\perl\5.8.3\lib\MSWin32-x86-multi-thread;C:\oracle\ora102\ perl\site\5.8.3;C:\oracle\ora102\perl\site\5.8.3\lib;C:\oracle\ora102\sysman\adm in\scripts
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_ARCHITECTURE=x86
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_LEVEL=6
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_REVISION=0f0b
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ProgramFiles=C:\Programme
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] QTJAVA=C:\Programme\Java\jre6\lib\ext\QTJava.zip
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] RTARCH=i86_w32
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] RTHOME=C:\Programme\CA\SharedComponents\PEC
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SESSIONNAME=Console
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SQLBASE=C:\Oracle\ora102\NETWORK\ADMIN
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SystemDrive=C:
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SystemRoot=C:\WINDOWS
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] TEMP=C:\DOKUME~1\mispde\LOKALE~1\Temp
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] TMP=C:\DOKUME~1\mispde\LOKALE~1\Temp
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] TNS_ADMIN=C:\Oracle\ora102\NETWORK\ADMIN
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERDNSDOMAIN=CORPNET.IFSWORLD.COM
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERDOMAIN=CORPNET
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERNAME=mispde
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERPROFILE=C:\Dokumente und Einstellungen\mispde
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] VS90COMNTOOLS=C:\Programme\Microsoft Visual Studio 9.0\Common7\Tools\
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] windir=C:\WINDOWS
    [3068 @ Wed Jun 09 10:45:52 2010] [(unknown facility) iTunes.exe] receive_message: Could not receive secure message: -1
    [3068 @ Wed Jun 09 10:45:52 2010] [(unknown facility) iTunes.exe] readthread: Could not receive message
    [7028 @ Wed Jun 09 10:47:00 2010] [_ISDVLog SyncServer.exe] Cancelling all sync plans.
    [7028 @ Wed Jun 09 10:47:00 2010] [_ISDVLog SyncServer.exe] Goodnight, Gracie.
    Please help me!

    *I just spoke with two different senior advisors from Apple one whose name was Matt and the other whose name was Zachary. They both were extremely rude and were not helpful at all. I explained the same exact scenario to them about how I just updated to iTunes 9.1.1 and that now my iPhone will not sync.*
    The ONLY help they could give me was to purchase a plan for either 29.99 or 69.99
    The reason no one from Apple will help us is because this company is based on greed. I am sure they knew about this bug that prevents thousands of users from syncing but I am also sure they assumed that we would pay the 29.99 or 69.99 for them to fix the problem. I honestly feel as though this is a scam to make more profit off of us.
    There is absolutely NOTHING they can do to help they said except for me to purchase one of those two plans they offer. My question is WHY THE **** SHOULD I PAY FOR SOMETHING THAT I AM NOT AT FAULT FOR? It should be there moral duty and responsibility to fix this bug yet because they know they will profit from it they have no intentions on doing so. The only thing I can really suggest is calling Apple and telling them how you feel. The more people who voice there opinions the better (just be prepared for them to tell you the ONLY thing they can do to fix the problem THEY created is by making YOU pay more money to fix it).
    I am extremely disappointed as a loyal Apple customer and this has seriously made me reconsider ever buying another Apple product.
    This company is morally and ethically wrong.

  • Save a published Access services database site as a template with contents does not work

    Hi
    I have a Access site on the SharePoint. I wanted the site to be duplicated to another subsite, I then did the usual - save site as a template with contents and made a copy of it, however it does not work. I have been getting the error as stated below
     error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'Default'. (rsErrorExecutingCommand)
    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    However, it works if I make a local copy and publish it to the subsite? How does access services work on SharePoint and why the template option can't be chosen.

    Hi cally, check the following links for possible solutions:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1e2b77ba-4cfa-4aa3-97e4-b7b39fbd46fd/error-with-ssrs-report-that-has-a-sharepoint-list-data-connection-ssrs-r2-and-sharepoint-2010?forum=sqlreportingservices
    http://blog.mikehacker.net/2012/05/16/sharepoint-2010-access-services-reporting-with-sql-2012/
    cameron rautmann

  • Sending by mail an Invoice with VF02 does not work

    Hi guys,
    When using VF02 to send by mail an invoce form, the functional consultant is in trouble since it does not work. I am ABAP consultant, and before starting to debug the huge amount of lines of code behind this transaction, I think there might be a more straight solution. When setting the invoice number and entering this transaction, we accessed Goto->Header->Output. The output table to enter our fields appears. Here we set ZXXX as output type and External send like the Medium. When I press enter, the line is automatically filled with the rest of fields. Then we go to Further Data and choose the Send Immediatelly (when saving the application) option. Get back and press Save button. After it, a message "Please enter a communication strategy" is shown and the SD consultant told me that the correct option is MAIL (in fact, this option is part of the F4 help, with "email" as descriptive text) in the Communication strategy field. She told me it should be all to send a mail with the invoice. We did not fill the Logical destination nor checked "Print immediatelly" or "Release after output" checkboxes since they are not useful in this case. So when finally Save button is pressed, a message appears: " ", and then a dialog box appears with the following message: " Express document "Update was terminated" received from author "GILBERTO PARGA"". The mail received in my inbox is only a error message with title "Update was terminated" and the content is the following:
    Update was terminated
    System ID....   XXX
    Client.......   999
    User.....   SOMEBODY
    Transaction..   VF02
    Update key...   XXXXXXXXXXXXXXXXXXXXXX
    Generated....   12.05.2011, 20:37:27
    Completed....   12.05.2011, 20:37:27
    Error Info...   Output device not defined.
    The system is SAP ECC 6.0. Note that the message indicates no output device was defined, but since we are using email instead of print output, it does not matter. I have filled the field with the same result. I have read from Internet it could be a configuration trouble (the SD consultant checked it before, according herself) or even a Basis issue. Anyway, do you know the possible causes and possible solutions (like OSS Notes) for this trouble? The print output works fine, by the way.  Thank you all for your help.

    Hi,
    If you maintain method EXTERNAL SEND then in communication method you have to specify Communication strategy as CS01(Internet/letter)
    If you maintain method simple mail then in communication method you have to maintain RECIPIENT and RECIPIENT TYPE
    Also check the number range assignment for billing type for error "Update was terminated"
    you might be assigned numbers which are already consumed.
    kapil

  • Start-mdbs-with-application does not work

    Hi,
    We have a cluster with two managed servers and a JMS server on a migratable target on WLS 10.3.2. We have some MDBs within an EAR module deployed on the cluster. When the managed servers are restarted, WLS produces the following warning:
    <The Message-Driven EJB: LogReceiver is unable to connect to the JMS destination: jms/loggingQueue. The Error was:
    javax.naming.NameNotFoundException: Unable to resolve 'jms.loggingQueue'. Resolved 'jms'; remaining name 'loggingQueue'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.jms.common.CDS$2.run(CDS.java:222)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.jms.common.CDS.getDDMembershipInformation(CDS.java:216)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.createMDManagers(MessageDrivenBeanInfoImpl.java:1295)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.activate(MessageDrivenBeanInfoImpl.java:1092)
    at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1324)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:480)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:67)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    We have configured a System module with a ConnectionFactory on a default targetting and a Queue deployed on the JMS Server. The jndi names for the ConnectionFactory and the Queue have been properly configured.
    Apparently, the container tries to bind the MDBs with their relative destination, but is unable to proceed due to the cluster jndi not having been loaded yet. According to the documentation, we could manage to avoid this early binding by specifying
    <wls:start-mdbs-with-application>true</wls:start-mdbs-with-application>
    in weblogic-application.xml. I tried (also using false, because the documentation is not that clear in this aspect), but without any result. Is there a reason why we cannot manage to have the mdbs connecting later with their destination?
    Also, we got a warning message in the deployment page, claming that the MDBs in the server that is not hosting the JMS server are not connected to their destination. They stuck on state "initializing". While, if we manually resume the connection, via console, the state turns to "Connected". Are these issues correlated somehow?
    Any help will be very much appreciated.
    Thanks in advance,
    - Francesco.

    Hi Francesco,
    From the link below (i.e. Oracle link for WLS-11g) it states that
    “Set to false to defer message processing until after WebLogic Server opens its listen port.”
    Search for: start-mdbs-with-application
    Link-1 http://download.oracle.com/docs/cd/E15523_01/web.1111/e15493/summary.htm
    *# Conclusion:*
    This means that “false” should have resolved your issue but it is not so this might be a bug. Similar bug was seen in WLS-9.2 version which was fixed in WLS-9.2 Mp-1 version check out the link below.
    Search for: CR293982 or CR299012
    Link-2 http://download.oracle.com/docs/cd/E13222_01/wls/docs92/issues/known_resolved.html
    However if it was fixed in WLS 9.2 Mp-1 then the same issue is most probably taken care in WLS 10.x.x version also.
    *# Suggestion:*
    - Try to set “start-mdbs-with-application” as “true” and check if that works for you.
    This is because if you read the “Link-1″ carefully it states that “With default setting of true”, however when you check the “Default” column it shows “false”. Hence cant say which one is default. It might be document bug as well. However you have tried it so you can skip this suggestion.
    *# How to solve this issue:*
    1) Create a simple test case to prove that “start-mdbs-with-application” when set as “false” does not work.
    2) Open a ticket with Oracle and provide all the details with the test case and let them do their job.
    Hope this information helps.
    Regards,
    Ravish Mody

  • OS X Mountain lion code does NOT work - Please help

    I bought my 2012 Macbook pro June 21 2012. I qualify for the free OS X Mountain lion upgrade. I got my emails, one with the PDF file, one with the password to it. I open up the red PDF file, enter my password and it does NOT work. I took my password to the Mac App store, clicked Quick Link, Redeem, placed my code in and it STILL DOES NOT work. PLEASE HELP!!! I need the new OS, plus Im supposed to get it for free! Its not fair how they sent me a bad code / improper instructions on how to redeem it.

    suggestion - call apple.....since we're all users here, it's hard to give you the right suggestion/answer regarding your issue...

Maybe you are looking for

  • Creation of purchase order using bapi

    hi gurus, Can anyone give me an example of how to create purchase order using bapi

  • Create folder sync with automator

    I have a few machines runnign 10.4.11 in our office that we are trying to back up to a NAS. However, I can't seem to get any sort of workflow via Automator to work. Does anyone have any advice on how to set up a workflow that creates a weekly backup?

  • Flex3 builder and Livecycle

    Hello, I'm new at flex and livecycle developing. I'm Having a problem because when i create a new flex project on flex  builder 3 and select livecycle data services and try to put the server  location to my server, not locally i'm getting the same er

  • Cant Install Solaris 10

    Hello all, I am new to Solaris. I have been a Windows User for a long time, but I am trying to dual boot Solaris 10 and Win XP on my Laptop. I have set up the Partitions 1 20 GB for WIndows and 1 20 GB for Solaris. I then inserted the disk and starte

  • How to implement parallel processing in oracle.

    Hi Gurus, In one our procedures we are calling 7 procedures internally. We want to execute them parallely insted of sequentially. Please help me to resolve this issue. thanks in advance...