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. java源码--Vector和Stack

    一.Vector简介 1.1.Vector概述 通过API中可以知道: 1)Vector是一个可变化长度的数组 2)Vector增加长度通过的是capacity和capacityIncrement这两 ...

  2. python中int是什么类型

    python中的基本数据类型 1:虽然python中的变量不需要声明,但使用时必须赋值整形变量浮点型变量字符型2:可以一个给多个变量赋值,也可以多个给多个变量赋值3:python3中有6个标准数据类型 ...

  3. jquery【点击】导航按钮的来回切换

    先获取元素的属性值,根据属性值进行判断,点击时对属性进行设置 <i class="layui-icon layui-icon-shrink-right" id="n ...

  4. 第十一章 ZYNQ-MIZ701 PS读写PL端BRAM

      本篇文章目的是使用Block Memory进行PS和PL的数据交互或者数据共享,通过zynq PS端的Master GP0端口向BRAM写数据,然后再通过PS端的Mater GP1把数据读出来,将 ...

  5. 【KMP】OKR-Periods of Words

    [KMP]OKR-Periods of Words 题目描述 串是有限个小写字符的序列,特别的,一个空序列也可以是一个串.一个串P是串A的前缀,当且仅当存在串B,使得A=PB.如果P≠A并且P不是一个 ...

  6. Thread 和 Runnable

    Thread 和 Runnable 1. 简介 Java 主要是通过 java.lang.Thread 类以及 java.lang.Runnable 接口实现线程机制的. Thread 类为底层操作系 ...

  7. Spring HttpServletRequest对象的获取

    1.Controller方法上获取 @RequestMapping(value = "/aliyun/ccc/callComing", method = RequestMethod ...

  8. OkHttp3 + retrofit2 封装

    0.下载文件 1.gradle 添加 compile 'com.squareup.retrofit2:retrofit:2.1.0'compile 'com.squareup.retrofit2:co ...

  9. Unable to bind to http://localhost:8080 on the IPv6 loopback interface: 'Cannot assign requested address'.

    .net core+nginx警告: warn: Microsoft.AspNetCore.Server.Kestrel[0] Unable to bind to http://localhost:5 ...

  10. 1.DOS常用命令

    d:+ 回车:盘符切换,进入D:盘 dir(directory):列出当前目录下的文件及文件夹md(make director):创建目录rd(remove director):删除目录(不能删除非空 ...