How to export and use Arrays in UDS XMLServer and Where is forte.zip?

Hi,
     I am able to work fine with simple attributes on a class marked as XMLStruct. But I can't figure out
how to export an Array as SOAP compound data type. Any clues?
Also if any one knows what happend to forte.zip file under FORTE_ROOT/install/lib/java direcory. Its
not there in UDS 5.0? Am I missing some install steps?
Thanks
--Shahzad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

The UDS Soap support does not yet include arrays. This is documented in the release notes, and is detailed in the following iPlanet knowledge base article:
http://knowledgebase.iplanet.com/ikb/kb/articles/7655.html

Similar Messages

  • How do you make an array of image icons and then call them?

    How do you make an array of image icons and then call them, i have searched all over the internet for making an array of icons, but i have
    found nothing. Below is my attempt at making an array of icons, but i cant seem to make it work. Basically, i want the image to match the value of the roll of the dice (rollVal)
    Any help would be greatly appreciated, some code or link to tuturial, ect.
    /** DiceRoller.java
    * Roll, print, Gui
    import javax.swing.*;
    public class DiceRoller extends JFrame
         private ImageIcon[] image  ;
         public String[] images = { "empty", "dice1.jpg",
                   "dice2.jpg", "dice3.jpg", "dice4.jpg",
                   "dice5.jpg", "dice6.jpg" };
         public Dice die;
         private int rollVal;
         public int rollNum;
         private JLabel j1;
         public DiceRoller(){
              j1= new JLabel("");
           die =new Dice();
           int rollVal;
           rollVal = die.roll();     
           image = new  ImageIcon[images.length];
         for(int i = 0; i < images.length; i++){
          image[i] = new ImageIcon(images);
         if (image!=null){
              j1.setIcon(image[rollVal]);
         System.out.println("Roll = "+die.roll());

    Demo:
    import java.awt.*;
    import java.net.*;
    import javax.swing.*;
    public class IconExample {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    launch();
        static void launch() {
            try {
                Icon[] icons = new Icon[6];
                for(int i=0; i<icons.length; ++i) {
                    String url = "http://www.eureka-puzzle.be/cast/images/dice" + (i + 1) + ".jpg";
                    icons[i] = new ImageIcon(new URL(url));
                display(icons);
            } catch (MalformedURLException e) {
                throw new RuntimeException(e);
        static void display(Icon[] icons) {
            JPanel cp = new JPanel();
            for(Icon icon : icons) {
                cp.add(new JLabel(icon));
            JFrame f = new JFrame();
            f.setContentPane(cp);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • Could you let me know how to enable and use ITS on SAP ECC5  and ECC6

    Could you let me know how to enable and use ITS on SAP ECC5  and ECC6

    Hello Tina,
    please see here
    in tree select "Installation and Activation"
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/b8/2a8d65be7eee4eb66067f8a33d1c8b/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/b8/2a8d65be7eee4eb66067f8a33d1c8b/frameset.htm</a>
    best regards

  • I can take video made in Photo Booth and use in my Smilebox greetings and I can use photos from iPhoto to use there also.  I have not been able to figure out how to take clips from iMovie for that.

    For anyone who has used "Smilebox" for greeting cards:  I can take video made in Photo Booth and use in my Smilebox greetings and I can use photos from iPhoto to use there also.  I have not been able to figure out how to take clips from iMovie for use with Smilebox.

    For anyone who has used "Smilebox" for greeting cards:  I can take video made in Photo Booth and use in my Smilebox greetings and I can use photos from iPhoto to use there also.  I have not been able to figure out how to take clips from iMovie for use with Smilebox.

  • How do I create and use a ringtone without syncing and without jailbreaking?

    How do I create and use a ringtone without syncing and without jailbreaking?

    You create ringtones on your computer and sync them to your iphone.
    You can buy ringtones from the ringtones section (at the bottom of the screen when you open itunes) of the itunes app on your iphone.
    There may be apps that will do this - not sure.

  • I downloaded IOS 6 and using the apps movies , books and I-store I get connected to the USA store and not to the Dutch one like before. So i cannot update my purchaged apps. How can I change this ?

    I downloaded IOS 6 and using the apps movies , books and I-store I get connected to the USA store and not to the Dutch one like before. So i cannot update my purchaged apps. How can I change this ?

    Have you looked on all the pages of your iPod?  Have you looked in all your folders?  Have you you tried finding the apps using the iPod's search page.
    PS: Offering points in advance is a violation of there terms of service for this forum.  Perhaps it's why you have not received any other answers so far,

  • How activation Iphone5.Purchased used from an Iranian person and I'm from Iraq, I could not activate it because of the expense of Old Icloud possible assistance

    how activation Iphone5.Purchased used from an Iranian person and I'm from Iraq, I could not activate it because of the expense of Old Icloud possible assistance

    If the iPhone has Activation Lock - that is, it's asking for the previous owner's Apple ID and password to activate the device - then you will need that information, or you'll need to get the previous owner to remove the device from his/her iCloud account:
    http://support.apple.com/kb/PH2702
    If you can't reach the previous owner or he/she is unwilling to cooperate, then the device is unusable by you. Return the iPhone for a refund if you can.
    Regards.

  • I bought a new laptop and used Windows Easy Transfer cable and moved all files from one computer to another. I installed iTunes and found my iTunes music Library.  However, when I plug in my iPod it says it is already synced with another iTunes Library.

    I bought a new laptop and used Windows Easy Transfer cable and moved all files from one computer to another. I installed iTunes and found my iTunes music Library.  However, when I plug in my iPod it says it is already synced with another iTunes Library. 
    I don't see anything in Help that shows when you already have transfered all the files over.  Why would it want to erase and sync when I already have all the music folder copied over?  I didn't have an issue when I had another technician copy from one laptop to another.  Home sharing is also on but not being recognized.

    I suspect you only migrated the media folder instead of the complete working library. Either review the transfer process and copy over the entire iTunes folder from your old profile's music folder or see Recovering your iTunes library from your iPod or iOS device.
    tt2

  • I have a license for LR 5 (Win) and also have the CC Photography membership. Can I install and use LR on Windows PC and MAC?

    I have a license for LR 5 (Win) and also have the CC Photography membership. Can I install and use LR on Windows PC and MAC?

    Cloud License allows 2 activations http://www.adobe.com/legal/licenses-terms.html
    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
    -Windows or Mac does not matter... 2 on the same operating system, or 1 on each

  • Does a new customer buying creative cloud include download and use of Photoshop, Fireworks, Bridge and Acrobat for one designer/individual?

    Does a new customer buying creative cloud include download and use of Photoshop, Fireworks, Bridge and Acrobat for one designer/individual?

    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    -http://www.adobe.com/products/catalog/mobile._sl_id-contentfilter_sl_catalog_sl_mobiledevi ces.html

  • How to specify and use arrays in .h and .m files?

    Ok, this is pretty basic. For regular variables, no problem.
    (in .h)
    @interface Mine : NSObject {
    int x;
    @property (assign) int x;
    @end
    (in .m)
    @implementation Mine
    @synthesize x;
    @end
    But, when I want to specify an array of objects, it fails, with "error: bad property declaration".
    (in .h)
    @interface Mine : NSObject {
    int x[15][10];
    @property (assign) int x[15][10];
    @end
    (in .m)
    @implementation Mine
    @synthesize x;
    @end
    If I don't use @property and @synthesize, I can use these arrays just fine in the .m file.
    However, the problem I run into, quite often is that I cannot use these without a warning, which usually causes an exception:
    x[myX][myY] = s;
    or
    [obj getX:myX :myY];
    gives a warning "assignment from a distinct Objective-C type" or "obj may not respond to -getX" which usually ends up with an exception:
    2009-08-17 16:56:00.512 AppName[9638:20b] * -[Mine getX::]: unrecognized selector sent to instance 0x103a800
    2009-08-17 16:56:00.538 AppName[9638:20b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[Mine getX::]: unrecognized selector sent to instance 0x103a800'
    2009-08-17 16:56:00.548 AppName[9638:20b] Stack: (
    807902715,
    2426465851,
    808284155,
    Can someone tell me how to do this properly?
    My app wants to create 2 arrays of 15x9 to manage a playing board on an x,y grid.
    I want one array to be of type NSString, and the other to be of class Piece (one of my own classes). In some places it works without the @property declaration using a custom getter and setter, but in other places the exact same code gives me one of the errors above.
    What am I missing?

    Still working this out. In my App, I really only use the "NSMutableArray* cells" to use as a representation of my initial layout, built from a string obtained in my scene plist file. (sceneTableau)
    An example board can be seen at http://reststop.homeip.net/dev/Picture4.png for those interested in seeing what the working code does.
    - (Board*) setupBoard:(Board*)b {
    if (b) {
    int loc=0;
    b.cells = [[NSMutableArray alloc] initWithCapacity:(boardWidth*boardHeight)];
    for (int n=0; n<boardHeight; n++) {
    for (int m=0; m<boardWidth; m++) {
    NSRange myRange=NSMakeRange(loc*3,2); // get first 2 of 3 chars
    NSString* t = [b.sceneTableau substringWithRange:myRange];
    [b.cells insertObject:t atIndex:loc];
    [t release];
    loc++; // increment to next piece
    } // for m
    } // for n
    }This works great, doing my own math for x,y. In fact this initialization loop ONLY used m,n for documentation and could simply be "for (int loc=0; loc<boardWidth*boardHeight; loc++)" to shorten the code. Since I don't ever actually modify the NSString*s I could make the setter routine for cells be an empty void method, e.g. "- (void) setCells:(NSString*) {}".
    I also noticed a couple of method in the NSString.h file:- (NSArray *)componentsSeparatedByString:(NSString *)separator;
    - (NSArray *)componentsSeparatedByCharactersInSet:(NSCharacterSet *)separator;which would allow me to simply use:b.cells = [b.sceneTableau componentsSeparatedByCharactersInSet:whitespaceAndNewlineCharacterSet];since my sceneTableau string is simply 135 sets of 2-character codes separated by a space or a newline.
    Taking this in the other direction, I could dispense with the cells array and simply use the sceneTableau field and my getter routine would be:- (NSString*) getCells:(int)loc {
    NSRange myRange=NSMakeRange(loc*3,2);
    return [b.sceneTableau substringWithRange:myRange];
    } (I may go ahead and make this change as it is a little more compact and I don't use this array except to initialize the display).
    However, for the pieces, I do need to keep an array, as there is more structure to the objects, and some objects will move from one position to another and the display will need to be redrawn after each move, changing the appearance of at least 2 positions and as many as 4 positions.
    If I did need to modify the contents of a cell, then I presume that I should really use objects of type NSMutableString* instead of NSString, and then the proper way to set a new value would be:
    - (void) setCells:(NSString* s) {
    NSMutableString* c = [self.cells objectAtIndex:(x+y*boardWidth)];
    [c setString:s];
    I am not sure what I need to do in the way of releasing c in this context. Does c go away at the end of the invocation, and no longer points to anything, or do I need to assign nil, or release c?
    I presume I could also do as my current code does[self.cells replaceObjectAtIndex:(myX+myY*boardWidth) withObject:s];but again I am not sure what I need to do about release. I gather that the NSArray handles retaining and releasing the objects which are put into or removed from its instance, and they will all be released when I release the NSArray in my dealloc method.
    Based on this, I do need to rethink my NSMutableArray* of pieces, as I will need to write methods that move the pieces and my earlier model does not allow them to move freely without having to perform some coding gymnastics in Objective-C. I will still need to use an array, NSMutableArray most likely.
    Have I missed anything?
    A quick question on my "setupBoard" routine above. You may have noticed that it takes a Board* and returns a Board*. I currently have to use[b setupBoard:b]; which seems wrong, but it works. What is the proper way to define and invoke this message so that my code would look more like this???[b setupBoard];
    and then to finish and do my releases
    [b upsetBoard];Is it correct Objectivc-C syntax to have a method that manipulates the contents of an object, such as my setupBoard method, and to say:invocation:
    [boardPointer setupBoard];
    implementation:
    - (void) setupBoard {
    if ( self ) { // test for non-nil
    [self.cells = [self.sceneTableau componentsSeparatedByCharactersInSet:whitespaceAndNewlineCharacterSet];

  • How do I send an array over endpoint 2 and receive an array over endpoint 1?

    Background:
    I'm a device developer.  I have an HID device that interrupt transfers over endpoint 1 and endpoint 2.  The device enumerates successfully as an HID on mac, windows, and linux.  I've use a couple different .dll files to communicate with the device using visual studio and python with some success and now I'd like to get it to work in labview.
    Status to date:
    1.  Successfully installed device hijacker driver so NI MAX can see the device as USB::0x####::0x####:erialNumber::RAW (# inserted to protect the innocent and SerialNumber is an actual number)
    2.  I can see the device in MAX.  Tried to send a line of numbers and something is sent back, but it isn't useful yet.
    3.  Tried interruptusb.vi and it doesn't do anything but timeout.
    4.  Tried Read USB Descriptor Snippet1.vi and an 18 byte array shows up and the VID and PID are parsed out correctly if the bRequest is Get Descriptor and the Descriptor Type is Device.  None of the endpoint descriptor types return anything.  A bRequest won't trigger a device function.  It needs an array over the out endpoint.
    The problem:
    Intuitively I'm at a loss of what to do next.  The device needs to receive a command from a 16 byte array gets passed through the out endpoint (2).  Then it will respond with a 16 byte array through the IN endpoint(1).  It seems as though the interruptusb.vi should work, but the interrupt transfer is a receive only demonstration.  How should I format a 16 byte array to go through the out endpoint? Does it need to be flattened?  

    Thanks for the tip.
    The nuggets were great for getting started and helped with installing the labview hijack driver for the HID device.  Closer examination may lead to the conclusion that the code I'm using is very very similar to the nugget with minor changes to the output.  Definitely the nuggets are useful, but for my device, there is more to it. 
    It is not USBTMC compliant.  It requires an array of bytes be sent and received.  The problem may have to do with timing and ensuring that the byte transfer is correct.  When communicating from visual studio, a declared array of characters works fine.  I tried that with this setup and it doesn't work consistently.  Of particular concern is why with this setup the device shows up, doesn't work properly until stopped, then works fine, but when the labview VI is stopped, the device disappears and no longer available in the VISA combobox.  The Device Manager still shows the device, but Labview must have an open handle to it. 
    I'd really like to be able to call the dll used in Visual Studio, so the user can choose to use the included software or a Labview VI without having to reinstall a driver.  Afterall, HID is great because the driver is under the hood.  Having to load one for Labview defeats the purpose of developing an HID device.  If I wanted to load a driver, I'd program the device to be a USB-Serial device and use the labview VISA serial vi's. 
    For now I'll be happy to get a stable version in Labview that will communicate consistently even if it is the hijacked driver.

  • How to Export Team Site Site Pages to .aspx and for subsequent upload to other Team Site and Web Part Customisation included. (Powershell)

    Hi guys,
    Can i please technically know how to export an .aspx file (in Site Pages library of a team site) to local file?
    Basically, SharePoint Designer has this feature "Export File"
    i Need exactly the same feature that can be done in Powershell
    I tried the following
    $web = get-spweb "MY URL"
    $folder = $web.GetFolder("SitePages")
    $files = $folder.files
    #trying to download the first file
    [System.IO.File]::WriteAllBytes("C:\\LocalPath",$files[0].OpenRead(),$true)
    The file exported via this method is Clean HTML without the Web Part Customisation!
    I NEED the web part customisation in the exported files.
    Sample downloaded via above script
    <!-- Cropping -->
    <tr>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" height="100%"> <WebPartPages:WebPartZone runat="server" Title="loc:LeftColumn" ID="LeftColumn" FrameType="TitleBarOnly"/> </td>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" height="100%"> <WebPartPages:WebPartZone runat="server" Title="loc:MiddleColumn" ID="MiddleColumn" FrameType="TitleBarOnly"/> </td>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" height="100%"> <WebPartPages:WebPartZone runat="server" Title="loc:RightColumn" ID="RightColumn" FrameType="TitleBarOnly"/> </td>
    </tr>
    <!-- Cropping -->
    I tried using WebRequest, it returns the  End HTML, which is not working too.
    Please if anyone has done this? Or is there any SharePoint Designer Developer here and is willing to share how to perform the export in SharePoint Designer via Powershell? API available?
    Much Appreciated!
    Cheng

    Hi,
    According to your post, my understanding is that you wanted to export Team Site Site Pages to .aspx and for subsequent uploaded to other Team Site and Web Part Customisation included using Powershell.
    You can export a specific file or object from the Export-SPWeb context.
    Export-SPWeb -identity "http://sharepoint" -ItemUrl "/default.aspx"  -Path "c:\default.aspx"
    Import-SPWeb -identity "http://sharepoint" -Path "C:\default.aspx"
    Here is a similar thread for you to take a look at:
    http://sharepoint.stackexchange.com/questions/56664/how-to-download-a-sharepoint-aspx-page-from-server-using-powershell
    More information:
    http://technet.microsoft.com/en-us/library/ee428301(v=office.14).aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create a button in a interactive document and use the button to launch and external "exe." file.

    I created an interactive document and will export as a swf.  I would like to create a button in the interactive document to launch and external "exe." file. Is this possible.

    You will need to create custom web part editor. Look at the following example. It also have added button and its events. I am sure you can use this sample as base and code your logic.
    http://msdn.microsoft.com/en-us/library/hh228018(v=office.14).aspx
    Amit

  • How to export pdf using jsp

    hai friends
    i know to export excel using jsp
    but tried the same process to pdf, it s not work..
    please give some solution......
    thanks
    rex

    It's working absolutely fine for me. I suspect the problem is one of these two:
    1. You're giving the incorrect path of the file. Check the size of the downloaded file, it's probably 0 bytes.
    2. Check the file that has been created on the server first; is that fine? That could also be the origin of the problem.
    This is th code I've used. I copied an existing PDF to my webapps root folder ( $CATALINA_HOME/webapps/myApp/test.pdf ) and hardcoded the values of filename to check it and it works for me.
    BufferedOutputStream out = new BufferedOutputStream( resp.getOutputStream());
    try
        filename = "test.pdf";
        resp.setContentType("application/pdf");//vnd.ms-excel" );
       resp.setHeader("Content-disposition","attachment; filename=\"" + filename + "\"" );
        BufferedInputStream bufferedInputStream = new BufferedInputStream(new FileInputStream(getServletContext().getRealPath("/") + filename));
        int i;
        while ((i=bufferedInputStream.read()) != -1)
         out.write(i);
        bufferedInputStream.close();
      out.flush();
       out.close();
    catch ( Exception e )
         System.out.println(e);
    }

Maybe you are looking for