How to Send & receive HL7v2.3 & HLv2.5.1 message from same port.

Hi,
Currently I have a requirement of sending multiple version HL7 messages say HL7v2.3 & HLv2.5.1 from the same port(say 3333) and receive it at the same port (say 4444) using Oracle SOA Suite.
To address this problem, I first tried to create multiple versions endpoints in the Healthcare UI of SOA and gave them separate Composites each catering different versions of the HL7 message structure. But this didn't work since, the Healthcare UI refuses to accept two different Composites. Not sure if this supported in Healthcare UI or not?
Also, another problem which this approach threw at me was that I have another challenge to create a single healthcare adapter to accept both versions which is not possible, i think, because when we are creating the HL7 adapter in the Composite it asks to provide the HL7 structure it follows and there can be only one message structure that I could provide to this healthcare adapter placed at the receiving end.
With extensive googling I was pointed out to second approach of making it entirely in B2B. But there was also stuck at the time the agreement (Agreement between local partner and remote partner for both the HL7 versions) was to be deployed, since it was giving this error.
Agr1 is not valid. Please correct the following errors.
Error -: B2B-52276: Type of the parameter MessageECSFileBlob must match with the value {1}
On my part I tried to investigate what this MessageECSFileBlob is?
And the answer I got is that it is part of Document Definition and is  "Absolute file path of ecs".
My Take & Confusion Around this::
1. Since I first tried to cater this problem through Healthcare UI so, I have imported the repository for both the versions HL7v2.3 & HLv2.5.1. Now since the B2B shows all the HL7 versions, therefore I didn't create any custom message structure for this since the entire HL7 version repository is already available to me.
Do I need to remove these versions from the repository and come back to B2B to first provide it custom message structure for both HL7v2.3 & HLv2.5.1?
2. Any idea if one endpoint can support multiple message structure with different composites in Healthcare UI?
Thanks
Saurabh

Hi citbcj,
You could "fix" by catching and handling the exception. Here's the pseudo code
declare
  exception   smtp_error;
  pragma exception_init (smtp_error, -29279);
begin
  for rec_notify in cur_notify loop
    declare
      l_to   varchar2 (100) := rec_notify.email;
    begin
      html_email (l_to, l_from, l_subject, 'none', l_body);
    exception
      when smtp_error then
        log_it_or_something_and_continue;
    end;
  end loop;
end;
/Regards
Peter

