Another Namespace Problem

Hi All,
Sorry to ask this, as I’m sure it is a repeat to other questions but unfortunately their resolutions do not have an effect on my problem.
The problem I am having is that when the namespace is left as the root node XMLP is unable to see any data. Now I have tried declaring it in my template and using the name when calling the fields but with no success. Below is the first section of the xml.
<?xml version="1.0" encoding="UTF-8" ?>
- <msg:HRSchedules xmlns:msg="http://www.temposoft.com/schemas/TS-HRSchedule" xmlns="http://www.temposoft.com/schemas/TS-Types">
- <Scope>
<PartyID IDType="StoreID">London</PartyID>
<StartDate>2007-04-16</StartDate>
<EndDate>2007-04-23</EndDate>
</Scope>
- <Schedule>
- <Scope>
<EmployeeID IDType="HRID" FileID="300079319">119913</EmployeeID>
</Scope>
- <Shift level="detail">
<Date>2007-04-16</Date>
<Activity>Cashier</Activity>
<StartTime>11:00:00</StartTime>
<EndTime>14:00:00</EndTime>
<PartyID>London</PartyID>
</Shift>
Can anybody out there help…! Thanks for taking the time to read this :-)

This seems to be an on-going issue with namespaces and XMLP.
Has anyone managed to get this to work yet?
Cj

