Beginner:an issue of generating code for an entity service

Hi All,
  I have downloaded Sap Netweaver of sneak preview version which contains netweaver studio 7.0.07. And my jdk version is 1.4.09.
  I created a CAF project and added an entity service named Person(just by clicking mouse,not did anything else).But when I tried to generate code,the compiler told me "The type abstractStringbuilder is not visible" and thus it caused the failure of building the project.I have googled this issue and found that this is a existing bug in eclipse.
  Now here is the question: will it take effect if I upgrade my jdk to 1.5? Or can anyone give me any suggestions?
  Thank you very much.
Message was edited by: Yuhui Liu
Message was edited by: Yuhui Liu

Hi,
I suspect that you are using Java5 sinse the AbstractStringBulder is not present in 1.4.
Please check the Java version used by the IDE by opening "Help -> About.. -> Configuration Details".
Java 5 is not supported by NetWeaver 7.
Anyway, an upgrade to Java 5 won't solve the issue.
Best Regards,
Tsvetan

Similar Messages

  • LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides

    HI
    When I put a network shared variable with fifo RT activated on my diagram, the arrow is broken.and I' ve got this message:
    ""LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides""
    If I uncheck FIFO RT option for this variable the arrow isn't broken anymore.
    I 've no idea how to correct this weird error?
    Autodeploy is on, and I've check copy / delete in diagram in tool/options\diagram
    regards,
    james

    Hello,
    I don't reproduce this error.
    Could you send your VI?
    Regards
    VéroniqueD
    NI France

  • Command to generate code for I-phone application in SUP-DOEc

    Hello Experts,
    Please let me know the command to generate code for esdma to create iphone application using SUP-DOEc.
    Thanks and Regards,
    Suma

    codegen <ESDMA directory>\META-INF\sup-db.xml -client -mbs -sqlite u2013oc -log:co -output <ESDMA directory>
    Regards,
    Siva.
    Edited by: Siva Satya Prasad Yerra on Jun 20, 2011 1:33 PM

  • [svn:fx-3.x] 9242: Fix generated code for IFlexModuleFactory. allowInsecureDomain.

    Revision: 9242
    Author:   [email protected]
    Date:     2009-08-12 08:16:10 -0700 (Wed, 12 Aug 2009)
    Log Message:
    Fix generated code for IFlexModuleFactory.allowInsecureDomain.
    Change Security.allowDomain() to Security.allowInsecureDomain().
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-22633
    Reviewer: Alex
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22633
    Modified Paths:
        flex/sdk/branches/3.x/modules/compiler/src/java/flex2/tools/PreLink.java

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

  • CAF DB Update for CAF Entity Service from Web Dynpro

    Hi all,
    I have created an entity service in CAF called “Contacts’ which contains the following attributes.
    phoneNo
    cellNo
    emailID.
    Another entity service called "Person" is created. This contains the following attributes.
    personId
    personName
    personAddr
    contactsRef. (Cardinality -> 0..n , Relational Type -> Composition)
    That means Contacts entity service is used within Person entity service. Now it is working fine within CAF service browser. Now the Web Dynpro DC of CAF application is used within another custom Web Dynpro DC project. I want to store data from Web Dynpro.
    Within the context of component controller of  Web Dynpro the structure is like
    APerson
         |_ personId
         |_ personName
         |_ personAddr
         |_ contactsRef       
                    |_ phoneNo (Under contactsRef)
                    |_ cellNo (Under contactsRef)
                    |_ emailID (Under contactsRef)
    So I have written the following code within web dynpro custom method.
    APerson person = PersonServiceProxy.create();
    java.util.List ls = new ArrayList();
    for(int i=0; i<4;i++)
    AContacts contact = ContactsServiceProxy.create();
    contact.setCellNo("9092130156");
    contact.setEmailID("[email protected]");
    contact.setPhoneNo("432258");
    contact.getAspect().sendChanges();
    ls.add(contact);
    person.setRelatedModelObjects("contactsRef",ls);
    person.setPersonID("9999");
    person.setPersonName("xyz");
    person.setPersonAddr("ABC, KOL");
    wdContext.nodeAPerson().bind(person);
    person.getAspect().sendChanges();
    CAFServiceFactory.getServiceFacade(idendityDefinition.class);
    After saving the data from Web Dynpro I am trying to test it from CAF service browser. But I am getting only the parent row. I mean only the value of personId, personName and personAddr fields which I have stored from Web Dynpro. But no value is coming within the table for Contacts entity service for composition relation.
    Could anybody help me how can I solve my problem?
    Thanks & Regards
    Chandan
    Message was edited by:
            Chandan Jash

    Hi Chandan,
    Can you do person.getRelatedModelObjects() and get the contact object, to check whether it is null, also check in the CAF DB whether the data you entered is present.
      I am not sure the code is actually adding the contact model object to person.
    Go thru this SDN Blog on usage of the CMI API's, there is a link for CMI documentation in it which might help you get the right code for adding the contact object.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115.
    award points if  info is helpful
    Regards,
    Anish

  • OWB Error while generating Code for a mapping

    I have a simple mapping loading from a source to a flat file. When I try to generate code it gives me the following Error
    VLD-2357: Target Data File name not specified for file <target Flat file name>.
    I am new to OWB so any help on the same will be greatly appreciated. How can I specify target Data File name in the mapping configuration under Flat file operators
    Thanks
    Anish

    If you configure the mapping in the UI from the main design tree and select the name of your file operator under the tree node 'Flat File Operators' on the right hand side panel the properties should be displayed - one of these properties is 'Target Data File Name', enter the name of your target data file name.
    Cheers
    David

  • Error while generating code for deployment

    I am getting the following error:
    Error generating findTest1ByMarks(java.lang.Integer) query for Bean Test1(Abstract scheme name=Test1) Error=query cannot be pushed down
    Query="select ..."
    Could someone help me?
    I am trying to generate code of Container Managed Entity Bean in WSAD 5.0.
    Thanks

    If you configure the mapping in the UI from the main design tree and select the name of your file operator under the tree node 'Flat File Operators' on the right hand side panel the properties should be displayed - one of these properties is 'Target Data File Name', enter the name of your target data file name.
    Cheers
    David

  • UML modeling for class diagrams, could not generate code for modified diagr

    Hi,
    I'm using Java studio Enterprise for creating class diagrams and generating code from the UML using round trip engineering. I'm able to create class diagrams and generate code from the diagram. I tried modifying java code for classes and saved it. Now if I try and modify the diagram its not updating the java code associated with it.
    Please suggest the workaround or so.
    Thanks
    Sunita

    Maybe the linkage between the source and model class element is broken. Try to expand the class element from the project tree to see if a source file artifact node (under the class that displays the pathname as the name of the node). If not, that's why. Then, the workaround is to manually add the pathname to the java source file. Here are the steps:
    - expand the class in question
    - select the source file artifact node
    - from the properties window on the right side of the ide, enter the exact pathname to the java source file and press the Enter
    It should work now.

  • What are the compiler generated codes for objective-c?

    After the compilation, the code for c/c++ is known as "object code" i.e. ".obj" file, and the binary executable file is ".exe" .
    Similarly for java the compiled code is known as ".class" file.
    In case of Objective-c what is the output of Compiler and what is the Executable file?

    Strictly speaking, .obj and .exe refer only to the output of the compiler and linker for a Windows system (or cross compiler).  For *nix compliant systems the output of the compiler is usually given a .o suffix and the executable produced after linking is named whatever you choose; but usually with no suffix at all.
    Also, technically speaking, Java .class fiels don't fit neatly into this paradigm.  The output of a Java compiler isn't object code, per se; it's optimized byte-code that can be run by the JRE.

  • Generating code for item

    Hi
    My client's item master data is not ready.Item description and other parameters reqd in system are available but item code is not ready.He wants that system should itself decide code. his item is vehicle.so acc to him he will give parameters of vehicle and system by any formula basis decide the item code.
    Is this service available in SAP B1?
    Thanks

    Put your data in an excel file and generate item code by using a formula.
    Cell A1 "1000"
    Formula; =a1+1
    Copy down as required
    Save a Tab Delimited
    Update with DTW

  • How to use generated code from "Import Web Services" with Cairngorm Framework

    I recently downloaded Flex Builder 3 beta 2 and tried out the
    wizard that lets you import web services. The code that is
    auto-generated makes if fairly straight forward to consume web
    services using the object types defined in the WSDL. No longer does
    the developer need to decode the XML payload! The only problem I am
    having is how does you integrate the auto- generated code with the
    Cairngorm framework? This seems like a huge question for anyone who
    might want to leverage Cairngorm and the auto-generated proxy code
    in the same project (like me).
    Here are the problems that I see so far.
    1) How do you configure the generated service class to work
    with the Cairngorm service locator? The service constructor only
    accepts a “LCDS destination string” which implies that
    you must use Lifecycle data services. Unfortunately, the project I
    am trying to retrofit currently uses a WebService and does not use
    data services. All I really need to do is change the endpoint URL
    (ie from local to a development server). This issue is noted in the
    bug https://bugs.adobe.com/jira/browse/FB-8456. What I think is
    needed is a way to set the endpointURI in the Services.mxml file.
    2) Even if I come up with a hack around #1, I do not receive
    a callback to my IResponder even though I register it immediately
    after the method call. I can register and listener function within
    my business delegate and receive the callback, but my Command
    object, which implements IResponder, does not receive the call back
    even though it is registered. From what I read in the ASDocs it
    should but it doesn’t for me!
    These are the issues I have observed in 3 hours of messing
    with this. I hope this makes sense. I would love to integrate
    auto-generated web service proxies into Cairngorm but I don’t
    see a straight forward way without re-architecting Cairngorm. Has
    any one else run across this issue? If so, do you have any insights
    on how to proceed? Any help is appreciated.

    Since I posted this question, I have abandoned the notion of
    auto-generated web services and embraced the good old FDS concept
    where the RemoteObject meta-tag does all the conversion work for
    me. We are now using the Granite DS package and it is working well
    for us. I would love to consume web services, but it just isn't
    worth the hassle when all you have to do with Granite (and FDS) is
    cast your return objects to the proper object type.
    BTW, since this posting, I have investigated competing Flex
    app frameworks. After my research, I checked out the PureMVC
    framework. Wow!! Cairngorm always left me with an uneasy feeling
    and I guess I am not alone. Apparently, Cliff Hall felt the same
    way. That is why he started the project. I like his approach alot
    more than Cairngorm especially since it includes notifications
    which allow me to broadcast my own app level events independent
    from the AS Event framework. Check out PureMVC. For what it is
    worth, it has my humble endorsement. Cliff was even gracious enough
    to acknowledge the other Adobe Consulting guys for their work. Good
    for you Cliff, I respect that. Check out a better way at
    http://www.puremvc.org/

  • Need ABAP code for the below Services requirement

    Hi,
    We have a requirement to show all the services for a particular Purchase order number.For this I built a view on 2 tables ESLL and EKPO.Now based on the below logic I need to bring the services for the Purchase order..
    1.Enter PO number,item no. and Doc category in EKPO and find the Pack no.
    2.Now take the Pack no. of EKPO and give in ESLL and find the Sub pack no.
    3.Now take this Subpack no. and Give this sub pack as Pack no. in ESLL
    4.This will be the Service entry record for that PO number.
    Can any one Please suggest me to how to write the ABAP code for the above logic.
    Thanks & Regards,
    Dinakar

    Hi Dinaker,
    Did you find any solution for this issue. I too have a similar requirement of pulling all the service orders for a specific Purchase Order in the BW report.
    Thanks,
    SAPBWI

  • Issue in Triage codes in Reactive Repair Service order.

    Hi,
    I am working on service module of SAP CRM 5.0 system. When I create a service order for reactive repair, I am able to add a few triage codes for items.
    when I try to create a confirmation order for the same reactive repair service order, the triage codes mentioned in Service order are not getting copied to the confirmation order.
    If any one had experience on such kind of issues and could guide us through this, please respond back to me.
    Waiting for your valuable suggestions.
    Thanks,
    Pavan

    Hi,
    I am working on service module of SAP CRM 5.0 system. When I create a service order for reactive repair, I am able to add a few triage codes for items.
    when I try to create a confirmation order for the same reactive repair service order, the triage codes mentioned in Service order are not getting copied to the confirmation order.
    If any one had experience on such kind of issues and could guide us through this, please respond back to me.
    Waiting for your valuable suggestions.
    Thanks,
    Pavan

  • Need to auto-generate SDK for REST web service.

    My company has developed a REST API for some web services, and we'd like to provide users with a Java SDK for consuming those services.
    Our services are described by an XSD schema. On the backend, we are using JAXB to create Java classes corresponding to the schema. We create the request objects based on the parameters in the REST url, and JAXB converts our response objects from Java to XML.
    We'd like to provide our users with similar Java classes on the client side. They should be able to create the object corresponding to the request, fill in various parameters, and submit it to our web service. The SDK should automatically convert the object into a REST URL, hit the URL with a Get, read the XML response, and convert that response into Java objects.
    It seems like we should be able to auto-generate such an SDK based on our schema.
    It seems like there are several tools for doing this for SOAP web services. For example, Apache Axis has Java2WSDL and WSDL2Java.
    Can anyone recommend tools for creating client-side libraries for consuming RESTful web services? Does anyone have advice on products to avoid?

    Replying to my own post here. The WADL2Java project on java.dev seems to be more like what I need. The only user-experience I've seen on the 'net is in this forum post:
    http://forum.java.sun.com/thread.jspa?threadID=5239123&tstart=0
    Anyone else used it?

  • Error while "Project Code Generation" in Entity service

    Hi SDN's,
    I have created an entity service which is the help documentaion of NWDS. After completion of all steps while generating project code i am getting an error called "AbstractStringBuffer not reachable"
    Can any body help me in solving this issue.
    Thanks in advance

    Hi Raju,
    it seems like you have a version problem, try to use jdk 1.4 or higher and try.
    Or go to
    Prefrences --> Java --> Installed JRE's here change the Jdk to the latest,compatable version
    Sometimes reinstallation also solves such problems.
    Award pts if help full
    Cheers
    Souza