Similar Messages

  • Can anybody tell me how to send/receive  the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    Which jsms? Google finds several.
    Try the website where you downloaded it.

  • Can any body tell me, how to send/receive the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.

  • I have to send messages through UDP multicast and unicast from same port. In Labview I tried that it throws error. I heard it is possible by means of Datagram (UDP unicast and multicast) Port Sharing. How can it be achieved in Labview?

    I have to send UDP multicast and Unicast messages to a remote port from a single source/local port. I tried by opening UDP unicast and multicast in the same port and got the expected error. I tried by opening a unicast connection and sending unicast messages.After that when multicast messages has to send I closed unicast and opened multicast in the same port.This is not throwing any error. But my requirenment is to comminicate with another application in C ++ which recieves this data, throwing an error of lost connectivity and both the applications are not abled to communicate properly. 
    In the other application with C++ this is implemented using port sharing. So how port sharing can be implemented in labview so that I can send both multicast and unicast messages from the same port?
    Thanks in advance

    UDP is a sessionless protocol, meaning that anyone listening on the specified port CAN receive the data. CAN because as you noted there is no guarantee in the protocol that it will be received. And if you send the data not to a specific address but a multicast address not only one computer can receive it but in fact every computer on the same subnet listening to that multicast address and depending on the TTL of the packet also computers in neighbouring subnets, although that last one is not a very reliable operation since routers can be configured to drop multicast packages anyhow despite of a different TTL saying otherwise.
    Accordingly there is no real way to make sure that a receiving UDP port is not already in use, since you don't build up a connection. UDP is more or less analogous to shouting your messages through a megaphone, and anyone listening on the right frequency (port) can hear it. You do bind the sender socket to a specific port number but that makes little difference.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to send an  email to external user (offline form) from se38

    Hi all
    how to send an  email to external user (offline form) from se38 and upload the same from recipent.
        we have sent mail using scripts and smartforms but couldnt do here. It will be helpful if you can give us any sample code
    regards
    mohammed

    Hi,
    Have a look at this thread [Re: Sending PDF forms (created using SFP) as Email Attachment]  i explain all the solution with a sample code .
    Hope it's help you
    regards

  • HOW TO AUTOMATICALLY RECEIVE LAST DAY DATABASE ERRORS I.E FROM 7AM T0 6PM

    HOW TO AUTOMATICALLY RECEIVE LAST DAY DATABASE ERRORS I.E FROM 7AM T0 6PM

    Hi;
    HOW TO AUTOMATICALLY RECEIVE LAST DAY DATABASE ERRORS I.E FROM 7AM T0 6PMYou can type script and check your alert.log. By the way why specific time?Error can be happen all the time period.
    Please see my blog:
    http://heliosguneserol.wordpress.com/2010/06/11/oracle-alert-log-file-check-script/
    Regard
    Helios

  • How can i know who get my photos and messages from my icloud???

    How can i know who get my photos and messages from my icloud???

    Nobody, except the persons who have your username and password or with whom you share photos streams would be able to see anything from you.

  • How can i know who get my photos and messages from my icloud???, How can i know who get my photos and messages from my icloud???

    How can i know who get my photos and messages from my icloud???

    The following website gives you an overview on how your iCloud data is encrypted: https://support.apple.com/kb/HT4865 So as long as you don not share your Apple ID with someone else, everything should be fine.

  • How do you transfer pictures,video's and text messages from iphone 4 to the new model

    How do you transfer pictures,video's and text messages from iphone 4 to the new model?

    http://support.apple.com/kb/ht2109

  • TS2755 I would like to know how I can save a years worth of text messages from my iphone 4s to my computer. (I have verizon as a carrier)

    Hey:
    Hi everyone.
    would like to know how I can save a years worth of text messages from my iphone 4s to my computer.
    (I have Verizon Wireless as a carrier), I have tried the app store but it is okay for one messgae but not for hundreds.
    Can you help me.
    Thank you in advance. Happy Thanks Giving.

    There is no Apple provided way to save text messages to a computer.
    The iPhone backup done via iTunes or iCloud, will backup the messages but they are not accessible on the computer.
    A google search may reveal options to saving the messages to the computer.

  • AS2 Sender adapter..  How we can receive 2 messages from same partner??

    Hi all,
    I have to receive 2 AS2 messages from my partner like ORDERS and REMADV information.
    I kept Message Subject as * for both my AS2 Sender adapters.
    I configured both the scenarios and i ask my partner to send the messages and he got the error as
    "403 : FORBIDDEN" .
    But these two scenarios are working when i delete one scenario and run the other by keeping message subject as *
    I felt like the messages can be diffferentiated only with Message subject when we are dealing with AS2 adapters.
    Questions :
    Is there any option in AS2 sender adapter where we can differentiate the messages apart from Message subject because my partners are sending the messages without any message subject.
    Kindly let me know.. its urgent.
    Regards
    Seema.

    Hi Swarup,
    Thanks for the reply.
    I think you totally misunderstood my question.
    Here i will explain clearly..
    Sender Party : PartyA
    Sender AS2ID : A-AS2
    Recevier party: PartyB
    Receiver AS2ID : B-AS2
    PartyB will be receiving messages from PartyA.
    Say it is receving ORDERS and REMADV messages.Both are XML files.
    So PartyB will be configured with two complete new scenarios and 2 AS2 sender adapters to receive the messages.I kept Message subject as * in both the sender adapters.
    The messages are not coming in and clearly there is a confilct in selecting the correct communication channel.
    Actually i read in one of the thread that the messages which are coming to XI will be picked up based on two things:
    1) AS2 ID of the partner which is dicussed above and the second one is
    2) Message subject
    But from my partners we are receving the messages without any Message subject.
    So in this situation how we can differentiate each messages and how the messages will go to correct communication channel.??
    Regards
    Seema.

  • How to send/receive e-mails with sql or pl/sql

    Hello,
    I must send and receive e-mail (something like e-mail client) done with oracle database and oracle forms.
    How can I receive e-mails with SQL? Is there any way?
    I read threads about using utl_smtp but i could not send an e-mail. May be I need to use servers without password?
    Best regards
    P.S. I'm using Forms 10g R2 and database 9i

    Hi,
    try below code.
    change mailhost ip to u r mail server ip.
    CREATE or REPLACE PROCEDURE SimpleTextMessage IS
    mailHOST VARCHAR2(64) := '192.168.0.21';
    mailFROM VARCHAR2(64);
    mailTO VARCHAR2(64);
    mailCONN utl_smtp.connection;
    mailDATE VARCHAR2(20);
    vreply utl_smtp.reply;
    vreplies utl_smtp.replies;
    i number;
    BEGIN
    mailFROM := '[email protected]';
    mailTO := '[email protected]';
    SELECT TO_CHAR(SYSDATE,'MM/DD/YYYY HH24:MI:SS') INTO mailDATE FROM dual;
    vreply := utl_smtp.open_connection(mailHOST, 25, mailCONN);
    vreplies := utl_smtp.help(mailCONN, 'HELP');
    for i in 1..vreplies.count loop
    dbms_output.put_line( 'text = ' || vreplies(i).text );
    end loop;
    vreplies := utl_smtp.ehlo(mailCONN, mailHOST);
    for i in 1..vreplies.count loop
    dbms_output.put_line( 'text = ' || vreplies(i).text );
    end loop;
    vreply := utl_smtp.mail(mailCONN, mailFROM);
    vreply := utl_smtp.rcpt(mailCONN, mailTO);
    vreply := utl_smtp.open_data(mailCONN);
    utl_smtp.write_data(mailCONN, 'Subject: '|| 'Hi' || chr(13));
    utl_smtp.write_data(mailCONN, 'From: '||mailFROM || chr(13));
    utl_smtp.write_data(mailCONN, 'Date: '||mailDATE || chr(13));
    utl_smtp.write_data(mailCONN, 'To: '||mailTO || chr(13));
    utl_smtp.write_data(mailCONN, 'CC: '||mailFROM || chr(13));
    utl_smtp.write_data(mailCONN, chr(13));
    utl_smtp.write_data(mailCONN, 'Hello Friend how r u.' || chr(13));
    vreply := utl_smtp.close_data(mailCONN);
    END;
    /

  • How to send / receive business card from other mobile phone?

    i can't find how to send business card, like at Nokia phone.
    and i can't receive it too.
    need help .

    And when do you think we could get that feature? Very essential when exchanging contact details with people. Had I anticipated this, I would have stayed with other brands.

  • How to send/receive ByteArrayOutputStream

    Hello, all
    I am doing a project which use mobilephone to record a sound then send the sound to a server.
    Now i am finishing the recording by using Player and RecordControl.
    After that, i get a ByteArrayOutputStream. The code is as follow:
    ByteArrayOutputStream audioOutput;
    player.realize();
    RecordControl rc = (RecordControl) player.getControl("RecordControl");
    rc.setRecordStream(audioOutput);
    rc.startRecord();
    player.start();
    Thread.currentThread().sleep(5000);
    rc.commit();
    My question is how to send this audioOutput..
    Thanks for any response.
    Edited by: cityukings on Jan 14, 2009 11:30 PM

    Now you have the ByteArrayOutputStream, create a byte array and send it to server using Connector. See the demo..
    conn = (StreamConnection)Connector.open(serviceUrl);
    DataOutputStream out = conn.openDataOutputStream();
    //OutputStream output = conn.openOutputStream();
    out.writeInt(recordedSoundArray.length);
    out.write(recordedSoundArray,0,recordedSoundArray.length);
    out.flush();
    out.close();
    Regards,
    Om

  • I had the iPhone 5 for a while and my Macbook Air was sending me the incoming messages from that phone, however I just upgraded to the 6 Plus and was wondering how I can get my laptop to recognize the messages from this phone now on iMessages.

    Okay so my Macbook Air has always allowed me to receive iMessages from my iPhone 5 to my computer. So basically I could use both to text.. However I just upgraded to the iPhone 6 Plus and I would like the same to happen again with my new phone, but I don't know how. How can my incoming iMessages from my new iPhone 6 plus show up on my laptop?
    -I see all the messages from my old iPhone there, but I would like to know how to set it up so that i can view the messages from my new phone.

    Hi,
    If you are signed onto the same iCloud/Apple ID for Messages, then the second number should have been registered with your Messages on the Mac at the time it was verified.
    To check this, open Messages on the Mac, click on Accounts, and see if the number is displaying and checked. If it is not, Sign out of Messages on your new device and then sign on again.
    Again, phones need to be signed onto the same Messages account that you have set up in Messages.
    Cheers,
    GB

