Hibernate mapping not working

Greetings,
I have worked with Hibernate only once or twice before and never had the chance to go any deeper in it. But based on a working sample I have built this mapping for a new project of mine but unable I am to make it work. I'd be delighted to have point outs to what is leading to the exceptions on this... here are my codes:
package br.com.realstatemanagement.entities;
import java.util.Date; import java.util.Set; public class Customer { private int customerID; private String firstName; private String lastName; private Date birthDate; private String address; private String neighborhood; private String city; private String state; private String zipCode; private String country="BRASIL"; private String socSecNo; private String identity; private CustomerContacts[] contact; public CustomerContacts[] getContact() { return contact; } public void setContact(CustomerContacts[] contact) { this.contact = contact; } public void setCountry(String country) { this.country = country; } public int getCustomerID() { return customerID; } public void setCustomerID(int customerID) { this.customerID = customerID; } public String getZipCode() { return zipCode; } public void setZipCode(String zipCode) { this.zipCode = zipCode; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public Date getBirthDate() { return birthDate; } public void setBirthDate(Date birthDate) { this.birthDate = birthDate; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getNeighborhood() { return neighborhood; } public void setNeighborhood(String neighborhood) { this.neighborhood = neighborhood; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getSocSecNo() { return socSecNo; } public void setSocSecNo(String socSecNo) { this.socSecNo = socSecNo; } public String getIdentity() { return identity; } public void setIdentity(String identity) { this.identity = identity; } public String getCountry() { return country; } }
package br.com.realstatemanagement.entities; public class CustomerContacts { private int contactId; private String type; private String contact; public int getContactId() { return contactId; } public void setContactId(int contactId) { this.contactId = contactId; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getContact() { return contact; } public void setContact(String contact) { this.contact = contact; } }
Follows the mappings....
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping>   <class name="br.com.realstatemanagement.entities.CustomerContacts" table="CustomerContacts">   <id name="contactId" type="int" column="contact_id" >   <generator class="increment"/>   </id>   <property name="type" type="string">     <column name="type" />   </property>   <property name="contact" type="string">     <column name="contact"/>   </property> </class> </hibernate-mapping>
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping>   <class name="br.com.realstatemanagement.entities.Customer" table="Customer">   <id name="customerID" type="int" column="customer_id" >   <generator class="increment"/>   </id>   <property name="firstName">     <column name="first_name" />   </property>   <property name="lastName">     <column name="last_name"/>   </property>   <property name="birthDate">     <column name="birthDate"/>   </property>   <property name="address">   <column name="address" />   </property>   <property name="neighborhood">   <column name="neighborhood" />   </property>   <property name="city">   <column name="city" />   </property>   <property name="state">   <column name="state" />   </property>   <property name="zipCode">   <column name="zipCode" />   </property>   <property name="country">   <column name="country" />   </property>   <property name="socSecNo">   <column name="socSecNo" />   </property>   <property name="identity">   <column name="identity" />   </property>   <many-to-one name="contact" column="contact_id" class="br.com.realstatemanagement.entities.CustomerContacts" insert="false" update="false"/> </class> </hibernate-mapping>
Kindly help me out on this...
Thanks very much

Apologies... it is not that I did not want to put the exception details nor did I not intended to, I simply forgot... Here it is, am once again I am sorry for forgetting about it:
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Property 'CustomerContacts' not found on type br.com.realstatemanagement.entities.Customer
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
javax.el.PropertyNotFoundException: Property 'CustomerContacts' not found on type br.com.realstatemanagement.entities.Customer
     javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
     javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:170)
     javax.el.BeanELResolver.property(BeanELResolver.java:279)
     javax.el.BeanELResolver.getValue(BeanELResolver.java:60)
     javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
     org.apache.el.parser.AstValue.getValue(AstValue.java:118)
     org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
     org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
     org.apache.jsp.customers_jsp._jspx_meth_c_005fout_005f4(customers_jsp.java:318)
     org.apache.jsp.customers_jsp._jspx_meth_c_005fforEach_005f0(customers_jsp.java:208)
     org.apache.jsp.customers_jsp._jspService(customers_jsp.java:134)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Similar Messages

  • Alternate Access Mapping not working for Zone : Intranet

    One of our client want to set Alternate Access Mappint (intranet) with url "intranet.theirDomain.com" with local IP address.
    is it possible?
    subsequest to my previous question (
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3f39711e-301a-40e8-aa7a-855fa2c268b1/alternate-access-mapping-not-working?forum=sharepointadmin )
    I want to ask one more question
    Can we configure "intranet.theirDomain.com" with local IP address for any other zone?
    or
    If there is ".com" within the url then it can't be configured for InTRAnet?
    Thanks
    S H A J A N

    The names for the zones don't matter. You could use the 'extranet' zone for another intranet name if you wanted, the names are just to make it a bit more friendly for beginners.
    What you describe sounds routine, you create a web application with a name, then use an AAM to allow users to access it with a more friendly name. Frequently you end up creating
    http://intranet.domain.com and
    http://intranet as an AAM, or vice versa.
    You can use .com for an intranet site, you would need to add the site as an A Host record in your DNS server so that traffic is sent to your internal server rather than out into the wider world.

  • Value mapping not working properly

    Hi All,
    I am using value mapping twice in same mapping program. But only 1 field is coming with value and other is taking same value from source payload, can you please tell me what can be issue here?
    Value mapping 1 -
    Context - http://sap.com/xi/XI
    SenderParty- SenderSchema
    ReceiverParty- ReceiverSchema
    Value Mapping table in ID -
    Value mapping at field 2 -
    Context - http://sap.com/xi/XI
    SenderParty1- SenderSchema1
    ReceiverParty2- ReceiverSchema2
    Value Mapping table in ID -
    Source payload -
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_VM_Send xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
       <Record>
          <Emp_ID>123</Emp_ID>
          <Name>rash</Name>
          <Surname>sumit</Surname>
          <Gender>Male</Gender>
         <Grade>E2</Grade>
      </Record>
    </ns0:MT_VM_Send>
    Target Payload -
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_VM_Receiver xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
    <Record>
    <Emp_ID>123</Emp_ID>
    <Full_Name>rash sumit</Full_Name>
    <Designation>E2</Designation>
    <Gender>M</Gender>
    <Travel_Mode>Train</Travel_Mode>
    </Record>
    </ns0:MT_VM_Receiver>
    Here travel_mode is coming perfect, but designation is same as defined in source payload. Why here Value mapping not working???
    Thanks & regards,
    Rashmi Joshi

    Hi Rashmi,
    The problem would either be in cache update or your mapping. Please provide the sceenshot of mapping (after clicking the value mapping function).
    you can also choose the option to throw error in value mapping function, so it will throw error when value not found.
    regards,
    Harish

  • Camera, Browser & Maps Not Working

    Hi,
    It been since yesterday my Z10 camera, broser & maps not working.
    Whenever I click the camera icon, it is not even opening.
    Browser icon had changed, it turned to a triangle square & circle.
    Can anyone help me out.
    Thanks,
    Chris

    The update may not have loaded properly, you can reload this way:   http://btsc.webapps.blackberry.com/btsc/viewdocume​nt.do?externalId=KB34045&sliceId=2&docType=kc&noCo​...
    Or do a Security Wipe (Reset to Factory Settings) this way: 
    http://btsc.webapps.blackberry.com/btsc/viewdocume​nt.do?externalId=KB33591&sliceId=2&docType=kc&noCo​...
    Please read both carefully !

  • Apple maps not working on iMac

    apple maps not working on iMac the little thing just keeps turning

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Maps.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Certain hibernate queries not working in Weblogic10.3

    Hi,
    My application is using hiberante and recently got migrated from Tomcat to Weblogic 10.3.
    in Weblogic after deploying the application , for some of the links i am getting hibernate Query exception , these were perfectly fine with Tomcat.
    Please find below the exception and classes
    ProductLine.Hbm.xml
    <hibernate-mapping>
    <class name="com.test.example.model.product.ProductLine" table="sq_product_line" lazy="false">
         <id name="productLineId" column="product_line_id" type="string" />
         <property name="businessUnit" column="business_unit_id"/>
    </class> ..............
    </hibernate-mapping>
    java call is (ProductLine.java)
    public static List getAllSorted() {
    Session session = Persistence.getSession();
    List pList;
    Query query = session.createQuery(“from ProductLine ” + ” ORDER BY productLineId ASC”);
    pList = query.list();
    return pList;
    The exception is:
    org.hibernate.exception.SQLGrammarException: could not execute query
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    at org.hibernate.loader.Loader.doList(Loader.java:2223)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    at org.hibernate.loader.Loader.list(Loader.java:2099)
    at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:912)
    at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
    at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    at com.test.example.model.product.ProductLine.getAllSorted(ProductLine.java:41)
    line 41 is query.list()
    Caused by: java.sql.SQLException: ORA-00904: “PRODUCTLINEID”: invalid identifier
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    i tried different options as given below:
    1) added <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    2) added <prefer-application-packages>
    <package-name>antlr-*.*</package-name>
    <package-name>org.apache.xerces.*</package-name>
    </prefer-application-packages> in weblogic-application.xml
    None of the above worked.
    Can anyone please help me out in solving this issue.
    Thanks
    Jayashree

    It seems that it has been fixed in 3.7.5. From the changelog:
    The 'intel_idle_probe' probes the CPU and sets the CPU notifier.
        But if later on during the module initialization we fail (say
        in cpuidle_register_driver), we stop loading, but we neglect
        to unregister the CPU notifier.  This means that during CPU
        hotplug events the system will fail:
        This patch fixes that by moving the CPU notifier registration
        as the last item to be done by the module.

  • Type-mapping not working correctly, get "Unable to find a javaType for the xmlType" WARNING

    I'm manually creating a web-services.xml file, and using the autogen ant task to
    generate the codec XML/Java classes. The XML definition is provided by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG. The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service method
    that has a complex data type (non-built in data type) is not being deployed into
    the WebLogic server. But the other service method that simply takes a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    [web-services.xml]

    Hi JD,
    I spent a few cycles looking over your web-services.xml file, however I
    don't have any suggestions other that one that looks like you have
    already tried, at the top, in the <schema...>
    targetNamespace="urn:sap-com:document:sap:business"
    Making edits to these generated files can be tricky and my only
    suggestion is to create a small reproducer to run by our outstanding
    support team.
    A quick look at our problem database shows one issue (CR095109) related
    to a similar problem at deploy time that was fixed with 7.0SP3. Again,
    the support folks will be able to help focus in on the issue.
    Regards,
    Bruce
    JD wrote:
    >
    The first posting contains the wrong web-services.xml file. Please refer to this
    one instead.
    "JD" <[email protected]> wrote:
    I'm manually creating a web-services.xml file, and using the autogen
    ant task to
    generate the codec XML/Java classes. The XML definition is provided
    by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG.
    The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have
    registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is
    simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the
    SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service
    method
    that has a complex data type (non-built in data type) is not being deployed
    into
    the WebLogic server. But the other service method that simply takes
    a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition
    and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class
    files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate
    the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into
    the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to
    the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document
    throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    Name: web-services.xml
    web-services.xml Type: ACT Project (text/xml)
    Encoding: base64

  • Image Map not working in Dreamweaver CC

    I'm trying to create an image map over a jpeg but when I try to draw a rectangle over the image, a grey stroke gets placed over the image then moves with the cursor.
    Here is the only code on the page. Any ideas as to why this isn't working?
    <img src="/SampleImage.jpg" alt="" width="900" height="2779" style="margin: 5px; width: 649px; height: 2000px;"/>

    Let me see if I have this right...
    1. From Design View, you are clicking your image to select it
    2. You are then selecting the Rectangle tool from the bottom left of the Properties window
    3. You are then clicking and dragging on the image in Design View to create your map area
    4. DW puts a grey line around the image and moves it instead of adding the image map and area tags?
    Run your page for code errors at http://validator.w3.org. I can't duplicate what you describe and DW will do strange things when code errors are present, it could be an error DW doesn't know how to fix that's causing the normal image map functionality to fail.
    If you have clean code and are doing what I list above and it's still not working, it may be time to clear the program cache:Deleting a corrupted cache file

  • XSLT mapping not working b'coz " " & " " replaced with and

    Hello Experts,
      I have a RFC to JMS scenario. One of the parameter of RFC is a string field. This field will contain the XML data in it.
    I need to create a complete XML payload using this data in a string field. For this I am using XSLT map :
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
         <xsl:output method="xml" omit-xml-declaration="no"/>
         <xsl:template match="/">
              <xsl:for-each select="//Nem">
                   <xsl:copy-of select="."/>
              </xsl:for-each>
         </xsl:template>
    </xsl:stylesheet>
    This XSLT mapping works fine when tested independently.
    But in actual scenario at runtime the "<" & ">" used to indicate a node are getting replaced with < and >. Then the XSLT mapping fails and produces no output.
    The output of XSL will be passed in to a java mapping which signs the payload digitally.
    What is the issue with these signs? How can I overcome this problem?
    Any inputs will be of great help.
    Kind Regards,
    Abhijeet.
    Edited by: Abhijeet Ambekar on May 4, 2010 2:01 PM

    Hi Stefan,
      Yes - I want to get rid of & # 60. But these (& # 60 and & # 62) are not added by XSLT mapping. Rather they are in the input available to XSLT map.
    In sxmb_moni, i can see the inbound payload correctly :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:HDK083_REFUS_SENDDOCU xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <P_SIGN_DOCUMENT />
      <P_XML_DOCUMENT><NemRefusionIndberetningSamling><NemRefusionIndberetningStruktur MessageID="1"><HeaderStruktur><SignOffIndikator>true</SignOffIndikator><TransaktionKode>Opret</TransaktionKode><IndberetningstypeKode>Anmeldelse</IndberetningstypeKode><FravaerTypeKode>Sygdom</FravaerTypeKode><FravaerendeStruktur><FravaerendeTypeKode>Loenmodtager</FravaerendeTypeKode><LoenUnderFravaerIndikator>false</LoenUnderFravaerIndikator></FravaerendeStruktur><IndberetningUUIDIdentifikator>bf9cc44e-af15-4e19-8457-5845d75385d2</IndberetningUUIDIdentifikator><ReferenceAttributTekst>ref. Nielsen-1503831372 (23. oktober 2009)</ReferenceAttributTekst>
    but when I try to download the payload or right click on payload to view source I get something like below:
    <?xml version="1.0" encoding="UTF-8"?><rfc:HDK083_REFUS_SENDDOCU xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><P_SIGN_DOCUMENT></P_SIGN_DOCUMENT><P_XML_DOCUMENT>& # 6 0;NemRefusionIndberetningSamling& # 62; & # 60;NemRefusionIndberetningStruktur MessageID="1"& #62;& #60;HeaderStruktur& #62;& #60;SignOffIndikator& #62;true& #60;/SignOffIndikator& #62;& #60;TransaktionKode& #62;Opret& #60;/TransaktionKode& #62;& #60;IndberetningstypeKode& #62;Anmeldelse& #60;/IndberetningstypeKode& #62;& #60;FravaerTypeKode& #62;Sygdom& #60;/FravaerTypeKode& #62;& #60;FravaerendeStruktur& #62;& #60;FravaerendeTypeKode& #62;Loenmodtager</FravaerendeTypeKode><LoenUnderFravaerIndikator& #62;false</LoenUnderFravaerIndikator></FravaerendeStruktur& #62;<IndberetningUUIDIdentifikator& #62;bf9cc44e-af15-4e19-8457-5845d75385d2& #60;/IndberetningUUIDIdentifikator& #62;& #60;ReferenceAttributTekst& #62;ref. Nielsen-1503831372 (23. oktober 2009)& #60;/ReferenceAttributTekst& #62;
    (extra spaces added to "& # 60" as browser was converting it to < ,>)
    If i take the source code for payload and test XSLT mapping, it fails. But if I manually replace all "& # 60" with < and "& # 6 2" with >, then the mapping works fine.
    So I think for XSLT map to work correctly, we need to replace all "& # 60 " . Please suggest.
    Kind Regards,
    Abhijeet.

  • Horizontal mapping not working in Kodo 4.1.2

    Hello,
    I am having troubles in trying to get the class mapping I want in Kodo 4.1.2.
    I want to go from Kodo 3.3 to Kodo 4.1, and still in the evaluation process. Basically, all I want is to have my package.jdo files to work in Kodo 4.1, with the minimum modifications, before moving to JPA.
    The mapping is defined is my package.jdo using the <extension vendor-name="kodo" key="jdbc-class-map" value="XXX"/> where XXX can be one of horizontal, base or flat (I dont use vertical in this applicaion). This element does not seem to be properly recognized by the new mapping tool, and all my classes are mapped in the same base table.
    After some digging in the docs and in the examples provided, I found this <inheritance strategy="XXX"/> element, that can be put in my package.jdo file. This is not clearly said in the docs (it seems this element is only mentionned in the new orm DTD), but is used in the sample/jdo/horizontal/package.jdo file.
    Then I modified my package.jdo files, with this new element, where XXX is one of subclass-table, new-table (with no <join/> nested element) or superclass-table. But the result is not the one expected : all the classes are mapped in the same table.
    I then gave a try at the example provided, compiled, enhanced and mapped the sample/jdo/horizontal classes provided with the distribution, since this example covers exactly what I want to do. It seems to me that this example does not work either.
    The package.jdo says :
    <jdo>
    <package name="samples.jdo.horizontal">
    <sequence name="sjvm" factory-class="sjvm" strategy="nontransactional"/>
    <class name="LastModified">
    <inheritance strategy="subclass-table"/>
    </class>
    The mapping file I get says :
    <mapping>
    <package name="samples.jdo.horizontal">
    <class name="LastModified">
    <jdbc-class-map type="base" pk-column="ID" table="LASTMODIFIED"/>
    <jdbc-version-ind type="version-number" column="VERSN"/>
    <jdbc-class-ind type="in-class-name" column="TYP"/>
    <field name="creationDate">
    <jdbc-field-map type="value" column="CREATIONDATE"/>
    </field>
    <field name="lastModificationDate">
    <jdbc-field-map type="value" column="LASTMODIFICATIONDATE"/>
    </field>
    </class>
    The enhancement is made using jdoc, the mapping file is generated using the following command line (the DB is empty) :
    mappingtool -a refresh -f mapping.xml samples.jdo.horizontal.LastModifiedI would expect an horizontal mapping, with a class element containing only a <jdbc-class-map type="horizontal"/> element, as it is the case if I use my Kodo 3.3 mapping tool.
    I tried the enhancement / mapping file generation process with two configuration of the kodo.properties file : the first one with kodo3 as the Mapping Factory and the second with jdo. The result is the same in both cases. I verified by setting the log level to TRACE for the Tool what the factory used. In fact in both case, it is the MappingFileDeprecatedJDOMappingFactory, which seems weird to me.
    Bytheway, setting the MappingFactory to jpa leads to the following IllegalArgumentException during enhancement :
    Exception in thread "main" org.apache.openjpa.lib.util.ParseException: Instantiation of plugin "MetaDataFactory" with value "jpa" caused an error "java.lang.IllegalArgumentException : java.lang.ClassNotFoundException: jpa". The alias or class name may have been misspelled, or the class may not have be available in the class path. Valid aliases for this plugin are: [jdo, kodo3]
    I'd be glad to get any hint if I'm wrong on anything, or any workaround / patch to get my case to work.
    Thank you in advance,
    Jose

    If the same exact app and code works with 4.0 with the same ForeignKeyDeleteAction setting, I suggest that you open a case with support.
    This property hasn't changed since 4.0
    http://e-docs.bea.com/kodo/docs41/full/html/ref_guide_mapping_defaults.html
    Laurent

  • Java Mapping (Not Working)

    Hi....
    I have done java mapping using file to file scenario....
    I have created two data types, two message types, two message interfaces... in imported archives i have imported
    dom4j-1.6.1.zip and itext.jar files..
    i have written my java code like this:
    package com.xmltopdf;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import com.lowagie.text.xml.XmlToPdf;
    public class MyXmlToPdf {
    public MyXmlToPdf(String inputFile, String outputFile){
    try {
    XmlToPdf xtp = new XmlToPdf();
    System.out.println("Ravi");
    xtp.parse(new FileInputStream(inputFile), new FileOutputStream(outputFile));
    }catch(Exception e ) {
    System.out.println(e);
    in message mapping i have invoked "MyXmlToPdf(String,String) constructor like this:
    MyXmlToPdf xmt= MyXmlTOPdf("C:
    source
    filetofile.xml","C:
    source
    file.pdf");
    return "";
    and i have configured my communication channel, reciever determination, sender aggrement, reciver aggrement, and interface determination.....
    so please tell me whether my code is correct or not... if its correct why i am not getting the pdf file.. if its not correct please tell me whats wrong in my code...
    Thanks & Regards
    Ravi Shankar B

    Hi ,
    select XMLTOOLKIT option in Operation mapping and execute it.
    I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
    then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
    Regards,
    Raj

  • FDM Conditional mapping not working

    I currently have the following #script as my map in FDM. The first part of the map is not working as all the 9* source accounts are mapping to "70111". The rule should be; with any source account of "9*", with a source profit center where the 3rd digit is "??1???", then account is "43905", else "70111".
    If Left(varValues(23),3) = "1" Then
    Result = "43905"
    Else
    Result = "70111"
    End if
    Not sure why the first result is not working...anyone have any suggestions?

    Hi
    I think I may have seen this question answered previously but in case....
    Your IF statement is comparing the first 3 characters to "1" so it will never match.
    Assuming that you want to compare the 3rd character then you want If Mid(varValues(23),3,1) = "1" Then
    Hope this helps
    Stuart

  • Auto field mapping not working

    Hi,
    I am working on LSMW for transaction DGP2. for the 5th step (  5 Maintain Field Mapping and Conversion Rules), this functionality is not working niether I am able to assign manually. The source structure might have problem. How should I find out the error in which step and how to sort out that?
    Thanks in advance,
    Rgds,
    Madhuri

    Hi Chenna,
    I have given same structure for this one. Still its not working.
    please help.
    Thanks
    Rgds,
    MAdhuri

  • URL Mapping not working inside MOSS

    hi,
    I want to achieve broken URL redirection in old web application developed in MOSS.
    For this purpose, i have to use URL mapping inside web.config -
    For Example -
    <urlMappings enabled="true" >
        <add url="~/brokenpath" mappedUrl="/subsite/Pages/Home.aspx" />
    </urlMappings>
    I have checked that '/subsite/Pages/Home.aspx' url is not broken but still getting 404 exception.
    Similar tag is working under dev/local environment but not working in the production,
    Can anybody please let me know the problem or any configuration missing.
    Thanks in advance.

    Hi Saurabh, can you provide the actual broken path, both in your web.config as well as the absolute URL?
    Dimitri Ayrapetov (MCSE: SharePoint)

  • DPS global ACI (mapping not working)

    Hello!
    we are using DPS 6.3.
    We have several connection handlers configured which are mapping the requests from base dc=unicreditgroup,dc=eu to dc=hvb,dc=de and back from dc=hvb,dc=de to dc=unicreditgroup,dc=eu. Works fine.
    We now want to configure a global ACI for DPS to allow only certain Attributes to be available through the DPS.
    To test the global ACI I configured:
    bash-3.00# less access_controls.ldif
    dn: cn=virtual access controls
    objectclass: top
    objectclass: ldapSubentry
    cn: virtual access controls
    dn: cn=vitualaci,cn=virtual access controls
    objectclass: aciSource
    dpsaci: (targetattr="*")(target="ldap:///ou=people,dc=unicreditgroup,dc=eu"
    ) (version 3.0;acl "perm1"; allow(all) userdn ="ldap:///anyone";)
    cn: cn=vitualaci
    And I configured a connection handler to use this ACI:
    dpconf set-connection-handler-prop -h localhost -p 389 hvbBinds aci-source:vitualaci
    When I now try a ldapsearch I won't get any information back. The access log shows that the mapping unicreditgroup to hvb is not working any more.
    Without global ACI the access log looks like this. The underlined words show the mapping:
    [17/Nov/2008:10:26:56 +0100] - CONNECT - INFO - conn=2 client=127.0.0.1:41528 server=localhost:389 protocol=LDAP
    [17/Nov/2008:10:26:56 +0100] - PROFILE - INFO - conn=2 assigned to connection handler cn=default connection handler, cn=connection handlers
    , cn=config
    [17/Nov/2008:10:26:56 +0100] - OPERATION - INFO - conn=2 op=0 BIND dn="uid=m050183,ou=people,dc=unicreditgroup,dc=eu" method="SIMPLE" version
    =3
    [17/Nov/2008:10:26:56 +0100] - SERVER_OP - INFO - conn=2 op=0 BIND dn="uid=m050183,ou=people,dc=hvb,dc=de" method="SIMPLE"" version=3 s_msgid
    =2 s_conn=dsmmucqsu09:16
    [17/Nov/2008:10:26:56 +0100] - SERVER_OP - INFO - conn=2 op=0 BIND RESPONSE err=0 msg="" s_conn=dsmmucqsu09:16
    [17/Nov/2008:10:26:56 +0100] - PROFILE - INFO - conn=2 assigned to connection handler cn=hvbBinds,cn=connection handlers,cn=config
    [17/Nov/2008:10:26:56 +0100] - OPERATION - INFO - conn=2 op=0 BIND RESPONSE err=0 msg="" etime=0
    [17/Nov/2008:10:26:56 +0100] - OPERATION - INFO - conn=2 op=1 msgid=2 SEARCH base="_dc=unicreditgroup,dc=eu_" scope=2 filter="(uid=m050183)" at
    trs="*"
    [17/Nov/2008:10:26:56 +0100] - SERVER_OP - INFO - conn=2 op=1 SEARCH base="_dc=hvb,dc=de_" scope=2 filter="(uid=m050183)" attrs="*" s_msgid=3 s
    _conn=dsmmucqsu09:16
    [17/Nov/2008:10:26:56 +0100] - SERVER_OP - INFO - conn=2 op=1 SEARCH RESPONSE err=0 msg="" nentries=1 s_conn=dsmmucqsu09:16
    [17/Nov/2008:10:26:56 +0100] - OPERATION - INFO - conn=2 op=1 SEARCH RESPONSE err=0 msg="" nentries=1 etime=510
    [17/Nov/2008:10:26:56 +0100] - OPERATION - INFO - conn=2 op=2 UNBIND
    [17/Nov/2008:10:26:56 +0100] - DISCONNECT - INFO - conn=2 reason="unbind"
    *With global ACI* the mapping does not work any more and the access log looks like this.
    I underlined only dc=unicreditgroup,dc=eu because there is no mapping to dc=hvb,dc=de:
    [17/Nov/2008:10:22:31 +0100] - CONNECT - INFO - conn=57 client=127.0.0.1:41360 server=localhost:389 protocol=LDAP
    [17/Nov/2008:10:22:31 +0100] - PROFILE - INFO - conn=57 assigned to connection handler cn=default connection handler, cn=connection handler
    s, cn=config
    [17/Nov/2008:10:22:31 +0100] - OPERATION - INFO - conn=57 op=0 BIND dn="uid=m050183,ou=people,dc=unicreditgroup,dc=eu" method="SIMPLE" versio
    n=3
    [17/Nov/2008:10:22:31 +0100] - SERVER_OP - INFO - conn=57 op=0 BIND dn="uid=m050183,ou=people,dc=hvb,dc=de" method="SIMPLE"" version=3 s_msgi
    d=3 s_conn=dsmmucqsu08:4
    [17/Nov/2008:10:22:31 +0100] - SERVER_OP - INFO - conn=57 op=0 BIND RESPONSE err=0 msg="" s_conn=dsmmucqsu08:4
    [17/Nov/2008:10:22:31 +0100] - PROFILE - INFO - conn=57 assigned to connection handler cn=hvbBinds,cn=connection handlers,cn=config
    [17/Nov/2008:10:22:31 +0100] - OPERATION - INFO - conn=57 op=0 BIND RESPONSE err=0 msg="" etime=0
    [17/Nov/2008:10:22:31 +0100] - OPERATION - INFO - conn=57 op=1 msgid=2 SEARCH base="_dc=unicreditgroup,dc=eu_" scope=2 filter="(uid=m050183)" a
    ttrs="*"
    [17/Nov/2008:10:22:31 +0100] - OPERATION - INFO - conn=57 op=1 SEARCH RESPONSE err=0 msg="" nentries=0 etime=0
    [17/Nov/2008:10:22:31 +0100] - OPERATION - INFO - conn=57 op=2 UNBIND
    [17/Nov/2008:10:22:31 +0100] - DISCONNECT - INFO - conn=57 reason="unbind"
    This seems to be the problem why I don't get any data back when I'm trying an ldapsearch.
    ldapsearch -h localhost -p 389 -b dc=unicreditgroup,dc=eu -D "uid=m050183,ou=people,dc=unicreditgroup,dc=eu" -w xxxxxx '(uid=m050183)'
    Any idea if I'm doing something wrong or if it is a bug that the mapping does not work?
    Best regards,
    Beate

    Hello!
    I was told by Sun that it is a bug.
    Regards,
    Beate

Maybe you are looking for

  • B1iSN 9.0 Installation Failed. Database connection Failed: Password Validation failed

    Hello All:   Installing a new copy of B1iSN 9.0 PL05. And having this problem that I can't seem to find any mentioning.   SQL connection parameter validate the password ok and this is almost immediately after I press install at the final step. When i

  • Why no bluetooth in connection manager ?

    PC Suite 6.80.22 cannot connect to my phone (6021) via bluetooth. When I run the Nokia connection manager, I can only choose infrared, serial data cable and usb data cable. I do not have bluetooth ! When I use the windows explorer, I can make a conne

  • Master Data/transactional Data Loading Sequence

    I am having trouble understanding the need to load master data prior to transactional data.  If you load transactional data and there is no supporting master data, when you subsequently load the master data, are the SIDs established at that time, or

  • Internet Explorer Rendering

    Hi I was thinking about upgrading to iWeb 08. One of the things that has seemed irritating with IE is that versions of IE don't display iWeb pages properly because iWeb uses .png files. Is this still the case with iWeb 08? Are there any options to us

  • Registered version Photoshop changed in Trial version

    I have been using CS6 master collection for about a year as a registered version; all of a sudden, when I started Photoshop this morning, I seem to have a trial version of Photoshop extended. When I enter the registration code the programme does not