Maybe you are looking for

  • Unable to preview Contract Terms for Standard Purchase Order

    Unable to preview View Contract Terms for Standard Purchase Order,displays error We have defined the same contract terms and Document type layouts to documents Contract Purchase Order and Standard Purchase Order. Created a Contract PO,Attached a temp

  • Can't remotely connect to my server if I automatically set date and time

    Hello. I have configured my OS X 10.6.2 server and am able to remotely manage it. The only ports I have opened on my router is for Mail and VPN services. Things work perfectly because I can connect using VPN to iChat, iCal, Address Book, Server Admin

  • How to get Portal Login user ID and Groups using UME API in JSPDynpages

    Hi Experts, How can I get the portal logged user ID and bsed on that ID need to get his assigend groups. For this Initially I need to get the logged user ID using UME API. Can you drop the code to write and display using JSP Dynpages? Thanks Venkat.

  • IPhone as wireless headset

    I know that the iPhone supports Bluetooth wireless headsets, but can the iPhone serve as a wireless headset for my computer? The obvious advantage being the ability to pause the computer when receiving a call or to mix audio sources, e.g. alerts, fro

  • An old "export audio to movie" bug returns in 9.02?

    Hey Maybe it's just me, but I could've sworn they'd fixed this one... I remember for a while when you'd use the "export audio to movie" feature, the sound would sometimes be about half a second late. Then that was apparently fixed... But now it's bac