USPS XML City/ZIP Request and Response

Curious to know if anyone know of any open source for Cold
Fusion that connects to the USPS web tools API and sends an XML
request to return city and state based on a valid US zip code
number input.

Instead of specifying policies for input and output separately you could place the policy reference only once in the operation element. Maybe will this solve your problem...
http://e-docs.bea.com/alsb/docs26/security/ws_policy.html#wp1061166

Similar Messages

  • Use Sign.xml and Encrypt.xml for both request AND response within WSDL?

    Hi,
    ALSB: 2.6
    I was wandering if it's possible to use abstract outof the box WS-Policy file within WSDL file to specify encryption
    (Encrypt.xml) and digital signature(Sign.xml) with X509 for both request and response???
    So far, it only works for either request or response BUT not both. i.e. within WSDL file
    <!-- following WSDL works for encrypting and signing request with X509 in test console -->.....
    <wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="Message">
                <soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
                              <wsdl:input>
                               <!-- WS-Policy file applied here -->
                             <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                     <soap:body use="literal" />
                               </wsdl:input>
                             <wsdl:output>
                                  <soap:body use="literal" />
                               </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
               Or
    <!-- following WSDL works for encrypting and signing response with X509 in test console -->
    <wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="Message">
                <soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
                              <wsdl:input>
                                     <soap:body use="literal" />
                               </wsdl:input>
                             <wsdl:output>
                                       <!-- WS-Policy file applied here -->
                                       <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                  <soap:body use="literal" />
                               </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
    But not both
    <!-- following WSDL doesn't work for encrypting and signing both response and request with X509 in test console -->
    <wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="Message">
                <soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
                              <wsdl:input>
                                        <!-- WS-Policy file applied here -->
                                       <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                     <soap:body use="literal" />
                               </wsdl:input>
                             <wsdl:output>
                                       <!-- WS-Policy file applied here -->
                                       <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                  <soap:body use="literal" />
                               </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
    ...      Instead, I got error message like
    <15/01/2008 10:15:04 AM NZDT> <Error> <ALSB Security> <BEA-387023> <An error ocurred during web service security inbound response processing [error-code: Fault
    , message-id: 3917705281899426819-4368b1eb.117762cff6e.-7fdb, proxy: DexServiceX509-Stub/Proxy Services/DexServiceX509-ProxyService, operation: Message]
    --- Error message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode>
    <faultstring>Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3</faultstring></soapenv:Fa
    ult></soapenv:Body></soapenv:Envelope>
    weblogic.xml.crypto.wss.WSSecurityException: Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#
    X509v3
    at weblogic.xml.crypto.wss.SecurityBuilderImpl.addEncryption(SecurityBuilderImpl.java:308)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processConfidentiality(SecurityPolicyDriver.java:280)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:75)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:64)
    at weblogic.wsee.security.WssServerHandler.processOutbound(WssServerHandler.java:86)
    Truncated. see log file for complete stacktrace
    >
    <15/01/2008 10:15:24 AM NZDT> <Error> <com.bea.weblogic.kernel> <000000> <Failed to build CertPath
    java.security.cert.CertPathBuilderException: [Security:090603]The certificate chain is invalid because it could not be completed. The trusted CAs did not inclu
    de CN=x509,OU=x509,O=x509,L=Wellington,ST=Wellington,C=NZ.
    at weblogic.security.providers.pk.WebLogicCertPathProviderRuntimeImpl$JDKCertPathBuilder.engineBuild(WebLogicCertPathProviderRuntimeImpl.java:669)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
    at com.bea.common.security.internal.legacy.service.CertPathBuilderImpl$CertPathBuilderProviderImpl.build(CertPathBuilderImpl.java:67)
    at com.bea.common.security.internal.service.CertPathBuilderServiceImpl.build(CertPathBuilderServiceImpl.java:86)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            Truncated. see log file for complete stacktrace
    >
    <15/01/2008 10:15:24 AM NZDT> <Error> <ALSB Security> <BEA-387022> <An error ocurred during web service security inbound request processing [error-code: Fault,
    message-id: 3917705281899426819-4368b1eb.117762cff6e.-7fd8, proxy: DexServiceX509-Stub/Proxy Services/DexServiceX509-ProxyService, operation: null]
    --- Error message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault xmlns:wsse="http://docs.oasis-open.or
    g/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurityToken</faultcode><faultstring>Security token failed to validate. weblo
    gic.xml.crypto.wss.SecurityTokenValidateResult@3c5347b[status: false][msg [
      Version: V1
      Subject: CN=x509, OU=x509, O=x509, L=Wellington, ST=Wellington, C=NZ
      Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
      Key:  Sun RSA public key, 1024 bits
      modulus: 13052787793731294943682394984664645854838424340012907077330623....
      The 'System Error Handler' from 'Invocation Trace' in ALSB test console is something like
    [pre]     
    $fault:
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-386201</con:errorCode>
         <con:reason>
              A web service security fault
              occurred[{http://schemas.xmlsoap.org/soap/envelope/}Server][Failed
              to get token for tokenType:
              http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3]
         </con:reason>
         <con:details>
              <err:WebServiceSecurityFault
                   xmlns:err="http://www.bea.com/wli/sb/errors">
                   <err:faultcode
                        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
                        soapenv:Server
                   </err:faultcode>
                   <err:faultstring>
                        Failed to get token for tokenType:
                        http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3
                   </err:faultstring>
              </err:WebServiceSecurityFault>
         </con:details>
         <con:location>
              <con:path>response-pipeline</con:path>
         </con:location>
    </con:fault>
    So is this a feature not supported in ALSB 2.6 yet or am I missing something dead simple?
    Thanks in advance
    Sam

    Instead of specifying policies for input and output separately you could place the policy reference only once in the operation element. Maybe will this solve your problem...
    http://e-docs.bea.com/alsb/docs26/security/ws_policy.html#wp1061166

  • How to restrict the Request and Response process in that cookies should be Secure way SAP Portal 7.0 ?

    Dear Experts,
    Please any one can help me i am getting one security issue.Some third party tools using and hacking the Request and Response of the Server.That time there taking one successfully Request (GET http://1.1 302 found)   and Response (http://1.1 200 ok).In this request based on again there giving some invalidate credential in that time server giving request replacing for success fully Request that time there login in to portal successfully(Bypassing).In this Request level only getting the information for URL and set-cookies only.Here any process is there to restrict the set cookies.like JSESSIONMARKID and JSESSIONID SAP_LB.
    We are using 7.0 Version and SP 12. Please share you are solutions because of this is very high problem here.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao. 

    Dear Samuli,
    Thanks for the Replay,
    We are using HTTPS and SSL confined but man in the middle types of attack is happening here there using one tool based one there taking the Request and Response.The below given cookie are available in that request.
    According to this , set-cookie: JSESSIONMARKID , JSESSIONID and MYSAPSSO2 values are user login time it will change every time  are not.
    After  capturing above response HTTP/1.1 302 etc , when user gives valid credentials and logs in ,
    and now ill give wrong password and wrong user id and on click of log on button, i can intercept the request and response coming from the server and when i replace this valid response stil i am able to loggin in to the portal , which should not happen as JESSIONMARKID is changed , server should not allow , but it is loggin in.Standard Login page also allowing to login in this case.
    My server version is EP 7.0 SP 12.
    Please suggest a solution so that if we restric the hacker at this stage , no matter he can never hijack the sesiona and login  with invalid username and  password.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao.

  • SOAP request and response message

    Hi,everyone:
    I am working on one jaxrpc project.
    I would like to get a concrete SOAP request and response message.
    Do somebody know how and where i can get these two message?
    thanks in advance
    Hui
    [email protected]

    I am also interested in the sample. Please post, any examples, I just finished the tutorial looking for further resources too.
    R

  • Request and Response Objects

    Hi,
    I was told that there is a limit for the request and response object sizes and crossing them will throw IllegalStateException. Could some one explain whether this is true and what is the maximum size of the object allowed?
    Thanks,
    Des

    As far as I know no such limit is defined by the API. There will always be a limit due to implementation and underlying architecture. Which particular implementation of request/response are you concerned about?

  • How to retrieve SOAP Original Header from request and response

    Hi,
    Does anyone know how to retrieve SOAP original header from SOAP request and response? I surfed but I'm able to see only the retrieval of SOAP custom headers via BPM mediator. Can anyone please help me regarding this? Also Please tell me how to check the headers in the Enterprise Manager.

    HI Chandra,
    Thanks for your suggestions.
    But i think in my case we do not want to get the complete list. We still want to get only 100 items initially and then if the user would scroll down he/she would see more items. But we already need to know the total number of items for the purpose of showing a message to the user. For e.g. Total issues (515),  but the table would initially show only 100 and then another 100 after scroll. So setting the size litmit to max would not help.
    And to be able to use the $count you mentioned, we have to still make another oData service call which we do not want.
    But as i mentioned there is already a property named "__count" in the response of the bindItems() method call and i see that it has correct count but not sure how to retrieve it inside the controller. Thanks.
    Regards,
    Ashish

  • Web Service Usage Discussion - Both for request and response.

    Hi,
    I have some discussion questions ( by the way i have done my search in the forums )
    1) How would you solve the problem of registering user from iphone application without making the user to enter a security code to prevent spam?
    ( We use graphical captchas to minimize the risk in web.. but what would you do or what are you doing to make a proper registration from iphone directly to the web server? ) I can request, user, pass,email and register the user, but i can not want him to click on the confirmation code that i've sent to his/her email.. He'll leave my application, click the link,... safari will open.. etc etc...
    2) How would you authenticate the user and send commands according to that session?
    Would you send user and pass in plaintext, like many web pages' login system..?
    And after that would you just get a session id from response and after that, would you use only that code to send new commands according to that authenticated user? like ( http://myserver.com/?cmd=message&text=hi&session_id=34524534 ) ? How would you implement, or you are implementing this in iphone application?
    3)What would you use to send commands to server? You use simple url request? ( maybe somewhat REST ) or would you send xml to the server? And how would you get the response? As an XML? as comma seperated simple mode, as JSON to parse? Or would you return property list recognized by iphone? Or.... Or?? What would you use, or what are you using? What's your idea to do it in a proper way? (I know that this can change from people to people, but at least we can see what everyone is telling.. )..
    What response type you prefer and why do you prefer it? For example, you are trying to avoid xml to stay away from parsing it without standard libraries... OR... ?
    I'll be glad if you share your ideas/experiences with us? We may learn new things/we may improve our selves/we may change the way we do these things, we may be happy together (:

    Hi MaxLeyton,
    Thank you for posting in the MSDN forum.
    >>I am trying create a webmethod in a webservice, this webmethod must to have two different headers, one for request and one for response.
    Since it is related to the Web, to help you resolve this issue as soon as possible, you could post this issue to the ASP.NET forum.
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Synchronous interface udf to remember value between request and response

    Hello,
    I have two synchronous message interfaces bundled in an operation mapping and a message mapping for the request and one for the response.
    I need to remember a value obtained during request message mapping so that I can access it in the response message mapping.
    Is there any place where I can put a value and then access it later on the way back?
    I tried global container in udf, but the scope of that object seems to be just the current message mapping.
    Any ideas appreciated!
    Thanks
    Matthias

    Hi Matthias,
    the fact is that the Integration Engine is stateless and not statefull, hence it cannot remember anything between two messages.
    Perhaps, the correct way for this needs could be to use a BPM.
    At any rate, when I need of this persistence I write the data on ABAP stack via UDF/Lookup function.
    If you choose this way, remember to clean the table when you used it and forecast a way to manage the exceptions that could leave dirty in your temporary table.
    Ciao.
    Nicola

  • Web Services with two different "headers" for Request and Response

    Hello,
    I am trying create a webmethod in a webservice, this webmethod must to have two different headers, one for request and one for response.
    I know exist an atribute called "SoapHeaderAttribute", the problem is his direction, just has one direction or two (in and out) but the same "header".
    I hope you can help me.
    Thanks in advance.

    Hi MaxLeyton,
    Thank you for posting in the MSDN forum.
    >>I am trying create a webmethod in a webservice, this webmethod must to have two different headers, one for request and one for response.
    Since it is related to the Web, to help you resolve this issue as soon as possible, you could post this issue to the ASP.NET forum.
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to monitor Http Request and Response when load testing is going on

    Hi,
    can any one please let me know how to monitor http request sent and response received for each virtual ID when a load test is going on ?
    Thanks,

    You used to be able to see what the VUs "see" using the "VU Monitor" (it would only do a simple rendering of the HTML but it served it's purpose). However this was replaced (in v12 I think?) by the "VU Log". While this offers simlilar functionality, I have had problems getting to see the same level of detail. You may need to use the "debug" modes. Also check the "Content" tab within the VU Logs (it is the closest equivalent to the HTML you would see in the responses in the old VU Monitor).

  • Different Namespaces in request and response of a webservice in BPEL

    Hello I have created  a  piece of code in BPEL in JDeveloper where i invoke a partner link. The namespaces of the request differs from the name space of response of the wsdl.I have tried to just change the namespace of output variables to the required one in the wsdl and xsd .But it results in errors.
    Can some one suggest me a way of doing this.
    Regards
    Sam.
    PS:I am new to BPEL

    This is my wsdl
    <?xml version="1.0" encoding="UTF-8"?><wsdl:definitions name="testprojectMS" targetNamespace="http://abcd.org/testprojectMS" xmlns:oldtns1="http://www.xyz.net" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://abcd.org/testprojectMS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mrm1="http://abcd.org/testprojectMS">
    <wsdl:types>
    <xsd:schema targetNamespace="http://abcd.org/testprojectMS" xmlns:mrm="http://abcd.org/testprojectMS">
    <xsd:import namespace="http://www.xyz.net" schemaLocation="testproject.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="testproject_in">
    <wsdl:part element="oldtns1:testprojectIn" name="testprojectIn"/>
    </wsdl:message>
    <wsdl:message name="testproject_out">
    <wsdl:part element="oldtns1:testprojectOut" name="testprojectOut"/>
    </wsdl:message>
    <wsdl:portType name="testprojectMSPortType">
    <wsdl:operation name="testproject">
    <wsdl:input message="tns:testproject_in" name="testproject_Input"/>
    <wsdl:output message="mrm1:testproject_out" name="testproject_Output"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="testprojectMSSOAP_HTTP_Binding" type="tns:testprojectMSPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="testproject">
    <soap:operation soapAction=""/>
    <wsdl:input name="testproject_Input">
    <soap:body parts="testprojectIn" use="literal"/>
    </wsdl:input>
    <wsdl:output name="testproject_Output">
    <soap:body parts="testprojectOut" use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="testprojectService">
    <wsdl:port binding="tns:testprojectMSSOAP_HTTP_Binding" name="testprojectPort">
    <soap:address location="http://myhost/testprojectService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Please let me know where it went wromg

  • Request and Response Scenario for JMS adapter

    Hi,
    I am working on IDOC-XI-JMS, JMS(sender)- XI - JMS (receiver)scenario and this is going to be real time. If any record is update in customer master then that record will be sent to JMS provider MQ series and lock the record in the legacy system and then legacy system unlock and send back a message that this has been unlocked.
    This would be request response message, anyone tell me how this can be achived. I think I may have to use BPM for this kind of processing. Can anyone tell me the steps to achive the BPM for such processing.
    Regards
    Please reply back
    Edited by: hema Mehta  on May 23, 2008 2:05 AM

    Hi Hema,
    Reward points if this helps
    Step by Step Porcess of JMS Synchronous Scenario without BPM: Correlation Settings and Transactional JMS Session
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b
    How To Correlate JMS Messages
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8060448a-e56e-2910-f588-9af459e7ce21
    Async/Sync Communication using JMS adapter without BPM
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    STEPS in BPM for synchornous.
    Reward points if this helps
    Regards
    Pragathi.

  • Request and response using Ajax...

    Hi' does anyone know how to get 2 or more response if using ajax? (let's say that it's more than 1 response).
    cos XMLHttpRequest only can retrieve for one response at time. does anyone know how to solve this?
    Thanks a lot....

    what i mean like this, i have a multiply function in my jsp, code like this :
    <%
        String a = request.getParameter("a");
        String b = request.getParameter("b");
        total = ( (Integer.parseInt(a))*(Integer.parseInt(b)) );
        out.println(total);
        out.println("hello");
    %>it prints total and hello.
    How to handle it in my javascript? ajax just handle the response with xmlHttp.responseText. So all the output are handle in only in xmlHttp.responseText). how to make my ajax can receive 2 output from server seperately?
    Thanks...
    Btw this is my ajax source :
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
         <head>
              <title>Ajax Multiply Example</title>
              <script language="Javascript">
                 xmlHttp = null;
                   function postRequest(strURL){
                        if(window.XMLHttpRequest){ // For Mozilla, Safari, ...
                             xmlHttp = new XMLHttpRequest();
                        else if(window.ActiveXObject){ // For Internet Explorer
                             xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                        xmlHttp.open('POST', strURL, true);
                        xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
                        xmlHttp.onreadystatechange = function(){
                             if (xmlHttp.readyState == 4){
                                 //alert(xmlHttp.responseText);
                                 updatepage(xmlHttp.responseText);                           
                        xmlHttp.send(strURL);
                   function updatepage(str){
    //i don't know how to modify in this.can anyone help?
                        document.getElementById('result').value = str;
                        document.getElementById('helloField').value = str;                        
                   function callMultiply(){
                        var a = parseInt(document.f1.a.value);
                        var b = parseInt(document.f1.b.value);
                        var url = "multiply.jsp?a=" + a + "&b=" + b + "";
                        postRequest(url);
              </script>
         </head>
         <body>
              <h1 align="center"><font color="#000080">Ajax Example</font></h1>
              <form name="f1">
                   <input name="a" id="a" value="">
                   <input name="b" id="b" value="">
                   <input name="result" type="text" id="result">
                   <input name="helloField" type="text" id="helloField">
                   <input type="button" value="Multiply" onClick="callMultiply()" name="showmultiply">
              </form>
         </body>
    </html>

  • Relating request and response messages

    Hello,
    Concerning how to relate messages. I have a jpd putting messages 'send' queue, and a responses arrive on a 'receive' queue. Both queues may be remote. Several jpd’s will run at the same time. The message correlation id appears to be intended for this purpose. Does anyone know some way to listen to the queue, only listening for a message with the desired correlation id? It would be pretty slow if I read every message, and reject it if the correlation id is wrong. A 'Message Selector' appears to be the way to do this.
    Does anyone know of a good way to do this, maybe using Message Broker ?
    thanks!
    -JM

    Hi Dmitri,
              Thanks for you reply.
              >>What are you planning to put into correlation id field?
              I can put the id of the job being processed. This exists in the application. Alternatively, I could use the process id of the jpd. (It is a wli jpd).
              >>Why not redesign it slightly so message sender would set 'response queue' field in the message
              If I understand your suggestion correctly, I would need a dedicated queue for each running process. There could be many running at the same time, so I'm not sure I can do that.
              thanks anyway!

  • Relate request and response messages

    Hello,
    Concerning how to relate messages. I have a jpd putting messages 'send' queue, and a responses arrive on a 'receive' queue. Both queues may be remote. Several jpd’s will run at the same time. The message correlation id appears to be intended for this purpose. Does anyone know some way to listen to the queue, only listening for a message with the desired correlation id? It would be pretty slow if I read every message, and reject it if the correlation id is wrong. A 'Message Selector' appears to be the way to do this.
    Does anyone know of a good way to do this, maybe using Message Broker ?
    thanks!
    -JM

    Hi Dmitri,
              Thanks for you reply.
              >>What are you planning to put into correlation id field?
              I can put the id of the job being processed. This exists in the application. Alternatively, I could use the process id of the jpd. (It is a wli jpd).
              >>Why not redesign it slightly so message sender would set 'response queue' field in the message
              If I understand your suggestion correctly, I would need a dedicated queue for each running process. There could be many running at the same time, so I'm not sure I can do that.
              thanks anyway!

Maybe you are looking for

  • Need Expert Advice regarding oracle and java objects

    In our project, we are submitting data for many screens at a time. Some screens will have a list of records to be submitted. There is also some hierarchy among the data up to 4 levels. In such a scenario, we need to know the best way to exchange data

  • CRIO application works in interactive mode but broken VIs reported in error log when run built application on target

    I have been getting more than my fair share of grey hairs the past few days because of this. Over the past few months this almost never happened. Lately, after a seemingly minor change to some serial communications code, hardly a single build works w

  • Configuring alerts

    Hi, i want to configure alerts in XI.im on sp16. while goig through pre requisites for alerts I am asked to configure a communication between CEN(central monitoing system) and ALM(central alert server) and choose this destination in transcation SALRT

  • Overview of all ebooks across apps

    I am looking for a way to get an overview of all my ebook purchases across iBooks, the Kindle App, Google eBooks etc. Does anybody know of an app or a way to get an overview? Wouldn't it be nice if we could search through all our ebook libraries? Tha

  • Photoshop CC und Filtergalerie Problem?

    Fehlermeldung bei Anwendung der Filtergalerie: Der Vorgang konnte nicht abgeschlossen werden. Hab schon Grundeinstellungen zurückgesetzt. Modus RGB, 8-Bit ist klar. Tritt bei unseren beiden iMac´s 2,9 ghz i5, 16 gb ram auf. Betriebssystem mac os x 10