Similar Messages

  • YAPP (Yet Another Printing Problem)

    I've found another printing problem - this time with colour printing.
    To my
    surprise, Forte (3.0.E.0) can print in colour (at least on a HP 690C,
    using
    NT drivers for the 660C, the printer being connected to a Win95
    machine).
    I can print OK with from my NT develpoment machine in colour, but when
    running
    the same app from the Win95 client with the printer attached locally the
    coloured text disappears. Has anyone else come across this problem?
    Is this another of the 'Printing works fine as long as it happens
    non-locally?'
    features?
    Thanks
    Jamie Anstice
    Programmer/Analyst, University of Canterbury
    New Zealand

    I can print OK with from my NT develpoment machine in colour, but when
    running
    the same app from the Win95 client with the printer attached locally the
    coloured text disappears. Has anyone else come across this problem?Hi Jamie,
    I wonder if this is related to the printing feature I discovered
    where things I print from Forte have a strong tendency to come out in
    the same colours as my windows desktop, which is
    typically yellow-on-black.
    - Ed
    ================================================================================
    Eduard E Havelaar, Information Services Section, University of Canterbury
    email: [email protected]
    phone: +64-3-366 7001 extn 8910
    fax: +64-3-364 2999
    snailmail: Private Bag 4800, Christchurch, New Zealand

  • [svn] 1313: Fix for the use namespace problems we've been having with ASC ( I hope).

    Revision: 1313
    Author: [email protected]
    Date: 2008-04-20 09:41:41 -0700 (Sun, 20 Apr 2008)
    Log Message:
    Fix for the use namespace problems we've been having with ASC (I hope). The problem was that the use directive was being defined after we had called finish package. The UseDirectiveNode has a pkgdef ptr, and does different things depending if that ptr is null or not. It should not be null when the UseDirective is inside the package - but since we were generating the UseDirectiveNode after we had called finishPackage the UseDirectiveNode didn't have it's pkgdef ptr set, and so things went awry as the package didn't get set up with all the correct open namespaces. I haven't tested this in authoring/flex but I am pretty sure that this will fix all the problems we're seeing.
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Please help with namespace problem

    Hello,
    I am trying to display a gif image an I have a namespace problem.
    Here is my xml document:
    <?xml version='1.0'?>
    <?xml-stylesheet type="text/xsl" href="authors.xsl"?>
    <authors>
    <author>
    <name>Mike Galos</name>
    <nationality>French</nationality>
    </author>
    <author>
    <name>Cynthia Randall</name>
    <nationality>Canadian</nationality>
    </author>
    </authors>
    Here is my xsl stylesheet:
    <?xml version='1.0'?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="//author">
    <image     xmlns:xlink="http://www.w3.org/1999/xlink"
                   xlink:type="simple"
                   xlink:href="logo.gif"
                   xlink:show="embed"/>
    </xsl:template>
    </xsl:stylesheet>
    I want the browser to diplay the gif image but it is only showing the image icon and not the actual gif image.
    Can anyone please help??
    Thanks in advance,
    Balteo.

    do you use a special browser?
    if not, do you really expect a standard browser to understand this kind of non-HTML image tag?
    <image xmlns:xlink="http://www.w3.org/1999/xlink" xlink:show="embed" xlink:href="logo.gif" xlink:type="simple">check HTML 4.0 (http://www.devguru.com/Technologies/html/quickref/html_img.html)
    or XHTML(http://www.devguru.com/Technologies/xhtml/quickref/xhtml_img.html)
    for the correct tag syntax.

  • Namespace problem while updating a desktop app

    Hello,
    I've searched on a lot of forums but didn't find anything accurate on my problem.
    I have an old AIR 2.0 desktop app that updated itself.
    I want to update it to the last 3.4 framework. So I followed instructions for the intermediate application to update (between 2.0 and 2.5).
    I manage to update from 2.0 to a Air 2.5 intermediate application, while still having the 2.0 namespace in the app descriptor file.
    But it is impossible for me to update this 2.5 application (with 2.0 namespace) to a 2.5 namespace !!
    Here si my update descriptor file :
    <?xml version="1.0" encoding="UTF-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
               <versionNumber>0.3.2</versionNumber>
               <versionLabel>Version for 0.3.2</versionLabel>
         <url>http://www.mywebsite/app.air</url>
         <description><![CDATA[
    Final test
               ]]></description>
    </update>
    But I'm having the error 16831 : "Application namespace and update.xml namespace are not compatible".
    It seems that my application only wants to update to another one with the exact same namespace.
    How this can be ?
    Thanks !
    I must say that I publish to AIR 2.5 with Flash CS5 and flashpro extension for air (in beta version) as Flash CS6 always overwrite the app descriptor while publishing (so it is impossible to change the namespace to 2.0 for example)

    Ok, after having searched a lot, I managed to understand what was going on....
    To those interested, the update descriptor must stay in a 1.0 namespace until the end of the process.
    When all is updated (app namespace to 2.5), you can use the 2.5 update descriptor namespace....

  • A namespace problem when doing Create InfoArea in bw system

    Dear all,
    we met a problem when excute a process in our bw system:
    our process as follow:
    rsa1(Data Warehousing Workbench:Modeling) --> InfoProvider --> Create InfoArea
    then a error message window came out as below.
    error in object editing
    No valid change license available for n
    /BPR3R/
    Choose 'Display object' or 'Cancel'.
    its detail message is as follow:
    Message no. TO127
    Diagnosis
    You cannot edit the object AREA 0INDUSTRIES. This may be due to the following reasons:
    The corresponding namespace /BPR3R/ is not entered in the namespace table with a valid change license.
    In the namespace table there is no entry with a valid change license that matches the template /BPR3R/.
    System Response
    The function terminates.
    Procedure
    Check the name of the object AREA 0INDUSTRIES. If necessary, choose another object name.
    Otherwise, let the system administrator check the change licenses of the namespaces in your SAP system.
    Maintain the namespaces in the Tools of the Transport Organizer under Administration -> Display/Change Namespaces.
    You need to check and correct the entries that match the template /BPR3R/.
    You need to distinguish between the following cases:
    The namespace is /0SAP/:
    Make sure that the namespace role is C (recipient) and the flags SSCR popup and SAP standard are activated. The license fields remain empty.
    You did not create the namespace yourself. Instead, the namespace owner is SAP or another software vendor.
    Make sure that the namespace role is C (recipient). The field Repair license must either contain the valid license, or the flag SSCR popup must be activated. Contact the namespace owner and ask what you should now do, and what the valid repair license is.
    You are the namespace owner:
    Proceed according to the documentation on applying for and setting up namespaces. If the namespace role is P (producer) then you need a valid development license. For information on this, see the SAP Library under BC - Basis Components -> Change and Transport System -> BC - Namespaces and Naming Conventions -> Reservation of Namespaces).
    Then we did the below action:
    se06 --> system change option
    in this view, we found  /BPR3R/ this Prefix.
    And it is empty in  /BPR3R/ 's namespace/name range volume.
    What is next action we should take to solve this problem?
    Anyone experienced or expert,
    Please kindly give advice.
    Regards,
    Allen

    Hello Allen,
    Cold you please check the following notes which explain about this namespace creation and transport ?
    401778 - Using namespaces to develop individual BW objects
    150451 - Setting up development namespaces
    105132 - Reserving namespaces
    150451 - Setting up development namespaces
    Best regards,
    Rafa

  • Namespace Problem

    We are having an issue with our bpel processes when it calls an external web services through a partner link,
    There seems to be an issue with the namespaces, our webservice has a complex type request and response name structure,
    The request structure is as follows in the wsdl file the message name is as follows
    <wsdl:message name="HttpRequest">
    <wsdl:part name="request" type="request:HttpRequest"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="HttpResponse">
    <wsdl:part name="http_response" type="request:HttpResponse"/>
    </wsdl:message>
    The issue comes up when we get a response to the webservice which is a complex type return, the return structure adds ns?:code where ? implies a incrememtal number i.e 1, 2 , 3 etc for the whole data of the complex structure.
    The complex Request structure is
    <xsd:complexType name="HttpRequest">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="1" name="url" type="xsd:string"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="data" type="request:Data"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="type" type="request:HttpType"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="auth" type="request:Auth"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="proxy" type="request:Proxy"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="http_version" type="request:HttpVersion"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="headers" type="request:Data"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="cookies" type="request:Data"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:simpleType name="HttpType">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Get"/>
    <xsd:enumeration value="Post"/>
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:complexType name="Auth">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="0" name="username" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="password" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Proxy">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="1" name="host" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="port" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="username" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="password" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:simpleType name="HttpVersion">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="1.0"/>
    <xsd:enumeration value="1.1"/>
    </xsd:restriction>
    </xsd:simpleType>
    The complex Response structure is
    <xsd:complexType name="HttpResponse">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="0" name="code" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="body" type="xsd:string"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="headers" type="request:Data"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="cookies" type="request:HttpCookie"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Data">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="1" name="name" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="value" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="HttpCookie">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="0" name="expires" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="domain" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="path" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="secure" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="name" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="0" name="value" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    We have tried to set up TCP Tunneling but it doesnt work for somereason, also i have set validateXML to false,
    the return structure is as follow
    Assign_2 (faulted)
    [2005/09/19 10:57:58] Error in evaluate <from> expression at line "52". The result is empty for the XPath expression : "/http_response/body". less
    <http_response>
    <ns2:code xmlns:ns2="http://request.example.domain.com/1.0/Request.xsd">200</ns2:code>
    <ns3:body xmlns:ns3="http://request.example.domain.com/1.0/Request.xsd">OK</ns3:body>
    <ns4:headers xmlns:ns4="http://request.example.domain.com/1.0/Request.xsd">
    <ns4:name>Date</ns4:name>
    <ns4:value>Mon, 19 Sep 2005 00:14:09 GMT</ns4:value>
    </ns4:headers>
    <ns5:headers xmlns:ns5="http://request.example.domain.com/1.0/Request.xsd">
    <ns5:name>date</ns5:name>
    <ns5:value>Mon, 19 Sep 2005 00:14:09 GMT</ns5:value>
    </ns5:headers>
    <ns6:headers xmlns:ns6="http://request.example.domain.com/1.0/Request.xsd">
    <ns6:name>Server</ns6:name>
    <ns6:value>WebLogic WebLogic Server 7.0 SP2 Sun Jan 26 23:09:32 PST 2003 234192</ns6:value>
    </ns6:headers>
    <ns7:headers xmlns:ns7="http://request.example.domain.com/1.0/Request.xsd">
    <ns7:name>server</ns7:name>
    <ns7:value>WebLogic WebLogic Server 7.0 SP2 Sun Jan 26 23:09:32 PST 2003 234192</ns7:value>
    </ns7:headers>
    <ns8:headers xmlns:ns8="http://request.example.domain.com/1.0/Request.xsd">
    <ns8:name>Content-Length</ns8:name>
    <ns8:value>127</ns8:value>
    </ns8:headers>
    <ns9:headers xmlns:ns9="http://request.example.domain.com/1.0/Request.xsd">
    <ns9:name>content-length</ns9:name>
    <ns9:value>127</ns9:value>
    </ns9:headers>
    <ns10:headers xmlns:ns10="http://request.example.domain.com/1.0/Request.xsd">
    <ns10:name>Content-Type</ns10:name>
    <ns10:value>text/html</ns10:value>
    </ns10:headers>
    <ns11:headers xmlns:ns11="http://request.example.domain.com/1.0/Request.xsd">
    <ns11:name>content-type</ns11:name>
    <ns11:value>text/html</ns11:value>
    </ns11:headers>
    <ns12:headers xmlns:ns12="http://request.example.domain.com/1.0/Request.xsd">
    <ns12:name>Expires</ns12:name>
    <ns12:value>Thu, 01 Jan 1970 00:00:00 GMT</ns12:value>
    </ns12:headers>
    <ns13:headers xmlns:ns13="http://request.example.domain.com/1.0/Request.xsd">
    <ns13:name>expires</ns13:name>
    <ns13:value>Thu, 01 Jan 1970 00:00:00 GMT</ns13:value>
    </ns13:headers>
    <ns14:headers xmlns:ns14="http://request.example.domain.com/1.0/Request.xsd">
    <ns14:name>Connection</ns14:name>
    <ns14:value>Close</ns14:value>
    </ns14:headers>
    <ns15:headers xmlns:ns15="http://request.example.domain.com/1.0/Request.xsd">
    <ns15:name>connection</ns15:name>
    <ns15:value>Close</ns15:value>
    </ns15:headers>
    <ns16:cookies xmlns:ns16="http://request.example.domain.com/1.0/Request.xsd">
    <ns16:name>Date</ns16:name>
    <ns16:value>Mon, 19 Sep 2005 00:14:09 GMT</ns16:value>
    </ns16:cookies>
    <ns17:cookies xmlns:ns17="http://request.example.domain.com/1.0/Request.xsd">
    <ns17:name>date</ns17:name>
    <ns17:value>Mon, 19 Sep 2005 00:14:09 GMT</ns17:value>
    </ns17:cookies>
    <ns18:cookies xmlns:ns18="http://request.example.domain.com/1.0/Request.xsd">
    <ns18:name>Server</ns18:name>
    <ns18:value>WebLogic WebLogic Server 7.0 SP2 Sun Jan 26 23:09:32 PST 2003 234192</ns18:value>
    </ns18:cookies>
    <ns19:cookies xmlns:ns19="http://request.example.domain.com/1.0/Request.xsd">
    <ns19:name>server</ns19:name>
    <ns19:value>WebLogic WebLogic Server 7.0 SP2 Sun Jan 26 23:09:32 PST 2003 234192</ns19:value>
    </ns19:cookies>
    <ns20:cookies xmlns:ns20="http://request.example.domain.com/1.0/Request.xsd">
    <ns20:name>Content-Length</ns20:name>
    <ns20:value>127</ns20:value>
    </ns20:cookies>
    <ns21:cookies xmlns:ns21="http://request.example.domain.com/1.0/Request.xsd">
    <ns21:name>content-length</ns21:name>
    <ns21:value>127</ns21:value>
    </ns21:cookies>
    <ns22:cookies xmlns:ns22="http://request.example.domain.com/1.0/Request.xsd">
    <ns22:name>Content-Type</ns22:name>
    <ns22:value>text/html</ns22:value>
    </ns22:cookies>
    <ns23:cookies xmlns:ns23="http://request.example.domain.com/1.0/Request.xsd">
    <ns23:name>content-type</ns23:name>
    <ns23:value>text/html</ns23:value>
    </ns23:cookies>
    <ns24:cookies xmlns:ns24="http://request.example.domain.com/1.0/Request.xsd">
    <ns24:name>Expires</ns24:name>
    <ns24:value>Thu, 01 Jan 1970 00:00:00 GMT</ns24:value>
    </ns24:cookies>
    <ns25:cookies xmlns:ns25="http://request.example.domain.com/1.0/Request.xsd">
    <ns25:name>expires</ns25:name>
    <ns25:value>Thu, 01 Jan 1970 00:00:00 GMT</ns25:value>
    </ns25:cookies>
    <ns26:cookies xmlns:ns26="http://request.example.domain.com/1.0/Request.xsd">
    <ns26:name>Connection</ns26:name>
    <ns26:value>Close</ns26:value>
    </ns26:cookies>
    <ns27:cookies xmlns:ns27="http://request.example.domain.com/1.0/Request.xsd">
    <ns27:name>connection</ns27:name>
    <ns27:value>Close</ns27:value>
    </ns27:cookies>
    </http_response>
    [2005/09/19 10:57:58] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown. less
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <part name="summary">
    <summary>empty variable/expression result. xpath variable/expression expression "/http_response/body" is empty at line 52, when attempting reading/copying it. Please make sure the variable/expression result "/http_response/body" is not empty.</summary>
    </part>
    </selectionFailure>
    Regards
    Sandeep

    Well, I had this problem also, and it took me two days to find out what caused it, as the incoming message was obviously NOT empty. In our case the error occurred, because we used an assign at Part level, instead of element level.
    Suppose you have an XML like:
    <element name="a">
    <complexType>
    <sequence>
    <element name="b" type="xsd:string">
    <element name="c" type="xsd:string">
    </sequence>
    </complexType>
    </element>
    and you want to move it to another variable that has the same structure. We used the bpws:GetVariable('a') function to assign it to the receiving variable. When we replaced it with a Transform (using XSL), the problem disappeared.
    The problem also occurs when the definition of fields differ, for instance if the messages looks the same but one element on the sending side is defined 'int' and on the receiving end as 'decimal'. Hope this might point you in the right direction.

  • Calling method from another class problem

    hi,
    i am having problem with my code. When i call the method from the other class, it does not function correctly?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Dice extends JComponent
        private static final int SPOT_DIAM = 9; 
        private int faceValue;   
        public Dice()
            setPreferredSize(new Dimension(60,60));
            roll(); 
        public int roll()
            int val = (int)(6*Math.random() + 1);  
            setValue(val);
            return val;
        public int getValue()
            return faceValue;
        public void setValue(int spots)
            faceValue = spots;
            repaint();   
        @Override public void paintComponent(Graphics g) {
            int w = getWidth(); 
            int h = getHeight();
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
            g2.setColor(Color.WHITE);
            g2.fillRect(0, 0, w, h);
            g2.setColor(Color.BLACK);
            g2.drawRect(0, 0, w-1, h-1); 
            switch (faceValue)
                case 1:
                    drawSpot(g2, w/2, h/2);
                    break;
                case 3:
                    drawSpot(g2, w/2, h/2);
                case 2:
                    drawSpot(g2, w/4, h/4);
                    drawSpot(g2, 3*w/4, 3*h/4);
                    break;
                case 5:
                    drawSpot(g2, w/2, h/2);
                case 4:
                    drawSpot(g2, w/4, h/4);
                    drawSpot(g2, 3*w/4, 3*h/4);
                    drawSpot(g2, 3*w/4, h/4);
                    drawSpot(g2, w/4, 3*h/4);
                    break;
                case 6:
                    drawSpot(g2, w/4, h/4);
                    drawSpot(g2, 3*w/4, 3*h/4);
                    drawSpot(g2, 3*w/4, h/4);
                    drawSpot(g2, w/4, 3*h/4);
                    drawSpot(g2, w/4, h/2);
                    drawSpot(g2, 3*w/4, h/2);
                    break;
        private void drawSpot(Graphics2D g2, int x, int y)
            g2.fillOval(x-SPOT_DIAM/2, y-SPOT_DIAM/2, SPOT_DIAM, SPOT_DIAM);
    }in another class A (the main class where i run everything) i created a new instance of dice and added it onto a JPanel.Also a JButton is created called roll, which i added a actionListener.........rollButton.addActionListener(B); (B is instance of class B)
    In Class B in implements actionlistener and when the roll button is clicked it should call "roll()" from Dice class
    Dice d = new Dice();
    d.roll();
    it works but it does not repaint the graphics for the dice? the roll method will get a random number but then it will call the method to repaint()???
    Edited by: AceOfSpades on Mar 5, 2008 2:41 PM
    Edited by: AceOfSpades on Mar 5, 2008 2:42 PM

    One way:
    class Flintstone
        private String name;
        public Flintstone(String name)
            this.name = name;
        public String toString()
            return name;
        public static void useFlintstoneWithReference(Flintstone fu2)
            System.out.println(fu2);
        public static void useFlintstoneWithOutReference()
            Flintstone barney = new Flintstone("Barney");
            System.out.println(barney);
        public static void main(String[] args)
            Flintstone fred = new Flintstone("Fred");
            useFlintstoneWithReference(fred); // fred's the reference I"m passing to the method
            useFlintstoneWithOutReference();
    {code}
    can also be done with action listener
    {code}    private class MyActionListener implements ActionListener
            private Flintstone flintstone;
            public MyActionListener(Flintstone flintstone)
                this.flintstone = flintstone;
            public void actionPerformed(ActionEvent arg0)
                //do whatever using flinstone
                System.out.println(flintstone);
        }{code}
    Edited by: Encephalopathic on Mar 5, 2008 3:06 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Excel Readpage Save as another file problem

    Hi,
    I have attached the VI needed If you have any problems please let me know. This VI reads a excel page the user points to and displays the results. I have added a single cell where you can change the position of a single cell coordinates so that you can point to a single cell of your choice and retrieve that data. So my problem is now I want to save that data from that single cell to ANOTHER excel file. However, this is not working correctly for some reason I do not know why I believe I have done everything correctly hopfully it is just my inexperiance. I will continue to work on this and update it as I get more time but at the current moment I have hit a brick wall. I have visited the EXCEL BOARD and the vi is from there but I had to add somethings to it in order for it to work correctly as before it wouldn't even run because it was missing some connections and nodes.
    Attachments:
    ExcelReadPage.vi ‏45 KB

    I took a look at the toolkits. The VIs are there, the problem is that
    the linkages are a bit screwed up so the top-level VIs think the subVIs
    are in different places. Also, the toolkits were written using an
    older version of Excel, in which the "Range" object had the property of
    "Value". Excel 2003 uses "Value2". So, if you have Excel 2003 even
    after you load up the VI the "Value" property nodes need to be changed
    to "Value2". This is not a fault of the toolkits - this is due to
    Microsoft changing the ActiveX interface.
    As to your issue: Your basic steps are to:
    Create a new workbook
    Write values to cells
    Save workbook
    The "Write Table to XL" that ships with LabVIEW does that. Launch the Example Finder (Help -> Find Examples) and search for "excel". Then, open the "Write Table to XL". The "Table" control is the data that you want to write. It can be a single cell or multiple cells. If you have a single value, just make a 2D array out of it. As it's written it will prompt you if you want to save the file. This is from the "Close" method. You can wire a True constant to the "SaveChanges" parameter and a path to the "Filename" parameter.

  • Another crash problem with Adobe Premiere Elements 4

    another crash question!  burned a dvd of project, saw something i needed to change as i watched the dvd, tried to get back into project, but crashed time and time again.  have tried any and all suggestions in the forum for other crash problems, but cannot fix.  can anyone help?  below is error message and my equipment.  using Windows Vista.  I want to go back to Windows XP, never had a problem.  thanks to anyone who has an idea.
    Problem event name:                   APPCRASH
    Application name:                       Adobe Premiere Elements.exe
    Application version:                     4.0.0.0
    DEll XPS 420
    Intel (R) core (TM)2
    Quad CPU Q9450 @ 2.66GHz
    4.0 GB
    32 bit
    Driver software:  ACPIx86 based PC
    Adapter ATI Radeon HD 3650

    I'm not sure what's up at this point, if doing a Save As and deleting your render files doesn't fix your glitch (and assuming you've got adequate, freshly defragmented room on your drives for the program to work).
    You can also try working through Adobe's troubleshooting steps:
    http://kb2.adobe.com/cps/514/cpsid_51427.html
    Renaming the presets folder can help. (The program will automatically make a new one when you next launch it):
    Windows XP:
    Documents and Settings/[username]/Application Data/ Adobe/Premiere Elements/8.0/MediaIO/Presets/OTHERS
    Documents and Settings/[username]/Application Data/ Adobe/Premiere Elements/8.0/Settings/Custom
        Windows Vista:
    Users/[Username]/AppData/Roaming/Adobe/Premiere Elements/8.0/SC/Presets

  • Another connection problem (with a lot of solution advices tried o

    hi everybody,
    since yesterday i'm a proud owner (more or less) of a zen x-fi. the only thing that dri'ves me crazy is that i can't get it working with windows.
    first of all the system config:
    Desktop PC (P4 on 95P Express chipset)
    Windows XP Pro SP3
    Media Player
    i searched the web and am trying to solve this problem: "there was a problem installing ..." for quite a long time now.
    here's what i did up until now:
    - deinstalling Media Player and installing v0 - couldn't deinstall v
    - installing newest version of the WMP (v - 5th Oct. 2008) from Microsoft to get the newest MTP support
    - deinstalling the "Creative Centrale" and reinstalling it (at the moments it's uninstalled)
    - installing Microsoft User Driver Framework v.0 (wouldn't allow me - of course, because it's implemented with WMP or rather it's drivers are older)
    - setting USB ENUM to "read" and "full control"
    - deinstalling and reinstalling the USB drivers (motherboard support as well as chipset vendor newest drivers)
    - checking every single USB port (front and back)
    - settings for USB HUBs to "full power supply" (no Power Management)
    - reinstalled SP3
    - got all new Updates from Windows (critical updates) including all up to date .Net Framework versions
    - tried the Media Transfer Protocol Porting Kit (quite sure that this doesn't do anything since it seems to be the sdk version and i know to little of programming to try something out)?
    - downloaded the fixup (found it in different posts to have been a workaround) and there was a little success: i got a working driver (no "there was a problem installing ...") until i realized that it doesn't show anything inside the folder (mtp/portable device) neither does it say "zen x-fi" in the device manager (it's only called "mtp device"). checked the .inf in the fixup package and realized that it couldn't work as long as i don't know the x-fi's Product ID, which i searched for on the internet (linux forums etc.) but the x-fi seems to be too new
    now: i of course tried it on another PC to be sure (Laptop with Windows XP Pro SP3 and WMP 0!) - and it works ...
    downside is: my library is fairly big and would fit on the Laptop's harddri've. i found a little workaround and imported the folder into the laptop's winamp library (via Network) and got some songs onto the Zen but it takes a lot of time getting them through the network connection (WLAN).
    as i see it there's only two chances: either the USB is not suitable (which i can't believe, since everything else that i attach is working fine and without any issues) or the problem has something to do with the Media Player's MTP.
    so does anyone have another idea or would i have to wait for either Windows or Creative to come up with a solution(maybe another hotfix)?
    thanks in advance
    regards
    al

    Ive been having hell with this aswell, although i think my computer is to blame. It "should" work if i could install wmp, but i cannot because my computer needs me to install some update rollup 2 which doesnt install and i cant install sp3 either... i've been contacting microsoft but they cant sort it.. maybe my pc is just reaching its old age and cannot cope with so many new things going on.
    but from what you have said i cant see why it shouldnt work with your current system.

  • XSLT Transformer xmlns namespace problem

    Hi,
    I have the following xml document
    <PIPEDocument Version="2.0" DocumentReferenceNumber="2001" CreationDate="2002070401251212245"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://www.oeb.gov.on.ca/">
         <MarketParticipantDirectory>
    </MarketParticipantDirectory>
    </PIPEDocument>
    and the following xsl stylesheet
    <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
              xmlns ="http://www.oeb.gov.on.ca/"
              version = "1.0">
    <xsl:output method = "xml" indent = "yes" />
    <xsl:template match = "/" >
    <PIPEFunctionalAcknowledgement>
              <xsl:apply-templates select="//MarketParticipantDirectory"/>
    </PIPEFunctionalAcknowledgement>
    </xsl:template>
    <xsl:template match = "MarketParticipantDirectory" >
    </xsl:template>
    </xsl:stylesheet>           
    My problem is, using JAXP1.2.0-EA2 (from JWSDP1-0-ea2), javax.xml.transform.Transformer will not find a match on the element name within the template unless I put a prefix on the target namespace i.e.
    if my xml is changed to include a prefix (:xyz in example below)
    <PIPEDocument Version="2.0" DocumentReferenceNumber="2001" CreationDate="2002070401251212245"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:xyz="http://www.oeb.gov.on.ca/">
         <MarketParticipantDirectory>
    </MarketParticipantDirectory>
    </PIPEDocument>
    and my stylesheet is changed also to include the prefix
    <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
              xmlns:xyz ="http://www.oeb.gov.on.ca/"
              version = "1.0">
    </xsl:stylesheet>
    then the transfomer works correctly and find a match on the element name "MarketParticipantDirectory" within the template (even though the element doesn't have the prefix xyz:MarketParticipantDirectory).
    Could anyone tell me why this is the case?
    I would have expected XSLT to match the elements from the namespace xmlns ="http://www.oeb.gov.on.ca/" without the prefix.
    Any comments would be much appreciated.
    Thanks
    Sinead Casey

    Matching an element on a Default Namespace requires Explicit Prefix.
    http://www.w3.org/TR/xslt20req

  • Namespace problem with bpelx:rename typeCastTo

    Hi!
    I have j2ee web service which accepts types derived from one base type. Therefore i need to pass argument like request xsi:type="derivedType", where request is super type.
    After long searching i found out this can be done via bpelx:rename typeCastTo ... my problem is that if i use this action:
    <bpelx:rename typeCastTo="ns3:UserOutgoingCallingPlanOriginatingModifyRequest">
    <bpelx:target variable="Invoke_1_transaction_InputVariable" part="parameters" query="/ns2:transactionElement/ns2:_req"/>
    </bpelx:rename>
    in audit console after running he process i see
    <_req xmlns="http://bwproxy.unient.com/types/" xsi:type="ns3:UserOutgoingCallingPlanOriginatingModifyRequest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    but namespace prefix ns3 is nowhere defined in the message. It is defined only in source ov bpel process, but it is not propagated to the soap message, therefore web service throws a exception:
    Caught exception while handling request: unexpected element type: expected=, actual=UserOutgoingCallingPlanOriginatingModifyRequest
    Is this bug, or am i doing something wrong?
    thanks
    Tomas

    Hi,
    You could try to use HttpClient to consume wcf in windows phone 8.
    Here is an exsample you could refer:
    http://stackoverflow.com/questions/21536825/windows-phone-8-call-wcf-web-service
    Besides, you could refer to :
    http://www.codeproject.com/Questions/691619/Consuming-WCF-Service-from-Windows-Phone
    Since this issue is more related to Windows Phone, If my reply no help, please move to Windows Phone forum for a better support, It is appropriate and more experts will assist you.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Namespace problem with added header

    I have a client request handler which needs to add an authentication header of the form:
    <Security>
       <UsernameToken>
          <Username>username</Username>
          <Password>password</Password>
       </UsernameToken>
    </Security>     The key code which does this in the request handler is:
    SOAPHeaderElement she = shd.addHeaderElement(senv.createName(SIGN_HEADER_NAME));
    she.setMustUnderstand(true);
    she.addNamespaceDeclaration("", SIGN_HEADER_URI);
    SOAPElement selToken = she.addChildElement(SIGN_HEADER_TOKEN);
    SOAPElement selUser = selToken.addChildElement(SIGN_HEADER_USERNAME);
    selUser.addTextNode(username);
    selUser = selToken.addChildElement(SIGN_HEADER_PASSWORD);
    selUser.addTextNode(password);But what I end up with is:
    <Security soapenv:mustUnderstand="1" xmlns:soapenv=...
           xmlns="http://demo">
       <UsernameToken  xmlns="">
          <Username>username</Username>
          <Password>password</Password>
       </UsernameToken>
    </Security>     The attributes on the Security element are correct, but the xmlns="" attribute on the UsernameToken element is the problem. The SOAP classes/methods are clearly namespace aware and are essentially saying with xmlns="" that it doesn't know the namespace of UsernameToken and the following elements.
    I tried dropping some wsdl for the security elements in the wsdl directory of the client, but it seems to need some programmatic hookup.
    I have defined the handler in the webservicesclient.xml as:
             <handler id="Handler_1128108948956">
                <description>Adds an authentication header with username & password</description>
                <handler-name>utils.SOAP_Auth_Handler</handler-name>
                <handler-class>utils.SOAP_Auth_Handler</handler-class>
                <soap-header id="SOAPHeader_1128460509232">
                   <namespaceURI>http://demo</namespaceURI>
                   <localpart>Security</localpart>
                </soap-header>
             </handler>How do I keep the soap methods from adding on the xmlns="" to the UsernameToken element?
    I'm running WebSphere App Developer 5.0.2.9.
    Thanks,
    -- Frank

    Can't you use the removeNamespaceDeclaration method?
    public boolean removeNamespaceDeclaration(String prefix)Removes the namespace declaration corresponding to the given prefix.
    Parameters:
    prefix - a String giving the prefix for which to search
    Returns:
    true if the namespace declaration was removed successfully; false if it was not
    Gabsaga

  • Just another ANNOYING problem with internet

    Hello everybody !
    So here we go, I am another user that has problems viewing web pages. To make a long story short I would like to add that though I am not a system administrator by any means, I am an experienced user. So if I say for example "I did nothing but the program stoped working correctly" DOES realy mean that I did nothing at all (therefore it doesnt mean that I occasionaly pushed few buttons while viewing complex settings and then forgot about it).
    PROBLEM : Sometimes (randomly) I am not able to view web pages. The problem may disappear suddenly, but otherwise I have to reboot computer to solve the problem (untill it happens again. And it WILL happen withing ~30min...4 hours, so several times a day)
    I USE : Macbook air 2012 (i7 8gb if it does matter). MacOS 10.8.2.   Everything is up to date, I frequently check the system for updates.
    WHAT HAVE I TRIED TO DO TO SOLVE THE PROBLEM :
    1) I have changed the wireless channel so that nobody around uses the same one
    2) I have changed router and internet provider (well I did not change them, I just use my mba at office, at home and somewhere else. Each place has its own router (d-link at work and apple airport express at home) and its own provider)
    3) I have changed mtu (maximum transmission unit) to 1453 from 1500 by default (System preferences -> network -> advanced )
    4) I have tried different public DNS servers
    5) I did try to request DHCP once again when the problem appears
    6) The last but not least - I have tried different browsers (safari, opera, firefox)
    The only thing that works yet - reboot.
    MY STUPID THOUGHTS ON THAT :
    - This is not a router problem, because I have already tried about 4-5 different models, including D-link, Airport and Asus
    - This is not an internet connection problem generaly (I am able to use skype, teamviewer etc. while the problem occurs)
    - This is not a macbook problem, because if I boot Windows (via bootcamp), it seems like I do not face that problem at all
    As a result : this is a MacOS problem, and I have to look for fix inside it.
    SOME ADDITIONAL INFO :
    It realy happens suddenly: I am browsing webpages, everything is ok. Then bum - and the next page starts to load SLOWLY. Few more pages load SLOWLY (if there are pictures, I find "?" instead of them). And then pages stop loading at some moment. If I try to refresh the page, it might help sometimes. But then, finaly, I just lose opportunity to load web pages by any means.  
    The problem may go away for some time, but it will return for sure. Rebooting every time is incomfortable for me, since I have a lot of stuff opened and rearranged between different spaces (desktops).
    Thank you for your time in advance guys ! Hope some of you have already faced the problem and have found the solution.
    Thank you for your time guys.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' 
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”. 
    Step 2 
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' 
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' 
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null 
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

Maybe you are looking for