Can we refer to any libraries from the BPM project?

Hi,
I am trying to create some BPM processes using the studio. And i wanted to refer some jar files for it. Is there any way how we can do that?
I tried adding the jar files through the catalog. But i am not able to add some big jar files. It is throwing the OutOfMemory errors.
Anybody please help me how to resolve that?
Also please tell me if we can refer some external libraries?
Can we prepare some XMLObject from a string and validate it against the schemas/xmlbeans? Is there a way in BPM to do that?
Thanks & Regards
Prakash.

How much memory do you have on your machine? Are you using a VM environment? If so, how much physical (not virtual) memory do you have dedicated.
The logic below is used to convert a String to an XML object if you haven't first introspected the XML's XSD.
String xmlString;
Fuego.Xml.XMLObject xmlObject;
// Set XML String
xmlString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
                     "<invoice>" +
                         "<customer>John Doe</customer>" +
                         "<orderdate>May 26, 2009</orderdate>" +
                         "<shipDate>May 27, 2009</shipDate>" +
                         "<serviceDescription>SOME SERVICE</serviceDescription>" +
                         "<serviceAmount>1000.0</serviceAmount>" +
                         "<taxes IVA=\"21%\">210.0</taxes>" +
                         "<total>1210.0</total>" +
                     "</invoice>";
// Convert XML String to XML Object
xmlObject.load(xmlText : xmlString);
// Display values
display(xmlObject.selectString(xpath : "customer"));Probably more what you're looking for is to first introspect the XSD for the XML (create a new module in the catalog ("MyModule" in the logic below) -> right mouse click the module -> click "Catalog Component" -> "XML Schema"). Once you've introspected the XSD, create an heir object by first expanding the XML schema you just introspected in the catalog -> right mouse click the highest level node in the XSD (e.g. "Invoice" in the XML shown below) -> click "Create Heir" and give it a name (e.g. "MyInvoice" in the logic below). You could then use the heir's load() method to load and validate the string going into the XML object like this:
String invoiceString;
MyModule.MyInvoice myInvoice;
// Set XML String
invoiceString= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
                     "<invoice>" +
                         "<customer>John Doe</customer>" +
                         "<orderdate>May 26, 2009</orderdate>" +
                         "<shipDate>May 27, 2009</shipDate>" +
                         "<serviceDescription>SOME SERVICE</serviceDescription>" +
                         "<serviceAmount>1000.0</serviceAmount>" +
                         "<taxes IVA=\"21%\">210.0</taxes>" +
                         "<total>1210.0</total>" +
                     "</invoice>";
// Convert the invoice XML String to Invoice XML Object
myInvoice.load(xmlText : invoiceString);Dan

