Blazeds messaging header problem
I have been using blazeds messaging for several weeks now it
thought it was working fine. But somehow it's losing information
now.
Here is some of the code I've been using to create the
message:
var message:IMessage = new AsyncMessage();
var arc:ArrayCollection = chartList.getChartList();
trace(" send chartLIST len ", arc.length);
message.headers["charts"] = arc;
reportManager.send(message);
The trace shows that the charlist has 3 elements when sent.
But in the java method which receives the code it comes up
with a list of size zero:
public Object invoke(Message message) {
Map info = message.getHeaders();
ArrayList chartList = (ArrayList)info.get("charts");
System.out.println(" CHART LIST Size: "+chartList.size());
// more code below to delete chart...
The ArrayCollection to ArrayList works in other parts of the
code. I have no idea why it's failing at this point and again this
code was working before.
Ok, so well no one responded...In case anyone in the future
stumbles into this problem, I think I've found out the problem.
Since I was deleting this info, I was sending the delete
request to my java code (which read the array of ChartObjects and
deleted each one using the name of the chart to delete it from the
database) and then immediately afterwards, I was deleting the same
data structures in my flex code.
Apparently Flex doesn't copy the data and send it, but sends
the actual data or a reference to it. So even though my lines to
remove the data were after the database delete request, by the time
the database deletion got executed in the system, the data had been
erased by flex. It seems like Flex does not handle events in
sequential order as it is written in the code. I've run into this
in other places with messaging and flex. So I'll just have to
rewrite the logic to take into account this behavior.
Similar Messages
-
Is anyone having trouble with the message header formatting on iMail?
The "To" and "From" fields appear to be laying ontop of the information on the content field directly below.
Is there a patch? Or do I need to reinstall Tiger?
Is this glitch due to my have an Intel iMac?
Outside of this I simply love this machine.
Thanks!Actually I fixed the problem this morning. For some reason uploading all those fonts actually disabled Helvetica. When I enabled Helvetica, it fixed the Message Header problem, but some the message text got garbled. I then went into the Helvetica family and disabled Helvetica Fractions. Now every thing is back to normal.
I'm not which OSX needs but quite a few applications I have run into now look and work a lot better since Helvetica was enabled. -
Blank messages in Apple Mail, only message header seen
Blank messages in Apple Mail, only message header seen.
But not all messages.. and not for mails from apple domain.
I am using,
1. OS X 10.6.8
2. Mail Version 4.6 (1085)
Tried all suggestions available in the web.
Did not help..
Any solution, thanks in advance.Nevermind, the problem fixed itself. I don't know what happened; I think I restarted my computer, and the problem was gone. Nevermind!
-
Envelope missing in SOAP message header (SAP XI Extension)
I have scenario where in I am sending a file from XI to PCK. BUt i am getting a following error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="PARSER">ITEM_MISSING</SAP:Code>
<SAP:P1>Envelope</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I am enclosing the file i am trying to send.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:CFP_SENDER_MT xmlns:ns0="HTTP://PCKXI.WORLDBANK.ORG">
- <SEND>
<TF_Number>12</TF_Number>
<TF_Desc>1212</TF_Desc>
</SEND>
</ns0:CFP_SENDER_MT>
Can somebody please enlighten me about this error? Points would be rewarded immediately
Regards,
ManishDear Manish,
quite often the reason for this kind of error
is the fact that the receiver of the XI message is
returning a http response to the Integration Server.
As of XI3.0 SP21 / PI7.0 SP13 this response
is also properly parsed and visible in the error
header of the XI message.
For almost all prior support package levels an
advanced correction is available as per OSS note:
1064346 Improved error output for connection problems
Please check whether this applies to your system.
If so, you will see detailed information on the error
in the error header object of the XI message as soon
as this issue re-occurs.
Best Regards,
Harald Keimer
XI Development Support
SAP AG, Walldorf -
Exchange 2007 - content-language in message header
Exchange 2007
The Regional Settings on client computer is set to Bulgarian (Formats/Location/non Unicode/System Account)
The Regional Settings in Outlook Web Access for user1 is set to Bulgarian.
On the exchange server, the language of mailbox of user1 is set to Bulgarian with powershell command
Set-Mailbox -Identity "user1" -Languages "bg-BG"
And the check shows
[PS] C:\Windows\system32>$Mailbox = Get-Mailbox -Identity "user1"
[PS] C:\Windows\system32>$mailbox.languages
LCID Name DisplayName
1026 bg-BG Bulgarian (Bulgaria)
If user1 sends a new message using Outlook, the message header contains:
Accept-Language: bg-BG, en-US
Content-Language: en-US
But if user1 sends a new message to same recepient using Outlook Web Access, the message header contains:
Accept-Language: bg-BG, en-US
Content-Language: bg-BG
The recepient uses some Blackberry smartphone.
The problem comes with cyrrilic text in the message:
If the messaqge is sent using OWA, the recepient can visualize and read cyrillic text.
But if the message is sent from Outlook, the recepient see symbols "????...?" instead cyrillic text
Is there a way when use Outlook the message header to be
Content-Language: bg-BG
This problem with incorrect cyrrilic text can be observed only on this Blackberry smartphone. There are not any problems if recepient uses computer with correct regional settings and various mail clientsHi,
Have you resolved this issue?
If there is any update, please feel free to post here for further research.
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
Message Header value is not written to DynamicConfiguration
Hi Forum,
I have a scenario on a PI 7.11 SP06, where a SOAP message is sent via HTTP to a SAP WAS Java.
The response contains in header a parameter"set-cookie" which has to be written in dynamic configuration.
For example: Set-Cookie: JSESSIONID=DF4D3F35636D8E3549490B678SAP9403229; Path=/
Therefore, i use SOAP adapter with axis extension, but the "set-cookie" content is not written to dynamicconfiguration.
Here is my axis adapter configuration. Do you see something wrong here?
**Processing Sequence**
1 AF_Adapters/axis/AFAdapterBean afreq
2 AF_Adapters/axis/HandlerBean xireq----------------------O/B Handler
3 AF_Adapters/axis/HandlerBean trp--------------------------- HTTPSender
4 AF_Adapters/axis/HandlerBean dcres----------------------This is for Dynamic Configuration (read)
5 AF_Adapters/axis/HandlerBean xires------------------------O/BHandler
6 AF_Adapters/axis/AFAdapterBean afres
**Module Configuration**
dcres handler.type java:com.sap.aii.axis.xi.XI30DynamicConfigurationHandler
dcres key.1 read http://sap.com/xi/XI/System/HTTP SetCookie
dcres location.1 header
dcres value.1 set-cookie
trp handler.type java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
trp module.pivot true
xireq handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler
xires handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler
I followed the [How To Guide|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f] which is unfortunately for 7.0.
Also i tried with "set-cookie" and "Set-Cookie" without success. I have written a small java test which is accessing
this service and I can see parameter "set-cookie" in the header. So with small letters should be okay.
I have also read this very similar [sdn thread|DynamicConfiguration to Message Header;.
Tests with writing constants to dynamicconfiguration works without any problem.
I'm not sure if i have the correct handler classes. Is there any documentation about the handlers?
Any help is very appreciated.
Thanks in forward and best regards,
SigiHi all,
thanks for response.
I'm aware of these functions so I tried the test to create a dummy entry in header and read it from there.
So first i used which wrote constant to ASMA
dcres1 key.1 insert http://sap.com/xi/XI/System/HTTP dummy
dcres1 value.1 12345
Then I used write to move that constant from ASMA to header
dcres2 key.1 write http://sap.com/xi/XI/System/HTTP dummy
dcres2 location.1 header
dcres2 value.1 dummy
Finally i used read on that dummy value, creating a new entry in ASMA based upon that dummy entry
dcres3 key.1 read http://sap.com/xi/XI/System/HTTP SetCookie
dcres3 location.1 header
dcres3 value.1 dummy
So the "read" entry is correct in my origin settings. So now I know that the "set-cookie" header parameter from Java WAS response is not passed through SOAP Axis adapter.
Does anybody know if there are settings which have to be changed in system? Or is that a design as usual, that the set-cookie parameter is not passed to SOAP AXIS HTTP-header params?
Thanks in forward and best regards,
Sigi
Edited by: Siegfried Ertl on Apr 13, 2011 3:06 PM -
Any way to keep faxing/scanning after "Print-head problem"??
We've got a "Print-head has problem" message. Ordered new print-head (before seeing another poster's message saying "I did that twice and it didn't help!) but it won't arrive for several days. Meanwhile we'd love to still be able to use this alleged "all in one" to scan and fax.
Problem is, there doesn't seem to be a way to escape from the "print-head problem" message--none of the "cancel" or fax buttons will work. Cycling the power just recovers the same message again, and otherwise locked up.
I'm hoping some old hand at HP may actually read this and know the magic fix.
So the question: Is there any way to keep using the 7780's fax and/or scan functions after getting a "print-head has problem" message?
BTW, we've had several problems with the 7780 in the 3 years we've had it. Had to send one back, and the auto-feeder has been hit-and-miss. But we've been able to work thru the problems with HP support--though certainly at a high cost in our time. Then with the problems getting a new Windoze-7 computer to work with it (certainly not entirely HP's fault but your customers could have used some better planning for the thing), we're starting to look at other manufacturers.
If any HP managers or execs ever read these boards, you might keep in mind that a reputation, once lost, is extremely hard to recover.
In any event, any help greatly appreciated. Thanks.Hey Kappy, While my network is the only one in my preferred list, it's not the only one that the airport "sees". When I click on the wireless signal strength icon in the upper right part of the menu, when connected to my network, it says at the top of the pop up list "Airport: Scanning". It then lists about 10 wireless networks that are in range.
What I want it to do is stop "scanning" for other networks and simply lock on to my network once connection has been established. Is there a way to do this do you know? Thanks, Dan -
Retrieving the Message Header In Asyn Scenario With Sender As Client Proxy
Hi All,
I have a asynchronous scenario (XI to SOAP),where on the sender side Client Proxy is being triggered by an ABAP Report.
My problem is,that as the Proxy is in Sender Side I am not able to get the Message Header (i.e. the Standard Header Structure for Proxy Scenarios which I need to send as an input for creating Alerts).
This message header is automatically populated when I fill it up via message mapping in case of Server Proxy...But for Client Proxy(Async Case)...I am not able to make out......
The Structure Is:
SYSTEM_OF_ORIGIN
SENDER_INTERFACE
SENDER_NAMESPACE
MESSAGE_ID
SENDER_SERVICE
RECEIVER_INTERFACE
RECEIVER_NAMESPACE
RECEIVER_SERVICE
PROCESS_AREA
How can this message header be automatically retrived in the ABAP Code ????
Please help!!!!!!
Regards,
SriparnaHi,
plz find all header variables, explanations and examples at [SAP help: Querying the XI Message Header|http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm]
Regards,
Udo
Edited by: Udo Martens on Jul 20, 2010 12:35 PM -
Search-Mailbox for Message Header Content in Management Shell
Can I use the search-mailbox command to search for message header content?
The reason I ask is because I need to search for any emails that came in to an email alias address.
I am searching a journaling mailbox.
Normally, I would do soemthing like...
Search-Mailbox -Identity "journalbox" -SearchQuery '"To: [email protected]"' -TargetMailbox "exportbox" -TargetFolder "exported_messages"
The problem is, because I'm looking to find the emails coming to [email protected], when the messages are journaled they appear as "To: [email protected]" in the journaled envelop message.
In this scenario if I could simply search header content for the email ([email protected]) that would accomplish what I need.Hi,
We can use the Search-Mailbox cmdlet to search messages in a specified mailbox and perform any of the following tasks:
Copy messages to a specified target mailbox.
Delete messages from the source mailbox.
Copy messages from the source mailbox and delete them from the target mailbox.
Perform single item recovery to recover items from a user's Recoverable Items folder.
Clean up the Recoverable Items folder for a mailbox when it has reached the Recoverable Items hard quota.
To search for message header content, we can use Get-MessageTrackingLog cmdlet.
Here is an article for reference:
http://exchangeserverpro.com/exchange-2010-message-tracking-log-search-powershell/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Best Regards. -
Hi All,
We want to pass SOAP header to a service call (Service Task), however not able to assign (Data associations) any variable to header.
Can we use Message Header property? I could nt find any documentation on this. We tried to use this, however the dialog box shows empty (no variable is shown)
Regards,
ARPLNever mind; this is the same problem as in this post, and as before, rebuilding the index solved it.
1) Quit Mail.
2) Go to ~/Library/Mail and delete the "Envelope Index" file.
3) Re-start Mail and let it re-import all your messages. -
#5.3.4 message header size exceeds limit
Hi !
We are getting this bounce error message from our customers trying to send emails to our newly built C370 Ironport box.
Here is the error message;
"The following message to [email protected] was undeliverable.
The reason for the problem:
5.3.0 - Other mail system problem 552 - '#5.3.4 message header size exceeds limit'"
Hope is Delivery Satus Notification will help to identify what the problem is about.
Appreciate your kind response on how to fix this issue.
Best Regards,
RuveniHi Ruveni,
Please check our following knowledge base article which explains this error and provide solution for it.
Message Bounces with "552 #5.3.4 message header size exceeds limit"
http://tinyurl.com/2yw579
Hope this helps!
Regards,
Viquar
Customer Support Engineer -
Please Help. I received 4 emails from 1 person with the same message heading. The emails were automatically grouped Apple Mail. I replied to the latest mail in the conversation. Once sent the other messages in the conversation disappeared. I NEED THEM BACK! They all had very important attachments. I have tried looking for them in deleted items, even though I didn't throw any of them away, still cant find them. Never had this problem before. I'm pretty sure its a setting somewhere. Also tried expanding all conversations, no luck. Searching for the mails under the sent email address, no luck.
I'm sure they are not deleted but have somehow been hidden by Mail. Very frustrating.
Thanks in advance for any help.
Kash.I have found found out what has happened. I had requested a statement dating back to April 2012 from a supplier. They replied back with the latest statementof 2013 only but used the same subject heading as the previous monthly statements. Apple Mail automatically grouped these and I thought that they were sent altogether. As soon as I replied to the last email all other the previous emails ungrouped from the conversation leaving me lost as to where they had gone. They were all still sitting in my inbox but no longer part of the trcked conversation. I searched under the subject heading and all individual mails were all still there. (feeling stupid - )
-
How to acces the filename from Message Header during variable substitution
Hi,
We need to access the attribute filename from Message Header during Variable Substitution.We are able to access the following attributes of Message Header
sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
For example, if we want to specify the interface name from the message header in the target directory or in the file name scheme, we enter message:interface_name as the reference.
In the same way i need to access the filename which we get in the Message Header(which we get in the Message Header when we check the Adaptor specific message properties and filename in sender CC).Any suggestions on the same
Thanks and Regards,
Bhargav
Message was edited by:
bhargav gundabolu
Message was edited by:
bhargav gundaboluHi Bhargav,
Use this UDF to retreive the file name from the Dynamic Configuration Payload in the mapping.
getFileName(UDF) -
> Filename(node in the target structure).
public String getFileName(Container container)
//write your code here
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
Create a node in the target structure top hold the filename returned by the UDF.
Now your payload will have the filename along with the actual data.
U can use the variable substution now as u use for the other data in the payload since the filename is now a part of your payload.
Regards
San -
Since upgrading to the latest version of Firefox, I'm now getting the message "A problem has occurred trying to process your request. Please try again later. We apologise for any inconvenience this may have caused." when I try to log onto my internet banking site. This occurs after going thru the first two steps of the login process. I don't get this problem when I login to all my other bookmarked sites, or when I use Internet Explorer. I'm using Windows XP. Any suggestions? (Note: I've just reloaded version 6 of Firefox, but it's not made any difference.)
See here > http://support.apple.com/kb/HT1527
From Here > http://support.apple.com/kb/TS1368
More info here > http://www.apple.com/support/itunes/downloading/ -
Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?
Perhaps let's first try updating your Apple Software Update.
Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?
Maybe you are looking for
-
DW8 constant crashes on G5 intel
It started with the insert media>flash which crashed the machine everytime and seems to be a known issue. Now I can't even drag a corner of the page window without it freezing. I have re-installed several times, upgraded to 8.0.2. dumped the preferen
-
Can I export from a Lightroom Collection to Pgotoshop
Hi I am new to Photoshop, and would like to for example open 2 or more images into Photoshop (ie: to replace a sky / do an hdr etc) Q1) I am wondering whether, rather than go into Bridge, which I don't really want to bother with / learn, if I have ph
-
ITunes won't open after failed update, what do I do?
I tried to update my iTunes to the latest version and it failed. Now when I try to open iTunes I get the error message "The procedure entry point AVCFPlayerItemDurationChangedNotification could not be located in the dynamic link library AVFoundation
-
Commenting features slowing Acrobat 9.0.3 to a crawl
I was wrong in my previous thread about Adobe Updater being the culprit for the horrendous slowdowns in Acrobat Pro 9.0.2. Updater.acroplugin is not the problem. Apparently, the commenting feature of Acrobat is what grinds it to a halt. If I disable
-
Exchange server 2010 DAG failover
Hi team , We have configured exchange server 2010 in DAG environment . We have added 3 mailbox server in DAG . but my active mailbox copy failed the database are failover to another passive copy server & status is mounted . after failover emails serv