Map Webservice schema to actionscript bean?

I used the wizard in flex builder to generate webservice proxy classes from a wsdl.
The wizard created bean type classes from the wsdl schema.
I already had model classes for my flex views/forms. I have to set different properties
of these models depending on other model property values.
I am wondering if I can keep my models and just create a mapping to the  proxy webservice beans or should I just
use what the wizard generated as my models?
Is it a good idea to have the proxy beans tightly coupled to my application logic. Any ideas on working with
webservices, models/vos and actionscript would be greatly appreciated.
If you need further clarification please let me know.
Thanks in advance!

Hi Akaschmid,
For this issue, it's recommended to monitor BizTalk Server job, follow the this guide to get more information to troubleshoot. See:
BizTalk Server: Monitor BizTalk Server Job
Best regards,
Angie
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.

Similar Messages

  • Create XML dynamically from schema and Java bean

    Hi,
    I'm looking for suggestions on the best approach to create an XML file programatically from a schema and Java bean.
    The schema used is not fixed and may vary with each request so a dynamic way to create the XML is required.
    Is there an API available that allows me to achieve this easily? Any help would be appreciated to point me in the right direction.
    Thanks.

    XMLBeans or JAXB should work for you.
    - Saish

  • Problem in mapping existing schema in SunOne8

    I am trying to deploy an CMP application in Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) and facing the following issues:
    1. I am generating an existing oracle schema file using deploy tool. I am able to choose the schema file, but the tables are not getting populated from the schema file. (I even tried creating the jdbc datasource, but no luck).
    2. I tried mapping the existing schema manually. After mapping the cmp entites to corresponding table, RED mark is shown in the Physical Tables.
    When i try to deploy the Jar, deployer is throwing the below error.
    Deploy action running...
    Deployment failed on target localhost:4848_server : Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- Caught java.lang.IllegalArgumentException while processing CMP beans for application [TestCMP]; module [D:\servers\Sun\AppServer\domains\domain1\applications\j2ee-modules\test]: null. See log for details.
    !! Operation Failed !!!
    Any help..... very urgent.
    thanks,
    Bobby.

    Bobby,
    The tables do not get populated from the schema file.
    Basically, the captured schema is used to provide
    e the persistence engine with information about the
    structure of the database. I'm not exactly sure
    what the IllegalArgumentException stems from, but did
    you define a cmp-resource in deploytool as well. Is
    there more information in the server.log than what is
    provided.Thanks for your reply.
    If the tables are not displayed, how can we map the tables to corresponding entity beans. As a result, the sun-cmp-mapping file is empty.
    Another problem, if i manually provide the mapping file and the schema file, the tables / fields are getting displayed correctly, but "RED coloured icon is getting displayed in the Physical Tables" dropdown box in deploy Tool.
    No idea what is the problem.
    I have defined the cmp-resource in deployment tool, still i am getting the same error message.
    sun-ejb-jar.xml
    <cmp-resource>
    <jndi-name>jdbc/testdb</jndi-name>
         <default-resource-principal>
         <name>cmpuser</name>
    <password>smppassword</password>
    </default-resource-principal>
    <create-tables-at-deploy>false</create-tables-at-deploy>
    <drop-tables-at-undeploy>false</drop-tables-at-undeploy>
    <database-vendor-name>ORACLE</database-vendor-name>
    <schema-generator-properties>
    <property>
    <name>use-unique-table-names</name>
    <value>false</value>
    </property>
    <property>
    <name>java-to-database</name>
    <value>true</value>
    </property>
    </schema-generator-properties>
    </cmp-resource>
    Server Log message during deployment:
    #|2004-12-02T03:57:08.720-0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.deployment|_ThreadID=13;|Caught java.lang.IllegalArgumentException while processing CMP beans for application [corp]; module [D:\servers\Sun\AppServer\domains\domain1\applications\j2ee-modules\test]: null. See log for details.
    java.lang.IllegalArgumentException
         at com.sun.jdo.spi.persistence.generator.database.MappingPolicy.getJdbcTypeName(MappingPolicy.java:885)
         at com.sun.jdo.spi.persistence.generator.database.MappingPolicy.getSQLTypeName(MappingPolicy.java:712)
         at com.sun.jdo.spi.persistence.generator.database.DDLGenerator.getColumnDef(DDLGenerator.java:433)
         at com.sun.jdo.spi.persistence.generator.database.DDLGenerator.createCreateTableDDL(DDLGenerator.java:292)
         at com.sun.jdo.spi.persistence.generator.database.DDLGenerator.generateDDL(DDLGenerator.java:113)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.createDDLs(JDOCodeGenerator.java:575)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.loadOrCreateMappingClasses(JDOCodeGenerator.java:503)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.init(JDOCodeGenerator.java:145)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.init(JDOCodeGenerator.java:118)
         at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:143)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:617)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:565)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:476)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:212)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:1192)
         at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:172)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:139)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:124)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:74)
         at com.sun.enterprise.deployment.phasing.DeploymentService.executePhases(DeploymentService.java:233)
         at com.sun.enterprise.deployment.phasing.DeploymentService.deploy(DeploymentService.java:150)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:275)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
         at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
         at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:105)
         at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:35)
         at com.sun.enterprise.tools.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:98)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:785)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:731)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:250)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:187)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:822)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:780)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:590)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:951)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:622)
         at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:480)
         a

  • Mapping webservice url

    Hi,
    Is there any way I can map my webservice similar to the way you map a Servlet
    in the web.xml?
    ie.
    currently my webservice url is:
    http://localhost:7001/Inventory/mtn/inventory/InventoryService.jws
    I would like to make it something like:
    http://localhost:7001/Inventory/InventoryService
    Thanks
    Lomeus

    Hi neeraj,
    Thank you very much for your response.
    As you mentioned about A ,B and C,
    I will explain about the usecase in those terms.
    A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
    I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
    A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
    The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
    I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
    That was the reuirement.
    In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
    How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
    I hope this has given clear picture about the requirement.
    Can u give guidance in this regard?
    Thanks in advance.
    Please help me out as it is very critical.
    Edited by: 899283 on May 29, 2012 12:21 PM

  • Consuming a webservice from a message bean?

    i set up a webservice proxy in another application project.
    i want another project's Message Bean to consume the webservice proxy
    that is in the other project?
    TIA

    just moved the web service proxy to the same application..

  • Xml to ABAP internal table mapping and schema validation

    Hi Experts,
    I'm trying to get data from an xml file into internal tables in ABAP. My requirement is to validate xml against an xsd schema, how can i do it?
    My other question is, if there are any possible ways to map the fields of a table so that once the xml file is read, the fields automatically get populated depending on the different elements and attributes in the xml file.
    -joe

    Hi,
    check out :
    http://help.sap.com/saphelp_nw70/helpdata/en/fd/9d734b389211d596a200a0c94260a5/frameset.htm
    Terry

  • XML not well formed - Java Mapping, Webservice to RFC Scenario

    Hello All Experts,
    I have facing a strange type of error. I have written a Java Mapping which implements a DOM parser to take a request from a Webservice and validate it on the basis of some prerequisites. i.e. If data in the incoming request is valid, it creates a message of the same structure type as the input. If the incoming data is incorrect or incomplete; It generates an Error response structure.
    When I run and test the same mapping program using Editplus Java editor for the error scenario; it executes perfectly and creates the correct error XML structure. (I checked it by importing the structure in the XI Message mapping test tab). But when I create jar of my java mapping program and test it in my interface mapping, it gives me "XML not well formed error" (Problem while building the tree).
    Any idea as to why is it behaving in such a way? There are 2 reasons which come to my mind as of now:
    1. The initilization of my input and output streams in the public static void main:
                InputStream in = new FileInputStream(new File("Input.xml"));
               OutputStream out = new FileOutputStream(new File("Output.xml"));
               validateXML myMapping = new ValidateXML();
                myMapping.execute(in, out);
    The Output.xml has the xml structure for the correct case, do I have to initialize my outputstream for the error file? say error.xml
    2. My Webservice interface is a sychronous interface (Request / Response) and output of the Java mapping program are two asynchronous interface. (I'll use a synch-asynch bridge when this works) - Is that causing a problem?
    Please help.
    Best regards,
    Varun

    Hello Varun,
    it gives me "XML not well formed error" (Problem while building the tree).
    I have come across the same error message while testing in interface mapping. My problem was when an exception occured in java mapping, the execution terminates with the messages XML not well formed error". In order to solve this issue what i did was catch the exception type TransformerException and in that catch block throw StreamTransformationException exception in main methos of mapping program i.e execute().
    eg:-                                                                               
    catch (TransformerException e) {
                   throw new StreamTransformationException("Can not write XML.", e);
    By doing this you will see the exception raised , because some times when you execute your mapping with mail() method, though it create the file, when you try to open it will give error if any exceptions occured in mapping. By using the above notation you can handle those in java mapping.
    Hope you have gone through this blog.
    [Handling and Tracing Exceptions in java mapping|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1055371050DB01666765031379427182End?blog=/pub/wlg/15061]
    Regards,
    Prasanna

  • Map input schema with highest id value in the node to output schema

    <job job_reference="4444">
    <jobnotes/>
    <appointments>
      <appointment id="1" slot_id="1" slot_ref="0830-1030" slot_start_time="08:30" slot_end_time="10:30" slot_description="0830-1030" date="19/02/2014" time="" tk_rowid="7367"
    kept="" reason_code="" narrative="" status="DEL" scheme_id="1" day="4" created_by="" creation_date="19/02/2014 11:58:09" amended_by="" amended_date="19/02/2014 11:58:15"
    apb_exported="N" />
      <appointment id="2" slot_id="2" slot_ref="1030-1230" slot_start_time="10:30" slot_end_time="12:30" slot_description="1030-1230" date="19/02/2014" time="" tk_rowid="7368"
    kept="" reason_code="" narrative="" status="ENT" scheme_id="1" day="4" created_by="" creation_date="19/02/2014 11:58:38" amended_by="" amended_date="19/02/2014 11:58:38"
    apb_exported="N" />
    </appointments>
    </job>
    The above is the input schema. I need to map the elements in appointment node with highest ID to the elements in the output schema. Of the two appointment nodes above, I should only pick up one node with highest ID and map the elements of it to
    the output schema.

    My apologies for not giving the input schema right.
    <jobs>
    <job job_reference="4444">
    <jobnotes/>
    <appointments>
      <appointment id="1" slot_id="1" slot_ref="0830-1030" slot_start_time="08:30" slot_end_time="10:30" slot_description="0830-1030" date="19/02/2014" time="" tk_rowid="7367"
    kept="" reason_code="" narrative="" status="DEL" scheme_id="1" day="4" created_by="" creation_date="19/02/2014 11:58:09" amended_by="" amended_date="19/02/2014 11:58:15"
    apb_exported="N" />
      <appointment id="2" slot_id="2" slot_ref="1030-1230" slot_start_time="10:30" slot_end_time="12:30" slot_description="1030-1230" date="19/02/2014" time="" tk_rowid="7368"
    kept="" reason_code="" narrative="" status="ENT" scheme_id="1" day="4" created_by="" creation_date="19/02/2014 11:58:38" amended_by="" amended_date="19/02/2014 11:58:38"
    apb_exported="N" />
    </appointments>
    </job>
    <job>
    <job job_reference="1111">
    <jobnotes/>
    <appointments>
      <appointment id="1" slot_id="1" slot_ref="0830-1030" slot_start_time="08:30" slot_end_time="10:30" slot_description="0830-1030" date="19/02/2014" time="" tk_rowid="7367"
    kept="" reason_code="" narrative="" status="DEL" scheme_id="1" day="4" created_by="" creation_date="19/02/2014 11:58:09" amended_by="" amended_date="19/02/2014 11:58:15"
    apb_exported="N" />
      <appointment id="2" slot_id="2" slot_ref="1030-1230" slot_start_time="10:30" slot_end_time="12:30" slot_description="1030-1230" date="19/02/2014" time="" tk_rowid="7368"
    kept="" reason_code="" narrative="" status="ENT" scheme_id="1" day="4" created_by="" creation_date="19/02/2014 11:58:38" amended_by="" amended_date="19/02/2014 11:58:38"
    apb_exported="N" />
    </appointments></job></jobs>
    I should pick up details of the appointment with Higesht ID for every job. For every job one record should exist as the ouput.
    With the existing mapping, i am getting just one record as output no matter how many input jobs are there.
    Input schema has got multiple jobs and within each job there are many appointments. So in each job I should pick up the one
    with highest ID

  • Issue with Webservice Creation using Session Beans.

    Hi All,
    I want to expose my Session beans as webservice.
    I'm using Weblogic Application Server.
    When I do the modeling using JDeveloper, I'm unable to convert the Session bean to webservice.
    Any information on this is highly appreciable.
    Thanks & Regards,
    Kumar Madhavan.

    I can't give you much of a walk through, as I have just started it myself, but I'm using a universal unique identifier to represent each client. Whenever a client posts data from a jsp or applet the uuid is also sent. I use POST to pass all my parameters. If the server hasen't received data in say 5 minutes from the client then it is assumed the client went offline. Its working for me so far.
    COn

  • Can I use two webservices in one Java Bean?

    Hi,
    I have created two webservices (deployed on my local J2EE Engine). I want to use both services in one application and create a new webservice that combines the functionality of both services.
    Is this possible to combine the two services with a java bean? If yes, have I to do something special?
    Is this possible at all?
    Is there another way to do it?
    Thank you!
    Bye
    Julia

    Hi Julia,
    Yes, you can call to different web services from another service.
    For that, do one thing.
    Make deployable proxies for both Web services. Then use these both deployable proxies in your main web service from where you want to call these web services.
    Code for calling these both web services is same as you are calling web services from any other J2ee or Java project.
    Regards,
    Bhavik Devisha

  • Mapping webservice result to a Data Type

    Hi,
    I receive an array of String objects as a result of a webservice call. These String Objects are XML documents (but as String Object...). How can I take each element of the array and extract all tags values to be mapped to a pre-defined Data Type? Have I to implement a parser in an UDF? How can I do the same mapping for each array cell automatically?
    Thanks!

    Use a simple XSLT to extract the xml document from a particular string.
    Suppose the response XML is like:
    <OutputMessage>
    <string></string>
    </OutputMessage>
    Your xslt would be something like:
    <xsl:template match="/OutputMessage/string">
    <xsl:value-of select="." disable-output-escaping="yes"/>
    </xsl:template>
    If you have more than 1 string, create a root tag and extract all of them inside that tag.
    Regards,
    Henrique.

  • Cache Mapping & Distributed Scheme not working.

    I have a set of cache mapping and its corresponding distributed scheme defined. When i run it on its own it works fine, but when I add the same cache mapping and distributed scheme to a set of cache mappings and distributed schemes i.e. HibernateCacheStore which are all binded to a service-name, i get the message "com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service .... "
    I am using a cache config in which local storage is enabled for server side and my application connects to it with localstorage=false. Have tried the system property option also but of no use.
    I have tried it using coherence standalone as well as running it from JBOSS. Same behavior persists.
    My intention is to keep this cache mapping different from existing service (i.e. service-name).
    Is anyone aware of any conflicts when simulating such type of scenario. Looking forward for some pointers.
    Am using Coherence 3.6.1 with JBoss 5.x
    Edited by: Kapil Naudiyal on Jan 1, 2012 8:47 PM
    Little More research to be more specific. I tried with following combo.
    Coherence Server ----------> Client to initialize
    |
    |
    |
    Client to use cache
    This works fine with the scenario mentioned above.
    But when i use the scenario where
    Coherence Server + client to initialize Cache ---------------> Client to use cache, cache doesn't work. This scenario is implemented within JBoss. Is there is a limitation that an embedded Cache instance loads only one service..
    Thanks in advance for any insights..

    Hi,
    The message "com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service .... " implies that your clients are unable to coonect to storage-enabled nodes so you need to ensure if clients are able to connect to the Coherence servers. The easier way to find out is to use the JMX and then look for node details or cluster size. Setting up JMX is quite simple and documentation can be found here - http://docs.oracle.com/cd/E15357_01/coh.360/e15723/manage_jmx.htm
    Hope this helps!
    Cheers,
    NJ

  • Unable to import Webservice/Schema: Object reference not set to an object

    Hello,
    I'm getting the error in the title while importing SAP Webservices via Visual Studio 2005 SAP Portal project.
    The webservice import works fine in a normal ASP.Net project, I only get this error while inside a SAP Portal project.
    Has anyone had this problem?

    Hi Joao,
    plz track the thread with a similar issue
    Failure of webservice import
    with respect,
    amit

  • Custom tool error: Unable to import WebService/Schema. The object 'Settings' already contains a property 'Default' not of type Web Service Url

    Getting this error while  converting application from framework 3.5 to 4.0

    Why not just export the whole site ? Then import.
    example:
    You want all lists from http://sharepoint.ms.com/sites/it to be imported to http://sharepoint.ms.com/sites/it2
    Export the whole sites/it then import to sites/it2
    AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TY

  • Physical table name - abstract table name mapping in CMP Bean

    Hello,
    I am using a EJB 2.x bean deployed on a SJSAS 9 server. EJB has problem associating the EJB to the actual table
    Details are as follows:
    EJB name: AccountCMP
    Actual tablename : account
    Error
    ejb store called
    IM: postInvokeentity3.AccountBean145996470_ConcreteImpl@d6be89
    EJB5071: Some remote or transactional roll back exception occurred
    com.sun.jdo.api.persistence.support.JDODataStoreException: JDO76400: Got a JDBC SQLException while executing the SQL statement:
    insert into "ACCOUNTCMP"("DESCRIPTION", "ACCOUNTNAME", "BALANCE", "ACCID") values ( ?, ?, ?, ?).
    Please examine the SQLException for more information.
    NestedException: java.sql.SQLException: ORA-00942: table or view does not exist
    FailedObjectArray: [entity3.AccountBean145996470_JDOState@5332ca]
    Please note that the insert statement has the ejb-name (I think so, as my CMP EJB is called ACCOUNTCMP) instead of the actual tablename (account).
    I do have the account.dbschema file and sun-cmp-mappings.xml in the NB 5.5 project, but the mappings.xml file is not included in the jar by NB. Is that expected, or an problem.
    sun-cmp-mappings.xml
    <sun-cmp-mappings>
      <sun-cmp-mapping>
        <schema>account</schema>   
        <entity-mapping>
          <ejb-name>AccountCMP</ejb-name>
          <table-name>account</table-name>
          <cmp-field-mapping>
    ejb-jar.xml
    <enterprise-beans>
            <entity>
                <ejb-name>AccountCMP</ejb-name>
                <local-home>entity3.AccountLocalHome</local-home>
                <local>entity3.AccountLocal</local>
                <ejb-class>entity3.AccountBean</ejb-class>           
                <persistence-type>Container</persistence-type>
                <prim-key-class>entity3.AccountPK</prim-key-class>
                <reentrant>false</reentrant>
                <cmp-version>2.x</cmp-version>           
                <abstract-schema-name>account</abstract-schema-name>  Thank you for your help.

    Hello,
    I found out the issue. sun-cmp-mappings.xml file is mandatory, and dont know why, netbeans excludes this file from the jar. I had to edit project.properties file to negate this exclusion.
    Another problem was that my table did not have a primary key (and hence by schema file did not have it also). CMP bean code generator did not like this.
    Once I fixed these two problems, my CMP started working fine.
    Thank you all

Maybe you are looking for

  • Network Solutions email wont fetch after upgrading to IOS 6.1.2.

    Ever sinceI upgraded my IOS to 6.0 I have been having problems with one of my NetSol email accounts on my iPhone 5. I have two netsol email accts and one me.com acct on the phone. I have had no problems with the me.com and one of my netsol accts but

  • Javascript on Button displayed among this region's items?

    Hello, I have implemented Javascripts to used manual LOV, has well describe in "How To", and everything work well. I now want to put a button in my LOV page to return back a fix value to the calling page/item. From this button, I'm calling the javasc

  • ESS leave request, additional field

    I need to add three additional fields in ESS leave request (HR). I was told i can do that using web dynpro. I like to know how can I do it. Thanks

  • Full Server Backup for Domain Computer

    Having Windows 2012 Domain Controllers. I have a requirement to provide a backup for one domain controller to be sent to a another data center, so that if all our main datacenters are destroyed for any reason, we can have a media with backup of our A

  • Blind Network

    Hey everyone, I work on a mac (OS X, 10.4, G4.) in windows environment. Recently I needed to connect to the shared network first time, but when connected, the network seems empty, not a file insight. When I tryed to upload files, it didn't work eithe