Retrieving a message id
Hello
I am planning to retreive message id into my mappings program.I used a simple Java Function for the same.My code looks like
*******************code**********************
java.util.Map = container.getTransformationParameters();
String mid = (String) map.get ( StreamTransformationConstants.MESSAGE_ID);
return mid;
*********************end code******************
When tested from test tool it shows null value for the target field.
I tried using GlobalContainer method globalContainer.getParameters() but the same result.
Does anyone knows the reason for the same?
Thanks in advance
Regards
Rajeev
Hi,
you cannot use messge_id (and many other String Mapping Runtime Constants) in the <b>Test Tool</b>
try using the your function but with sending the message
then it'll work
BTW
the probable reason for this is that XI doesn't generate messageID for messages tested in the Test tool
the same goes for Runtime Constants like interface_name - many interfaces can use the same mapping
so it's rather impossible to determine just one
BTW2
If you're using Runtime Constants with BPM then it's not as easy as without BPM
but if you don't have BPM then you shouldn't have any problems
Regards,
michal
Message was edited by: Michal Krawczyk
Similar Messages
-
[4/15/14 edit #3] I posted the requested troubleshooting information and made a backup of Profiles using MozBackup, so my remaining problem is the presence of two Inboxes, both receiving messages, and my not being sure which one can safely be deleted nor how to safely delete it.
[4/14/14 edit #2] T'bird's Help taught me where my "Profiles" are stored but I found I had no backup of them. However, I now discover that I have TWO Inboxes - hadn't noticed that quirk before. Thankfully, one of them still contains all of my old messages! The Inbox that still has all of my old mail is listed as a subfolder under "Local Folders" and the Inbox that I thought was my only Inbox is listed as a subfolder under the top folder whose name is my email address. Both Inboxes are now retrieving my new mail. Does this mean I have somehow created two accounts? If so, how do I get rid of the account that uses the Inbox that does not have all my old mail in it? I don't want to get rid of the wrong account but I suspect the "right" one should be listed under my email address, not under "Local Folders". If anyone understands this mess that I've created, I'd really appreciate some advice so I don't make things worse. At least I've now learned what it is that I need to back up.
[4/14/14 edit #1] Following is a major update of the problem I described before (see below). I disabled the Mail Shield portion of my Free Avast antivirus software and discovered that TB was again able to retrieve my email. Then I re-enabled Avast to see if it blocked TB again. It did not. So, apparently simply turning Avast's Mail Shield off and then back on again seems to have fixed the problem. However, I'm now left with the consequences of my having tried to "reset" TB as I described below, namely the loss of a very large number of emails that were stored in my Inbox. So the remaining problem I'd like help with is how to recover those seemingly lost emails. If they remain on my hard drive, where did TB store them and what specific files should I look for? I do have a backup of some of my hard drive (but nothing under Program Files), but I need to know how to identify them, where to look, and how to get them back into my Inbox without deleting its current contents. I'd really like to also retain their original dates, if possible. I'm running 64-bit Windows 8.1. [end of 4/14/14 edit]
TB suddenly stopped downloading my mail today. After I click Get Mail, I can see at the bottom of the screen a very rapid succession of messages; first the "connected..." message, then "checking...", then "downloading 1 of 10...", then finally, "No messages to download" after downloading absolutely none of them. I also noticed that my list of mailboxes was missing the very first entry that showed my email address as the account name. Figuring something major must have been changed in my account configuration, I went through all the settings but saw no problems. Finally, I decided to try to re-establish my same account. That did place my email address again back at the top of the mailbox listings as my working account name but it also created a worse problem. There were now no messages in my inbox, I suppose because I must have created a new account using the same name as the old one, whereas before there were thousands of messages that I had saved for many years (since this is a business). Then when I clicked Get Mail, TB downloaded 383 messages that had not yet been deleted from the server, giving then all today's date (another loss since their original dates were important). But after it finished downloading all of them, clicking Get Mail still does not retrieve any messages past the time that it stopped retrieving them earlier today. Those newest messages remain on the server - but now there are 14 of them instead of 10. The same succession of TB messages appears at the bottom of the screen, but now it says "Downloading 1 of 14..." but still downloads none of them and ends with, "No messages to download". This sequence of messages will repeat as often as I try to retrieve mail but it can still count how many it is NOT downloading. Two questions: (1) Are the thousands of messages that were stored in my Inbox still stored somewhere on my computer and is there any way to recover them? (2) How can I get TB to start retrieving my current email again? I guess it's obvious that these are important problems to me and that I'm totally stumped. Many thanks in advance.Sorry. Here is the Troubleshooting Info:
Application Basics
Name: Thunderbird
Version: 24.4.0
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
Profile Folder: C:\Users\Phil\AppData\Roaming\Thunderbird\Profiles\p8gz2q23.default
(Local drive)
Application Build ID: 20140316131045
Enabled Plugins: about:plugins
Build Configuration: about:buildconfig
Crash Reports: about:crashes
Memory Use: about:memory
Mail and News Accounts
account1:
INCOMING: account1, Local Folders, (none) Local Folders, plain, passwordCleartext
account2:
INCOMING: account2, [email protected], (pop3) pop.att.yahoo.com:995, SSL, passwordCleartext
OUTGOING: smtp.att.yahoo.com:465, SSL, passwordCleartext, true
OUTGOING: smtp.att.yahoo.com:465, SSL, passwordCleartext, false
account5:
INCOMING: account5, [email protected], (pop3) inbound.att.net:995, SSL, passwordCleartext
OUTGOING: outbound.att.net:465, SSL, passwordCleartext, true
Extensions
Check for Updates in Help Menu, 1.1, true, [email protected]
CompactHeader, 2.0.8, true, {58D4392A-842E-11DE-B51A-C7B855D89593}
Remove Duplicate Messages (Alternate), 0.3.9, true, {a300a000-5e21-4ee0-a115-9ec8f4eaa92b}
ViewAbout, 2.0.1, true, [email protected]
Extra Folder Columns, 1.1.5, false, extra-cols@jminta_gmail.com
Important Modified Preferences
Name: Value
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.disk.smart_size_cached_value: 358400
extensions.lastAppVersion: 24.4.0
mail.openMessageBehavior.version: 1
mail.winsearch.firstRunDone: true
mailnews.database.global.datastore.id: 9bbfa749-eb91-4c2e-9a9a-d0e0146e393
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1397067237
places.history.expiration.transient_current_max_pages: 52770
places.history.expiration.transient_optimal_database_size: 85415034
plugin.importedState: true
privacy.donottrackheader.enabled: true
Graphics
Adapter Description: Intel(R) G45/G43 Express Chipset (Microsoft Corporation - WDDM 1.1)
Vendor ID: 0x8086
Device ID: 0x2e22
Adapter RAM: Unknown
Adapter Drivers: igdumd64 igd10umd64 igdumd32 igd10umd32
Driver Version: 8.15.10.2702
Driver Date: 3-11-2013
Direct2D Enabled: false
DirectWrite Enabled: false (6.3.9600.16384)
ClearType Parameters: Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 100
WebGL Renderer: false
GPU Accelerated Windows: 0
AzureCanvasBackend: skia
AzureFallbackCanvasBackend: cairo
AzureContentBackend: none
JavaScript
Incremental GC: 1
Accessibility
Activated: 0
Prevent Accessibility: 0
Library Versions
Expected minimum version
Version in use
NSPR
4.10.2
4.10.2
NSS
3.15.4 Basic ECC
3.15.4 Basic ECC
NSS Util
3.15.4
3.15.4
NSS SSL
3.15.4 Basic ECC
3.15.4 Basic ECC
NSS S/MIME
3.15.4 Basic ECC
3.15.4 Basic ECC
ISP is AT&T, anti-virus is (free) Avast, Windows firewall -
I initially tried to do this at 11:39pm last night. I cleaned up my apps, backed up to my computer and then took the plunge. It downloaded fine, everything went ok until I tried to restore backup. I received a message that there was an error in iTunes and iPhone could not be restored. I tried this three times giving up at 2:00 am. I tried again at 7:30am. No fix. Now I can open up phone and browse in safari. I can get notifications that a text was received or a phone message left but I can't receive or make phone calls, retrieve phone messages, or access any text features. Also I have NO purchased apps. I use my phone got work and this has ruined my day - please help!!
I would start with going to O2 with the phone and making sure it's set up properly - maybe the SIM they gave you isn't quite right or their network isn't acknowleding it like it should.
Seeing as you've tried restoring to factory settings and resetting network settings, I'm assuming you've tried restoring the phone as new, just to see if that helped at all. If that didn't help, you definitely need to get in touch with O2 and work things out with them.
~Lyssa -
Error while extracting values from SOAP Body using XPath (Retrieve from Message filter)
Hi,
I am using 'Retrieve from Message' filter to extract element value from the following SOAP response envelope:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:math="http://example.com/math.xsd">
<soapenv:Header/>
<soapenv:Body>
<math:DivideResponse>
<iResult>10</iResult>
</math:DivideResponse>
</soapenv:Body>
</soapenv:Envelope>
I am using the XPath expression - /soapenv:Envelope/soapenv:Body/math:AddResponse/iResult
soapenv = http://example.com/math.xsd
math = http://schemas.xmlsoap.org/soap/envelope/
ERROR
4/19/15, 19:29:03.016
Empty attribute retrieved from message via XPath
ERROR
4/19/15, 19:29:03.016
The message [Id-59643455b76a00000000000045edd6a6] logged Failure at 04.19.2015 19:29:03,015 with log description: Failed to extract attributes via XPath
ERROR
4/19/15, 19:29:03.017
Retrieve math result from SOAP response
Could you please help me resolve it?
Thanks,
Aneesh.Hi Aneesh,
XPath Expression: /soapenv:Envelope/soapenv:Body/math:DivideResponse/iResult
You are using AddResponse in your XPath there is no element named like that.
Cheers,
Stefan -
Retrieve the message put in message header using variable substitution
hi,
i am using dynamic configuration to put some information in the message header.is it possible to retrieve the message using variable substitution and if it is possible then how it be done using variable substitution.
regards,
MeenakshiVariable Substitution does not allow you to read all the messaeg header elements only some of them can be read/ access....for more info on how to read the message header elements refer: /people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean
From the above blog:
When using Variable Substitution, only certain standard message header attributes can be used/accessed (e.g. sender_party,
sender_service, receiver_party, receiver_service, interface_name, interface_namespace, message_id)
Better use Dynamic Configuration to read the parameters.
I am wondering why you need to read the message header parameters when you are putting them using Dynamic Configuration.....cant you just get the details from the dynamic configuration UDF itself?
Regards,
Abhishek.
Edited by: abhishek salvi on Dec 10, 2009 1:18 PM -
How to store and retrieve XML messages in AQ using ESB/ BPE
Hello,
I am having a requirement which I feel should be fairly common - store and retrieve XML messages in AQ. However, I am struggling to decide which type of queue to use AQ or JMS...Here is the requirement
1. In an ESB, I want to read different kind of files using file adapter. Different kind as in, having different structure or schema
2. I want to create a queue that is capable of storing any kind of xml data. To this queue, I want to enqueue the message read in step 1.
3. In another process, say a BPEL, I want to dequeue the message and write into a file. The filename is retrieved from one of the header properties. I want to dequeue using a stored procedure, not by using a JMS or AQ Adapter (reason being that these adapters poll the queue, and consume a message immediately. However, I want to consume the message only when there is a business need)
My questions are:
1. What kind of queue I should create in the DB (What should be its payload type...XMLType? )... I guess the answer would also determine the adapter to be used - JMS or AQ
2. How I should map the xml data read from the file in step 1 to this adapter
Any help is highly appreciated.You are right in suggesting that I dont need to store my XML data as xml in the DB...I dont want to too :) but its just that, thats the only option I can see at this time (the other track i am exploring is :
File adapter(XML) -> Convert to opaque (base64binary) -> Enqueue opaque to JMS (aq$_jms_bytes_message) ->Dequeue Opaque -> Write file opaquely.
In this I have hit the roadblock in trying to convert XML to base64binary...maybe some custom java function is needed...anyway)
Coming back to this thread, where I am trying the following
File adapter(XML) -> Enqueue as XML to queue ->Dequeue XML -> Write file opaquely.
PS: I think its important for me to mention that I am using SOA 10.1.3.1.0
I tried the steps you gave...after creating the queue, I am trying to create a JMS adapter. But the queue I created doesnt show up in the browse window of destinations for the JMS Adapter..That had led me to infer that JMS adapter cant be used
{color:#99cc00}CREATE OR REPLACE TYPE batchupdate_row_type AS OBJECT
(update_queue_id NUMBER
,upc VARCHAR2(20)
,price1 NUMBER);
{color}
{color:#99cc00}CREATE OR REPLACE TYPE batchupdate_rec_type AS VARRAY(9999999) OF batchupdate_row_type;
CREATE OR REPLACE TYPE payload_type AS OBJECT ( payload batchupdate_rec_type);
EXECUTE DBMS_AQADM.CREATE_QUEUE_TABLE ( queue_table => 'jmsuser.batch_update_queue_table', queue_payload_type => 'payload_type');
EXECUTE DBMS_AQADM.CREATE_QUEUE ( queue_name => 'batch_update_queue', queue_table => 'jmsuser.batch_update_queue_table');
EXECUTE DBMS_AQADM.START_QUEUE ( queue_name => 'batch_update_queue'); {color}
I also needed some opinion on whether the last step of my proposed solution ( Dequeue XML -> Write file opaquely) is possible. As I want to develop a service oblivious of the structure of the file, I dont want to create a file adapter based on a particular xsd...so I want to write whatever xml I am getting from the queue....is this step possible -
Mail keeps retrieving old messages
I was wondering if there is a way to set up mail where it stops getting old messages. I am trying to clear up my mailbox but every time I do it retrieves old messages from the server and then I have to clear those out. In addition, the old messages that are added come up as unread so my unread message number indicator on the icon is always high. I want to be able to have a lot of messages in my inbox but I just wish it would stop getting old messages unless i tell it to. Does anyone else have troubles with this?
Just a curiosity...
POP3 and imap have implemented a 'last' feature. This is a value that represents the last message that the client (iPad mail) has seen from that server.
Sometimes the versions are funky and this 'last' is not implemented or not compatible.
Since this is an old feature (5 years as I remember) most sendmail servers support it. But, well versions and opinions being as they are some people don't use industry standard products and muck up features.
THis isnt all that helpful in solving the issue. But may be useful in diagnosing it. -
Need help to retrieve the message from MQ using get operation
Hi
Used MQ adapter to Post a message to queue.
And used Received activity in bpel to retrieve the message using MQ adapter from same queue(used get operation) , got an error message as timed
out exception.
Could some one assist in retrieving the message from MQ using get operation.
Regards
RajaHi Raja,
Is the process a empty bpel process which is used to get the message from the MQ?
Regards
Surya -
Code to Retrieve the message from Queue in Oracle BPEL
Actually I am placing the Message into JMS Queue using JMS Adapter.After Placing the message,I need to retrieve the placed message from same queue.
Right now I am using the Receive Activity and the JMS Adapter to retrieve the message from Queue.But my receive activity is always in the waiting state itself and I am not able to retrieve the message from queue.What might be the issue????
Can anybody give me a better suggestion so that I can go ahead??
Thanks in advance for your help.Hi Raja,
Is the process a empty bpel process which is used to get the message from the MQ?
Regards
Surya -
DI API - Retrieve specific message object when you already have the code?
The MessagesService object lets you retrieve a message using the message header. It also lets you retrieve a list of message headers from the inbox or sent mail.
Unfortunately, I don't see any way to create a single message header if I already know the code. The MessageHeaders collection has an Add method for a single MessageHeader but there does not appear to be a public constructor for the MessageHeader object.
Trying to create a new message header like
oMsgHeader = new MessageHeader();
or
oMsgHeader = new MessageHeaderClass();
both compile but cause a COM exception when actually executed.
So, other than retrieving all of the message headers and finding the message I want is there any way to retrieve a specific message when the key (Code) is known?Dear William Faulk,
My previous reply is not accurate. The MessageHeader can initialized by Inbox our Outbox but can not to initialize a single message header individually by now.
So the code will as follows
For i = 0 To oUserInbox.Count - 1
oMessageHeader = oUserInbox.Item(i)
If oMessageHeader.Code = "myKey" Then
oMessage = oMessageService.GetMessage(oMessageHeader)
End If
Next
Best Regards
Jane Jing
SAP Business One Forum team -
How to retrieve error message(s) after failed web service call
Hi!
I tried to create an item using the web service ego_item_pub.process_item and it worked ok (version 12.1.1). Sending the same request again, I got an error which should be ok since the item id already exists. The thing is, that I only get an "E" as return status:
<X_RETURN_STATUS>E</X_RETURN_STATUS>
<X_MSG_COUNT>1</X_MSG_COUNT>
As described in the integration repository, there should be a parameter called msg_data which should contain the message if there is exactly 1 message, but I cannot find it.
So, I tried to get the message using fnd_message.get, but the response of my web service call is:
AuthorizationFailure : User not authorized to execute service. (I use sysadmin/sysadmin as ws security user).
I use the following grant details:
All Users Direct GLOBAL Revoke Action Enabled
SYSADMIN SYSADMIN Direct USER
What else can I do or how can I retrieve error messages for a failed web service call?
Thanks a lot,
KonradHi Konrad,
As we've found out, search the Integration Repository for internal name ERROR_HANDLER and use that. Letting the general public know the answer for this one!
Regards,
Gareth
http://garethroberts.blogspot.com -
Retrieve deleted messages in SXI_MONITOR
I'm trying to access some old messages from sxi_monitor. i have the message ID for reference. i saw the message in the SXMSPHIST table in se16 but with a REORG status of DEL. Is there a way to retrieve this message to view the audit log?
Thank you.
Im using SAP PI 7.1 sp 08Hi Ronald,
We can retrieve archived messages but its not possible to retrieve deleted messages. In future if you want to solve this issue you can change retention period, in SXMB_ADM you can extend retention period according to your requirement.
Normally retention period will be more in adapter engine compared to integration engine, check in AE message monitoring with your message id once.
Regards,
Neelima. -
The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home on my wi Fi is the only time it works correct. Bill. [email protected] 708 752 3667
http://lifehacker.com/5852948/what-to-do-if-youve-forgotten-your-iphones-passcod e
-
HT1349 how do I retrieve a message that is in power point ?
how do i retrieve a message in powerpoint on my e mail?
Have you sync the ringtones to your phone?
if you have then you can select the tone under settings - sound. -
HT3529 Retrieving old messages
Does anyone know how to retrieve old messages if possible?
Hi Sushama,
I think your question has been answerd....just to add few things....
ABAP tables: You can access these tables by SE11 or SE16 in PI ...from here you can retrieve old Msg IDs..
SXMSPMAST -> XI Messages - Master
SXMSPHIST -> XI Messages - Master History table
SXMSPEMAS -> Integration Engine: Enhanced Message Queue (Master)
SXMSPVERS -> Integration Engine: Message Version
SXMSPERROR -> XML Message Broker: Message Queue (Incorrect Entries)
SXMSCLUP -> Property Cluster
SXMSCLUR -> Resources Cluster
Java tables: You cant access these tables
XI_AF_MSG -> AF XI Message
XI_AF_MSG_AUDIT -> audit log entries
BC_MSG -> AF PI 7.1 Message
BC_MSG_AUDIT -> PI 7.1 audit log entries (**)
Regds,
Pinangshuk. -
Hi Experts,
Is there any way we can retrieve old message Ids in XI. What's the criteria that XI archieves the messages??
Does it depend upon certain period of time or it depends upon the flow of messages? Are they archieved or they are permanently deleted from the database?
Is there any way, we can retrieve those messages?
Please suggest.
Regards,
sushamaHi Sushama,
I think your question has been answerd....just to add few things....
ABAP tables: You can access these tables by SE11 or SE16 in PI ...from here you can retrieve old Msg IDs..
SXMSPMAST -> XI Messages - Master
SXMSPHIST -> XI Messages - Master History table
SXMSPEMAS -> Integration Engine: Enhanced Message Queue (Master)
SXMSPVERS -> Integration Engine: Message Version
SXMSPERROR -> XML Message Broker: Message Queue (Incorrect Entries)
SXMSCLUP -> Property Cluster
SXMSCLUR -> Resources Cluster
Java tables: You cant access these tables
XI_AF_MSG -> AF XI Message
XI_AF_MSG_AUDIT -> audit log entries
BC_MSG -> AF PI 7.1 Message
BC_MSG_AUDIT -> PI 7.1 audit log entries (**)
Regds,
Pinangshuk.
Maybe you are looking for
-
Someone please tell the solution . Is it a hardware issue or os
-
Hi im new to oracle and im having trouble in connecting oracle 10g XE with asp.net2005 and im using windows 2003 server.i installed the odt.net tools and every thing looked well untill i tried to connect with database using connect to oracle in asp.n
-
Where do the properties save to?
When System.setProperty() got called, which file actually contains the information? and where?(normally) Cheers,
-
plz help me, I want Date in simple format as dd/mm/yyyy. I am retrieving date from database (oracle) and now i want to convert that date to simple "dd/mm/yyyy" e.g : date_from_oracle=Wed Feb 01 09:10:59 GMT+05:30 1950 converted_date=1/2/1950 (and thi
-
No puedo Actualizar GoLive 8.0 a 8.0.1
Hola a todos.... Tengo un problemilla y ojalá me puedan ayudar. Resulta que tengo toda la Creative Suite 2 instalada, y vía Adobe Update Manager he actualizado todos sus componentes (Photoshop, Illustrator, InDesign, Bridge y Acrobat) con éxito, exce