Wednesday, May 22, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: eng.mariam.yosef
New Today New Today: 2
New Yesterday New Yesterday: 13
User Count Overall: 28659

People Online People Online:
Visitors Visitors: 8
Members Members: 1
Total Total: 9

Online Now Online Now:
01: ASDFASD

ClearCanvas Community Forums

Connection string for ImageServer "EndpointAddress"
Last Post 2011-01-31 10:50 AM by zezba9000. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
zezba9000
New Member
New Member
Posts:11

--
2011-01-26 02:42 PM  

Hi, i'm making my own ImageViewer in WPF & now need to load DICOM files with the ImageServer. I'm NOT using the Workstation as a starting point, i'm making a viewer from scratch using the (ClearCanvas.Dicom.dll). I have set up the ImageServer on my computer for testing & can connect to it with the workstation app, but not with my app(& that is my problem).

When I try to connect to the ImageServer via the code below the connection times out. I can connect to my ImageServer with the Workstation app. I'm not sure how to configure my connection string I think.

{

 

EndpointAddress endpoint = new EndpointAddress("http://localhost:104/ClearCanvas/ImageViewer/Automation?wsdl");

StudyRootQueryServiceClient client = new StudyRootQueryServiceClient(binding, endpoint);

client.Open();

}

Here is the setting I use in the Workstation to connect, so how do I translate this to a connection string??

{

Server Name:: ImageServer

Host:: localhost

AE Title:: SERVERAE

Port:: 104

}

 

 

steve
Senior Member
Senior Member
Posts:2096

--
2011-01-28 12:37 PM  
Can you give some more details on what's available to you? Are you building your ImageViewer application using the ClearCanvas workstation as a starting point and do you have all of the services of the workstation available to you? Are you just using the DICOM library?

The web service in your code example is an automation service for the Workstation that can be used to trigger the workstation to load a study (which can trigger a load via streaming from the ImageServer).

Steve
Live and real-time support available for Personal, Team, and Cleome Edition customers.
zezba9000
New Member
New Member
Posts:11

--
2011-01-28 02:31 PM  
I edited my post. Here are the edits::
{
I'm NOT using the Workstation as a starting point, i'm making a viewer from scratch using the (ClearCanvas.Dicom.dll). I have set up the ImageServer on my computer for testing & can connect to it with the workstation app, but not with my app(& that is my problem).
}
zezba9000
New Member
New Member
Posts:11

--
2011-01-31 10:50 AM  

The answer to this question is at:: http://stackoverflow.com/questions/...intaddress

You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved