Synchronous HL7 Inbound request-reply

Hello All,
This is my first please sorry for any mistakes
I'm currently using,
Oracle JDeveloper 11g Release 1 (11.1.1.7.0)
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
My task looks very simple
I need synchronous HL7 Inbound request-reply.
What I'm trying to do is:
Using Jdeveloper create SOA composite project
1) Set up synchronous HL7 Inbound request-reply using "HL7 Adapter" (Inbound type: QRY_T12, Outbound type: DOC_T12)
2) Set up synchronous BPEL (also tried specify later) and wire it to "Exposed service" created on step 1
3) Add simple transformation between BPEL Recieve and Reply (setting ACK.1 == "AA")
Compile: no warnings or errors
Deploy: no warnings or errors
Send HL7 message -> getting "IDeliveryService.post() invoked for two-way operation 'request-reply'. This method can only be used to invoke one-way operations which don't return any messages. Please check the WSDL which defines this operation and use the method IDeliveryService.request() to invoke a two-way operation"
What am i doing wrong?
Is such thing as HL7 request-reply is possible?
Will highly appreciate any help, being struggling with this more than a week
Thanks in advance!
PS Endpoint Acknowledgement Mode is set to SYNC

Bob,
I don't think PS4 (11.1.1.5) has this option available -
http://docs.oracle.com/cd/E21764_01/integration.1111/e10229/intro_ui.htm#CHDEGEEB
Please re-check your local setup version.
Regards,
Anuj

