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来交换数据,这样就能够用于开发分布式的互操作的应 ...
随机推荐
- 用shell脚本安装MySQL-5.7.22-Percona版本
#!/bin/bash MySQL_Package=Percona-Server-5.7.22-22-Linux.x86_64.ssl101.tar.gz Package_Source=Percona ...
- mysql批量修改数据库表引擎
数据库表之前的引擎是MyISAM,影响事务操作,要改成Innodb引擎 查询表引擎 SELECT CONCAT(table_name,' ', engine) FROM information_sch ...
- 「网络流 24 题」最长 k 可重区间集
给定区间集合$I$和正整数$k$, 计算$I$的最长$k$可重区间集的长度. 区间离散化到$[1,2n]$, $S$与$1$连边$(k,0)$, $i$与$i+1$连边$(k,0)$, $2n$与$T ...
- 《深入理解 Java 虚拟机》学习 -- Java 内存模型
<深入理解 Java 虚拟机>学习 -- Java 内存模型 1. 区别 这里要和 JVM 内存模型区分开来: JVM 内存模型是指 JVM 内存分区 Java 内存模型(JMM)是指一种 ...
- MyBatis 示例-主键回填
测试类:com.yjw.demo.PrimaryKeyTest 自增长列 数据库表的主键为自增长列,在写业务代码的时候,经常需要在表中新增一条数据后,能获得这条数据的主键 ID,MyBatis 提供了 ...
- Java多线程(十一):线程组
线程组 线程组可以批量管理线程和线程组对象. 一级关联 例子如下,建立一级关联. public class MyThread43 implements Runnable{ public void ru ...
- HTTP协议探究(三):HTTPS
一 复习与目标 1 复习 代理:转发通信数据(一般协议不变,作为中间人,可对报文进行过滤修改) 网关:转发通信数据(协议改变,作为资源拥有者) 隧道:转发通信数据(协议不变,作为管道,不对报文进行过滤 ...
- 【js】null 和 undefined的区别?
1.首先看一个判断题:null和undefined 是否相等 console.log(null==undefined)//true console.log(null===undefin ...
- 个人学习HTML以及CSS所得体会
拥有自己样式的浏览器: 苹果,欧朋,谷歌,IE,火狐 form标签<form></form> 表单属性: 1,action主要同来规定表单的作用,提交到处理器上面处理URL,默 ...
- IPhone中H5页面用on绑定click无效的解决方法
首先声明本人资质尚浅,本文只用于个人总结.如有错误,欢迎指正.共同提高. --------------------------------------------------------------- ...