The content type application/json of the response message does not match the content type of the binding (application/soap+xml;

http://blog.csdn.net/zhongjiekangping/article/details/4539151

The maximum message size quota for incoming messages (65536) has been exceeded

http://social.msdn.microsoft.com/Forums/vstudio/en-US/3a1a75d6-6008-4f03-b5a6-d7783b8a3ff5/the-maximum-message-size-quota-for-incoming-messages-65536-has-been-exceeded?forum=wcf

Binding Class Name

Transport

Message Encoding

Message Version

Security Mode

RM

Tx Flow*

BasicHttpBinding

HTTP

Text

SOAP 1.1

None

X

X

WSHttpBinding

HTTP

Text

SOAP 1.2

WS-A 1.0

Message

Disabled

WS-AT

WSDualHttpBinding

HTTP

Text

SOAP 1.2

WS-A 1.0

Message

Enabled

WS-AT

WSFederationHttpBinding

HTTP

Text

SOAP 1.2

WS-A 1.0

Message

Disabled

WS-AT

NetTcpBinding

TCP

Binary

SOAP 1.2

Transport

Disabled

OleTx

NetPeerTcpBinding

P2P

Binary

SOAP 1.2

Transport

X

X

NetNamedPipesBinding

Named Pipes

Binary

SOAP 1.2

Transport

X

OleTx

NetMsmqBinding

MSMQ

Binary

SOAP 1.2

Message

X

X

MsmqIntegrationBinding

MSMQ

X**

X

Transport

X

X

CustomBinding

You decide

You decide

You decide

You decide

You decide

You decide

<configuration>

  <system.serviceModel>

    <bindings>

      <basicHttpBinding>

        <binding name="WCFTestService" closeTimeout="00:10:00"

          openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"

          bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"

          maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"

          textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"

          messageEncoding="Text">

          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"

            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />

          <security mode="None" />

        </binding>

      </basicHttpBinding>

      <customBinding>

              <binding name="JMSWebServiceAddress"  >

                <textMessageEncoding messageVersion="Soap12" writeEncoding="utf-8">

                  <readerQuotas maxDepth="2147483647"

                  maxStringContentLength="2147483647" maxArrayLength="2147483647"

                  maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />

                </textMessageEncoding>

                <httpTransport manualAddressing="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"

              allowCookies="false" authenticationScheme="Anonymous"

              bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"

              keepAliveEnabled="true" maxBufferSize="2147483647"

              proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered"

              unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" />

              </binding>

      </customBinding>

    </binding>

    <client>

      <endpoint address="WCFWebServiceAddress"

        binding="basicHttpBinding" bindingConfiguration="WCFTestService"

        contract="WCFServiceReference.WCFTestService" name="WCFTestService" />

      <endpoint address="JMSWebServiceAddress"

        binding="customBinding" bindingConfiguration="JMSTestService"

        contract="JMSServiceReference.JMSTestService" name="JMSTestService" />

    </client>

  </system.serviceModel>

</configuration>

Call JMS Web Service的更多相关文章

  1. 企业级SOA之路——在Web Service中使用HTTP和JMS

    原文:http://www.tibco.com/resources/solutions/soa/enterprise_class_soa_wp.pdf   概述     IT业界在早期有一种误解,认为 ...

  2. Web Service平台概述

    Web  Service平台主要涉及的技术有SOAP(Simple  Object  Access  Protocal,简单对象访问协议), WSDL(Web  Service  Descriptio ...

  3. Using UTL_DBWS to Make a Database 11g Callout to a Document Style Web Service

    In this Document   _afrLoop=100180147230187&id=841183.1&displayIndex=2&_afrWindowMode=0& ...

  4. 使用TcpTrace小工具截获Web Service的SOAP报文

    Web Service客户端对服务端进行调用时,请求和响应都使用SOAP报文进行通讯.在开发和测试时,常常查看SOAP报文的内容,以便进行分析和调试.TcpTrace是一款比较小巧的工具,可以让我们截 ...

  5. Java Restful Web Service 学习指南

    Restful是一种架构style,目前常说的有restful web service, resultful http.现在热搜榜的微服务,大多数会采用Restful方式. JAX-RS 作为一个Re ...

  6. RPC web service

    ---------------------------------------------------------------------------------------------------- ...

  7. 2.1 Apache Axis2 快速学习手册之 POJO 构建Web Service

    1. 准备:创建一个Maven Web App 项目 这里让我们使用Maven 模板创建一个Web App 项目 1. New------> Maven Project 2. 使用默认配置,点击 ...

  8. web service与EJB的区别

    1.WebService可以说是跨平台的,因为它采用的是XML技术,说穿了就是把你的请求按照该WebServece的标准将参数传过去,然后服务器返回结果,当然了最重要的是参数的传递和结果的返回都是采用 ...

  9. 怎样封装RESTful Web Service

    所谓Web Service是一个平台独立的,低耦合的.自包括的.可编程的Web应用程序.有了Web Service异构系统之间就能够通过XML或JSON来交换数据,这样就能够用于开发分布式的互操作的应 ...

随机推荐

  1. ubuntu 18.04 LTS 安装ROS系统

    不同的ubuntu系统对应着不同的ROS版本,如果装错了就会提示 E:无法定位软件包 ROS有Melodic.Lunar.Kinetic不同的种类对应着不同的ubuntu版本 Melodic主要对应: ...

  2. php源码安装执行configure报错error: off_t undefined; check your library configuration

    php安装执行configure报错error: off_t undefined; check your library configuration vim /etc/ld.so.conf 添加如下几 ...

  3. django中的缓存 跨域问题(同源策略)

    django缓存机制 在动态网站中,用户所有的请求,服务器都会去数据库中进行相应的增,删,查,改,渲染模板,执行业务逻辑,最后生成用户看到的页面. 当一个网站的用户访问量很大的时候,每一次的的后台操作 ...

  4. 正则表达式BREs,EREs,PREs的比较

    目录 正则表达式BREs,EREs,PREs的比较 正则表达式分类: Linux 中常用文本工具与正则表达式的关系 grep , egrep 正则表达式特点: sed 正则表达式特点 Awk(gawk ...

  5. WPF 位图处理相关类

    位图的存储方式 开始之前,先了解下位图的存储方式 位图的像素都分配有特定的位置和颜色值.每个像素的颜色信息由RGB组合或者灰度值表示,根据位深度,可将位图分为1.4.8.16.24及32位图像等.每个 ...

  6. VSFTP添加用户

    VSFTPD的安装网上有很多教程这里就不多说了,这里主要是针对做主机空间服务的朋友在安装好vsftpd后如何为用户增加ftp账号 先来看一看我们一般在*inux系统下面如何增加用户的 #adduser ...

  7. 分布式session一致性问题

    1.分布式session一致性 :指服务器集群情况下session共享的问题. 2.session的作用:保存服务器(tomcat)与客户端(浏览器)整个通讯的会话基本信息. 3.session应用场 ...

  8. 错误:The following error occurred attempting to run the DNX design time process (dnx-clr-win-x86.1.0.0-rc1-final)

    其实这个错误很容易解决.设置一个startup工程即可.

  9. [转载]关于Pretrain、Fine-tuning

    [转载]关于Pretrain.Fine-tuning 这两种tricks的意思其实就是字面意思,pre-train(预训练)和fine -tuning(微调) 来源:https://blog.csdn ...

  10. 微信小程序点击图片预览-wx.previewImage

    <view class='imgList'> <view class='imgList-li' wx:for='{{imgArr}}'> <image class='im ...