Can't deploy a model that includes a service

I'm using flashbuilder 4.5.1 & lcds 3.1 and I'm trying to deploy a model that includes a service something like this:
<service name="Zoo">
        <annotation name="ActionScriptGeneration">
            <item name="ServiceType">RemoteObject</item>
        </annotation>
        <function name="scoop" return-type="void">
         <parameter name="animal" type="opaque"/>
        </function>
    </service>
When I try to deploy it I get this lcds error about expecting an annotation.  I've successfully used this capability in the past, any suggestions or workarounds?
thanks in advance

Rohit,
Thank you very much for the explanation. 
By the way, the Flash Builder 4.5  Data Model perspective displays the following when you hover over a <function…> tag and appears to be in error. See text in red below.
Defines the prototype of an externally defined function within a service.
For information about functions, including how to add them in Design mode, see Add service functions. Can
appear
A function element can only appear as an immediate child of a service element. Attributes
Attribute
Req/Opt
Default
Description
name
Required
Specifies the function name.
arguments (deprecated)
Optional  
Note: The arguments attribute is deprecated in LiveCycle Data Services 4.5. For prolonged support an d
augmented functionality, use the parameters attribute.
Specifies the names and types of the function’s arguments. If present, the value specified for arguments
takes the form name:type, where name and type denote argument names and types, respectively.
Names must be valid data model language names, and types must be valid data model language type
expressions
Instead of an arguments attribute, you can use child parameter elements. If you use parameter elements,
you cannot include the arguments attribute.
parameters
Optional  
Specifies the names and types of the function arguments. A missing parameters attribute indicates that the
function takes zero arguments.
If present, the value specified for arguments takes the form name:type[=default], where name , type, and
default denote parameter names and types, and default values respectively. The name and type are required.
The default value is optional.
Separate mutliple parameters with commas.
Default values can be literal values or expressions.
Names must be valid data model language names, and types must be valid data model language type
expressions.
Instead of a parameters attribute, you can use child parameter elements. If you use parameter elements, you
cannot include the parameter attribute.
return-type
Optional  
Specifies the return type of the function.
You must specify the type of data that is returned. However, the attribute is optional because you can use a
child return-type element instead. Child elements
A function element can contain zero or more annotation and parameter elements, and zero or one return-
type elements. Example
The data model in the following example contains a service with two functions, both of which are called
from expressions in properties of an entity. <model xmlns="http://ns.adobe.com/Fiber/1.0">
    <entity name="Applicant" persistent="true">
        <property name="name" type="string"/>
        <property name="ssn" type="string"/>
        <property name="age" type="integer"/>
        <property name="state" type="string"/>
        <property name="score" expr="CreditScore.getCreditScore(ssn)"/>
        <property name="risk" expr="CreditScore.getRisk(state, age, score)"/>
        <id name="id" type="integer"/>
    </entity>
    <service name="CreditScore">
        <function name="getCreditScore" parameters="ssn:string" return-type="integer"/>
        <function name="getRisk" parameters="state:string, age:integer,
             score:integer" return-type="integer"/>
    </service>
</model> <
Maybe you can pass this info along so it gets fixed on the next Data Model plugin release…
Thanks,
Oscar

