Variable 1:1 mapping and interface????

I am having a little trouble with mapping a variable 1:1 where the reference descriptor is an interface. Everything is fine in the work bench until I finally get stuck with Query Key Name(s) are no longer valid.
Basically I have an interface
ContactInterface, which is implemented by several classes
PhoneContact, EmailContact, etc. The common key is the customerID which exists in PhoneContact and EmailContact. Both of these classes are mapped correctly. In the upper class Customer I have a contact attribute that is mapped as a variable 1:1 it points to the reference descriptor ContactInterface, the class indicators info is correct, and the Query Key Association is mapped from CUSTOMERID to customerID (this is the common query key).
Any ideas on why this does not work or why I am getting
the error. Is there anything special I must to in my
interface or implementors to get this to work.
Thanks

It is in the TopLink Mapping Workbench UI and the exception or error is
"The following specified Query Key Name(s) are no longer valid: customerID" Unfortunately this message is not in the Trouble Shooting guide. I simplified my
example to only one implementor of the interface.
This is the interface:
//Note the methods are there only because I
//was trying to see if maybe the def for getter
//and setters were needed in the interface.
public interface ContactI
public String getContactInfo();
public void setContactInfo(String contactInfo);
public int getCustomerID();
public void setCustomerID(int customerID);
Implementation of ContactI (Interface):
public class EmailContact implements ContactI
String contactInfo = null;
int customerID=-1;
     public int getCustomerID()
          return customerID;
     public void setCustomerID(int customerID)
          this.customerID = customerID;
     public String getContactInfo()
          return contactInfo;
     public void setContactInfo(String contactInfo)
          this.contactInfo = contactInfo;
     public EmailContact()
          super();
The container class Customer:
public class Customer
int customerid = -1;
String lastName = null;
String firstName= null;
java.util.Date contactDate =null;
ContactI contact = null;
     public ContactI getContact()
          return contact;
     public void setContact(ContactI contact)
          this.contact = contact;
     public java.util.Date getContactDate()
          return contactDate;
     public void setContactDate(java.util.Date contactDate)
          this.contactDate = contactDate;
     public int getCustomerid()
          return customerid;
     public void setCustomerid(int customerid)
          this.customerid = customerid;
     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 Customer()
          super();
tables are:
create table customer
customerid number primary key not null,
lastname varchar(32),
firstname varchar2(32),
contactClass varchar2(255)
create table contact
customerid number primary key not null,
contactInfo varchar2(45)
alter table contact add foreign key (customerid)references customer;
I tried this way also/ modified the class accordingly:
create table customer
customerid number primary key not null,
contactid number,
lastname varchar(32),
firstname varchar2(32),
contactClass varchar2(255)
create table contact
contactid number primary key not null,
contactInfo varchar2(45)
alter table customer foreign key (contactid)references contact;
In the mapping workbench I load ContactI, Customer and
EmailContact. On the ContactI in the Implementors tab I select EmailContact (Don't know what Common Query Keys
pain is for because I never see anything in it). Then
on the EmailContact I map EmailContact and the attributes to contact table. Then I map Customer to Customer table, on the contact attribute I map as a
variable one to one, then in the general tab for this
attribute I select Reference Descriptor ContactI, in the
class indicator info tab I select CONTACTCLASS as the
indicator field of type java.lang.String. I click on include so there is a check mark next to EmailContact and indicator value is CONTACT. I switch to query key association and click add and select CUSTOMERID as the foreign key and customerID as the Query Key Name, at
this point I get the above message. It is saying that
customerID in EmailContact is no longer a valid Key Name,
yet if I click over to EmailContact customerID is valid.
Unfortunately there is no example of doing this in the documentation and this error message is not listed in the trouble shooting guide.

