Seeburger Attribute Mapper

I am using Seeburger Attribute mapper.  We need to remap the SFTP filename attribute to a value dependat on the AS2 Message subject.
In my test environment, I have sent a message with the subject of "PROCARD" -- regardless of what message subject is used, value 2 (not-matched) is being set to the dynamic attribute http://seeburger.com/xi/SFTP/dtSubject
Key:                map     
Param Name:  http://seeburger.com/xi/SFTP/dtSubject     
Param Value:  if ( subStringRegEx( "PROCARD", @http://seeburger.com/xi/AS2/dtSubject),    "matched", "not-matched")
I have also attempted using asterisk to terminate the search parameter.
Thank you in advance...

The module parameter will have
Source - @Namespace/PropertyName
Target - Namespace/PropertyName
This way you may copy source FileName to target FileName.
Regards,
Prateek

Similar Messages

  • Need Seeburger Attribute Mapper module details

    Hi Experts,
                       We need to post a file(XML) on Receiver AS2 adapter with dynamic filename. We have followed the link :
    Re: Dynamic Receiver file name in AS2 adapter to create the UDF in GUI mapping and have selected the fileName property under Dynamic Attributes in the Receiver AS2 adapter. However, even though in the message monitor, the filename property is shown to be corrrectly populated, the file is posted in receiver with a different name.
    The above link mentions using an Attribute Mapper module for dynamic filename. Can anyone please provide the details of this module, the module name, parameter names etc. that need to be populated in the receiver adapter.
    The same is not available on the net and we don't have the seeburger documents with us.
    Regards
    Shiladitya

    The module parameter will have
    Source - @Namespace/PropertyName
    Target - Namespace/PropertyName
    This way you may copy source FileName to target FileName.
    Regards,
    Prateek

  • SAML attribute mapper

    Hi,
    I am having an issue developing an attribute mapper for my SAML 1.1 scenario using Sun Access Manager 7.1 patch 1 (war deployment installer) as the IDP. It is deployed on Sun Java System Web Server 7.0U1 (B06/12/2007 21:15) for Solaris 10 x86.
    My class looks something like this:
    package matt.saml.sample;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    import com.iplanet.sso.*;
    import com.sun.identity.saml.assertion.*;
    import com.sun.identity.saml.common.SAMLException;
    import com.sun.identity.saml.plugins.PartnerSiteAttributeMapper;
    import com.sun.identity.idm.AMIdentity;
    import com.sun.identity.idm.IdRepoException;
    import com.sun.identity.idm.IdUtils;
    import org.w3c.dom.Document;
    public class TestSiteAttributeMapper implements PartnerSiteAttributeMapper {
        public List getAttributes(SSOToken token, String targetURL) throws SAMLException {
            //...code
            return list;
    }So, I put TestSiteAttributeMapper in the classpath and configured the Site Attribute Mapper. Now when I try SSO with SAML, attributes aren't passed through the assertion plus I get this in the amSAML debug log:
    SAML Service Manager: PartnerUrl List:siteattributemapper=matt.saml.sample.TestSiteAttributeMapper
    10/07/2008 12:14:41:518 PM EDT: Thread[service-j2ee-3,5,main]
    ERROR: SAMLServiceManager:Invalid site attribute mapperI tried compiling the class with the amserver/WEB-INF/lib/am_services.jar(the one AM is using) in the classpath.
    Also, I had to add amserver/WEB-INF/lib/am_services.jar(plus I added a couple other am_*.jar files) to the Web Server classpath, in the JVM settings to get rid of an error I was seeing in the web server logs:
    [05/Oct/2008:19:36:31] failure ( 3746): for host 192.168.200.1 trying to GET /amserver/SAMLPOSTProfileServlet, service-j2ee reports: Stand
    ardWrapperValve[SAMLPOSTProfileServlet]: PWC1406: Servlet.service() for servlet SAMLPOSTProfileServlet threw exception
    java.lang.NoClassDefFoundError: com/sun/identity/saml/plugins/PartnerSiteAttributeMapper
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1461)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at com.sun.identity.saml.common.SAMLServiceManager.setValues(SAMLServiceManager.java:788)
            at com.sun.identity.saml.common.SAMLServiceManager.init(SAMLServiceManager.java:266)
            at com.sun.identity.saml.common.SAMLServiceManager.getAttribute(SAMLServiceManager.java:1015)
            at com.sun.identity.saml.servlet.SAMLPOSTProfileServlet.getDestSite(SAMLPOSTProfileServlet.java:242)
            at com.sun.identity.saml.servlet.SAMLPOSTProfileServlet.doGet(SAMLPOSTProfileServlet.java:118)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
            at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:86)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
            at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    [05/Oct/2008:19:36:32] warning ( 3746): CORE3283: stderr: Exception in thread "Thread-29" java.lang.NullPointerException
    [05/Oct/2008:19:36:32] warning ( 3746): CORE3283: stderr:       at com.sun.identity.saml.common.SAMLServiceManager.getAttribute(SAMLServic
    eManager.java:1017)
    [05/Oct/2008:19:36:32] warning ( 3746): CORE3283: stderr:       at com.sun.identity.saml.servlet.POSTCleanUpThread.run(POSTCleanUpThread.j
    ava:101)I didn't really think that I should have had to add the jar to the classpath, considering it is in the WEB-INF/lib folder.
    In summary, my questions are:
    1. What am I doing wrong in implementing this attribute mapper that causes it to be invalid?
    2. Why did I have to add that jar to the classpath to remove that NoClassDefFoundError? Isn't it already in the classpath?
    Thanks in advance,
    Matt

    ok i fixed my issue. removing all additional jars from the class path, and putting my class under amserver/WEB-INF/classes got it working.
    I guess it's a classpath context issue

  • Building own schemas in Seeburger bic mapper

    I'm consulting for Utilities industry and looks like Seeburger does not have custom schemas for this industry type. Using standalone software bic converter and mapping designer, is it possible to
    1. build custom schemas from standard EDI X12.
    2. and once I build custom schema, would this be saved as xsd?
    3. can this xsd be used to convert / map to an IDoc (xsd) using bic mapping designer.
    4. does this come with Seeburger adapter cd or a separate cd (free / with cost)?
    5. Finally, its latest version number?
    I know I have several questions. Please let me know...I will reward them handsomely
    Please send me answers and not links to documents. I get totally confused and lost with these Seeburger documents!
    Thanks,
    Pam

    Hi,
    1. build custom schemas from standard EDI X12.
    Yes you can build custome schamas as per EDI Industry standards. Also we can have the pre standard schemas after installing the seeburger on server.
    Also you can get exact manuals from the server/vendor.
    2. and once I build custom schema, would this be saved as xsd?
    Yes you can use it.
    3. can this xsd be used to convert / map to an IDoc (xsd) using bic mapping designer.
    See in general ,BIC / some edi converter can be used to generate the xsd.And also you can map the BIC mapper , if you use then you have to configure the eeburger adapter with bic modules.
    4. does this come with Seeburger adapter cd or a separate cd (free / with cost)?
    I hope Yes. you can have , but some cost.
    5. Finally, its latest version number?
    Vendor specific.
    I hope you can have all seeburger links in your previous forum question.
    I have given lot of links.
    Regards
    Chilla..
    <i>Points rewarded if it is helpful..</i>

  • Seeburger BIC Mapper

    Dear experts,
    Would you know whether BIC Mapper can manipulate the page encoding in their level? We have a scenario here wherein, the UNOA was sent by the customer, which will nake the data to be 'all caps'. However, the ideal scenario is that it should be not in 'all caps' (combination of small and large caps). Using UNOA, it will all be in all caps.
    Can BIC Mapper ignore that UNOA field?
    Kindly advise.
    Thanks,
    Gerberto

    You can try changing the encoding using parameter srcEncoding in BIC MD. UNOA is part of encoding ISO 646. You may try to set this source encoding parameter to UTF-8 and try.
    You can check Seeburger documentation about BIC MD to see how to change it. To brief it, you have to open your mapping and check properties of that mapping in BIC MD. After the change, it has to be redeployed.
    Regards,
    Prateek Raj Srivastava

  • Seeburger BIC mapper - CRLF as the segment delimiter

    I am trying to configure an E2X AS2 scenario using Seeburger adapters but the sender AS2 channel is failing.  I receive the error "Length limit exceeded - no SEG. delim. found!!!" during the BIC mapping step.  The format of the message I am receiving from the vendor has no segment delimiters and the different segments are simply on separate lines of the message.  The fields are delimited with asterisks.
    If I add ~ at the end of each line, and delete all of the CRLFs so that the entire message is on one line, the BIC is able to successfully map the EDI message to XML.
    Without having the vendor change the format of the file, what can I do to configure the Seeburger adapters to recognize CRLF as the segment delimiter so I can process the vendor's files as they are currently creating them?

    Try  this in the module chain
    localejbs/Seeburger/ReplaceString                  Local Enterprise Bean              key
    Then in module key parameter
    key         searchString         "\n"
    key          replaceString        "~"
    Regards,
    Prateek

  • Chain interfaces to set file name in sender channel dynamically

    Hi,
    I have a requirement to use the Seeburger SFTP adapter to import a file from an external server to an SAP ECC system.
    The adapter must be Seeburger as the protocol has to be SFTP, not FTPS as with the File adapter.
    Although I can set a wildcard selection, I really want to poll for specific filenames with predetermined naming criteria.
    The sender SFTP communication channel doesn't provide any options to specify dynamic attributes but I wonder if I can link several interfaces together, please can you confirm if the following process would work conceptually:
    1) SAP ECC program runs and determines the fixed filename that I wish to import (e.g. file_abc123.xml).
    2) SAP ECC program calls an outbound proxy with a mapping to set the relevant parameter in dynamic configuration ('http://seeburger.com/xi' is the namepsace, 'dtSubject' is the parameter name for the filename of the SFTP adapter).  Besides mapping I think the Seeburger attribute mapper module could also be used to set this value.
    3) The outbound proxy is configured on the receiver side to call an SFTP sender channel (with a dummy/blank payload as we're only calling the interface to allow settng of the filename to take place) which links to an inbound service interface on the SAP ECC receiver side. 
    I don't know whether chaining of service interfaces in this fashion (receiving interface also being a sender) is a viable approach or whether there are any alternatives.
    Thanks in advance,
    Alan

    Hi Alan,
    Are the specific file names that you are polling for going to be changing or will they be fixed?  Are each of the unique names going to be processed using the same interface?  If so then I would just create multiple SFTP sender channels that poll at different intervals but use the same mappings, etc.
    Regards,
    Ryan Crosby

  • How do we do File content conversion using SFTP SEEBURGER Adapter

    HI All,
              Can we do FCC using SFTP SEEBURGER adapter. If yes how?
    XIer

    Dynamic attributes are part of the XI message. They provide options for dynamical configuration of SFTP receiver channels (Outbound direction) using parameters that have been dynamically added or set by modules and mappings before the SFTP adapter. These attributes can be set using the Attribute Mapper module for example. Besides, the SFTP adapter dynamically adds specific parameters to the XI message on Inbound case, which can be used by the modules and mappings after SFTP adapter.
    Check also
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
    Regards
    Naycho

  • Mapping and Error handling in Seeburger Adapters ?

    Hi,
    1.   In B2B integration part of PI.Whats the way of doing mapping in XI mapping editor and error handling in the mapping ?
    2. Do you think SEEBURGER BIC mapping designer is must for developing maps ? cant we develop same maps in XI mapping editor?
    Thanks and regards,
    Ram.
    Edited by: Ramakrishna kopparaju on Sep 30, 2008 12:27 PM

    Whats the way of doing mapping using seeburger adapters
    The standard mappings are part of Seeburger Suite and if any additional mapping has to be accommodated, then custom mapping could be developed in Seeburger BIC Mapper tool. This has to deployed on adapter engine then. The other mapping is the normal XI mapping (message, java, xsl) which could be performed based on business logic.
    error handling in the mapping ?
    The easiest way is to raise Alert based on the errors in mapping.
    Regards,
    Prateek

  • Many .sda files required,EDI,Seeburger?

    hi,
    do we need to create .sda files using Seeburger BIC Mapper for each mapping and deploy each <b>.sda</b> file on to XI server using SDM?

    Hi Babu,
    Let me tell you the step by step process of SDA creation and deployment.
    1) Go to BIC Mapping designer tool
    2) Create the maps of needed documents(For example if we know that we will be needed EDI 850, 810,855 etc transactions then we need to add E2X(EDI To XML) and X2E (XML to EDI  maps in a project
    3) Select that project folder
    4)Right click on it
    5)Create deployment (SDA) file.
    6)Default name of the created SDA file is "Mapping_User.sda"
    7)Deploy this .sda in to the J2EE side of XI server using SDM.
    Now if you anticipate that you have to add some aditional EDI maps for transtions other then the one covered in the earlier SDA file ::
    1) Add the new maps in the old project.
    2) Create the new SDA file
    3) Again name of the created SDA file is "Mapping_User.sda"
    4) deploy this new SDA file.
    5) It will over write the existing "Mapping_User.sda" .
    Hope i have answered your question
    Let me know if you need any further clarifications.
    regards
    Piyush

  • EDI BIC MAPPER

    Can you help me get some information on the Seeburger BIC mapper?
    Is it a standalone tool?
    What is it used for?
    Is it a debugging tool?
    Purpose of Sterling Commerce?
    Thanks And Regards
    Sripathi

    Hi,
    Please see the below links with above explination
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    http://www.stylusstudio.com/edi/XML_to_X12.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
    Details on XI EDI adapter from seeburger
    Check this for Conversions-
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    SAP Adapters
    EDI with XI
    http://www.seeburger.com
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    seeburger adapter configuration
    Regards
    Chilla

  • Seeburger AS2: Could not create deploy file

    Hello,
      I am using Seeburger BIC mapper to do my EDI to XML conversion.
    When i try to generate the SDA file i get error as shown.
    Errors of Mapping See_E2X_ORDERS_UN_D97A :
    com.seeburger.bicmd.compile.JavaGenerationFailedException: Precompiler Error: Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
    Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
    End of errors of See_E2X_ORDERS_UN_D97A
    Errors of Mapping See_X2E_SSDCLM_UN_D97A :
    java.io.FileNotFoundException: C:\Program Files\SEEBURGER_Mapping_Designer\Bin\..\build\prod\trg_XML_SSDCLM_UN_D97A_See_X2E_SSDCLM_UN_D97A.xml (The system cannot find the path specified)
    End of errors of See_X2E_SSDCLM_UN_D97A.
    Could anyone help me on this regard?

    Originally Posted by AndersG
    I think we need engineering to look at this. Any chance of opening an
    SR?
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Have an idea for a product enhancement? Please visit:
    http://www.novell.com/rms
    Thanks we have logged a SR for this

  • Seeburger BIC Mapping-Small info required

    Hi folks,
            I am currently working on Seeburger BIC Mapping designer, Are there any forums for Seeburger BIC Mapping related Issues, can we discuss the Seeburger BIC Mapping related issues in this forum.
            Please let me know.
    Regards,
    Varun

    hi
    check the link related to bic mapping
    1./people/nithiyanandam.au2/blog/2008/02/20/handling-edi-interfaces-using-seeburger-bic-modules
    2.Building own schemas in Seeburger bic mapper
    3.BIC mapping names / classes
    4.Seeburger - BIC configured as Module
    BR
    Kasturika

  • How to map IsVirtualNode attribute?

    Here is the step to recreate the issue
    1. Create a new class named "MyAppServers" from "Microsoft.Windows.Server.Computer" class
    2. Create a filtered registry discovery for "MyAppServers". As test, you can just set it to check whether key HKLM\Software\Microsoft\Windows exist.
    3. Now in discovery attribute mapper page comes the question. Since "MyAppServers" is created from "Microsoft.Windows.Server.Computer" class so it inherited attribute "IsVirtualNode". When I enter the following in discovery
    mapper
    $Target/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$
    I got error as following
    Error 1:
    : Failed to verify Discovery [MyAppServers.RegDiscovery]
    Failed to verify referenced module : ID=DSInvalid configuration specified for Module [DS]Host reference error in expression: $Target/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$
    The specified ClassType was ['Microsoft.Windows.Server.Computer'] and the resolved ClassType (evaluating the /Host references) was ['Microsoft.Windows.Computer']. 
    Please check the number of '/Host' references in this expression.

    Hi,
    Would it be possible that you post the XML Code so i can have a look on it?
    Update: I had created a MP for some of myApp Servers some time ago. Could you try to use Windows.Computer as base class for your class and add a IsVirtualComputer Property to it and map this property with:
    $Target/Property[Type="Windows Microsoft.Windows.Server.Computer"]/IsVirtualNode$
    That works fine for me
    Thanks
    Christoph Maresch | My blogs: blog.cmaresch.at | XING:
    Christoph Maresch
    | Linkedin:
    Christoph Maresch

  • What does AM do with Attribute Assertions

    Hi,
    I am sending Auth statement and atribute statement assertion to AM. AM is accepting the Auth assertion and creating the session, but I am not sure what it does it with Attribute assertion? I want to pass these attributes to next AM. How can I do this. I am looking to fetch these attribues in attributemapper class implementation but not sure how to fetch them from original assertion so that I can pass it on..Does AM store it in SSO Token or what. How can I get those original attribute here.
    Thanks
    Deepak

    Got the solution...AM sets these attributes in SSOToken..You can get those by using getProperty() method..make sure that subject of AuthStatement and attribute statement are same otherwise the attribute will not get stored in SSO Token...I modified subject of attribute statement ..so that it matches with that of auth statement nad later in attribute mapper class fetched those attributes form SSO Token and added it to list..so that these attributes can get transferred to next AM.
    Thanks
    Deepak

Maybe you are looking for

  • How do I save as Word, using Pages '09, Lion

    The "help" section says: go to Save, or Save as, but there is no Save or Save As under File, in Lion, Pages '09.

  • My Online Banking is not working like it did previously. I have to answer all the secret questions everytime.

    When I go to my online banking account . The bank keeps asking for my secret answers to verify who i am. I asked the bank about this and they said my browser needs to be tweeked to allow for regular connection without going the extra step of the ques

  • My archived photo dvd causes iphoto 6.0.6 to quit. Help!

    Hi all, I finally decided to try to tame my iPhoto collection tonight. So I burned 2gb to DVD (TDK). This all went very smoothly. I figured I was set. Except... when I view the disc in iPhoto the programme quits as I'm scolling down the images. Every

  • Select among the columns

    I have a table A contains two date file - date1 and date2.. Is there a way to select the latest date on this table for each row? Thank you.

  • Server tools

    Que tal buenas tardes, tengo un problema con el server tools y espero alguien me pueda ayudar. En un servidor del cliente (actualmente corre el windows server 2008 R2), al abrir el server tools, no aparece ninguna accion para ejecutar (o sea, al desp