JMS Message encoding and attaching security certificate

Dear All
I am working with JMS Adapter, I need to encode the message and attached a certificate beforing sending to bank.
Please share your idea.
Regards
Aamir

Aamir,
Please cross post SOA Suite related queries in SOA Suite forum -
SOA Suite
Your requirement can be implemented using custom XML format with a custom java encoder/decoder.
Regards,
Anuj

Similar Messages

  • Trouble using JMS Message Selector and DCJMSMessageProperty0

    Hello Experts!
    My scenario is Mainframe => MQ => JMS Adapter => XI => SAP
    My MQ channel is communicating fine to XI and I've set the JMS adapter to JMS Compliant.
    I have multiple message types with consistent headers but varying data layouts that I need to route to different mapping objects. So it seems the best solution for this is JMS Message Selector based on reading a header value from one of the dynamic message properties.
    I've read SAP Notes and SAP Library and SDN Wiki articles about this configuration and I think its possible.
    http://help.sap.com/saphelp_nw04s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    Note 856346 - J2EE JMS Adapter: Frequently Asked Questions (FAQ)
    Note 1086303 - XI JMS Adapter and IBM Websphere MQ: FAQ
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/usage%252bof%252bmessage%252bselector%252bfor%252bjms%252bsender%252badapter
    My mainframe sends an MQ message that includes some extra header information like
    field: ApplType  VALUE: 000000002                                              
    field: ApplName    VALUE: MIS056O          
    I configured my Communication Channel to set Adapter-Specific Message Attributes and also Additional JMS Message Properties to include ApplType and ApplName.
    However, I can only see some of the standard JMS header items such as CorrelationID, none of the additional ones.
    In RWB I see "JMS property 'ApplType' that corresponds to dynamic header 'DCJMSMessageProperty0' is missing from JMS message 'ID:f2f0f0f9f0f4f2f1f0f9f1f5f5f3f7f44040404040404040'; consequently it cannot be added to XI message 'e136a6e8-8580-4adc-2007-9ccab93f1ef4' as a dynamic header"
    Can anyone with some experience doing this help me see if I'm missing a trick somewhere? How can I see where this information is being dropped? Could it be when MQ is handing to JMS?
    Many thanks,
    Aaron

    After sifting through some IBM documentation I found that the PutApplName field actually maps to JMS name JMSXAppID. So after adding this to my Additional JMS Message Properties list I get the dynamic JMS message property I need for sorting out the messages.
    http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/uj25450_.htm

  • Setting JMS Message header and properties in JMS Adapter ESB Component

    Hi,
    I am new to using some of these adapters in Oracle ESB and need some help.
    I am trying to define a JMS Publisher using JMS Adapter component in JDeveloper. I would like to publish messages with message property set to a topic. I dont find a way to do that.
    I see that for consuming JMS messages, the JMS Adapter allows to specify message selector but I could not find a way for producing message with a user defined message property. I would like to use that property in the message selector to filter messages and consume.
    I am using Oracle SOA Suite 10.1.3.3.x
    Can someone help please?
    Thanks.

    Thanks for the response.
    I think I found the solution although I havent tried it out yet.
    ESB sample 110.JMStoJMSHeaders outlines the approach.
    It is my understanding that JMS Message selector can work on JMS header or JMS properties (user defined) but not on JMS body. (All the three constitue a JMS message). Hence the need to set a JMS property prior to publishing the message to a topic/queue.
    Thanks.

  • Message for an invalid security certificate keeps popping up when I open firefox

    "fvd.kallout.com: 443 uses an invalid security certificate
    the certificate expired on 5/31/11
    this could be a problem with the servers configuration or it could be someone trying to impersonate the server
    if you have connected to the server successfully in the past the error may be temporary and you can try again later"
    This is what opens on my screen every time I have opened Firefox today. If I hit "cancel" the window closes, but I do not know what it means or how to permanently clear it, or if someone is trying to use my system illegally.
    Can you please tell me what my best next course of action is?
    Thank you,
    cemerrick

    The "<b>Fast Video Download</b>" extension has been reported to cause this issue.
    *Fast Video Download: https://addons.mozilla.org/firefox/addon/fast-video-download-with-searc/

  • XI JMS Adapter encoding and codepage (MDMP) problem

    Hi
    I have a scenario where i convert an IDoc into a target structure and post it onto a Websphere MQ queue using JMS adapter. The SAP system which sends the idoc is a non/unicode system and i can receive data which can either danish, polish etc. Within XI the mapping works fine and the data is transferred to the MQ series queue. But when the third party system tries to get the message from the queue it says it downloads the message and is unable to convert the downloaded message due to invalid content (special danish, polish characters). Also the CCSID and encoding expected is 1252 and 546 respectively, but whenever i send message to the queue the CCSID is 1252 but encoding is 273.
    Any idea as to why the above is happening, and how can it be corrected.
    Also if anybody had faced any issues with respect to code page problems and resolved it with JMS as either sender or receiver, please share the same with me as well.
    I am repeating that my SAP system is non-unicode (MDMP) system.
    thanks
    Sameer
    Message was edited by:
            Sameer Shadab

    Sameer,
    I guess u can ask the third party to set CodedCharSet in GetMessageOptions. Actually my MQ knowledge is around 4 yrs old but I remember we had similar problem when we were pushing messages on remote queue of MQ on AS-400. I hope they resolved by setting this value.
    Regards
    Rajeev

  • Howto brand encrypted message notification and the secure envelope

    We have purchased the IronPorts and love them, however I cannot figure out how to 'brand' our encrypted emails and the envelope.  I saw this as a selling point, but am not finding how to do this.  Any help is greatly appreciated.
    Thanks,
    Ed                  

    I have already found this. It looks like just a link to a website that you specify.  I would like to have our logo on the email and on the Cisco Envelope service like in the following link.  There is a branding page.  http://www.mspsupport.com/datasheets/IronPort/Cisco_IronPort_Overview_NoEXM.pdf
    Thanks,
    Ed

  • Enqueue JMS message to JMS advanced queue and raise business event.

    Hi,
    I am needing guidance on how to raise a business event with a JMS message type and enqueue it to an outbound queue WF_JMS_OUT from a PL/SQL stored procedure. I'm on version 11.5.10.2.
    I found an Oracle tutorial "Oracle Workflow and Java Messaging Service (JMS) Tutorial" which describes some of this but it mentions scripts to create the queues, listen for events, etc. and I can not find these (they are not included in the document).
    Any guidance, links or sample code, greatly appreciated!
    Cheers
    Graham

    I tried in the same way. But i got error in OSB.
    The error message is "Failed to lookup connection factory CustomConnectionFactory"
    CustomConnectionFactory -- This is my connection factory name.
    Do i need to make any jndi configurations in weblogic?
    Thank you.

  • ABAP STACK and JAVA STACK certificates

    Hi Fiends,
    I have requirement in which I want to use HTTP adapter to send message and apply security certificate. I got from sdn that if I wan to use http adapter with certificate than I have to install certificates in ABAP stack.
    My problem is I had one scenario in which I am using BC adapter to send message with security certificate and for that I had applied certificates in java stack and its working properly.
    My question is,
    Is it possible to use Java Stack and ABAP STACK together..?
    I mean is it possible to implement both of the above scenario in same xi system?

    Hi Soni,
    You cannot use the same certifcates wihch you installed in Java stack with abap stack. You need to install separealy on teh abap stack.
    For HTTP communication you dont need to install certificates. You only need when you want to use HTTPS communication. So if you want to use HTTPS communication and want to use SOAP adapter then you can use ther certifcates which is already installed on java stack. But if you want to use HTTP adapter then you need to install in ABAP stack.
    Please see this hlep on how to install on the java stack and the process behind it:
    http://www.i-barile.it/SDN/EnablingSSL&ClientCertificatesOnTheSAPJ2EEEngine.pdf
    Also check this help:
    http://help.sap.com/saphelp_nw04/helpdata/de/14/ef2940cbf2195de10000000a1550b0/content.htm
    on abap stack check seshus response:
    HTTPS  enabling
    Regards,
    ---Satish

  • How to parse XML content in JMS Message...

    Hi everybody,
    I am currently developing a Message-Driven Bean and has some problem parsing the XML data that contains in the JMS body.
    The XML data is contained in TextMessage (JMS message type) and in order to parse the data, I need to use the DOM builder, which is expecting to read from a file (e.g. abc.xml).
    My question is how can I use TextMessage (can be output to a String) as the input source instead of a file.
    Thanks in advance.

    Hi Boon,
    "Boon Keong" <[email protected]> wrote in message
    news:3dd46800$[email protected]..
    I am currently developing a Message-Driven Bean and has some problemparsing the XML data that contains in the JMS body.
    >
    The XML data is contained in TextMessage (JMS message type) and in orderto parse the data, I need to use the DOM builder, which is expecting to read
    from a file (e.g. abc.xml).
    >
    My question is how can I use TextMessage (can be output to a String) asthe input source instead of a file.
    What about this:
    DocumentBuilder db = ...
    Document doc = db.parse(new InputSource(new
    StringReader(textMessage.toString()));
    or
    Document doc = db.parse(new
    ByteArrayInputStream(textMessage.toString().getBytes()));
    Regards,
    Slava Imeshev

  • JMS Message Export/Import XML on command line

    I need a command line (JAVA or WLST) to reproduce the Weblogic consol JMS message export and import to migrate manually message from a queue to another (online without filestore).
    There is an entry on the Weblogic console that export one or all message to an XML format file and the import command to reload this XML file.
    any idea of a java code used by the console or a jython fonction ?

    The following might be enough to get you started:
    For scripting and tracing examples, see the July 29th and August 10th 2009 newsgroup post with subject "Example using of getMessage(s) with JMS error queues?" [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3657916] and the June 10th 2009 newsgroup post with subject "JMSDestinationRuntimeMBean - possible STATE values " [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3531603 ]. Also take a look at the +Sept 23 2009 newsgroup posts with subject "Enable JMS - Queue/Topic Trace on console"+ [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3782486].
    +WARNING: Exporting too many messages at a time can cause out-of-memory errors.+
    Tom

  • [svn] 1053: Basic and custom security-constraint samples were added to the team app mainly for the doc team to have a reference .

    Revision: 1053
    Author: [email protected]
    Date: 2008-04-01 11:35:28 -0700 (Tue, 01 Apr 2008)
    Log Message:
    Basic and custom security-constraint samples were added to the team app mainly for the doc team to have a reference. The custom authentication sample uses the new ChannelSet.login and ChannelSet.logout methods.
    Modified Paths:
    blazeds/branches/3.0.x/apps/team/WEB-INF/flex/remoting-config.xml
    blazeds/branches/3.0.x/apps/team/WEB-INF/flex/services-config.xml
    Added Paths:
    blazeds/branches/3.0.x/apps/team/features/security-constraints/
    blazeds/branches/3.0.x/apps/team/features/security-constraints/README.txt
    blazeds/branches/3.0.x/apps/team/features/security-constraints/securityConstraint_Basic.m xml
    blazeds/branches/3.0.x/apps/team/features/security-constraints/securityConstraint_Custom. mxml
    Removed Paths:
    blazeds/branches/3.0.x/apps/team/features/remoting/remoting_AMF_SecurityConstraint_Basic. mxml

    Congrats to Carmelo!
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • When I try to download the latest version of iTunes on my iPod Classic I get the message that "iTunes has an invalid signature" and that "Content was blocked because it was not signed by a valid security certificate.  Anyone know how to fix this?

    When I try to download the latest version of iTunes from apple.com, I get the message "Content was blocked because it was not signed by a valid security certificate."When I open iTunes and try to download the latest version there, I get the message "iTunes has an invalid signature.  The download has been removed."  I have also gotten an Internet Script Error stating that an error has occured in Line 0, Char O and that "Access is denied to images.apple.com/global/scripts/lib/iepngfix.htc."  This problem has never occurred with earlier versions of ITunes.  Anyone know how to fix this problem? 

    Are you downloading iTunes form an Apple website or somewhere else? If the answer is somewhere else, try downloading it from Apple. Click on iTunes in the black menu bar above and go from there.
    Let us know what happens.

  • The dreaded 404 message using basicHttpBinding, Transport security mode, and certificates

    I am working on setting up a WCF service using mutual authentication with both client and server certifiates. The service is hosted in IIS 7, and I'm trying to access it from a simple console app. When I try to connect to the service, I get the error ""There
    was no endpoint listening at
    https://localhost/IISHostedService/MyService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details." The inner exception is "The remote server returned an error:
    (404) Not Found."
    I have seen people all over the net reporting this error, but so far none of their fixes work for me. I have an HTTPS binding in IIS for my app, and I am able to browse to my service (using either http or https) and view it with no problems. I can get the
    wsdl (also over either protocol) with no issues, but connecting from the client doesn't work.
    Here is my server config:
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior>
    <serviceCredentials>
    <serviceCertificate findValue="ServerCertificate" storeLocation="LocalMachine" x509FindType="FindBySubjectName" />
    <clientCertificate>
    <authentication revocationMode="NoCheck" />
    </clientCertificate>
    </serviceCredentials>
    <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
    <serviceDebug includeExceptionDetailInFaults="true" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    <bindings>
    <basicHttpBinding>
    <binding name="BasicHttpBinding_MyService">
    <security mode="Transport">
    <transport clientCredentialType="Certificate" />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <services>
    <service name="MyService">
    <endpoint binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_MyService" contract="Namespace.IContract" />
    </service>
    </services>
    </system.serviceModel>
    And my client:
    <system.serviceModel>
    <behaviors>
    <endpointBehaviors>
    <behavior name="clientEndpointBehavior">
    <clientCredentials>
    <clientCertificate findValue="ClientCertificate" storeLocation="LocalMachine" x509FindType="FindBySubjectName"/>
    </clientCredentials>
    </behavior>
    </endpointBehaviors>
    </behaviors>
    <bindings>
    <basicHttpBinding>
    <binding name="BasicHttpBinding_MyService" closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
    allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
    useDefaultWebProxy="true">
    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <security mode="Transport">
    <transport clientCredentialType="Certificate" />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="https://localhost/IISHostedService/MyService.svc behaviorConfiguration="clientEndpointBehavior"
    binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_MyService"
    contract="Namespace.IContract" name="BasicHttpBinding_MyService" />
    </client>
    </system.serviceModel>
    I am not sure if it matters, but this client and server are running on the same physical machine in a test environment. I have confirmed that both the client and the server certificates are installed, and that the issuing authority is trusted. The virtual
    folder is set in IIS to "Accept" client certificates, and SSL is not required.
    Does anyone have any thoughts what I may be missing? This service works without a problem over HTTP, so it has to be somehow related to the certificate that is being passed. With the Server certificate, I just trapped the ServicePointManager.ServerCertificateValidationCallback
    event to manually approve the certificate if the subject matched what I was looking for (the subject does not match the domain name, since this is a test environment). Do I need to do something similar for the client certificate?
    EDIT: One thing I do notice is that, in the WSDL, the soap location is always pointing to http. I'm not sure if that is correct or not:
    <wsdl:service name="MyService">
    <wsdl:port name="BasicHttpBinding_MyService" binding="tns:BasicHttpBinding_MyService">
    <soap:address location="http://computerName.domain.com/IISHostedService/MyService.svc" />
    </wsdl:port>
    </wsdl:service>

    A little more information (since this is the main thing I have to work on today):
    After some research, I decided to try using a custom certificate validator, in case something is wrong with the client certificate. In the clientCertificate\authentication node on the server, I set the certificateValidationMode="Custom" and set customValidationType="MyType.Validator,
    MyType". My type is apparently being found (when it is not found I get a "service could not be activated" error), but my Validate() method is never being called.
    Now this leads me to believe that it's not a problem with the client certificate, but something else, before it even gets that far.

  • How to send JMS Message with use title, content, and attach file

    I use OpenJMS server such as Message server
    and use Tomcat 4.0 as web server.
    I want to use JMS to send Message that message have
    title, content, and can attach file.

    You probably wanna use SOAP. SOAP is based on XML, it has a soapheader (can have the title) the soapbody (has your actual message) and it can also have files attached.
    read more here
    http://www.w3.org/TR/SOAP/
    The only thing you have to be carefull with is that when you want to put a SOAPMessage on a JMS queue, you have to serialize it
    kind regards

  • There is a problem with the security certificate of the proxy server. Error code 18 and 38.

    Hi All,
    After several hours and a short night of sleep I'm out of ideas and hopefully someone here can help me trying to solve this one. First of all the situation:
    Exchange 2013 on a remote location with a CA-certificate.
    Outlook 2010 and 2013 on different locations, locally installed and on RDS.
    When I open Outlook on my laptop all is fine, no errors, good sync, no problem. But when I open Outlook on our Remote Desktop Servers with Outlook 2013 I'm getting errors like "There is a problem with the security certificate of the proxy server. The
    name on the security certificate is invalid or does not match the name of the site. Outlook is unable to connect to this server. (Error code 18)". Opening Outlook 2010 the message is the same, but the error code now is 38.
    After this Outlook opens and is working, there's one more error though. After a while an security warning pops up with the message: "Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the
    site's security certificate. * The security certificate was issued by a company you have not chosen to trust. View the certificate to determine whether you want to trust the certifying authority. * The security certificate is valid. * The name on the security
    certificate is invalid or does not match the name of the site."
    Strangest thing is, it is the certificate of my RDS! It isn't my valid en officially bought certificate from my mailserver. What's going on? I'm out of options, what I've tried so far (in random order):
    - restarting mailserver and AD;
    - restarting switches;
    - restarting routers;
    - restarting RDS, AD and all other servers;
    - bypassed proxyserver for RDS;
    - created a new profile;
    - checked recently installed updates;
    - checked certificate on mailserver;
    - checked RDS on a different location, working fine.
    Nothing helped, what can I do next? Please advice.
    Regards.

    Found a thread that solves half my problem (https://social.technet.microsoft.com/Forums/office/en-US/70d18244-889a-4d95-ac3f-e234672a82b2/there-is-a-problem-with-the-proxy-servers-security-certificate-error-when-starting-outlook?forum=exchangesvrclients).
    The first message can be suppressed by adding this to the Exchange config:
    set-outlookprovider -Identity EXCH -CertprincipalName msstd:webmail.domain.tld
    set-outlookprovider -Identity EXPR -CertprincipalName msstd:webmail.domain.tld
    Giving the command get-outlookprovider, gives me empty information regarding the certprinipalname. Filled
    this and after recreating the profile or deleting the ost-file I still have the second alert with the local certificate of my RDS.
    Not completely where I want to be, any help regarding the second alert is greatly appreciated!

Maybe you are looking for

  • Error while doing Rapid delivery confirmation

    Hi, i am encountering the following error while doing rapid delivery confirmation, "set checkbox for rapid confirmation", pls guide me where to set this check box and wat are all the necessary settings need to be done.? Thanks in Advance, V.S.Sabitha

  • Problem with hp deskjet 6940

    I have been using this printer for the past year now and now today all of a sudden it will not print.  When I try to print it says there is one job in the print queue but when I check the queue it says error. I cannot print anything!  What should I d

  • Noscript does not appear in my add-ons list in firefox 18

    I know the Java plugin is disabled in FF 18 but I tried to install the Noscript add-0n. It says it is installed but after I restart FF, Noscript does not appear in my add-ons list. Windows XP

  • Disabled buttons still selectable problem, please help

    I have a simple GUI which takes input from the user and when it has enough information allows the user to select to run an operation (setEnabled(true) on the run button). Initially I set the run button on the GUI to be disabled using setEnabled(false

  • I can't always print to PDF but can figure out why...

    For some reason I can't print to PDF in all applications, but I can in some. For instance, I can with Word but not with say Illustrator or Safari or even Preview. I've tried deleting and adding the printer, both as Generic Postcript and Adobe PDF 301