Call JMS Web Service
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的更多相关文章
- 企业级SOA之路——在Web Service中使用HTTP和JMS
原文:http://www.tibco.com/resources/solutions/soa/enterprise_class_soa_wp.pdf 概述 IT业界在早期有一种误解,认为 ...
- Web Service平台概述
Web Service平台主要涉及的技术有SOAP(Simple Object Access Protocal,简单对象访问协议), WSDL(Web Service Descriptio ...
- 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& ...
- 使用TcpTrace小工具截获Web Service的SOAP报文
Web Service客户端对服务端进行调用时,请求和响应都使用SOAP报文进行通讯.在开发和测试时,常常查看SOAP报文的内容,以便进行分析和调试.TcpTrace是一款比较小巧的工具,可以让我们截 ...
- Java Restful Web Service 学习指南
Restful是一种架构style,目前常说的有restful web service, resultful http.现在热搜榜的微服务,大多数会采用Restful方式. JAX-RS 作为一个Re ...
- RPC web service
---------------------------------------------------------------------------------------------------- ...
- 2.1 Apache Axis2 快速学习手册之 POJO 构建Web Service
1. 准备:创建一个Maven Web App 项目 这里让我们使用Maven 模板创建一个Web App 项目 1. New------> Maven Project 2. 使用默认配置,点击 ...
- web service与EJB的区别
1.WebService可以说是跨平台的,因为它采用的是XML技术,说穿了就是把你的请求按照该WebServece的标准将参数传过去,然后服务器返回结果,当然了最重要的是参数的传递和结果的返回都是采用 ...
- 怎样封装RESTful Web Service
所谓Web Service是一个平台独立的,低耦合的.自包括的.可编程的Web应用程序.有了Web Service异构系统之间就能够通过XML或JSON来交换数据,这样就能够用于开发分布式的互操作的应 ...
随机推荐
- TheSierpinskiFractal(POJ-1941)【递推】
题意:用‘\’,'/','_'按照给定规则画出三角形 题目链接:https://vjudge.net/problem/POJ-1941 思路:题中的三角形生成规则是符合递推关系的,可以先手动完成第一个 ...
- shell习题第13题:监控nginx进程
[题目要求] 在服务器上写一个脚本,要求如下 1. 每隔10秒去检查而一次服务器上的nginx进程数,如果>=500的时候,就需要自动重启一下nginx服务,并检测启动是否成功 2. 如没有正常 ...
- luogu P4762 [CERC2014]Virus synthesis (回文自动机)
大意: 初始有一个空串, 操作(1)在开头或末尾添加一个字符. 操作(2)在开头或末尾添加该串的逆串. 求得到串$S$所需最少操作数. 显然最后一定是由某个偶回文通过添加字符得到的, 那么只需要求出所 ...
- python selenium4 模拟点击+拖动+保存验证码 测试对象+以验证码的返回ID保存命名 58同城验证码
#!/usr/bin/python # -*- coding: UTF-8 -*- # @Time : 2019/12/5 17:30 # @Author : shenghao/10347899@qq ...
- VisualVM的使用
1.解压压缩包(如visualvm143.zip) 2.修改etc/visualvm.conf 中的visualvm_jdkhome配置 3.双击bin/visualvm.exe 4.安装插件,可能一 ...
- linux下Django Nginx+uwsgi 安装配置
原文链接 在前面的章节中我们使用 python manage.py runserver 来运行服务器.这只适用测试环境中使用. 正式发布的服务,我们需要一个可以稳定而持续的服务器,比如apache, ...
- 分布式任务队列 Celery —— Task对象
转载至 JmilkFan_范桂飓:http://blog.csdn.net/jmilk 目录 目录 前文列表 前言 Task 的实例化 任务的名字 任务的绑定 任务的重试 任务的请求上下文 任务的继 ...
- 配置Linux内核
- 一周死磕fastreport ----ASP.NET (二)
前一章忘了为什么要死磕fastreport 了,这次简单说一下, 公司本来有一个winfrom 窗体打印程序,可是上司觉得太麻烦了,(前几天 我一直在做web版看板,然后发现还不错,于是 想把公 ...
- Hadoop_28_MapReduce_自定义 inputFormat
1. 自定义inputFormat 1.1.需求: 无论hdfs还是mapreduce,对于小文件都有损效率,实践中,又难免面临处理大量小文件,此时就需要有相应解决方案; 1.2.分析: 小文件的优化 ...