[Mono-list] WCF service on mono
Atsushi Eno
atsushieno at veritas-vos-liberabit.com
Wed Aug 25 02:57:22 EDT 2010
Removing serviceMetadata, serviceDebug and mex endpoints might get it
working even under 2.6.x (it might not still work).
But if you want them all working, you'll have to use git head version.
Atsushi Eno
On 2010/08/25 7:06, Nadeem Backus wrote:
> I have a simple console hosted wcf service using basichttpbinding,
> when invoking the service I am getting a bad request (400), the
> executable assembly also works fine under windows.
>
> I am using the mono opensuse livecd and have also tryed the service on
> centos with the latest mono 2.6.7
>
> Does any one have any idea why this might be occuring?
>
> here is the serviceModel node from the app.config:
>
> <system.serviceModel>
> <bindings />
> <behaviors>
> <serviceBehaviors>
> <behavior name="mexbe">
> <serviceMetadata />
> <serviceDebug includeExceptionDetailInFaults="True"/>
> </behavior>
> </serviceBehaviors>
> </behaviors>
> <services>
> <service behaviorConfiguration="mexbe" name="NB.Services.SummaryService">
> <endpoint address="SummaryService" binding="basicHttpBinding"
> contract="NB.Contract.Service.ISummaryService" />
> <endpoint address="SummaryService/mex"
> binding="mexHttpBinding" contract="IMetadataExchange" />
> <host>
> <baseAddresses>
> <add baseAddress="http://localhost:9001/NB/SummaryService/" />
> </baseAddresses>
> </host>
> </service>
> </services>
> </system.serviceModel>
>
> Thanks for your assistance.
>
> Nadeem
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
More information about the Mono-list
mailing list