Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
请教一个.net webservice的问题,如何获取soap原始数据
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
马一哥  
View profile   Translate to Translated (View Original)
 More options Nov 11, 8:57 am
From: 马一哥 <ppmsn2...@gmail.com>
Date: Wed, 11 Nov 2009 05:57:24 -0800 (PST)
Local: Wed, Nov 11 2009 8:57 am
Subject: 请教一个.net webservice的问题,如何获取soap原始数据
我采用.net 完成一个webservice 的客户端的编写。  同时要用c++ 模拟同样的操作, 因为系统的原因,c++没有包含任何xml
或者soap 这样的库, 所以只能模拟出soap 的原始数据, 进行提交, 然后自己分析xml response数据。

现在已知wsdl 文件,  和一个已经实现好的.net 客户端。
通过简单的添加引用 我们利用 SoapHttpClientProtocol 派生

 object[] results = this.Invoke("aaa", new object[] {
                         bbb});
很容易就实现了结果。

我现在希望 能拿到this.Invoke 以前的soap 的原始数据

如果有http 的request 那就更好了。 请问这该怎么做? 因为Invoke没有源码  无法跟进去 所以不知道内部实现了。 请教了。


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
z.s. jiang  
View profile   Translate to Translated (View Original)
 More options Nov 11, 9:38 pm
From: "z.s. jiang" <qingye2...@gmail.com>
Date: Thu, 12 Nov 2009 10:38:54 +0800
Local: Wed, Nov 11 2009 9:38 pm
Subject: Re: [TL] 请教一个.net webservice的问题,如何获取soap原始数据

hook一下


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
woo  
View profile   Translate to Translated (View Original)
 More options Nov 11, 8:53 pm
From: woo <woosi...@gmail.com>
Date: Thu, 12 Nov 2009 09:53:01 +0800
Local: Wed, Nov 11 2009 8:53 pm
Subject: Re: [TL] 请教一个.net webservice的问题,如何获取soap原始数据
可以考虑参考gsoap,看他怎么生成xml数据的,c/c++的,简单快速
.net应该有对webservice的直接支持啊,也很方便的

从网络看的话,可以通过wireshark看soap协议的内容
On 05:57 Wed 11 Nov     , 马一哥 wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
马一哥  
View profile   Translate to Translated (View Original)
 More options Nov 12, 9:00 am
From: 马一哥 <ppmsn2...@gmail.com>
Date: Thu, 12 Nov 2009 06:00:06 -0800 (PST)
Local: Thurs, Nov 12 2009 9:00 am
Subject: Re: 请教一个.net webservice的问题,如何获取soap原始数据
如果可以简单的sniffer 的话, 我就已经做了。 传输是依靠https. 所以第三方窥探的方法失效。

我自己的实现很简单, 我希望掌握这个方法,因为我真正要hook 的那个实现, 挺复杂的,我基本搞不清楚具体的实现,只能简单的反向推导出
发送的soap 和 接受soap 换上我自己的参数,完成工作。

On 11月12日, 上午9时53分, woo <woosi...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
haozes  
View profile   Translate to Translated (View Original)
 More options Nov 13, 8:23 pm
From: haozes <hao...@gmail.com>
Date: Sat, 14 Nov 2009 09:23:58 +0800
Local: Fri, Nov 13 2009 8:23 pm
Subject: Re: [TL] 请教一个.net webservice的问题,如何获取soap原始数据

我想你的意思是用http的sniffer工具如(httpwatch,fiddler)抓http包,那么就用那些工具试试吧.

2009/11/11 马一哥 <ppmsn2...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
haozes  
View profile   Translate to Translated (View Original)
 More options Nov 13, 8:25 pm
From: haozes <hao...@gmail.com>
Date: Sat, 14 Nov 2009 09:25:28 +0800
Local: Fri, Nov 13 2009 8:25 pm
Subject: Re: [TL] 请教一个.net webservice的问题,如何获取soap原始数据

c++没有包含任何xml
或者soap 这样的库, 所以只能模拟出soap 的原始数据, 进行提交, 然后自己分析xml response数据。
---------------
不会吧.webservice出来这么久了,没有解析soap的库么,还得自己整?

2009/11/11 马一哥 <ppmsn2...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hayate  
View profile   Translate to Translated (View Original)
 More options Nov 13, 11:24 pm
From: hayate <hayate...@gmail.com>
Date: Sat, 14 Nov 2009 12:24:57 +0800
Local: Fri, Nov 13 2009 11:24 pm
Subject: Re: [TL] 请教一个.net webservice的问题,如何获取soap原始数据
可以考虑微软最新的webservice library,for C++的

2009/11/11 马一哥 <ppmsn2...@gmail.com>:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SpitFire  
View profile   Translate to Translated (View Original)
 More options Nov 15, 10:06 pm
From: SpitFire <spitfi...@gmail.com>
Date: Mon, 16 Nov 2009 11:06:31 +0800
Local: Sun, Nov 15 2009 10:06 pm
Subject: Re: [TL] Re: 请教一个.net webservice的问题,如何获取soap原始数据

gsoap挺好用的,我一直用它

2009/11/14 hayate <hayate...@gmail.com>

--
SpitFire

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
马一哥  
View profile   Translate to Translated (View Original)
 More options Nov 16, 10:04 pm
From: 马一哥 <ppmsn2...@gmail.com>
Date: Mon, 16 Nov 2009 19:04:48 -0800 (PST)
Local: Mon, Nov 16 2009 10:04 pm
Subject: Re: 请教一个.net webservice的问题,如何获取soap原始数据
我想用xmlspy 调试, 他说 wsdl 文件有问题。

但源码利用这个wsdl 是可以运行的。

用xmlspy 可以调试  我自己用vs 写的例子

On Nov 16, 11:06 am, SpitFire <spitfi...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google