Similar Messages

  • Weblogic temporary or synchronous request/reply queue

    Hi,
    Is there a possibility of creating temporary or Synchronous request/reply Queue in weblogic. If so, please let me know the steps to create it.
    Thanks

    The following doc section contains information about using WebLogic JMS temporary destinations.
    http://docs.oracle.com/cd/E17904_01/web.1111/e13727/manage_apps.htm#JMSPG283

  • Request/Reply in FTP Adapter

    Hi,
    I have to implement the Req/Reply paradigm with an FTP Adapter and DB Adapter. A file is created which is read by FTP adapter and a synchronous reply is required in the same file e.g the file will contain XML for customer number; in response in requires Customer Name is the same file.
    I am using Procedure in iStudio but how can I direct the reply to the same file with the same name with which it is originally created in the upload directory.
    In a nut shell, what is the best way to model req/reply in File and DB Adapter.
    Thanks
    M jahangir

    Hi All
    The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
    <adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
    wsdlLocation="RemoteOSBJMSService.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RequestReplyTopic"
    UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
    UIConnectionName="chdsez147855d"/>
    <endpoint-activation portType="Reply_ptt" operation="Reply"
    UITransmissionPrimitive="Request-response">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.soa.local.response.q"/>
    </activation-spec>
    </endpoint-activation>
    <endpoint-interaction portType="Request_ptt" operation="Request"
    UITransmissionPrimitive="Request-response">
    <interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
    <property name="TimeToLive" value="0"/>
    <property name="PayloadType" value="TextMessage"/>
    <property name="DeliveryMode" value="Persistent"/>
    <property name="DestinationName" value="jms.soa.local.request.topic"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
    Please help!

  • Socket Adapter Request-Reply ~ Error occured in processing client request ~

    Dear Friends,
    Need your help in resolving a Issue regarding Socket Adapter Request/Reply.
    We have a requirement to recieve Message from a External Vendor using Socket based communication,to achieve this Created a Process which has Socket Adapter Inbound Synchronous Request-Reply. I have also created a sample Outbound Service to test and it was able to send & Receive Message Sucessfuly .
    When i try to Recieve a Message from the External Vendor on Port 8008 in this I am unable to receive the message(No Bpel Instance Created) message coming to the SOA Server, in the logs I can see Below Error-
    Socket Adapter ClientProcessor:run() Error occured in processing client request
    Socket Schema Translation Error.
    Error while trying to translate from native.
    Please ensure that the schemas are set up with native annotations and comply with the output XML. Contact Oracle support if error is not fixable.
    Pls. find my Input XSD Below-
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/InboundService"
    targetNamespace="http://TargetNamespace.com/InboundService"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    >
    <xsd:element name="R1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Sample Incoming Message-
    <?xml version="1.0" encoding="UTF-8"?>
    <ExitRequest>
    <ExitRequestID>1234</ExitRequestID>
    <Timestamp>28-11-2012 01:19:11</Timestamp>
    <ActiveTagData>23456</ActiveTagData>
    <DriverID>5555</DriverID>
    <LicensePlate>6546</LicensePlate>
    <DriverName> Sujit Nair</DriverName>
    <DriverDOB>06-06-2012</DriverDOB>
    <DriverEmployer>Testing</DriverEmployer>
    <DriverSex>Male</DriverSex>
    <DriverLang>ENGLISH</DriverLang>
    <DriverNationality>TEST</DriverNationality>
    <LaneID>Gate Testing</LaneID>
    <CardReaderID>07700</CardReaderID>
    </ExitRequest>
    Can anyone pls. help me on this , still not able to understand what I am doing wrong. Pls. let me know if any other details required.
    Thanks,
    Sujit Nair

    Hi,
    You don't need a NSXD (Native Format Builder) to receive a message that is XML already, and the NXSD you listed above has nothing to do with the sample incoming message. So, no surprises it is complaining "Error while trying to translate from native.".
    You have to fix the incoming message element on the Socket Adapter.
    Cheers,
    Vlad

  • BEA-381951 JCA inbound request only invocation failed

    Hi there,
    I'm using OSB to create a series of interfaces between a couple of applications.
    Since this Monday for some reason whenever I try to test my application on the server I'm getting the error <BEA-381951> JCA inbound request only invocation failed (I'll post the stack trace on the end of the post).
    I'm using the OEPE to create the OSB services and publish them... The publish functions OK and the OEPE says that it is synchronized with the server, but when I try to do Run on server to test my Services it takes long time without anything happening and at the end appears a message saying that there was an unknown error. If I try again to Run on Server nothing happens. After this I can't even access the web sbconsole, it stays loading and nothing happens...
    I don't know if it is relevant but I have 3 kinds of services, some are listening to a Table in a Data Base, other are Webservices and other listen to a Topic.
    Can anybody help me?
    Best Regards,
    Daniel Alves
    The stack trace of the error is the following:
    <Error> <JCATransport> <SERVER NAME> <AdminServerOsb> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <BEA1-002646A254E4F8C4A298> <a7acfb4f5f216892:-40aaf1d3:12a130eb503:-8000-000000000001fa2f> <1280220202417> <BEA-381951> <JCA inbound request only invocation failed, exception: java.security.PrivilegedActionException: com.bea.wli.sb.transports.TransportException: com.bea.wli.sb.pipeline.PipelineException
    java.security.PrivilegedActionException: com.bea.wli.sb.transports.TransportException: com.bea.wli.sb.pipeline.PipelineException
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.security.Security.runAs(Security.java:61)
         at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.sendMessage(JCATransportInboundOperationBindingServiceImpl.java:411)
         at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.invokeOneWay(JCATransportInboundOperationBindingServiceImpl.java:126)
         at com.bea.wli.sb.transports.jca.binding.JCAInboundRequestListener.post(JCAInboundRequestListener.java:40)
         at oracle.tip.adapter.sa.impl.inbound.JCAInboundListenerImpl.onMessage(JCAInboundListenerImpl.java:171)
         at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:462)
         at oracle.tip.adapter.db.InboundWork.onMessageImmediately(InboundWork.java:2008)
         at oracle.tip.adapter.db.InboundWork.onMessageDirectly(InboundWork.java:1957)
         at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1849)
         at oracle.tip.adapter.db.InboundWork.transactionalUnitDirectly(InboundWork.java:1569)
         at oracle.tip.adapter.db.InboundWork.processDeliveryException(InboundWork.java:1810)
         at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1523)
         at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:720)
         at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:581)
         at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:44)
         at weblogic.work.ContextWrap.run(ContextWrap.java:41)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: com.bea.wli.sb.transports.TransportException: com.bea.wli.sb.pipeline.PipelineException
         at com.bea.wli.sb.transports.TransportException.newInstance(TransportException.java:197)
         at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:390)
         at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl$4.run(JCATransportInboundOperationBindingServiceImpl.java:407)
         at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl$4.run(JCATransportInboundOperationBindingServiceImpl.java:405)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.security.Security.runAs(Security.java:61)
         at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.sendMessage(JCATransportInboundOperationBindingServiceImpl.java:405)
         at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.invokeOneWay(JCATransportInboundOperationBindingServiceImpl.java:126)
         at com.bea.wli.sb.transports.jca.binding.JCAInboundRequestListener.post(JCAInboundRequestListener.java:39)
         at oracle.tip.adapter.sa.impl.inbound.JCAInboundListenerImpl.onMessage(JCAInboundListenerImpl.java:171)
         at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:462)
         at oracle.tip.adapter.db.InboundWork.onMessageImmediately(InboundWork.java:2008)
         at oracle.tip.adapter.db.InboundWork.onMessageDirectly(InboundWork.java:1957)
         at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1849)
         at oracle.tip.adapter.db.InboundWork.transactionalUnitDirectly(InboundWork.java:1569)
         at oracle.tip.adapter.db.InboundWork.processDeliveryException(InboundWork.java:1810)
         at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1523)
         at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:720)
         at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:581)
         at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
         at weblogic.work.ContextWrap.run(ContextWrap.java:41)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: com.bea.wli.sb.pipeline.PipelineException
         at com.bea.wli.sb.pipeline.PipelineContextImpl$SynchronousListener.onError(PipelineContextImpl.java:1345)
         at com.bea.wli.sb.transports.LoadBalanceFailoverListener.onError(LoadBalanceFailoverListener.java:439)
         at com.bea.wli.sb.transports.CoLocatedMessageContext.sendResponse(CoLocatedMessageContext.java:305)
         at com.bea.wli.sb.transports.CoLocatedMessageContext.close(CoLocatedMessageContext.java:285)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.wli.sb.transports.Util$4.invoke(Util.java:351)
         at $Proxy166.close(Unknown Source)
         at com.bea.wli.sb.pipeline.MessageProcessor.finishProcessing(MessageProcessor.java:422)
         at com.bea.wli.sb.pipeline.RouterCallback.onReceiveResponse(RouterCallback.java:108)
         at com.bea.wli.sb.pipeline.RouterCallback.run(RouterCallback.java:183)
         at weblogic.work.ContextWrap.run(ContextWrap.java:41)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >

    Hi,
    Did you find a solution for this? I am stuck with this error. can you please help

  • Request-Reply in JMSAdapter SOA 11g using a Topic and a Queue

    Hi All
    We are trying to implement JMS Request\Reply with Tibco EMS Server using JMS Request\Reply. Problem is that Tibco has exposed a topic (where request message has been enqueued) and replies the message is a pre defined JMS queue.
    I am trying to use JMS adapter in SOA 11g (OSB doesnt support request\reply as soon as destination is selected as Topic ) with foreign JMS server setup in weblogic.
    Problem is that when i invoke the composite, it errors out saying that request destination has to be a queue. I tried to find any sample that talks about request-reply with topics but could not find any.
    Is request-reply pattern supported with topics or topic-queue combinations in JMS adapter 11g? Please let u know. Thanks

    Hi All
    The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
    <adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
    wsdlLocation="RemoteOSBJMSService.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RequestReplyTopic"
    UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
    UIConnectionName="chdsez147855d"/>
    <endpoint-activation portType="Reply_ptt" operation="Reply"
    UITransmissionPrimitive="Request-response">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.soa.local.response.q"/>
    </activation-spec>
    </endpoint-activation>
    <endpoint-interaction portType="Request_ptt" operation="Request"
    UITransmissionPrimitive="Request-response">
    <interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
    <property name="TimeToLive" value="0"/>
    <property name="PayloadType" value="TextMessage"/>
    <property name="DeliveryMode" value="Persistent"/>
    <property name="DestinationName" value="jms.soa.local.request.topic"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
    Please help!

  • Asynchronous Web Service Request-Reply Invocation from Service Control

    Hi all
    I need to invoke a reliable web service call using a Service Control. when trying to make that invocation for an operation that returns data. It gives the following exception. For the methods that marked with @Oneway() annotation in the service implementation, it works.
    javax.xml.rpc.JAXRPCException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
    </bea_fault:stacktrace></detail>]; nested exception is:
    weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
    Caused by: java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Reliable messaging will only work with one way messages or asynchronous request/response messages.
    ] FaultActor [null] Detail [<detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.rpc.JAXRPCException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
    </bea_fault:stacktrace></detail>]; nested exception is:
    weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
    So I need to make Asynchronous Request-Reply Invocation from Service Control, which is apparently doesn't happen in this case.
    Thanks

    Hi HP,
    I included the following snippet in job source:
    //Set completion strategy to external
    jcsJobContext.setCompletionStrategy(CompletionStrategyType.External);
    I get the following error when compiled:
    JCS-102183: Compile failed for Job Definition SOAP_GlobalWeatherSoap_GetCitiesByCountry (Latest Version): SOAP_GlobalWeatherSoap_GetCitiesByCountry.java:user code 24:40:cannot find symbol symbol : variable CompletionStrategyType location: class com.redwood.scheduler.custom.SOAP_GlobalWeatherSoap_GetCitiesByCountry jcsJobContext.setCompletionStrategy(CompletionStrategyType.External);
    I am not able to find any information from the API documentation on the method setCompletionStrategy, so I'm not able to figure what type of variable am i passing, so that i can initialize it. Please shed some light on it.
    Also there is no path called Scripting > Built-In Web Services
    I have only Scripting>Published Web Services
    Thanks
    Nanda

  • Request/Reply

    I'm having some trouble with my request/reply setup.
    Here's the requesting code:
    String request =
         "<mileage-xml-request><origin><city>UNIONTOWN</city>" +
         "<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city>DALAS</city>" +
         "<state>TX</state><zip>75201</zip><country>USA</country></dest></mileage-xml-request>";
    String initialContextFactory = "com.tibco.tibjms.naming.TibjmsInitialContextFactory";
    String providerURL = "tcp://app-dev-01.blue.fedex.com:7222";
    QueueConnectionFactory factory =
        (QueueConnectionFactory) JndiHelper.lookup(
            "QueueConnectionFactory",
            providerURL,
            initialContextFactory);
    QueueConnection conn = factory.createQueueConnection();
    QueueSession session = conn.createQueueSession(false, Session.DUPS_OK_ACKNOWLEDGE);
    Queue queue =
        (Queue) JndiHelper.lookup(
            "COM.FEDEX.BLUE.MILEAGE.REQUEST",
            providerURL,
            initialContextFactory);
    QueueRequestor requestor = new QueueRequestor(session, queue);
    TextMessage requestMessage = session.createTextMessage(request);
    TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
    System.out.println(textMessage.getText());
    requestor.close();
    session.close();And the reply code:
    Queue queue = (Queue) message.getJMSReplyTo();
    QueueConnectionFactory factory =
        (QueueConnectionFactory) JndiHelper.lookup(
            "QueueConnectionFactory",
            providerURL,
            initialContextFactory);
    QueueConnection conn = factory.createQueueConnection();
    QueueSession session = conn.createQueueSession(false, Session.DUPS_OK_ACKNOWLEDGE);
    QueueSender sender = session.createSender(queue);
    TextMessage replyMessage = session.createTextMessage(reply);
    replyMessage.setJMSCorrelationID(correlationID);
    sender.send(replyMessage);
    sender.close();
    session.close();
    conn.close();The requesting code runs fine up to
    TextMessage textMessage = (TextMessage) requestor.request(requestMessage);Which then triggers the reply code, which runs to completion, but it never receives a reply.
    Any ideas on what to try next? Is my requestor listening on the wrong queue for the answer? Is my replier sending to the wrong queue?
    Thanks.
    Eric

    I just needed
    conn.start();
    after
    QueueRequestor requestor = new QueueRequestor(session, queue);

  • Request/Reply w/ MDB

    I'm having some trouble with my request/reply setup.
              Here's the requesting code (just a regular test class):
              String request = "<mileage-xml-request><origin><city>UNIONTOWN</city>" +
              "<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city
              >DALAS</city>" +
              "<state>TX</state><zip>75201</zip><country>USA</country></dest></mileage-xml
              -request>";
              String initialContextFactory =
              "com.tibco.tibjms.naming.TibjmsInitialContextFactory";
              String providerURL = "tcp://app-dev-01.blue.fedex.com:7222";
              QueueConnectionFactory factory = (QueueConnectionFactory)
              JndiHelper.lookup("QueueConnectionFactory", providerURL,
              initialContextFactory);
              QueueConnection conn = factory.createQueueConnection();
              QueueSession session = conn.createQueueSession(false,
              Session.DUPS_OK_ACKNOWLEDGE);
              Queue queue = (Queue) JndiHelper.lookup("COM.FEDEX.BLUE.MILEAGE.REQUEST",
              providerURL, initialContextFactory);
              QueueRequestor requestor = new QueueRequestor(session, queue);
              TextMessage requestMessage = session.createTextMessage(request);
              TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
              System.out.println(textMessage.getText());
              requestor.close();
              session.close();
              conn.close();
              And the reply code (inside my MDB, called from onMessage):
              Queue queue = (Queue) message.getJMSReplyTo();
              QueueConnectionFactory factory = (QueueConnectionFactory)
              JndiHelper.lookup("QueueConnectionFactory", providerURL,
              initialContextFactory);
              QueueConnection conn = factory.createQueueConnection();
              QueueSession session = conn.createQueueSession(false,
              Session.DUPS_OK_ACKNOWLEDGE);
              QueueSender sender = session.createSender(queue);
              TextMessage replyMessage = session.createTextMessage(reply);
              replyMessage.setJMSCorrelationID(correlationID);
              sender.send(replyMessage);
              sender.close();
              session.close();
              conn.close();
              The requesting code runs fine up to
              TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
              Which then triggers the reply code, which runs to completion, but the reques
              tor never receives a reply.
              Any ideas on what to try next? Is my requestor listening on the wrong queue
              for the answer? Is my replier sending to the wrong queue?
              Thanks.
              Eric
              

    I just needed
              conn.start();
              after
              QueueRequestor requestor = new QueueRequestor(session, queue);
              "Eric F" <[email protected]> wrote in message
              news:[email protected]...
              > I'm having some trouble with my request/reply setup.
              >
              > Here's the requesting code (just a regular test class):
              >
              > String request = "<mileage-xml-request><origin><city>UNIONTOWN</city>" +
              >
              "<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city
              > >DALAS</city>" +
              >
              "<state>TX</state><zip>75201</zip><country>USA</country></dest></mileage-xml
              > -request>";
              > String initialContextFactory =
              > "com.tibco.tibjms.naming.TibjmsInitialContextFactory";
              > String providerURL = "tcp://app-dev-01.blue.fedex.com:7222";
              > QueueConnectionFactory factory = (QueueConnectionFactory)
              > JndiHelper.lookup("QueueConnectionFactory", providerURL,
              > initialContextFactory);
              > QueueConnection conn = factory.createQueueConnection();
              > QueueSession session = conn.createQueueSession(false,
              > Session.DUPS_OK_ACKNOWLEDGE);
              > Queue queue = (Queue) JndiHelper.lookup("COM.FEDEX.BLUE.MILEAGE.REQUEST",
              > providerURL, initialContextFactory);
              > QueueRequestor requestor = new QueueRequestor(session, queue);
              > TextMessage requestMessage = session.createTextMessage(request);
              > TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
              > System.out.println(textMessage.getText());
              > requestor.close();
              > session.close();
              > conn.close();
              >
              > And the reply code (inside my MDB, called from onMessage):
              >
              > Queue queue = (Queue) message.getJMSReplyTo();
              > QueueConnectionFactory factory = (QueueConnectionFactory)
              > JndiHelper.lookup("QueueConnectionFactory", providerURL,
              > initialContextFactory);
              > QueueConnection conn = factory.createQueueConnection();
              > QueueSession session = conn.createQueueSession(false,
              > Session.DUPS_OK_ACKNOWLEDGE);
              > QueueSender sender = session.createSender(queue);
              > TextMessage replyMessage = session.createTextMessage(reply);
              > replyMessage.setJMSCorrelationID(correlationID);
              > sender.send(replyMessage);
              > sender.close();
              > session.close();
              > conn.close();
              >
              > The requesting code runs fine up to
              > TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
              >
              > Which then triggers the reply code, which runs to completion, but the
              reques
              > tor never receives a reply.
              >
              > Any ideas on what to try next? Is my requestor listening on the wrong
              queue
              > for the answer? Is my replier sending to the wrong queue?
              >
              > Thanks.
              >
              > Eric
              >
              >
              

  • Cloning and Synchronizing Oracle BI Requests and Dashboards Using CAF

    Hi,
    Cloning and Synchronizing Oracle BI Requests and Dashboards Using Content Accelerator Framework (CAF)
    what is this and in what scenario we use it? Is it useful for webcatalog/rpd migration from one env to other?
    Thanks
    Jay.

    Hi Jay,
    CAF is a utility that is used in migration of logical part of RPD and catalog objects from source to target environments. There are bunch of OBIEE bloggers already blogged about this a while ago. Check this article out, it should provide the information you are looking for: ( http://debaatobiee.wordpress.com/2009/11/26/playing-with-cafobiee-content-accelerator-framework/ ).
    FYI - If you are working in 11g environment, this tool (CAF) as far as I know is not supported. This tool was introduced by oracle few months before 11g came out which everyone thought would be big on revolutionizing the way migrations are done in OBIEE between environments.
    -Amith.

  • Request-Reply Messaging

              Hi,
              I'm buffled because I try to implement
              Request-Reply Messaging in my JavaClient Application,
              but one time it works, the next one doesn't.
              I use in my Application an MessageListener,
              and the same queue to send my messages and to receive reply messages.
              Middleware: WL 6.0 sp2
              Any advise would be great!
              kind regards
              

    Hi John,
    Does the work have to be queued? If not then I think the Functor Pattern (if you need order guarantees) or the Processing Pattern (no order guarantees) might be your easiest solutions (and they're fast).
    Alternatively, we could look at adding request/response into the Messaging. Do you have a particular API you'd like to see? Something JMS-ish?
    Regards
    -- Brian

  • No synchronous Request/Reply option in B2B config wizard step 5 of 7 ?

    I have a customer running SOA Suite 11.1.1.5 who has created a BPEL process
    and added a B2B partner link to the reference swim lane.
    They want to send a 270 document to a partner and receive a 271 on the same HTTP Channel as a Sync Req/Reply
    When the customer runs the B2B wizard, it successfully connects to their WLS Server and at
    Step 5 of 7 in the wizard they see radio buttons for
    o Send
    o Receive
    They do not have radio buttons further down for
    o Synchronous Request/Response
    o Outbound
    o Inbound
    Does anyone have any ideas why not?
    I have a sample running on my local server which is also 11.1.1.5 and
    the Synchronous Request/Response radio buttons do appear.
    thanks
    Bob

    Bob,
    I don't think PS4 (11.1.1.5) has this option available -
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10229/intro_ui.htm#CHDEGEEB
    Please re-check your local setup version.
    Regards,
    Anuj

  • MQ Request - Reply : can not send reply message

    Hi,
    I have two MQs defined REQUEST_MQ_NAME.RQT and REPLY_MQ_NAME.RPY.
    I am trying to use : Get Message from MQ and Send Reply/Reports - Synchronous
    I am able to recieve the message from request MQ but while sending the reply I get this error on the EM console.
    Error Message:
    Fault ID     service:451394
    Fault Time     Apr 14, 2010 3:43:02 PM
    Non Recoverable System Fault :
    *BINDING.JCA-13044 A webSphere MQ Error occurrred[while putting the message]. A webSphere MQ Error occurrred[while putting the message]. A webSphere MQ Error occurrred while putting the message in Queue: "REPLY_MQ_NAME.RPY ". Please make sure that the Queue is Put enabled, not full, message do not exceeds maximum message length and QueueManger is up and running.*
    I checked .. Queue is empty , message is a few characters and the QueueManager is up and running
    I am using the latest Jdeveloper (Studio Edition Version 11.1.1.2.0)
    Please help
    Thanks,
    Praveen
    Edited by: Praveen636546 on Apr 15, 2010 12:06 PM

    I checked the Queue and was successful in putting messages through a MQExplorer.
    I see this in the log:
    [NOTIFICATION] [] [oracle.soa.adapter] [QueueProcessor] Translating Message.
    [NOTIFICATION] [] [oracle.soa.adapter][QueueProcessor] Message translated successfully. ok.
    [NOTIFICATION] [] [oracle.soa.adapter][QueueProcessor] Message published. ok. with time [253 msec].
    [NOTIFICATION] [] [oracle.soa.adapter][MessageProduce] Starting Outbound Produce.
    *[NOTIFICATION] [] [oracle.soa.adapter][MQOutboundDOMHeader] Header Node is NULL*
    [NOTIFICATION] [] [oracle.soa.adapter][MessageProduce] Enabling SyncPoints For XA Transaction.
    [NOTIFICATION] [] [oracle.soa.adapter][MessageProducer] Throwing PCXARetriableResourceException
    *[ERROR] [] [oracle.soa.adapter][MessageProducer] Error while putting message in REPLY_MQ_NAME.RPY Throwing retriable exception.*
    I also saw this in .out file
    <Error> <oracle.soa.adapter> <BEA-000000> <MQSeriesAdapter MyMQProcess
    java.lang.NumberFormatException: For input string: "null"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:499)
    at oracle.tip.adapter.mq.header.MQHeader.getMessageTypeAsInt(MQHeader.java:772)
    at oracle.tip.adapter.mq.header.MQOutboundHeader.setHeaderValuesInMQMD(MQOutboundHeader.java:271)
    at oracle.tip.adapter.mq.outbound.MessageProducer.setMessageProperties(MessageProducer.java:839)
    at oracle.tip.adapter.mq.outbound.MessageProducer.produce(MessageProducer.java:321)
    at oracle.tip.adapter.mq.inbound.QueueProcessor.sendReply(QueueProcessor.java:1157)
    at oracle.tip.adapter.mq.inbound.QueueProcessor.publishMessage(QueueProcessor.java:842)
    at oracle.tip.adapter.mq.inbound.QueueProcessor.publishContent(QueueProcessor.java:1016)
    at oracle.tip.adapter.mq.inbound.QueueProcessor.run(QueueProcessor.java:259)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:3)
    I am not able to figure out why the Header Node is NULL
    Please help
    Thanks,
    Praveen

  • HL7 inbound : recommended architecture?

    Hi,
    What's the best way to process inbound HL7 messages?
    Some details:
    1. Inbound messages will all be ADT
    2. There's a lot of common processing, for example the PID segment of every message type will be handled the same.
    3. HL7 2.3.1, JCAPS 5.1.3
    One suggestion is to first unmarshall to HL7_GENERIC_EVT then unmarshall to the specific event type (eg HL7_231_ADT_A01).
    But how to do the common processing and keep maintainable code? The problem is the OTD object name is different for every message type. The only obvious solution requires code that is difficult to maintain like:
    // Ugly code that is hard to maintain
    If A01 then { A01.unmarshall(str); MSH = A01.getMSH(); PID = A01.getPID() ...}
    If A02 then { A02.unmarshall(str); MSH = A02.getMSH(); PID = A02.getPID() ...}
    If A03 then { A02.unmarshall(str); MSH = A03.getMSH(); PID = A03.getPID() ...}
    etc.
    Does anyone know if there is some superclass of the HL7 OTD's? If so it's possible to cast the OTD object up? Then for most segments this would work:
    // Better.
    if A01 then { A01.unmarshall(str); ADT = (Some SuperClass)A01 }
    if A02 then { A02.unmarshall(str); ADT = (Some SuperClass)A02 }
    MSH = ADT.getMSH()
    PID = ADT.getPID()
    Another way would be to dynamically create the object. I can get this to work, but only if the OTD is included in the collab properties, (which worries me). Also I cant find the constructor in the documents. Has anyone used this method?
    // Probably the best
    if A01 then ADT = new HL7_231_ADT_A01()
    if A02 then ADT = new HL7_231_ADT_A02()
    ADT.unmarshall(str);
    MSH = ADT.getMSH()
    PID = ADT.getPID()

    We generally treat ADT as the "event" and create a generic OTD to match all event types. The downside is you need to make some segments optional which would actually be required for certain events. If the source system sends swap messages such as A17s, you also need to have a group of upto 2 PID, PV1s etc.

  • HL7 Inbound - File with Multiple HL7 messages - how to configure?

    I have a file containing multiple HL7 v2 delimited messages, separated form one another with \r\r\n.
    Can I configure the inbound adapter in teh B2B to break up teh file into individual messages and process them through the B2B infrastructure individually?
    Thanks in advance for pointing me at the right documentation / blog / tutorial
    Edited by: Michael.Czapski on 22/07/2010 23:33

    Thanks, Anuj.
    I am using 11g R2, which I though is the current version.
    I don't have a HL7 Batch - I have a file with a bunch of HL7 messages separated by \r\r\n.
    Is there any way to configure the File adapter in the B2B to break up such a file at \r\r\n delimter characters and process each "record" as an individula HL7 message?
    If not, would I have to receive such a file using a File Adapter in the SOA Composite, have the File Adapter break it up and submit each "record" from the SOA Composite to the B2B using the outbound B2B Adapter in order to have them processed? If yes, can you point me at how I could configure teh SOA File Adapter to break up a delimited file into records?
    Thanks in advance
    Michael

Maybe you are looking for

  • Opening & Closing closing Stock

    Dear Experts,                     Please find the below query for Opening and Closing Stock of RM, where in I have been trying to arrest the Inventory Transfer quantity & Value  in IN QTY & OUT QTY. I used Transtype<> 67 to arrest but the same is not

  • I did a system update and now my computer freezes every minute

    As we speak my computer is freezing at 1 minute intervals. It works fine for 1 minute and then stops anything I am doing (even if not online) and the rainbow circle comes on for another minute freezing anything I try to do. This is continuing as I am

  • How can i run hardware diagnostic in my Macbook pro running OSX Lion 10.7.2

    Yesterday My 1 and half year old Macbook Pro 13.3" suddently developed a noisy fan and battery indicator also suddently changed from cable sign to X in the battery bar. when i removed the power cable, the computer suddently shut down. i plaged the po

  • Can´t open photos in iphoto

    I see all of my pictures, but when I try to open a picture in iphoto I only get a exclamation up!!....     what can I do and fix it?

  • Need help on network design

    Hi guys. Looking for some advice on a network design. Please tell me what you think may or may not be wrong or missing. Here are the details: The user count is approximately 600 (desktops, laptops and Cisco IP phones) with two locations (office and d