Developer forum

Forum » Development » WCF on DW-server

WCF on DW-server

Per Ljung
Reply
Hi!

Is it possible to place a service made in Windows Communication Foundation on the server and connect to it from outside, or do you have to use the old type of webservice?

Best regards,
Per

Replies

 
Nicolai Høeg Pedersen
Reply
It depends on your hosting setup and your provider.

If you are hosted at Hostnordic you need to talk to them - it probably requires at least a dedicated server.

 
Pavel Volgarev
Reply
Hi Per,

Do you want to place the service within the existing Dynamicweb application (e.g. put the .svc file inside the /Admin/Public and modify the web.config accordingly) ? If so, I don't see why it shouldn't work. Just make sure that your WCF service can execute under the same runtime that is used by Dynamicweb (it's 2.0 prior Dynamicweb 8.0 meaning that you have to use 3.5 framework).

-- Pavel
 
Pavel Volgarev
Reply
And yes, as Nicolai said - if you're not hosting your solution by yourself then you should definitely consult with Hostnordic first.

-- Pavel
 
Per Ljung
Reply

Okay, I understand. It's not very important.

But do I have to talk to HostNordic if a I want to place a traditional webservice (.asmx) web service as on the server as a module that can read orders, products etc?

/Per
 
Nicolai Høeg Pedersen
Reply
No, that should not be needed.
 
Per Ljung
Reply


But connecting to another WCF on another server (eg. with the erp system on) shouldn't be any problem as long as the code on the dw server uses .NET 3.5?
 

/Per

 
Pavel Volgarev
Reply
No, as far as I can tell it shouldn't.

In 8.0 for example we use some WCF services internally (e.g. the geolocation service that we developed and which is used within the OMC) and none of our QA engineers experienced any problems with them so far.

-- Pavel

 

You must be logged in to post in the forum