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. 【HDU】6242-Geometry Problem

    今天忽然心血来潮打开牛客网尝试了一下一站到底 前四道题都是不到二十分钟切完,然后第五道来了道计算几何 我也不会啊,于是就觉得大力随机也许可行 然鹅被精度卡到崩溃 后来我才知道 保证有解,是保证你的精度 ...

  2. JMM(Java内存模型)是什么?为什么使用并发?

    1.计算机 首先我们需要讲解下计算机的模型:现代计算机模型是基于-冯诺依曼计算机模型 我们不用管输入和输出设备,最主要的就是中间计算器和存储器之间的交互,也就是CPU与主内存之间取数.存数. 大家会看 ...

  3. shell习题第13题:监控nginx进程

    [题目要求] 在服务器上写一个脚本,要求如下 1. 每隔10秒去检查而一次服务器上的nginx进程数,如果>=500的时候,就需要自动重启一下nginx服务,并检测启动是否成功 2. 如没有正常 ...

  4. Spring与Web框架(例如Spring MVC)漫谈——关于Spring对于多个Web框架的支持

    在看Spring MVC的官方文档时,最后一章是关于Spring对于其它Web框架的支持(如JSF,Apache Struts 2.x,Tapestry 5.x),当然Spring自己的MVC框架Sp ...

  5. el-table 单元格样式修改

    <el-table :cell-style="set_cell_style"> set_cell_style({row, column, rowIndex, colum ...

  6. 最简单的一个win32程序

    #include <windows.h> HINSTANCE g_hInst = NULL; //2 窗口处理函数 LRESULT CALLBACK WndProc( HWND hWnd, ...

  7. ThreadPoolExecutor的runState和workCount变量怎么存储?

    在阅读Java线程池ThreadPoolExecutor源码的时候,发现它很巧妙地把线程池状态runState和线程数workCount两个变量存放在了一个int型变量里面. 我们先看一个数值,如下是 ...

  8. element随笔

    时间选择框el-date-picker和select框数据选不上: [解决]用v-model="searchData.searchDate",不能用:model="sea ...

  9. github 提交和更新代码

    …or create a new repository on the command line   echo "# flutterPluginsWorks" >> RE ...

  10. qt打包发布

    需要用到qt自带工具windeployqt.exe 安装 以qt 5.8.0为例 安装qt-opensource-windows-x86-mingw530-5.8.0.exe即可 构建Release版 ...