Similar Messages

  • Can I create a PDF that includes photos using Adobe Reader?

    Is it possible to create a PDF document that includes photographs using only Adobe Reader?
    Or do you have to pay yet more for Acrobat?

    Rachel, although Word is not specifically designed for the job you describe, it can be used for it. Once you have completed your document, you can export it to a PDF file directly from Word (File > Save as > PDF). I would suggest trying first with a single page containing text and photographs like those you'll be eventually using. If results are not as good as you would like, you can explore other methods, such as using a proper design program to produce your originals. And, whatever method you use, don't forget to keep the original files along with your PDFs, and backup copies of both.

  • Can I create a task that includes 2 C series modules?

    I am trying to create a single task that includes 2 NI-9425 C series modules but when I wire the physical channel constant "Mod3/port0, Mod4/port0" into the DAQmx Create Virtual Channel.vi I receive error -200086 which states physical channel range syntax in the input string is invalid because multiple devices were listed in the string.  It is my understanding from LabView help that multidevice tasks are allowed.  Also according to this KB article http://digital.ni.com/public.nsf/allkb/CF85114C6025C84C862571C000722DDA multi-device tasks are supported for S Series devices, C Series, and DSA devices, and according to this KB article http://digital.ni.com/public.nsf/websearch/78E44565FD87E7D686257108007F94F8?OpenDocument I have formatted my physical channel constant correctly.
    Can someone please explain why I am getting this error when all indications are that this should be a simple thing to do?
    My C series modules are in slots 3 and 4 in a cDAQ-9188 chassis, I am currently running LabView 8.5.1, with Windows XP
    Thank you,
    Eric
    Solved!
    Go to Solution.

    Hi Eric,
    I'm afraid that you can't configure hardware timing with the NI 9425 in CompactDAQ. The NI 9425 data sheet explains: "The NI 9425 is a static digital module, so you can use it to perform software-timed or static operations only when installed in an NI CompactDAQ chassis."
    For AI, AO, and counters, daisy chaining multiple calls to DAQmx Create Channel is equivalent to specifying a list of physical channels, but for DIO it's different. A single DIO virtual channel can contain multiple physical channels (lines). It would be completely reasonable to assume that specifying a list of lines with "one channel for all lines" would cause DAQmx to put all of the lines in a single virtual channel, but due to how it's implemented in the DAQmx framework, this is not possible when the lines are on multiple devices. It would also be reasonable to assume that if DAQmx couldn't put all of the lines in a single virtual channel, then it would create one virtual channel per device, but that's also not how it's implemented--it returns the error that you received.
    Instead, here are two approaches to putting all 64 lines in one task. Either one should work.
    Approach A: Create a single task, containing two virtual channels (MyChan0 and MyChan1). MyChan0 contains cDAQ1Mod3/port0/line0:31 and MyChan1 contains cDAQ1Mod4/port0/line0:31. The Digital 2D Bool NChan 1Samp read VI returns a 2x32 array of Booleans. To flatten this into a 1D 64-element array, you need to use Reshape Array or some other method.
    The DAQmx Task >> Channels property is there to show that there are two virtual channels named MyChan0 and MyChan1. Also, I used a for-loop to show that you don't have to hardcode multiple calls to DAQmx Create Channel. The "one channel for all lines" constant is redundant because that is the default.
    Approach B: Create a single task, containing 64 virtual channels (MyChan0 through MyChan63). This uses the "one channel for each line" constant, which is not the default. MyChan0 contains cDAQ1Mod3/port0/line0, MyChan1 contains cDAQ1Mod3/port0/line1, etc. The Digital 1D Bool NChan 1Samp read VI returns a 1D 64-element array of Booleans. If you used the Digital 2D Bool NChan 1Samp VI instead, you would get a 64x1 array because there are 64 virtual channels containing 1 line each.
    Brad
    Brad Keryan
    NI R&D

  • AE CS6 bug: Can't use any shortcut that includes the C in it

    A while ago I started having some issues In Illustrator CS6, where I couldn't copy and paste from one document/application to another, the issue later ported itself to AE and not much after that anything including the C key stopped working. For example I can't copy, pre compose or create a camera using shortcuts.
    After a lot of troubleshooting I was able to isolate a preference pane who was causing the Illustrator issue, I removed it and AI went back to normal, I assumed After Effects would be fixed too but unfortunately that's not the case, I still can't use the C key.
    I ran Onyx thoroughly, trashed AE's prefs, removed some recently acquired scripts, removed some login items and trashed those prefs also (I read a thread that mentioned those items could be causing odd behaviors).
    I carefully compared my setup against my laptop, which also has AE CS6 installed and working perfectly, I have the same scripts, the same preferences and the only login items not installed there are the ones that's are grayed out in my imac, so I can't delete them.
    If someone can help with this I'll be very grateful, I'm wasting a lot of time trying to solve this thing and I'm very used to using said shortcuts to increase my workflow.
    Thanks.

    I quit a few other components, a small utility called Shortcut (isn't that ironic?) and another one called MacAppBlocker,
    I still can't pre compose any layers using command-shift-c
    I was able to create a camera using command-shift-alt-c, after several tries, sometimes it worked, sometimes it didn't.
    I was being able to copy and paste across different programs and layers all sorts of objects, UNTIL  I opened Illustrator and copied a path, then I pasted it into a solid in AE.
    The next time I tried to copy something else, my clipboard got stuck with the path from Illustrator, EVEN inside illustrator.
    Greg, as you can see from this thread:
    http://forums.adobe.com/message/4462265
    This is an aknowledged bug from Illustrator, but as I have discovered in the past few days it's affecting everything systemwise, what are the possibilities that the only shortcuts that are failing are those that contain the combination of command-c? And like I said, it starts missbehaving right after I copy a path in Illustrator, not before.
    Alright, after some further testing, here's what I found:
    I removed (completely deleted) from my computer a small piece of software called WD Quickview, right after I was able to precomp and create cameras in AE.
    I still have the copy/paste issue from Illustrator, right after I copy a path, the clipboard goes haywire system wide.
    The strange thing is that, such program, WD Quickview has been installed on my computer for over a year now and never had any trouble with it, moreover, I'm not entirely sure how am I going to be able to get into the drive that uses that program (WD force-install that thing with their new drives that come with a new unerasable firmware).
    Coincidentally, I haven't plug the drive at all this week, so perhaps the program went crazy when it couldn't find the drive?
    Message was edited by: David Cabestany
    Ooooops. spoke to soon, this morning the issue came back.
    Message was edited by: David Cabestany

  • Can I create an executable that includes my scaling?

    Is it possible to c reate an executable VI including scaling, for use on multiple systems? Please include instructions.

    Keep your project all together.  Add the Task and Scale to the project.
    if you look inside this build you will find
    \Data\NI-DAQmx.ini
    [DAQmx]
    MajorVersion = 9
    MinorVersion = 8
    [DAQmxChannel ProjectVoltageTask/Voltage]
    AI.MeasType = Voltage
    AI.Voltage.Units = From Custom Scale
    AI.TermCfg = Differential
    AI.Max = 10
    AI.Min = -10
    AI.CustomScaleName = ProjectScale
    ChanType = Analog Input
    PhysicalChanName = Dev1/ai0
    [DAQmxTask ProjectVoltageTask]
    Channels = ProjectVoltageTask/Voltage
    SampQuant.SampMode = Finite Samples
    SampClk.ActiveEdge = Rising
    SampQuant.SampPerChan = 100
    SampClk.Rate = 1000
    SampTimingType = Sample Clock
    SampClk.src=
    [DAQmxScale ProjectScale]
    Lin.Slope = 1
    Lin.YIntercept = 0
    PreScaledUnits = Volts
    ScaledUnits =
    ScaleType = Linear"
    Right there in the exe.
    Jeff
    Attachments:
    My Application.7z ‏379 KB

  • Java Script Error while deploying a Model with Value Help

    Hi,
    I am using EP 7.0 SP 10.
    I am trying to deploy a model which includes the Value Help for an Input field, and i am trying to deploy this model.
    The model compiles successfully, but gives a Java Script Error while deploying the model,
    ! Error on Page
    When Click on this java script error, it shows that ,
    Line:14985
    Char 1: Error
    object does n't support this property or method.
    code
    URL: <serverhost>/VCRes/WebContent/VisualComposer6.0/bin/223334.htm?24102006.1712.
    The Same model works in dev server, and it fails in the production server.
    Thanks and Regards,
    Sekar

    Hi jakob,
    Thankyou for your quick response.
    I did a basic model with the help of a documentation which i got from this forums.I created a iView and from there i used Bapi "BAPI_SALESORDER ".
    I created a Input Form and a outpot form (table view).I tested model and am able to get the output.but when i try to deploy it is giving me the error.
    And i think am not paring any formulas here.
    Please guide me.
    thanks and regrads
    Pradeep.B

  • What is the latest OS and iMac model that would support CS2?

    I'm trying to figure out how to go about selecting the "right" iMac to suit my current needs and means. Like many folks (I'm guessing), I don't have the money to upgrade every time a)apple comes out with ANOTHER new generation of iMac/OS b)Adobe comes out with updated versions of their software suites.
    What I need to know is:
    1) Do the current iMac Intel CPU's (or the newest Mac OS) support software as old as Adobe CS 2?
    2) If the current iMac's no longer support my software, what is the most current generation of iMac's to do so?
    3) I would like to connect an additional monitor (I have an older 17" apple cinema display) to my iMac. Can anyone suggest iMac models that would accomodate my need?
    4) Any suggestions of reputable sellers of older generations of Apple products, new or refurbished? Any sellers that should be avoided?

    1) Yes and no. Yes CS2 will run on Intel based Macs but the performance may be a bit slower. The next problem is that Adobe does not fully support CS2 to run in Leopard. It will run but you might come across small glitches once in a while.
    2) To avoid the Leopard compatibility issue you would need an ALU iMac from 2007 or earlier that comes with OS X 10.4(Tiger).
    3) You would need to purchase two adapters. A mini DVI to DVI connector and the ADC Power adapter for the display which is about $100.
    http://store.apple.com/us/product/M9321G/B?fnode=MTY1NDA5OQ&mco=MjE0NTg3Nw
    http://store.apple.com/us/product/M8661LL/B?fnode=MTY1NDA5OQ&mco=MjE0NTg4NA
    4) I would prefer an Apple certified refurbished iMac but they may not have one old enough for what you want.
    If you don't have the money to upgrade everything including your software you might consider purchasing a used G5 tower. That way you can run Tiger and CS2 without any problems and still use your current LCD without having to buy any expensive adapters.
    George

  • Is there a plan that includes only Photoshop, Illustrator and cloud space?

    I have the license for CS4 Web Design package, and I would like to upgrade, but I can't find the plan that suits my needs. I use mostly Photoshop and Illustrator but I can't find a plan that includes just these two.  I would like the new features of cloud space as well. I thought about the complete package but it's a waste since I don't use most of the programs. Can someone give me a hint? Thank you

    No, there is no such thing. You have to swallow the price tag of two separate single app plans or a full CC.
    Mylenium

  • How Can I choose Iphone 5s models that work with LTE in Brazil. The Iphone needs to Support Band 7. If I buy the wrong model can apple change it ?

    I am planning to buy an Iphone 5s in October, but I have to make sure that the model will work with the LTE services we have in Brazil. I know that Apple made 2 Models that support Band 7. See Below.
    Model A1457*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE (Bands 1, 2, 3, 5, 7, 8, 20)
    Model A1530*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); FDD-LTE (Bands 1, 2, 3, 5, 7, 8, 20); TD-LTE (Bands 38, 39, 40)
    How can I make sure I will buy the correct model through the internet ? Can Apple change the Iphone In case they send the model that does not support LTE services in Brazil ?
    Thanks,

    JP Ellery wrote:
    The models that will work with brazilian LTE networks are:
    A1507 and A1529 (iPhone 5c)
    A1457 and A1530 (iPhone 5s)
    JP
    Have you personally tried those models with Brazilian LTE networks? Do they work? If so, fine.  If not, then besides that, there is the problem of the warranty which is not international. The user will have to return the phone back to the country of purchase for both warranty and out of warranty service. So what might seem cheaper at first glance might not be in the end.
    Anyways, it your money and the OP's should he want to go ahead with your recommendation.

  • I have a keynote presentation that includes a significant amount of video.  When I edit the keynote slides (not the video slides) how can I save the changes without re-saving the videos (because that takes a VERY long time)?

    I have a keynote presentation that includes a significant amount of video.  When I edit the keynote slides (not the video slides) how can I save the changes without re-saving the videos (because that takes a VERY long time)?  I edit the presentation depending on the audience to which I am presenting.

    If you add a new  slide with just a text box (therefore a very small amount of data),  to an existing presentation then save,  Keynote will only save the new content to the file,  it wont save  pre-existing content as its already included in the file.
    The time  taken to "save" will be very much shorter than a "save as" when all of the existing content is saved again.

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • I have a Powerbook G4. I want to use an iMac desktop, the model that is shaped llike a lamp, as an external monitor. Can I do this with firewire or USB cable or do I have to have a different cable?

    I have a Powerbook G4. I want to use an iMac desktop, the model that is shaped llike a lamp, as an external monitor. Can I do this with firewire or USB cable or do I have to have a different cable?

    You need a network connection and a product such as ScreenRecycler. All such products require a bootable OS on the iMac.
    (58362)

  • How can I generate a data merge that includes a barcode from excel spreadsheet to InDesign?

    Can you please advise if the following process is possible within InDesign CS 5.5? (Mac OS 10.8.2).
    We need to create a data merge that includes a barcode. The data merge is for several thousand records.
    We have a customer-supplied Excel spreadsheet that contains seven fields, one of which is a number that ultimately needs to print as a barcode when we make the data merge in InDesign.
    As you would expect, the conventional six fields data merge perfectly - but we can't find a way to make the barcode print correctly within the data merge.
    We have investigated several possible solutions without success.
    Some solutions suggest a plug-in for Excel to convert the number into a barcode whilst still in the spreadsheet - but this doesn't come across correctly when we import the CSV file into the InDesign data merge.
    We have investigated certain third party software applications but none provide the full solution we require. Some, for example, appear to create the barcode within the Excel spreadsheet but don't produce the barcode correctly when we data merge in InDesign; and some will allow us to create a one-off barcode within InDesign but have no automated way of retrieving the thousands of Excel numbers and turning them into barcodes.
    We have also come across possible 'font' solutions but have had no success with these either.
    For a previous job we needed to produce we outsourced to a specialist mailing company, who assured us they produced the whole job (very quickly) within InDesign. They, understandably, won't tell us how they did it. But, given the speed with which they produced the job for us, we imagine - with the correct software - the whole process is easy to do.
    Can you please advise?

    See second posting atHow do I generate a data merge in InDesign from an excel spreadsheet which includes a barcode

  • I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the removeable battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    Video of the installation here:
    http://eshop.macsales.com/installvideos/macbook_13_mem_hd/
    MtD

  • I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw

    I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw  so  everyone that shares my iPad can  oppen my mail  with  no pw  required.
    Thank

    The iPad is designed to be a single user device, and there is currently no way to password protect the Mail app - even removing the account password from Settings > Mail, Contacts, Calendars will just prevent new mail being downloaded, it won't hide those that have already been downloaded. There is this work-around for the app : https://discussions.apple.com/message/13127632#13127632 . Also there might be third-party email apps that feature password protecting.

Maybe you are looking for

  • Errors reported in alert log file regarding redo log files

    Hi, In my database i see the following entries regarding the redo log files frequently. Thread 1 advanced to log sequence 88 Current log# 3 seq# 88 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\PELICAN\REDO03.LOG Thread 1 advanced to log sequence 89 Curre

  • Statement "CALL TRANSACTION" is not allowed in this form.

    Hi I have a form in which i want to call a transaction:   CALL TRANSACTION 'VL32N'  USING bdc_tab                                                    MODE    'E'                                                    UPDATE  'S'                           

  • HT4528 The icons on my iphone have all changed to large and I cannot change it back to normal view. Has anyone seen this happen?

    My phone's display has changed as if it were stretched like we can do with photo's except it affects the whole phone. It won't go back to a  normal display even after shutting it off and restarting. Has anyone seen this and  how did you resolve?

  • ICC Profile Sorting

    I've seen this being asked before, but it seems that there is still not viable solution for it. Did anyone solve this problem? All I'm trying to do is sort my ICC profiles withing Aperture, so I can easly find them. How hard is that?

  • DMS on Sharepoint

    Hello Experts Can any one help to identify professional consultants/comapnies with proven track record of implementing DMS on sharepoint2013. Require some professional services.