WCF webHttpBinding发布到apache服务
我正在尝试从WCF客户端与Apache服务通信 我将客户端设置为:WCF webHttpBinding发布到apache服务,wcf,apache,wcf-client,webhttpbinding,Wcf,Apache,Wcf Client,Webhttpbinding,我正在尝试从WCF客户端与Apache服务通信 我将客户端设置为: <client> <endpoint name="ApacheService" address="SomeUrl" behaviorConfiguration="ApacheBehavior" binding="webHttpBinding" contract="ISomeContre
<client>
<endpoint name="ApacheService"
address="SomeUrl"
behaviorConfiguration="ApacheBehavior"
binding="webHttpBinding"
contract="ISomeContrect" />
</client>
<behaviors>
<endpointBehaviors>
<behavior name="ApacheBehavior">
<webHttp />
</behavior>
</endpointBehaviors>
</behaviors>
我用WCF服务做了一些本地测试,效果很好
有什么想法吗?没关系。这是Apache方面的一些错误
[OperationContract]
[WebInvoke(Method = WebRequestMethods.Http.Post,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "?user={username}&action=someaction")]
void dosomeaction(string username, List<SomeJSONSerializableObject> data);
debug started
post:
Array
(
)
get:
Array
(
[user] => someusername
[action] => someaction
)
json: