storescp: "Illegal service parameter: Calling AP Title"

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
marcelopham
Posts: 2
Joined: Thu, 2014-10-23, 08:26

storescp: "Illegal service parameter: Calling AP Title"

#1 Post by marcelopham »

Hello,

I'm a dcmtk newbie ;) and experiencing an issue: I start the storescp server with these arguments:

Code: Select all

$ storescp -v -d -aet XTEST -pdu 65536 8104
Then, sending from a Windows-based DICOM client with the AE Title XTEST is giving me this error:

Code: Select all

D: ======================= END A-ASSOCIATE-RQ ======================
E: Illegal service parameter: Calling AP Title
E: 0006:030c Illegal service parameter: Calling AP Title
Analyzing the log, I found that the "Calling Application Name" is empty, and different from the "Called Application Name" (XTEST), which may be not allowing the Association Request:

Code: Select all

D: Our Implementation Class UID:      1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name:   OFFIS_DCMTK_360
D: Their Implementation Class UID:    1.2.840.114217.2.1.1.1.2
D: Their Implementation Version Name: Free_Land1.0.3
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Calling Application Name:    
D: Called Application Name:     XTEST
D: Responding Application Name: 
D: Our Max PDU Receive Size:    65536
D: Their Max PDU Receive Size:  65536
The only weird thing is, when testing the connection from the client (the client has a "Test" button) the connection is successful:

Code: Select all

D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID:      1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name:   OFFIS_DCMTK_360
D: Their Implementation Class UID:    1.2.840.114217.2.1.1.1.2
D: Their Implementation Version Name: Free_Land1.0.3
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Calling Application Name:    LENOVO-TABSCU
D: Called Application Name:     XTEST
D: Responding Application Name: XTEST
D: Our Max PDU Receive Size:    65536
D: Their Max PDU Receive Size:  65536
.... 
D: Accepted Extended Negotiation:  none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response:  none
D: ======================= END A-ASSOCIATE-AC ======================
I: Received Echo Request
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type                  : C-ECHO RQ
D: Presentation Context ID       : 1
D: Message ID                    : 1
D: Data Set                      : none
D: ======================= END DIMSE MESSAGE =======================
I: Association Release
Am I calling the storescp with the wrong parameters? Or the DICOM client is not compatible? Are the different Implementation Class UID's an issue as well?

Thanks a lot in advance!!!!


Marcelo

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: storescp: "Illegal service parameter: Calling AP Title"

#2 Post by J. Riesmeier »

Did you specify a (Calling) AE Title for the Storage Service on the SCU side? An empty AE Title is not allowed.
By the way, there is no need to use the same value for Calling and Called AE Title; usually they are different.

marcelopham
Posts: 2
Joined: Thu, 2014-10-23, 08:26

Re: storescp: "Illegal service parameter: Calling AP Title"

#3 Post by marcelopham »

Thanks - Yes, I setup the DICOM client (Windows based) to use the following settings:
- server: finisterre-server (same host name as the server where storescp is running)
- Calling AE Title: XTEST
- Port: 104

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest