Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

TCP IP Assocaition

LEGEND ,
Mar 03, 2009 Mar 03, 2009

I'm trying to create a kind of web dicom tools in CF8, I found a dicom jar
class (JDCM toolkit). I'm starting with a simple "echo" function, without
success. I'm able to open a tcp socket, but not a DICOM association, does
anyone have some experience?

Thanks

TOPICS
Advanced techniques
475
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 04, 2009 Mar 04, 2009
kalderm wrote:
>
> I'm trying to create a kind of web dicom tools in CF8, I found a dicom
> jar class (JDCM toolkit). I'm starting with a simple "echo" function,
> without success. I'm able to open a tcp socket, but not a DICOM
> association, does anyone have some experience?

What is the error that you're getting ? Anything in the log files ?

--
Mack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 04, 2009 Mar 04, 2009
In data 04 marzo 2009 alle ore 14:09:56, Mack <dev@null.com> ha scritto:

> kalderm wrote:
>>
>> I'm trying to create a kind of web dicom tools in CF8, I found a dicom
>> jar class (JDCM toolkit). I'm starting with a simple "echo" function,
>> without success. I'm able to open a tcp socket, but not a DICOM
>> association, does anyone have some experience?
>
> What is the error that you're getting ? Anything in the log files ?
>


Hi Mack,

simply all freezed, and after a while the browser show "no page found!".
In the log file I can found:

"Object Instantiation Exception.An exception occurred when instantiating a
Java object. The class must not be an interface or an abstract class."

What I suspect is that I wrong someting in a workflow. I'dont'have any
docs that explane me the steps. So I did in this way:
- Opening a socket with setting of called and calling host and port
- creating an association using A_ASSOCIATE [JDCM -
A_Associate(java.net.Socket socket, java.lang.String callingEntity,
java.lang.String calledEntity, java.lang.String abstractSyntaxUID,
java.lang.String transferSyntaxUID)]
- init C_Echo class and writeRQ method.

Do you have any experience with JDCM toolkit?

Thanks and sorry for my bad english.


--
kalder
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2009 Mar 05, 2009
Kalder wrote:
> What I suspect is that I wrong someting in a workflow. I'dont'have any
> docs that explane me the steps. So I did in this way:

aren't there any examples, java/jsp or getting started, etc. docs? while not
100% easy its usually possible to get cf to talk to most java libs.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 09, 2009 Mar 09, 2009
LATEST

following the examples:

----Making the connection
Make a TCP/IP connection with the peer DICOM entity making use of the
standard java.net classes. In our example this is the server localhost at
port number 104 (Default DICOM port).

Socket socket = new Socket("localhost",104);

---Association sample 1
In this example the application entity title of the DICOM application with
which we want to connect is ANY-SCP and our own application entity title
is JDCM. Propose a SOP Class with Implicit Little Endian syntax transfer.
A_Associate associate;
try {
associate = new A_Associate(
socket,"JDCM",
"ANY-SCP",
"1.2.840.10008.5.1.4.1.1.6.1", //affected SOPClass
"1.2.840.10008.1.2"); //transfert Syntax
.. .
} catch(IOException e) {...}

Thanks

kalder


In data 05 marzo 2009 alle ore 15:08:58, PaulH **AdobeCommunityExpert**
<paul@sustainablegis.com> ha scritto:

> Kalder wrote:
>> What I suspect is that I wrong someting in a workflow. I'dont'have any
>> docs that explane me the steps. So I did in this way:
>
> aren't there any examples, java/jsp or getting started, etc. docs? while
> not 100% easy its usually possible to get cf to talk to most java libs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources