Is the SRR message you are returning fully valid? I.e. does it have an MSA
segment that indicates the control ID of the message it is a response to?

If so, can you post the error you are sending here?

Cheers,
James


On Thu, Jul 10, 2014 at 9:30 AM, Abhishek Modi <abshkm...@gmail.com> wrote:

> Hi James,
>
> I have two applications lets say  A & B. So, I send an appointment request
> in the form of SRM_S01 message from A. Now B's server listens to the SRM
> message. Now the handler for SRM message implements the
> ReceivingApplication interface. In the processMessage function of
> ReceivingApplication I can return any Message type. So I should be able to
> return a SRR message. But when I do that, I get error. Returning an ACK
> works fine.
>
>
> On Thu, Jul 10, 2014 at 6:30 PM, James Agnew <ja...@jamesagnew.ca> wrote:
>
>> Hi Abhishek,
>>
>> I'm not sure I understand your issue- Are you building the client, or the
>> server, or both? To have a different message returned, you need to modify
>> the server to return that message. HAPI's client will simply return
>> whatever it gets back.
>>
>> Cheers,
>> James
>>
>>
>> On Thu, Jul 10, 2014 at 6:57 AM, Abhishek Modi <abshkm...@gmail.com>
>> wrote:
>>
>>> I'm using SRM_S01 messages for booking appointments.
>>>
>>> The Listener on the other sides receiver the SRM message and returns an
>>> ACK message in response. Is there a way to return a SRR message instead of
>>> ACK?
>>>
>>> Regards
>>> Abhishek Modi
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Open source business process management suite built on Java and Eclipse
>>> Turn processes into business applications with Bonita BPM Community
>>> Edition
>>> Quickly connect people, data, and systems into organized workflows
>>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>>> http://p.sf.net/sfu/Bonitasoft
>>> _______________________________________________
>>> Hl7api-devel mailing list
>>> Hl7api-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>>
>>>
>>
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to