Problem:
After
you have installed and configured IIS to host Sitefinity and have
created your website pages cannot be published. When trying to save the following error is thrown:
There was no endpoint
listening at http://mydomain.com/DefaultWorkflows/PagesApprovalWorkflow.xamlx that could accept the message. This is often
caused by an incorrect address or SOAP action. See InnerException, if present,
for more details.
Solution:
The error is concerning the workflow operations of the website. The problem with it is that the request from
outside may come for one location but internally it is forwarded to another and Sitefinity does not know where exactly the default workflows are.
Therefore a special setting needs to be set ( which we introduced in Sitefinity
4.0 SP1, build 1210 ) in the administration section of the website, so the
system knows where to look for the workflow resources. The WorkflowBaseURL
needs to be set to the domain of the website for example, http://mydomain.com .
The property can be found under Administration -> Settings -> Advanced
-> System -> ServicePaths.
The WorkflowBaseURL setting must be applied to the domain name which is also
used in IIS to bind the server IP to it. For example if the domain (
mydomain.com ) is associated with the server IP 83.142.17.132, the bindings in
IIS should be as follows:
type: http
hostname: mydomain.com
port: 80
IP address:
83.142.17.132
Then the
WorkflowBaseURL can be set to http://mydomain.com and it will allow pages to be saved ( and
other content that uses workflow ).