ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » [resolved] problems with sendmail plugin attachment

Post new topic  Reply to topic
 [resolved] problems with sendmail plugin attachment « View previous topic :: View next topic » 
Author Message
dweller
PostPosted: Fri Nov 03, 2006 3:10 am    Post subject: [resolved] problems with sendmail plugin attachment Reply with quote

Apprentice

Joined: 31 Oct 2006
Posts: 28

i create attachment like this:

SET OutputRoot.XML.Message.EncodingBase64.(XML.Attribute)ContentType = 'text/xml';
SET OutputRoot.XML.Message.EncodingBase64.(XML.Attribute)Name = 'message.xml';
SET OutputRoot.BLOB.BLOB = BITSTREAM(InputRoot.XMLNSC.envelope.msg);


changed to:
SET OutputRoot.XMLNSC = InputRoot.XMLNSC.envelope.msg;
SET OutputRoot.BLOB.BLOB = BITSTREAM(OutputRoot.XMLNSC);


and in attachment i get this:

<envelope>
<msg>
<route>
<incoming>ERP1_IN</incoming>
<outgoing1>ERP1_OUT</outgoing1>
<message_body>asdsafdsafdsafsadsad</message_body>
</route>
</msg>
<to>some email</to>
<from>some email</from>
<subject>Error notification.</subject>
<exception>
<number>4240</number>
<text>Invalid label name</text>
</exception>
</envelope>

so i get whole message, when i need only InputRoot.XMLNSC.envelope.msg
what am i doing wrong?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 03, 2006 4:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

DO NOT USE BITSTREAM.

BITSTREAM has been DEPRECATED since early CSDs of 2.1.

It doesn't do what you think it does!

Use ASBITSTREAM.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dweller
PostPosted: Fri Nov 03, 2006 4:33 am    Post subject: Reply with quote

Apprentice

Joined: 31 Oct 2006
Posts: 28

I found it in plugin's manual and used it

thanx
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 03, 2006 4:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That still doesn't mean it's right, or that it does what you think it does.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » [resolved] problems with sendmail plugin attachment
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.