惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Palo Alto Networks Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Schneier on Security
Engineering at Meta
Engineering at Meta
I
InfoQ
L
LangChain Blog
Cyberwarzone
Cyberwarzone
T
Tenable Blog
WordPress大学
WordPress大学
P
Privacy & Cybersecurity Law Blog
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Jina AI
Jina AI
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
Know Your Adversary
Know Your Adversary
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Last Watchdog
The Last Watchdog
Last Week in AI
Last Week in AI
Cloudbric
Cloudbric
S
SegmentFault 最新的问题
爱范儿
爱范儿
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 叶小钗
AI
AI
T
Tor Project blog
I
Intezer
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Visual Studio Blog
N
News and Events Feed by Topic
Latest news
Latest news
S
Security Affairs
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog RSS Feed
C
Cybersecurity and Infrastructure Security Agency CISA
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
S
Securelist

博客园 - 田老师

休息,考完了MCSD 如何用命令行将我的Phonegap环境更新到最新版本? 【新年福利】《正则表达式30分钟入门》APP版本发布 Cowboxer不能输入中文的解决方案 SharePoint Designer 报错“ Value does not fall within the expected range” Hyper-v 虚拟机时间与主机同步 【转载】C# 读取Excel文件代码的几种片段收集 【最新】判断是否为移动号码的正则表达式 Visual Studio中“生成”与“重新生成”的区别(The difference between "build" and "rebuild") 招商银行网上银行对账失败,总提示Communication Failed 《ASP.NET MVC Music Store Tutorial》在Visual Studio 2008简体中文环境下的代码修订 SQL Server Management Studio Express 无法连接 SQL Compact Edition(或新建数据库文件)的问题 试用SQL SERVER 2008 R2 SQL Server 2005无法启动服务 在VirtualBox中安装QuickTestProfessional10 最新、可靠的用于验证手机号码和移动号码的正则表达式 - 田老师 - 博客园 如何在重构时,批量重命名程序集的命名空间 defer属性导致引用JQuery的页面报“浏览器无法打开网站xxx,操作被中止”错误 Visual Studio 2010试用手记
使用.net调用java的Web Services
田老师 · 2011-01-17 · via 博客园 - 田老师

上周是悲剧的一周,尝试用C#调用一个java的Web services,一直未能成功。

因为该Web services的服务器环境设置为NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK,所以它使用的是GBK字符集。

在多次设置代理类的RequestEncoding为 GBK/gb2312/utf-8后,都只能收到乱码报文头 “锘??xml version=”1.0″ encoding=”UTF-8″?>”,其实应该是“<?xml version=”1.0″ encoding=”UTF-8″?>”。

最后查阅了很久才知道.NET中应该使用myproxy.RequestEncoding = System.Text.Encoding.GetEncoding("GB18030");这样的方式来设置GBK字符集……终于搞定了。