NOTE:: I have also asked this question on the Clearcanvas forums at:: http://www.clearcanvas.ca/dnn/tabid/69/afv/topic/aff/11/aft/15086/Default.aspx
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
}