Similar Messages

  • Can we call an Standard API from the BPM process

    Hi,
    Can we call a Public API from within a BPM Process. Can you please suggest the procedure for achieving the same.
    Also wanted to know the procedure to insert into Standard Interface tables and called Standard Interface program to Create objects like Employees, Employee assignments, etc.
    Please send any documents / writeup to achieve the above.
    Thanks & Regards,
    Murali

    You will have to catalog the API (refer to the Studio help files for the details). Once you catalog the api you can use it in a method. The method can then be used in an activity in the process.

  • Why can't I download any apps from the App Store

    I can't download any apps when I press the download button the circle just spins. Please help

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and pp Store and sign out and sign back in
    - Power off and then back on your router
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • I can't down load any apps from the app store to my iPhone 4. I keep getting a msg that says " app cannot be downloaded at this time". Please help!

    I have already reset my phone for another reason and I also thought that would solve the problem. Is it the app store??

    hi mate.try to switch off your mobile for 5minutes and switch on ....i think it will be fine after that....but u need to switch off your phone atleast for 5 minutes..Good luck..hopefully it will work

  • Why can't I update/ download apps from the app store after upgrading to iOS 7.0.3?

    I have an iphone 5 and updated my phone to the lastest version (ios 7.0.3) last night. I can't download/ update any apps from the app store using my cellular network.  The only error message is that the app cant be downloaded at this time. As soon as I click the download button, the image of the icon shows up with "Waiting" underneath the icon.  I tried tapping on the app icon to pause the download but that isn't working. I have disabled Wi-Fi setting and enabled"the use cellular data" option in the itunes and app store setting page.  Memory is not an issue because I have a lot of memory available.  In the cellular setting page the App Store is enabled to use cellular data.  It seems like it is a setting issue.  What can be done to fix this problem

    Thanks for your suggestion.  Not long ago before I saw your response I tried to download the app and I seemed to have some progress (I had 5 bars and 1x). It looked it was 3/4 of the download complete only to have the same error message. 
    Since then I reset the phone and I have tried downloading the app when there 5 bars with 3g.  Every time the icon has waiting underneath it and I get the same error message. 

  • I can't synch my iPhone with iTunes because the device does not show up in a device window when I plug it in...it's missing in action and thus I'm not able to add any content from the iTunes to my iPhone, e.g. podcasts

    I can't synch my iPhone with iTunes because the device does not show up in a device window when I plug it in...it's missing in action and thus I'm not able to add any content from the iTunes to my iPhone, e.g. podcasts.   All the instructions on synching start with "find your device in the device window".  But what if you have no device window?

    Missing "message" from above: The iPad "DGMTR" is synced with another iTunes library on DGMTR's MacBook Pro. Do you want to erase this iPad and sync with this iTunes library? An iPad can be synched with only one iTunes library at a time. Erasing and syncing replaces the contents of this iTunes library.
    I thought the libraries were the same.

  • I can't search any videos on YouTube/Download any app from the App Store

    Hi,
    I am using movistar 3G network (Spain), full signal. Everything works fine, Stock app, Weather app, Mail, Safari... but I can't search for any videos on YouTube and can't download any app from the App Store.
    I can see videos on YouTube app but only the featured videos, when I try to search the ones I want to see I get an error message "Cannot connect to YouTube".
    The only problem is when searching videos on YouTube app.
    When I try to download an app from the App Store I get a similar error message, "The download can´t be done, connect to iTunes" more or less, that's the sense of the message.
    I can connect to the AppStore, surf it but when I press Install... I get the error message.
    I know that my carrier, movistar (Spain) has an issue with secure webs (https), it's impossible to surf any secure web by now but I don´t know if this is related with my problems.
    This happens with 2.1 and 2.2 firmware version.
    I have the iPhone set in spanish from Spain and the time is right. By the way, using WiFi everything works fine, everything, I can search for videos on YouTube app and download apps from the AppStore.
    I don´t know what more can I do, can someone help me? please. = (
    Thanks in advance.

    FWIW, the only part of Java not installed is the Java Runtime Environment. Launch the Java Preferences.app in /Utilities and DL it when prompted. Then, enable plugins and Web Start apps.

  • I just upgraded Flash Pro CC from 13.0.1.80 to 14.0.0.110. I can no longer run any .swf's The target is Player i13 or older, my computer has 16.

    I just upgraded Flash Pro CC from 13.0.1.80 to 14.0.0.110. I can no longer run any .swf's The target is Player i13 or older, my computer has 16.

    you mean you have a problem with the stand-alone flash player?  or you're having a problem with flash pro?

  • Hii . , any method can help resotore my data back from the sync service ?!

    hii ,
    I have set up a Firefox Sync account . and, I backed up my laptop but forgot to back up the sync key or the recovery key ! .so Now, I can't set up the Firefox Sync service anymore, as my email address has already registered but i don't have a sync key to access.
    I would like to have the sync key back wthout losing any of my data !! only what i want is my data !!
    so what do i have to do ? can u help me ? or can u send me the recovery sync key ? how can i have my data back from the service ? can u tell any method that can help me or can restore my data plzz ; (
    i have realy important data !! = (
    my email : (Email removed by mod)

    You can try to run a recovery program (recuva, or the like) but that is a slim chance. Otherwise, you can't get that data back after deleting it.

  • Can't play any presentaion from the DMP

    Hi All ,
    Im using DMM embedded in to VMware which is a Demo box from CISCO.Now i cant play any presentation from the DMM or DMP .I reinstalled the whole software but it didnt work for me.I can transfer content to the DMP but cant play from that.Even when i push a presentaion from the DMM it doesnt play ..
    Can anyone help me on this ....
    thanks

    I have the same problem right now jeje,, Im work with DMM 5.1 DMP 4400G and 4305G, i just try with a new presentation, then shedule the presentation file and submit with the DMP, nothing happens;
    I hope someone can help us.
    Regards
    Antonio

  • My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    Apparently it's related to the Firefox plug in.
    This isn't exactly a solution but more of a way to avoid opening PDFs with Firefox's plug in.
    1. Highlight "Tools" from the Menu Bar in the top left of the screen (or click "Options" if using the Firefox Compact Menu)
    2. Select to "Options
    3. Select "Applications"
    4. Look for "Adobe Acrobat Document" under Content Type and to the right under Action select "Use Adobe Reader (default)" instead of the using Adobe Acrobat in Firefox
    5. Open a test PDF. It should open in it's own window now.
    Again, not a complete solution but something that'll at least let you scroll with PDFs open.
    More info here: http://forums.mozillazine.org/viewtopic.php?f=38&t=2171033

  • Is it true that i can't buy any music from the states when my book is registered in hk??

    is it true that i can't buy any music from the states when my book is registered in hk??

    Thanks, but unfortunately, this is not a message, it is the HTML page that it shown after a student registers for a course. I can see how to preview it at
    but I can't edit it here, nor anywhere else I can find...note that I am looking the "Registration Confirmation" link (last one).
    Bill

  • I can't install any  apps from the AppStore on my MacBook, why?

    I can't install any  apps from the AppStore on my MacBook, why?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Are you running any anti-viral software or a firewall? Little Snitch?

  • Can't make any purchase from the AppStore even if it is free ,

    Hey There
    Can't make any purchase from the AppStore even if it is free ,It always tells me error has occurred. This happens since I upgraded to Mavericks,, Could you please help

    Launch the Console 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 Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Satellite A60: Can't open any programs from the CD Rom

    I have a problem when trying to open any program from the CD rom, the computer runs a Windows Explorer message every time
    which says there is a fault and has to close down. I have run the computer through every virus program going and i have all the Microsoft updates from there website. Has anyone got any further ideas what the problem could be.

    Hi
    Well, strange issue. Maybe its something wrong with the CD rom?
    The best idea is to recover this unit with the delivered Recovery CD but firstly you can try to remove the CD rom device from the Device Manager. After OS booting the drive will be recognized again. If the problem persists after this procedure I would recommend to recover the unit.
    Bye

Maybe you are looking for