Maybe you are looking for

  • Upgrade to Windows 8.1 Pro Update 1 and it killed all my 3rd party drivers

    Hoping someone can help - my PC upgraded Windows 8.1 Pro (fresh install a few months ago) with the 'Update 1 patch' which was made available a few days ago.  It was done via Windows Update - I let it do its thing for about 15 minutes, restart etc. On

  • Sync issue with Outlook Calendar

    I just got my first BB - the Pearl 8120.  I installed the Desktop Manager v4.6 off the BB web on an XP tablet pc.  I set it up to syncronize with my outlook 2003.  The sync worked fine for the contacts, however, when it started syncing the calendar,

  • GLT0 TABLE DOUBT - URGENT

    hi exports i want to take gl account balance GLT0 table? but i've some field month wise like HSL01 (apr), HSL02(may), HSL03(jun) like wise? i want to take credit, debit and balance how can i take wht is the prog. i want to take month wise ? how? my p

  • SAP ERP 6  system and compatibility with BW systems.

    Hi All, An upgrade to a ECC 6.0 system form 4.6C or 4.7 system is fine. But however, in an integrated environment - the 4.6C system is usually integrated with other SAP Products as well. The question I have is is a ECC 6.0 system compatible with BW 3

  • Epson r2400 won't print - no driver in Software Update

    Since I installed Mavericks the only driver that shows up when I add the printer is a third party "Gutenprint" driver that just doesn't work for squat. When I click software update there is no driver that shows up for Epson, even though Epson's websi