BUG REPORT: 2 JTextComponents using the same Document

When 2 JTextComponents use the same Document they should show the same.
However when you add them to JTabbedPane to 2 different tabs, one does not show the document correctly, until you resize the window.
Compile and run the code example to see for yourself.
If you append "<first message"> and "<second message>" the first tab will show the correct document:
<first message>
<second message>
But if you then switch to the second tab (do not switch to it earlier), you will see:
<first message><second message>
<second message>
Add some more messages to see the effect and then resize the window to see the problem dissappear magically.
--> Code example <--
package testproject;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
* @author Geoffrey
public class TestProject extends JFrame implements ActionListener {
     public static void main(String[] args) {
          TestProject currentFrame = new TestProject();
          currentFrame.pack();
          currentFrame.setExtendedState(JFrame.MAXIMIZED_BOTH); // Optional
          currentFrame.setVisible(true);
     private JLabel label = new JLabel("Append 2 or more different messages and switch tab. "
     + "Resizing the window will solve the bug.");
     private JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP,
                                                                                     JTabbedPane.WRAP_TAB_LAYOUT);
     private JTextField textField = new JTextField("<first message>");
     private JButton button = new JButton("Append message");
     private StyledDocument document = new DefaultStyledDocument();
     private JTextPane firstTextPane;
     private JTextPane secondTextPane;
     public TestProject() {
          super("TestProject");
          setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
          // configure the components
          firstTextPane = new JTextPane(document); // Uses the same document as secondTextPane
          tabbedPane.add("Orginal tab", firstTextPane);
          secondTextPane = new JTextPane(document); // Uses the same document as firstTextPane
          tabbedPane.add("Click here after appending 2 different messages", secondTextPane);
          textField.addActionListener(this);
          button.addActionListener(this);
          // configure the layout and add the components
          Container contentPanel = getContentPane();
          GridBagLayout layout = new GridBagLayout();
          contentPanel.setLayout(layout);
GridBagConstraints constraints = new GridBagConstraints();
          constraints.fill = GridBagConstraints.BOTH;
          constraints.insets = new Insets (10, 10, 10, 10);
          constraints.weightx = 1.0;
          constraints.weighty = 0.0;
          constraints.gridx = 0;
          constraints.gridy = 0;
          contentPanel.add(label, constraints);
          constraints.weighty = 1.0;
          constraints.gridy = 1;
          contentPanel.add(tabbedPane, constraints);
          constraints.weighty = 0.0;
          constraints.gridy = 2;
          contentPanel.add(textField, constraints);
          constraints.gridy = 3;
          contentPanel.add(button, constraints);
     public void actionPerformed(ActionEvent event) {
          String message = textField.getText();
          SimpleAttributeSet simpleAttributeSet = new SimpleAttributeSet();
          StyleConstants.setFontFamily(simpleAttributeSet, "Monospaced");
          StyleConstants.setForeground(simpleAttributeSet, Color.BLACK);
          try {
               document.insertString(document.getLength(), message + "\n",
                                                  simpleAttributeSet);
          } catch (BadLocationException exception) {}

duplicate of:
Table Location Error Oracle and SqlServer
closing and locking
Ludek

Similar Messages

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • Bug report: Firefox5 uses the wrong unicode fonts (tested on Hebrew fonts)

    Even though the css defines the fonts as
    font-family: Arial,Helvetica,sans-serif;
    Firefox5 which I have just upgraded to does not use the Hebrew Ariel font but goes for the first Hebrew font it finds installed on my system. In my case it's a font family called TheSmokerSerif, but since this is not a system font I assume this issue would be encountered by other users too.
    I recommend updating FF5 with a bugfix soon as this is bound to affect many unicode sites and would render Firefox5 unreadable (literally)

    I am also experiencing this annoying issue in FF5. On some websites (usbank.com, tweetdeck.com, for example), the primary Helvetica/Arial fonts are being replaced with the first Helvetica font it finds in my Windows fonts folder. As a result, ALL text on the screen was using some ultra wide + bold Helvetica font and near impossible to read.
    It took me a while to track it down, but after finding and manually DELETING the wrong Helvetica font being used from the Windows fonts folder, I restarted Firefox, and then the main font was replaced with some Ultra Light variant of Helvetica (the next font in line). I then deleted THAT font, restarted, and now websites are displaying correctly again.
    This is pretty annoying, as somehow the two Helvetica fonts I deleted are being automatically reinstalled on my system after a day or two. And when this happens, Firefox starts using the wrong Helvetica fonts again.
    Unfortunately I JUST fixed it again otherwise I would provide a picture or two. But I searched for "Firefox using wrong helvetica font" in Google and found this support thread.
    I hope this bug gets resolved very soon!
    (Using Windows 7 Professional on Core i5 notebook w/4gb ram)

  • Two commands in the report using the same parameter - fail under Java

    I have a report that contains 2 SQL commands.
    Both of these commands use one parameter X of type Number in their 'WHERE' clause.
    When i'm viewing the report in CR 2008, i'm asked for a value of this parameter and all data is filled in the report - OK
    The problem occurs when the same report is printed through Crystal Java Runtime:
    Report is printed without data! - it's empty.
    What we noticed in the debug information thrown by the Crystal libraries is that parameter value is set only in one of these commands:
    Original statement 1:
    select a.something
    from ANM_T a
    where a.anmid = {?PARAMETER01Id}
    Original statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid={?PARAMETER01Id}
    OUTCOME of Statement 1:
    select a.something
    from ANM_T a
    where a.anmid = 0
    OUTCOME of Statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid=9825
    In above example we may see that crystal set the value only in the second statement - first one got 0 - i suspect its some default value.
    Parameter in the Java code is set in the right way. In case of using only one statement it works. If we use two separate parameters (whose values are equal ) it also works.
    // we have also the loop over the parameters
    ParameterFieldController paramFieldController =
                    report.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue( "", paramName, paramValue );
    What is strange for me is that Crystal Reports enables to use the same parameter in two commands but if you edit one of them you may change the type of this parameter for a command ( for example from Number to String) but the parameter type in the second command remains unchanged ( it's strange because in my opinion it is the same parameter). In the Field Explorer under the Parameter Fields i still see one parameter of type used in the second command.

    Hello all,
    We have prepared some sample code to illustrate the issue.
    We have modified the sample application (Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c07fec3e-3e11-2c10-1991-8c0fb0b82b75]) to that it also changes the parameter value. Parameter is used in two commands saved in report.
    The code changing the parameters value looks like this:
    private static void changeParameters(ReportClientDocument reportClientDoc) throws ReportSDKException {
              DataDefController dataDefController = reportClientDoc.getDataDefController();
            Fields fields = dataDefController.getDataDefinition().getParameterFields();
            for( int i = 0; i < fields.size(); i++ ){
                Field field = (Field)fields.getField( i );
                if( field.getKind() == FieldKind.parameterField ){
                            setParameter( ((ParameterField)field).getName(), "9825" , reportClientDoc);          
    private static void setParameter( String paramName, String paramValue, ReportClientDocument document ) throws ReportSDKException {
         ParameterFieldController paramFieldController =
                    document.getDataDefController().getParameterFieldController();
         paramFieldController.setCurrentValue( "", paramName, paramValue );
    We have tried the following codes to change the connection info used in commands:
    Attempt 1
              Tables tables = databaseController.getDatabase().getTables();
              //Set the datasource for all main report tables.
              for (int i = 0; i < tables.size(); i++) {
                   ITable table = tables.getTable(i);
                   //Keep existing name and alias.
                   table.setName(table.getName());
                   table.setAlias(table.getAlias());
                   //Change connection information properties.
                   IConnectionInfo connectionInfo = table.getConnectionInfo();
                   //Set new table connection property attributes.
                   connectionInfo.setAttributes(propertyBag);
                   //Set database username and password.
                   //NOTE: Even if these the username and password properties don't change when switching databases, the
                   //database password is *not* saved in the report and must be set at runtime if the database is secured. 
                   connectionInfo.setUserName(DBUSERNAME);
                   connectionInfo.setPassword(DBPASSWORD);
                   connectionInfo.setKind(ConnectionInfoKind.SQL);
                   table.setConnectionInfo(connectionInfo);
                   //Update old table in the report with the new table.
                   databaseController.setTableLocation(table, tables.getTable(i));
                   //databaseController.setTableLocation(tables.getTable(i), table);
    Attempt 2
             newConnectionInfo.setAttributes(propertyBag);
             connectionInfo.setUserName(DBUSERNAME);
             connectionInfo.setPassword(DBPASSWORD);
             //preserve subreport links
             SubreportController src = doc.getSubreportController();
             Map<String, SubreportLinks> linkMapper = new HashMap<String,SubreportLinks>();
             for(String subreportName : src.getSubreportNames()){
                 linkMapper.put(subreportName,
                     (SubreportLinks) src.getSubreportLinks(subreportName).clone(true));
             //If this connection needed parameters, we would use this field. 
             Fields<IParameterField> pFields = doc.getDataDefController().getDataDefinition().getParameterFields();
             replaceConnectionInfos(doc.getDatabaseController(), newConnectionInfo, pFields);
             IStrings strs = src.getSubreportNames();
             Iterator<String> it = strs.iterator();
             while (it.hasNext()) {
               String name = it.next();
               ISubreportClientDocument subreport = src.getSubreport(name);
               pFields = subreport.getDataDefController().getDataDefinition().getParameterFields();
               replaceConnectionInfos(subreport.getDatabaseController(), newConnectionInfo, pFields);
             //reconnect subreport links since when using replaceConnection links are erased
             for(String subreportName : src.getSubreportNames())
               src.setSubreportLinks(subreportName, linkMapper.get(subreportName));
    private static void replaceConnectionInfos(DatabaseController aDc, IConnectionInfo aNewConnInfo, Fields<IParameterField> aParameterField) throws ReportSDKException {
             ConnectionInfos cis = aDc.getConnectionInfos(null);
             for (IConnectionInfo oldConnInfo : cis)
               aDc.replaceConnection(oldConnInfo, aNewConnInfo, aParameterField, DBOptions._useDefault
                   + DBOptions._doNotVerifyDB);
    In both cases, the observed problem occurred. In one query the parameter was set properly, while on the other it was set to 0 (or empty string in case of string parameters). What is more, no data appeared on the print.
    Do you happen to know the reason of this issue?How can we fix the problem?
    Best regards
    Mateusz Błaż

  • Creating multiple tab reports using the same query in Web intelligence

    Hi All,
    I have created a Universe on a BW Query which has fields as below
    AGE  Depaatment  Gender  Grade
    25       FIN                M            A
    27       LES               F            A+
    60       SWS            M             A++
    Based on this data i have created a WEbi report which shows all of these data under one tab.
    Now i create a new report tab in the same Webi Document by right cliicking the existing report and going to inset report and saving it.
    Similarly i create two more new report tabs.
    in each of these tabs i want to show data only for the concened departments.ie =1st report contains all the departments.
    2nd report contains only finance data, third contains only Les data  and fourth only SWs Data.
    Is it possible to create this report using the same query?
    Regards,
    Raj.

    You should use report filters, not query filters.
    A query filter will affect the entire document. Every report tab that pulls data from that query will be impacted. If you start with a single report, by default it shows the data from the query. If you duplicate that report tab, then it's still attached to the first query. There are various ways to create report filters (input controls, quick filter, invoking the filter area from the toolbar) and a report filter impacts only blocks on that report tab. You can even create block filters by clicking on the block first, then creating your filter.
    This is a fairly confusing bit for folks that are new to Web Intelligence.

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How can I use two different page orientations in the same document?

    I am trying to have both portrait and landscape page orientations in the same document.  Pages doesn't seem to like this.  Is there a way?

    I tried to comment on another thread about this same issue, but the thread was closed.
    In the other thread; however, some asked why rotating one pages was necessary, and if they knew then maybe there would be reason to create the function.
    Well, I don't know about why anyone else needs it, but for me it's for the papers I have to write for my masters program. The professors like to have the rubric attached to the bottome of the document so they easily grade and keep things organized. They of course give directions on how to easily change the orientation of the last page in Word, but not all of use Word, or even want to use Word. Maybe I need to ditch Pages and go to Word? I'd really hate to do that!
    So, come on Apple, let's get this feature added, stat!

  • My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    Soution: Delete the printer and add the same printer back in, therefore creating a new print queue.

  • How can we use the same package in our report used by some other report

    how can we use the same package in our report used by some other report

    Hi,
    You just need to assign package while saving your report.
    No extra is required providing you are aware of package to be used.

  • Use the same style of type in different documents

    Hello,
    I was exploring the type styles and I get the impression that if you save a style in a particular file you cannot use that saved style in another file, am i correct?
    I have several files and i want to use the same consistent style in all of them, what the best way to do it?
    Thank you!

    You can load both the Paragraph and Character Styles from one AI file into another by using Window>Type>Paragraph Styles. Open your new document and go here

  • When I use Word it hangs up and I have to Force Quit.  The same document that seems corrupt comes up with WOrd.  Any ideas?

    I recently coverted to Lion. When I tried to use Word, the document I loaded hung up andI had to force Quit Word.  Each time I try to open Word now, the same document comes up and I have to force quit. Any ideas?

    You should probably post your question on Microsofts own forums for thei Mac products as its their software you're having issues with:  http://answers.microsoft.com/en-us/mac

  • Using the same top include of a function group inside a report

    I have a function group .
    I want my report to use the top include of the function group.
    Is this possible.How?
    I tried the use the include statement inside report it didnt work...

    TOP INCLUDE of FG starts with FUNCTION-POOL statement, hence you ge the error.
    Solution: create new include to encapsulate your definitions there, then include it in TOP INCLUDE of FG + your program.
    Regards
    Marcin

  • XML to InDesign, multiple versions of the same document

    Hi everyone,
    I have a small project that I need help with.
    I am working on an online survey for a client of mine; which consist of 10 odd pages of questions as well as free text entry on some of the questions. Some of the questions requires number input which then converted into charts (bar graphs etc.) Survey is done as a web app (using .NET and C# and MySQL) and resulting data converted into XML format in order to generate a report based on the answers that the members provide.
    Currently XML data is imported into MSWord and report is generated as .docx file.
    Client is not happy with the presentation of the word so I suggested that we can use InDesign to have a better look/feel of the report, using the same XML structure.
    There are 1000+ members that need to take this survey, which means that report has to be generated for each client individually (different answers, total page numbers, branding and so on.)
    I understand the basics of generating a book from XML to InDesign but I can't figure out how can I apply this workflow into producing 1000+ different copies.
    Do I need to have 1000+ InDesign documents with SAME XML structure but DIFFERENT branding (different heading colours etc.) or is there a way to generate the reports with using a single InDesign template, supplying each member's survey results as a separate XML file and generate the report.
    It would be great to know if the process can be automated such as :
    - Saving all the XML files (Survey answers) in a folder
    - Save all graphs for each client in a separate folder (e.g. /client_name/graphs)
    - Open InDesign and select the XML source file <- This is where I stuck. I can only imagine doing this work for every single member
    - Generate reports (saving as PDF documents)
    I'll be happy to answer if you have any questions or need clarification.
    Any suggestions welcome
    Thanks

    You probably want to look at InDesign's Data Merge feature.
    Unfortunately it won't accept XML directly, so you'll have to convert your XML to CSV or TSV. But that's pretty easy to do.

  • "No connectivity with the server" error for one document but not the other, in the same document library

    We have a number of users all of a sudden getting "No connectivity with the server.  The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE,
    just by clicking the link and selecting the "Read Only" option.  If they select the "Check Out and Edit" option, they can open the document no problem.  One of my customers gets the error on one document but not the other, in
    the same document library!  The older document (a weekly report) was copied and renamed as per standard procedure.  She can read the older document, but not the new one.
    It is definitely a profile issue, as other people have logged onto the machines of the users with problems and do not get the error.  We have also renamed people's c:\user profile folders and the corresponding Profilelist registry entry and the newly
    created profile does not experience the error for these people.  Renaming the profile back restores all their personal settings but the error reappears.  When we copied the old profile's folder structure into the new profile, many of the user settings
    were restored (but not all, like Dreamweaver settings) but the error did not appear.  We think that the system folders files (like AppData) weren't totally copied over so we're going to run another test using xcopy.  We are rebooting between
    logons to make sure all files are unlocked.
    The laptops and computers are mainly 32bit, Win7 Enterprise running IE9 and Office 2010 Professional Plus, but there's a few 64bit machines as well. The SharePoint farm has 1 WFE, 1 App Server running search and CA, and a shared database server running SQL
    2005 SP4.  SharePoint is 64bit MOSS 2007 with the latest CU.
    We've checked the logs on the client as well as on the server and there aren't any helpful entries.  We've also run Process Monitor, also with no helpful entries.  We're planning to run something like Fiddler next.
    It's not everyone, because there are many people are accessing the SharePoint system and the same files.  It is also not a permission thing, as we've tested by giving the users elevated permissions with no changes.  One person experiencing
    the errors is a Site Collection Admin.  That same person ran a test where I coped a simple Excel file into a Document Library which contained a problem file.  They were able to open it Read Only no problems that day, but the next day, the same
    file gave them an error.   In their case, they usually get a "xxx is not checked out" error and only occasionally get the "No connectivity with the server" error.
    We've tried lots of things including:
    Deleting IE cache
    Deleting SharePoint Drafts and webcache folder contents
    Running IE without add-ons
    Upgrading and Downgrading IE
    Uninstalling and re-installing IE
    Reinstalling our SSL certs
    Repairing Office
    Removing and then adding back in the Microsoft Office "Microsoft SharePoint Foundation Support" Office Tool 
    Deleting all HKLM and HKLU Office registry settings
    Toggling IE Compatibility Settings
    Toggling the IE Automatic Logon option
    Toggling the location of checked out files
    Adding the site in the trusted sites list
    Adding the site to the WebClient\Parameters registry locations
    Making sure the WebClient service is started
    Rebooting the machine (lol :)
    This is becoming a serious issue, not just because of the inconvenience for the users having to check out every document they want to read, but we have some files with macros that open up other documents to run which are now failing.  There aren't
    "check out" workarounds for some of those macros.
    We're planning to open a ticket with Microsoft, but I'm throwing it out here first in case someone has run into this before, or may have some suggestions on what to try next.  Thanks!
    -Richard.
    PS  I think this needs to be in the "General" forum instead?

    It took three days of dedicated troubleshooting, but I have found the cause of the errors, and a couple of fixes.  It helped tremendously that my own machine was throwing the error.  I have scheduled a couple of users to work with me to test the
    various fixes, to see which one works best, so the story isn't over yet.
    I had backed up my c:\users profile folder and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key so I could restore my profile after I was done.  I made a copy of the profile folder and was using that for awhile,
    but then made another copy where I had deleted a lot of content out of it so that the copies would go faster.  Since a newly created profile did not have errors, I was trying to copy back as much of the profile as possible to make it easier for our users
    to get back to work.  Instead of blowing away their profile and starting from scratch (which we know worked) I wanted to narrow down what was causing the error and just skip that from the restore.  The concept was to keep as much as the users profile
    in tact (application settings, etc.) not just restoring their desktop and My Documents folders.
    When we first tested a few weeks ago, simply copying the folder contents didn't reproduce the error.  I then tried xcopy, but got the "can't read file" error.  Then I tried robocopy, and ran into the "junction" problem. 
    I went back to xcopy, and found that placing the excludes.txt file in the windows/system32 folder eliminated the error.
    So the process went as follows: 
    Reboot and log into the machine as another user
    Delete the profile and associated registry key
    Reboot and log into the machine as the affected user, creating a new profile, and there is no error
    Reboot and log in as the other user
    xcopy the contents of the skinned-down backed-up profile to the newly created profile
    Reboot and log in as the affected user, and the error occurs
    Repeat the above, but add items in the excludes.txt file to see what, when eliminated, causes the error not to appear in the last step
    I eventually found that skipping the c:\users\<profile folder>\appdata\local\Microsoft\office\14.0 folder allowed the entire profile to be copied over without the error occurring.  That was strange, because we've cleaned out the cache folders
    before which didn't fix the issue. 
    So I went about it the opposite way, and tried to delete the 14.0 folder from the restored profile, and after reboot, the error still occurred.
    What eventually worked was deleting the 14.0 folder and copying over a 14.0 folder from a newly created profile!
    One way to do this was to:
    Reboot and log in as another user
    Rename the c:\users profile folder
    Rename the appropriate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] registry key
    Reboot and log in as the affected user, confirm that there is no error
    Reboot and log in as the other user
    Copy the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder to the other user's desktop
    Delete new profile folder, and rename the backup to be the production folder
    Delete the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder and then paste the 14.0 copy from the desktop
    Reboot and log in as the affected user, confirm that there is no error
    We've tried this on a couple machines and it works.  I had to run Windows Explorer as Administrator to access the other profile's folders.
    We've also successfully copied a 14.0 folder created by one profile on one affected computer over another profile's folder on another computer, eliminating the error, so we're trying that first, as that is fewer steps.
    We may attempt to script this, but the self-help instructions are only 5 lines long:
    Reboot and log into the affected computer with another account
    Go to <link to location of 14.0 folder on network> and copy the 14.0 folder
    Run Windows Explorer as Administrator
    Go to c:\users\<profile folder>\appdata\local\microsoft\office and delete the 14.0 folder, and paste the copied 14.0 folder (trying to overwrite it makes Win7 want to merge the folders)
    Reboot and log into your normal account, and confirm the error is gone
    I'll come back and report after we go into the field with this fix, but after the few tests, I am cautiously optimistic that this is it.

  • EBMS/AS2 Multiple Business Actions with the same document

    We have an issue where we have a single document type (OrderResponse) that will have a different Business Action depending on which partner it is coming from.
    In testing this, we've found that the Business Action we setup in B2B MUST_ have the same name as the Business Action shown in the SOAP envelope of the received message (the user guide DOES NOT mention this AFAIK)
    To make matters worse - the same document is also used by another trading partner with AS2 which has NO SOAP envelope.
    So basically we have these combinations:
    TP# > XMLDocType > eb:CPAId > eb:Service > eb:Action
    TP1 > OrderResponse > OrderCreate > uri:OrderCreate > SendResponseEnd
    TP2 > OrderResponse > OrderCreate > uri:OrderCreate > SendFileResponse
    TP3 > OrderResponse > (n/a) > (n/a) > (n/a)
    Now, in setting up TP1 & TP2, we define 2 Business Actions for SendResponseEnd and SendFileResponse with the DocDefs using Action (no XPath).
    When TP3 comes along, we try setting up another Business Action with XPath. But that causes the first two to fail because it checks XPath first.
    If we could only get around the Business Action name requirement this would not be an issue as we could just define a single DocDef and Business Action for OrderResponse using XPath.
    Can anyone see a way to make this combination work? Does this same problem exist in 11g?
    We are currently on Release 10.1.2, Build B2B_10.1.2.4.0_GENERIC_091027.

    1) Patch 8703410 applied on Wed Nov 25 09:43:24 CST 2009
    [ Base Bug(s): 7652646 7497854 7664370 8708445 7661101 7007789 6352814 6802446 7665607 7641078 6496457 6013963 8330151 7305413 8619657 7460584 7529893 7458954 7020996 8393885 8210401 6329207 6740403 7126458 6511970 8783577 7379065 7230993 8704965 6774631 7198642 8309511 8392729 7661769 7605518 7479148 6733262 8349002 6736026 7322333 7242500 7239355 8746561 8344645 8451004 7645440 6747966 6369424 6737334 8339176 6774134 7046561 6412124 7210461 7506319 8630406 8235175 7258882 7184318 6453359 7456866 7673646 6043277 7457597 6769895 7193710 8239170 7668247 8404955 8612841 7261965 7132740 7485790 6518386 7305363 6852370 6433256 7673431 6764239 8360048 7501748 7379153 8281019 7498031 8216457 7046574 6875312 6754906 6656289 6417367 7658271 7556011 7000190 6979467 8594506 8691820 6852308 8475848 8518443 7600385 7211208 6732051 8524862 7461051 8263026 7609467 7379161 7672714 6353293 7157229 7594997 7211287 7034069 7563311 6822375 6640935 7359202 6769261 6919593 8601869 6029507 6974391 7139013 7518641 8605719 6817264 7501903 7496014 7576785 8666761 7130151 7322581 5523563 7680097 8508905 7241737 7660780 8480395 7660781 7191994 6924921 7672723 8432093 6800745 8703404 8540335 8507242 8608121 8217566 7481317 6639030 6200414 7529795 7354853 8475867 7376270 7303860 7016005 7678901 7368610 8992520 6881977 6016128 7033061 6397084 7672730 8703410 7709562 6449656 7045589 8508054 6491068 7378745 7643811 7435853 7615836 8707416 6447557 7379042 6940476 7670634 6950383 6764273 6962327 7478322 8546454 7157324 8871403 8862082 7184219 7672744 7164618 7672745 7230184 7576730 7590301 8746541 7261863 8327427 6769430 8295683 7526186 8298731 6414280 6139955 6646997 7692853 8233048 6794296 7457066 8552373 8225241 7706387 7204022  ]

Maybe you are looking for

  • 1:N split using BPM - ReceiverDetermination step

    Hi, I am trying the following blog to split message using BPM. /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure Branch 1: A Receiver Determination step returns set

  • TCONV_ADR?

    Hello All: How are the contents in TCONV_ADR table created? Customizing, program? I couldn't find where or how the entries get created. The table seems to link the vendor/customer addresses thro central address management. After a recent support pack

  • Not reading MRM DVD-R; why?

    Dear Common Wisdom: Why wouldn't my MacBook Pro read a MRM DVD-r? Any ideas? Thanks, Kostas

  • ADF 10.1.3.2 How to change f:facet name = "branding" properties.

    Hi, I am using ADF BC JSF project developed using JDeveloper 10.1.3.2 I have a menu placed on the facet name = "branding". It looks fine in chrome but in firefox and IE it stacks vertically. Is there any ways I can change the properties of facets. Wh

  • Multiple country of origin

    HI Gurus client have some parts that can be procured from different countris. for eg: material A can be procured from india, chaina, US. in material master i can only maintain one country of origin eg only us or only china, only us. lets say that in