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

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.

  • Attribute mapping not working with complex searches

    Hi all,
    We are using "attribute mapping" for some attributes and that works fine as far as we don't make a complex search. We are doing the attribute mapping at the Directory proxy 6.3 so we map businessSector to businessUnit. Everything work fine if we just put businessSector in the search, but if we add something else to the search filter, it will not work.
    So, if we use filter businessSector=XXXXXXX, it will work and make all the mapping, but if we use something like "(&(pocketSizeOffice=Yes)(businessSector=XXXXXXX))", it will not work.
    We have look at the logs and we see the mapping happening in the first case, but not in the second one.
    Have somebody seem this before or is facing this problem?
    Thanks,
    Federico

    Hi Federico,
    I was not able to reproduce the problem with DPS 6.3 in my labs... so the conditions to reproduce it may be more tricky than described. Anyway, this is not a known problem.
    Feel free to contact Sun support to have a fix delivered to you.
    Thanks
    -Sylvain

  • 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

  • Global Data Plan not working in the Netherlands

    I called customer service a week before my trip and arranged for the $30 "Global Data" plan to begin April 1. I have been unable to get a data connection here in the Netherlands and e-mails to customer service have gone unanswered. I cannot see anything on my account to indicate whether this has ever been activated.
    By poking around the settings and setting the data networks to GSM I've been able to see Vodophone, T-Mobile, and KPN listed, but if I try to connect to any of them I get an error that indicates I cannot connect to them.
    Can anyone provide some advice on how to get this working? I was really relying on this to help with getting info on places to visit and it's proving a pretty difficult trip when having to rely on free wifi spots to make up for this.

        roninacolyte,
    Greetings from the states! To be honest, the Thunderbolt will not work in Hong Kong. You can check out our trip planner for future reference at http://vz.to/n9PFe9
    EvanO_VZW
    Follow us on Twitter @VZWSupport

  • 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)

Maybe you are looking for

  • Installing a Solid State Drive (SSD)

    Hi, I am helping a friend instal a SSD into their Mac Pro.  I have changed out drives before, but it has been a long time.  From what I have seen on the web, it looks like a fairly easy process.  There are no ribbon cables to attach, nor power cables

  • Sending mail with attachment with a JWS deployed app

    Hi, I'm trying to solve this problem: I have an application which provides the possibility to send e-mail message with various kind of attached file (such as pdf, doc, txt, ...). The application uses JAF and JavaMail libraries and it works fine when

  • How to display images on my internal isight?

    Hi, I just bought the new iMac 2 gig dual. Running on 10.5.2. I wanted to know how to display images on my screen during a video conference chat without resorting to holding up a print out to the camera? I need something where I can switch from video

  • More art than science...

    Doctors often describe medicine this way. I find the same to be true of display technology. Why do people obsess over specs and crap? Why do people not trust their eyes? Since I obviously work at Best Buy, I get to see customers in action on a daily

  • How To Use FCE4

    hi, i have a few problems using fce4. one is, in "viewer", how do i call out "text panel" from "cross dissolve panel"? or vice versa. second, when i composite, i set the text layers at the "length" i want. but then i add transitions such as cross dis