Similar Messages

  • Diff b/w msg mapping and interface mapping

    hi
      i have some doubt's:
       1. diff b/w msg mapping and interface mapping
       2. What is product in SLD? usually who creates the product,technical,business system??
    thx in advance..

    hI Smartsoft General User  ,
    The following r excellent websites on mapping which differentiate msg mapping and interface mapping in detail:
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    How to Use ABAP Mapping in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    These r excellent websites in SLD:
    How To…Handle the SLD for SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    How To…Handle Caches in SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    http://www.sap-press.de/download/dateien/751/sap_press_exchange_infra_engl.pdf
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Message Mapping And Interface Mapping

    Hi,
    I have 2 software components.
    One is for sender and one is for receiver.I have created all the Data types,Message type and Message Interface fro sender in the first Software component and data types ,message type ,message interface for the receiver in the second software component .
    Now, in which Software component should i create Message Mapping and Interface Mapping?
    Thanks in Advance,
    mvk

    Hi,
    You could use the created Message type and Message interfaces in Sender as well as receiver software components for creating message mapping, interface mapping and integration scenario.
    Generally it makes sense to maintain the message mapping, interface mapping and integration scenario in receiver software component. The message mapping and Integration scenario is specifically based on the receiver end requirments, so its preffered on receiver software component.
    The sender side details could be reusable in case if you need those for another new receiver software component. If you maintain it in sender component, then that will lead to mix-up all the things on sender side even though its based on receiver end.
    I think this could help you.
    In PI7.1 now there is concept of Folders to maintain all the interfaces appropriatly and leads for reusability of existing objects.
    Please refer below links for more details,
    /people/thorsten.nordholmsbirk/blog/2006/07/25/structuring-integration-repository-content--part-1-software-component-versions
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed903cf6c4492ce10000000a114084/frameset.htm
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 26, 2008 8:33 AM

  • Exception when "Edit Maps and Interface"

    This is pretty uniform on all .jws I tried. Right click on the client
    interface and choose "Edit Maps and Interface" yields:
    Unexpected exception:
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:394)
    at java.lang.Integer.parseInt(Integer.java:476)
    at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
    at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
    at
    jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForegr
    ound(SvcMapEditorDialog.java:1441)
    at
    jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    ction.java:93)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    19)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception: null
    at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
    at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
    at
    java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:202)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    ction.java:93)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    19)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

    Thanks all. I appreciate the help.
    "Peter Laird" <[email protected]> wrote in message
    news:[email protected]...
    >
    Me too. I got different errors however because I did something different:
    1.) Download and install the public beta.
    2.) Start WLS (I started mydomain server)
    3.) Start Workshop from the Start Menu.4) Created a new method for my webservice
    5) Selected Debug->"Start and Debug"
    6) Got ClassNotFound exceptions on my mydomain server console window andWorkshop
    showed a progress bar for multiple minutes instead of failing outright.
    There seems to be a basic assumption for some users that Workshopinteracts with
    the out of the box WLS instance. Its not clear for people that don't readthe
    documentation (that's me!) that the WLS instance needs to be Cajun aware.
    Perhaps a message dialog should appear upon first install explaininglittle gotchas
    like this. It should be one of those windows that you can uncheck "Showthis window
    at startup".
    Just a suggestion.
    "Joe Noonan" <[email protected]> wrote:
    Thanks Ian. I also had this problem. I had started WebLogic before
    WorkShop and ran into the same problem. Once I read this and started
    it
    from within WorkShop, it ran fine.
    Joe Noonan
    [email protected]
    "Ian M. Goldstein" <[email protected]> wrote in message
    news:[email protected]...
    Thanks, Robert. It looks like this error happens when running a
    non-Workshop-enabled instance of WebLogic Server.
    Note the differences in the classpath settings in the Workshop-enabled
    startWebLogic.cmd script
    (C:\bea\weblogic700b\samples\workshop\startWebLogic.cmd) as opposedto the
    non-Workshop-enabled scripts at
    C:\bea\user_domains\mydomain\startWebLogic.cmd or
    C:\bea\weblogic700b\samples\server\config\examples\startWebLogic.cmd.
    I'll file an issue about improving the error message if the instanceof
    WebLogic Server which is running doesn't have the necessary Workshopjars
    in
    its classpath.
    Ian M. Goldstein
    Developer Relations Engineer
    BEA Systems, Inc.
    "Robert Patrick" <[email protected]> wrote in message
    news:[email protected]...
    Here are the steps to reproduce this.
    1.) Download and install the public beta.
    2.) Start WLS (probably don't need to do this)
    3.) Start Workshop from the Start Menu.
    4.) Right Click on the Hello interface and Choose "Edit Maps andInterface".
    Hope this helps,
    Robert Patrick
    Technical Director
    BEA Systems
    Ian M. Goldstein wrote:
    Hi Steve. I'm not seeing this myself with any of the samples or
    my own
    jws
    files. There was a pre-beta issue that fit this description, but
    it
    was
    resolved before the beta release. What build are you running?
    (Click
    on
    Help
    About WebLogic Workshop.)
    Are you actually modifying the interface when you're getting that
    error,
    or
    does it happen just from opening the "Edit Maps and Interface"
    dialog
    box?
    Once you get the error, can you get past it and try to open the
    "Edit
    Maps
    and Interface" dialog box again? Do you get the error again, or
    does
    it
    let
    you actually edit the interface now?
    Thanks,
    Ian M. Goldstein
    BEA Developer Relations Engineer
    "Steve Demuth" <sdemuthxxxxartemisalliance.com> wrote in message
    news:[email protected]...
    This is pretty uniform on all .jws I tried. Right click on the
    client
    interface and choose "Edit Maps and Interface" yields:
    Unexpected exception:
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:394)
    at java.lang.Integer.parseInt(Integer.java:476)
    at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
    at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
    at
    jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForegr
    >>>>>
    ound(SvcMapEditorDialog.java:1441)
    at
    jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164
    atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    >>>>>
    ction.java:93)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    >>>>>
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    >>>>>
    19)
    atjavax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    >>>>>
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    atjava.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    atjava.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception:
    null
    at
    jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
    at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    >>>>>
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    >>>>>
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304
    at
    java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:202)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    >>>>>
    ction.java:93)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    >>>>>
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    >>>>>
    19)
    atjavax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    >>>>>
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    atjava.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    atjava.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

  • Workshop:Launching "Edit maps and interfaces" dialog causesNumberFormatException

    Hi
    I just downloaded the eval copy of WL Workshop, I am currently completing your
    tutorial creating the FinancialServices Web Service, whenever I launch the "Edit
    Maps and Interfaces" dialog, I get this error.
    Thanks
    Unexpected exception:
    java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:394)
         at java.lang.Integer.parseInt(Integer.java:476)
         at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
         at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
         at jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForeground(SvcMapEditorDialog.java:1441)
         at jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception: null
         at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
         at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
         at java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:202)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

    Hi
    I just downloaded the eval copy of WL Workshop, I am currently completing your
    tutorial creating the FinancialServices Web Service, whenever I launch the "Edit
    Maps and Interfaces" dialog, I get this error.
    Thanks
    Unexpected exception:
    java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:394)
         at java.lang.Integer.parseInt(Integer.java:476)
         at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
         at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
         at jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForeground(SvcMapEditorDialog.java:1441)
         at jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception: null
         at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
         at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
         at java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:202)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

  • Where find java classes corresponding to message mapping and interfaces ?

    Hi
    Forum,
    when i create my objects in Repository, like Message interface and messgae mapping, correspoding to them, java class in created,  where can i see these java classes in the XI's file system,

    Hi sudeep,
    During the installation of Xi we select a database.So all the objetcs and related things that we create in IR and ID will be saved in the database only.I dont know how to check the .class file for each object...
    Check these weblogs from sravya where she has given you the table names where the IR and ID objects are stored:
    /people/sravya.talanki2/blog/2007/01/11/ripping-off-sap-xi-stack-133sharing-the-goodies-of-abap-api146s
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
    /people/sravya.talanki2/blog/2006/12/28/skelton-of-mapping-runtime-in-sap-xi
    regards
    BILL

  • Mapping and Interfacing files into R/3 as IDOCs using XI

    We are trying to send an IDOC into R/3 thru XI. We generated one from R/3 into XI - it worked fine, however the reverse direction is not working well.
    We are using XI 2.0 with R/3 4.6C.
    We ran into two problems:
    when we tried DEBMAS/DEBMAS06, we were getting a message in SXMB_MONI / IDX5 that the entry DEBMAS06 is not found (in table IDOCSYN) on XI. On our XI server we found that there were only 65 IDOC message types defined (I dont know why .. but none of the popular IDOC messages like DEBMAS, CREMAS, MATMAS, ORDERS, etc are in XI). We thought may be that is the reason. But we do not know thru config, how to add IDOC messages into XI - this is not the same as importing IDOC type .. we have already done that. Just importing an IDOC structure does not put an entry in tables like IDOCSYN, and others...
    Then we tried using an IDOC message that was in XI IDOC tables - FLIGHT_SAVEREPLICA. This ones gets past the error we got with DEBMAS. However, we still do not see the IDOC in R/3.  When we check IDX5 or SXMB_MONI, it says that the message is processed successfully and does not show any errors. We are not understanding why it does not reach R/3.
    Has anyone mapped files into IDOCs and sent to R/3 thru XI. If you did, CAN YOU PLEASE HELP US OUT....
    It looks like we are missing small config step .. somewhere ..
    We created partner profiles, set up ports and RFC destinations. IN SLD we did define the logical systems. On the surface, from the config everything seems fine.
    OSS note 669669 is already in.
    Any help will be greatly appreciated ...

    > We are trying to send an IDOC into R/3 thru XI. We
    > generated one from R/3 into XI - it worked fine,
    > however the reverse direction is not working well.
    > We are using XI 2.0 with R/3 4.6C.
    >
    > We ran into two problems:
    > when we tried DEBMAS/DEBMAS06, we were getting a
    > message in SXMB_MONI / IDX5 that the entry DEBMAS06
    > is not found (in table IDOCSYN) on XI. On our XI
    > server we found that there were only 65 IDOC message
    > types defined (I dont know why .. but none of the
    > popular IDOC messages like DEBMAS, CREMAS, MATMAS,
    > ORDERS, etc are in XI). We thought may be that is the
    > reason. But we do not know thru config, how to add
    > IDOC messages into XI - this is not the same as
    > importing IDOC type .. we have already done that.
    > Just importing an IDOC structure does not put an
    > entry in tables like IDOCSYN, and others...
    You need to change the outbound version to a lower version. ie send debmas03 not 06.
    This is an ALE to ALE issue. Not XI related.
    > Then we tried using an IDOC message that was in XI
    > IDOC tables - FLIGHT_SAVEREPLICA. This ones gets past
    > the error we got with DEBMAS. However, we still do
    > not see the IDOC in R/3.  When we check IDX5 or
    > SXMB_MONI, it says that the message is processed
    > successfully and does not show any errors. We are not
    > understanding why it does not reach R/3.
    >
    Trace time....
    > Has anyone mapped files into IDOCs and sent to R/3
    > thru XI. If you did, CAN YOU PLEASE HELP US OUT....
    >
    > It looks like we are missing small config step ..
    > somewhere ..
    >
    > We created partner profiles, set up ports and RFC
    > destinations. IN SLD we did define the logical
    > systems. On the surface, from the config everything
    > seems fine.
    > OSS note 669669 is already in.
    >
    > Any help will be greatly appreciated ...
    Use SXI_SUPPORT and follow it in debug...
    Cant tell what else is wrong.

  • Message Mapping Vs Interface Mapping

    What are the differences between Message Mapping and Interface Mapping?

    Hi,
    Message mapping
    1) Transformation from one message structure to another message structure
    2) Message Mapping is nothing but a set of rules for producing target XML from the source XML according to business requirement.These rules are nothing but relations between the source XML tags and target XML tags
    3) 4 types(graphical, java, xslt, abap) mapping
    4) You can check whether a complete message mapping functions at runtime once you have described it, by using the Test tab page.
    Interface mapping
    1) Interface mapping registers a pair of interfaces for a scenario and specifies the message mapping to be used
    2) you can execute multiple mapping programs consecutively
    3) To check whether an interface mapping that you have defined functions at runtime, test the interface mapping on the Test tab page.
    Limitations
    1) value mapping table cannot be accessed here
    2) runtime constants of the mapping runtime are not set,but set to dummy values.
    differences
    message mapping you declare how the source message will be mapped to the the target message.
    What source field will be mapped to the target field and any conditions for it to happen.
    interface mapping you define what interfaces that will be communicating with each other. You will also see what message mapping the interfaces are using to exchange data. You need to do the message mapping before you do the interface mapping to get it correct.
    Other releated things
    ->I think there can be Interface mappings without any Message mappings. This will work properly if both the source and target interfaces are of same type.
    There might be less sense in these scenarios but they cannot be ruled out. They can help at times.
    Interface mappings register your mapping program for an interface pair in the Integration Repository. If you require a mapping at runtime, it is sufficient to select the interface mapping for the interface pair at configuration time.
    ->The Integration Server uses the interface mapping to identify associated mapping programs for request messages, response messages, fault messages, or all three.
    You can also create multiple interface mappings for the same interface pair.
    For Multi MAppings Refer
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm
    Please reward points if it helps
    Thanks
    Vikranth

  • File to file with out message mapping and using variable substitution

    Hi,
    Can any one send me a scenario where we can have file to file scenario with out message mapping and where i can use variable substitution.
    As of now i am using integrate configurations where i cant use variable substitution as the message does not reflect in integration engine. I need to populate time stamp between <filename><timestamp>.txt.pgp
    I am as of now using configuration scenario.
    The time stamp always writes before the last file extension.
    Let me know your thoughts?
    Thanks,
    Chandra.

    Hi Chandra,
    u can use the Variable substitution even without IR contents also(Mapping....).
    in the receiver communication channel just specify the path u want to access for a value...
    eg: filename                             payload:mt_name,1,records,1,name,1
    and in th file name give it as %filename%.txt... or vt ever ur requirement
    Babu

  • Set a variable in Adapter Module and read it during message mapping

    Hi guys,
    is there any way, how I could set some variable and store its value during the adapter module processing and read back this value in message mapping and use it? Without using a database or files.. I mean, some j2ee storage or something like that..
    Thanks for your help,
    Olian

    Hi guys,
    thanks for your answers..  just a clarification, what the problem is.
    I need to validate a message in the adapter module, if it's digital signature is valid. If it is, I need to send back to the sender a return code (message) OK, otherwise ERROR. I can't modify the message (or dynamic configuration) as I'm using a WSS in the sender channel. The system doesn't allow me to change anything in the message, so I can't find out in the mapping what the validation result was. I then tried to do the validation directly in the message mapping, but I have some issues there with libraries or what, because the validation code, which works in the adapter module, doesn't work in the mapping java class. So my final thought was maybe I could validate the message in the adapter module and pass the result to the message mapping and then create an appropriate return message (in the mapping). However, I see no way of passing a value there. I'm stuck and have no Idea how to resolve the problem. Any hints guys?
    Thanks a lot for your help!
    Olian

  • Exchanging data between interface mapping and message mapping possible?

    Hi,
    please have a look at my interface mapping:
    source message -
    >
    mapping programs
    1. Java mapping
    2. XSL mapping
    3. message mapping
    > target message
    in my scenario a Java Class (1) is called for the interface mapping. There, some information ist read from the xml structure. Next, a xslt mapping (2) takes place that strips some information. The remaining data is passed to the message mapping (3)
    The reason for this is that the source message consists of a xml message inside an xml message.
    I am looking for a way to access the informationen gained in step 1 (Java class) in the message mapping (step 3). I was hoping that the global container (used by user-defined function within message mapping) is accessible from the java mapping, but I could not find out how.
    Anybody with some ideas how to pass information from step 1 to step 3? I cannot put the Information in the xml that is passed to the message mapping, because the schema of the inner xml cannot be changed.
    Thanks very much, best regards,
    Wolfgang

    Hi Wolfgang!
    I have used the "Dynamic Configuration" section in the XI Message header for this issue. You could write something into the Dynamic Configuration Section in step 1 (Java-Mapping) and read it out again in steps 2 or 3. You could use a section for a adapter you are not using in your interface for the real receiver. So if you have a File-Receiver Adapter at the "end" you could use some section of the e.g. SOAP adapter not to interfere with your receiver-adapter when using Dynamic Configuration Settings there ...
    See also: http://help.sap.com/saphelp_nw04/helpdata/de/43/09b16006526e72e10000000a422035/content.htm
    or
    http://help.sap.com/saphelp_nw04/helpdata/de/43/0a7d1be4e622f3e10000000a1553f7/content.htm
    Best regards,
    Andi

  • Can i download google map and then interface with labview?

    i intend to interface labview with google map and indicate my required position on it.i need help on how to accomplish this?can i download google map and then interface with labview?

    Hi,
         The Example avalable on following link (C:\Program Files\National Instruments\LabVIEW 2009\examples\comm\axevent.llb\ActiveX Event Callback for IE.vi) on your PC, and using of Googlr map API u can indicate your position.document are avalable on following link (http://code.google.com/apis/maps/documentation/staticmaps/)
    I hope this is help for u..
    Siva
    Sivaraj M.S
    CLD

  • Multi-Message-split with ABAP mapping and adapter specific attributes

    Hi all,
    With <b>ABAP-Mapping I split 1 message to n messages</b>.
    So many files are generated in <b>file-Adapter</b>.
    Everything fine.
    But now I want the file names different using adapter specific attributes.
    It is not possible to use variable substitution and write the file name in payload because of receiver restrictions.
    I tried this with following similar coding in ABAP-Mapping:
    data: lt_records TYPE MPP_DYNAMIC_TAB.
          Loop.
          l_file_name = "payload-Inbound"-information
          ls_record-namespace = 'http://sap.com/xi/XI/System/File'.
          ls_record-name = 'FileName'.
          ls_record-value = l_file_name.  "l_file_name comes from inbound-payload
          append ls_record to lt_records.
         Endloop.
      CALL METHOD dynamic_configuration->set_all_records
        EXPORTING
          records = lt_records.
    If I start the interface I see in the monitoring the dynamic configuration with many entries for file-name in the the SOAP-Header mapping of the request message (following extract):
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Mapping der Request-Message
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPAADDRESS.XML</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPABROKERROLE.XML</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPACOMPANYSEGMENT.XML</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPACUSTOMERROLE.XML</SAP:Record>
    The result is that <b>all files have the same file name</b> (last entry in dynamic configuration).
    Is it possible to write the adapter specific configuration in ABAP-mapping <u>for every single result message</u>??
    Thank you for your help,
    Florian

    Hi Florian,
    I've a different idea...I dont think its a "right solution" but just another work around..it involves a BPM...
    In your ABAP mapping..set the dynamic config with as many variables as number of different messages...i.e. use the variables like 'FileName1', 'FileName2'...'FileName6' instead of 'FileName'. But use the same namespace 'http://sap.com/xi/XI/System/File'
    Call the above mapping in a BPM and capture the individual messages and set the attribute 'FileName' from the values of 'FileName1' to 'FileName6' accordingly using Message Mapping and then send the message using the 'Send' step.
    before you try this, try using the variable names 'FileName1' ...'FileName6' in the receiver adapters...enable the ASMS. <b>I know we need to select which variables from the dynamic config to be used by the adapter by specifically selecting 'FileName', 'Directory' etc...but just give it a try and see if it works..</b>
    Or..instead of using a BPM..you can combine Henrique's idea...use Adapter module to set the value for 'FileName' from variables 'FileName1'...'FileName6' accordingly.
    hope I'm clear..lemme know if you have any questions..
    cheers
    praveen

  • Problem with context mapping and data flow in a FPM application

    Hi All,
    I am trying to develop an ESS application using FPM. For the same, the requirement is to see the history of an employee in the second view.
    The first view has got just the overview information and the second one has got the detail. So, the records or the fields are the same on both the views.
    As per the FPM guidelines, the Model is residing in the Fc component and the respective Vc components are using the model data accordingly.
    I am executing the model in the Fc component calling the executable method in the interfaceController of the first view and then trying to display the output data of the BAPI in the first view which provides the overview information.This is working fine.
    But when i am trying to map the same output node to the Table UI for the second view, the record size is coming zero and thus no information is available.
    For the above issue, I am again executing the RFC in the InterfaceController of the second view to populate the records, which is incorrect as it is already executed and the data is available for the first view.
    I request you to let me know the correct approach to Context mapping and data flow when using FPM-roadmap. Is their any standard method or approach available to deal with such requirements? Please let me know.
    Thanks in advance.
    Regards
    DK

    Hi Idhaya,
    I model node is available in Fc and the Fc interface controller is being used in the first Vc and the second Vc.
    So the idea is, as the executable method is generated in the Fc, so i have created a custom method to call the executable method in Fc, where the input parameter is getting passed and this custom method is finally getting called is the first Vc.
    So , now my first Vc is ready to call the custom method in Fc and execute the RFC. Once the RFC is executed, the nodes in the Fc should get populated which is the ideal case.
    And as the Fc is used as a component in the second Vc, the same node is available to the UI elements.
    But, when I check the record size for the output node, it is always zero, for the second Vc.
    Regards
    DK

  • Creating variables in Process Flows and using thse variables in the filter

    Hi,
    I am new to OWB and in learing stage. Need to information.
    *1. as to how pass/create/use variables to OWB mapping ?*
    *2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
    *3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
    can you please provide the above details and guide me / help me in this regard.
    Thanks,
    skms.

    1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
    2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
    3. May be appropriate to use CONSTANTS instead of parameters.
    Regards
    Si

Maybe you are looking for