SOAP项目 [英] SOAP project

查看:72
本文介绍了SOAP项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要开发一个SOAP客户端,因为我从来没有亲自做过一个我想要确保我正确地做到这一点。

客户端是一个Windows(可能是2k3)应用程序,通过

HTTPS SOAP进行通信。远程服务器是基于Unix的并且实现了Axis,我不知道什么是


我需要创建这个客户端的步骤是什么?我将使用C#

进行开发,我有SOAP消息的XML模式。

如何开始使用?

感谢您的支持帮助

m

i need to develop a SOAP client, Since I have never personally done one I
would like to make sure that I am going about it correctly.
The client is a Windows (probably 2k3) application that communicates over
HTTPS SOAP. The remote server is Unix based and implements Axis, which I
know nothing about

What are the steps I need to create this client? I will be developing in C#
and I have the XML schema of the SOAP messages.
How do I get started?
thanks for your help
m

推荐答案

>我需要创建此客户端的步骤是什么?我将在
> What are the steps I need to create this client? I will be developing in
C#中开发,我有SOAP消息的XML模式。
C# and I have the XML schema of the SOAP messages.




尝试添加web引用。 。如果有效,客户的其余部分就是微风。


问候,

Wessel



Try to add a "web reference". If that works, the rest of the client is a
breeze.

Greetings,
Wessel


查看服务器是否生成行业标准WSDL。合同xml

文件。如果是这样,你的工作就容易多了 - 你可以直接从WSDL创建一个SOAP代理

类。否则,你将需要基于SOAP Schema创建类,并将它们作为标准SOAP消息提交给服务器。

Peter


" MR" <共****** @ newsgroup.nospam>在消息中写道

新闻:eP ************** @ TK2MSFTNGP12.phx.gbl ...
Find out if the Server produces an industry standard "WSDL" contract xml
document. If it does, your job is much easier - you can create a SOAP proxy
class from the WSDL directly. Otherwise,
you will need to create classes based on the SOAP Schema, and submit them to
the server as standard SOAP messages.
Peter

"MR" <co******@newsgroup.nospam> wrote in message
news:eP**************@TK2MSFTNGP12.phx.gbl...
我需要开发一个SOAP客户端,因为我从来没有亲自做过一个我想确保我正确地做到这一点。
客户端是一个Windows(可能是2k3)应用程序通过HTTPS进行通信肥皂。远程服务器是基于Unix的,并实现了Axis,我对此一无所知

我需要创建这个客户端的步骤是什么?我将在C#中开发,我有SOAP消息的XML模式。
我如何开始?
感谢您的帮助
m
i need to develop a SOAP client, Since I have never personally done one I
would like to make sure that I am going about it correctly.
The client is a Windows (probably 2k3) application that communicates over
HTTPS SOAP. The remote server is Unix based and implements Axis, which I
know nothing about

What are the steps I need to create this client? I will be developing in
C# and I have the XML schema of the SOAP messages.
How do I get started?
thanks for your help
m



感谢彼得提供的内容丰富的建议。


你好RM,


As Peter提到,为了在我们的客户端广告中使用某个XML Web服务,最重要的是从WSDL获取

webservice的WSDL文档的副本是webservice的合同

,它定义了类型系统和消息格式以及特定于服务的信息。

我认为apache轴应该有自己的方法来公开这样的信息。 />
描述。获得它之后,我们可以使用WSDL.exe(或VS.NET中的

AddWebReference功能)来帮助生成消耗webservice的
的.net类。无论如何,我想我们可以从这开始。


#Web服务描述语言工具(Wsdl.exe)
http://msdn.microsoft.com/library/de...us/ cptools / htm

l / cpgrfwebservicesdescriptionlanguagetoolwsdlexe.asp


希望也有帮助。


Steven Cheng

Microsoft在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)



-------- ------------

|来自:Peter Bromberg [C#MVP]" < pb ******* @ yahoo.com>

|参考文献:< eP ************** @ TK2MSFTNGP12.phx.gbl>

|主题:Re:SOAP项目

|日期:2005年7月17日星期日19:30:14 -0400

|行数:23

| X-Priority:3

| X-MSMail-Priority:正常

| X-Newsreader:Microsoft Outlook Express 6.00.3790.1830

| X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.1830

| X-RFC2646:格式=流动;回复

|消息ID:< Oz ************** @ TK2MSFTNGP12.phx.gbl>

|新闻组:

microsoft.public.dotnet.distributed_apps,microsoft .public.dotnet.framework,m

icrosoft.public.dotnet.languages.csharp

| NNTP-Posting-Host:201.239.165.24.cfl.res.rr.com 24.165.239.201

|路径:TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl

|外部参照:TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.framework:29645

microsoft.public.dotnet.languages.csharp:110656

microsoft.public.dotnet.distributed_apps :3501

| X-Tomcat-NG:microsoft.public.dotnet.languages.csharp

|

|了解服务器是否产生了行业标准WSDL。合同xml

|文献。如果是这样,你的工作就容易多了 - 你可以创建一个SOAP

代理

|直接来自WSDL的类。否则,

|您将需要基于SOAP Schema创建类,并将它们提交给



|服务器作为标准SOAP消息。

|彼得

|

| " MR" <共****** @ newsgroup.nospam>在消息中写道

|新闻:eP ************** @ TK2MSFTNGP12.phx.gbl ...

| >我需要开发一个SOAP客户端,因为我从来没有亲自做过一个



| >我想确保我正确处理它。

| >客户端是一个Windows(可能是2k3)应用程序,通过

进行通信

> HTTPS SOAP。远程服务器是基于Unix的,并实现了Axis,这是


| >什么都不知道

| >

| >我需要创建此客户端的步骤是什么?我将在

|中开发

> C#和我有SOAP消息的XML模式。

| >我该如何开始?

| >谢谢你的帮助

| > m

| >

|

|

|

Thanks for Peter''s informative suggestions.

Hi RM,

As Peter has mentioned, for consuming a certain XML WebServcice in our
clientside appolication, the most important is to get a copy of the
webservice''s WSDL document since the WSDL is the contract of the webservice
which define the type system and message format and service specific infos.
I think the apache axis should has its own means to expose such
description. After you get it, we can use the WSDL.exe (or the
AddWebReference feature in VS.NET) to help generate the .net classes for
consuming the webservice. Anyway, I think we can start from this.

#Web Services Description Language Tool (Wsdl.exe)
http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpgrfwebservicesdescriptionlanguagetoolwsdlexe.asp

Hope also helps.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| From: "Peter Bromberg [C# MVP]" <pb*******@yahoo.com>
| References: <eP**************@TK2MSFTNGP12.phx.gbl>
| Subject: Re: SOAP project
| Date: Sun, 17 Jul 2005 19:30:14 -0400
| Lines: 23
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Response
| Message-ID: <Oz**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups:
microsoft.public.dotnet.distributed_apps,microsoft .public.dotnet.framework,m
icrosoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 201.239.165.24.cfl.res.rr.com 24.165.239.201
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.framework:29645
microsoft.public.dotnet.languages.csharp:110656
microsoft.public.dotnet.distributed_apps:3501
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Find out if the Server produces an industry standard "WSDL" contract xml
| document. If it does, your job is much easier - you can create a SOAP
proxy
| class from the WSDL directly. Otherwise,
| you will need to create classes based on the SOAP Schema, and submit them
to
| the server as standard SOAP messages.
| Peter
|
| "MR" <co******@newsgroup.nospam> wrote in message
| news:eP**************@TK2MSFTNGP12.phx.gbl...
| >i need to develop a SOAP client, Since I have never personally done one
I
| >would like to make sure that I am going about it correctly.
| > The client is a Windows (probably 2k3) application that communicates
over
| > HTTPS SOAP. The remote server is Unix based and implements Axis, which
I
| > know nothing about
| >
| > What are the steps I need to create this client? I will be developing
in
| > C# and I have the XML schema of the SOAP messages.
| > How do I get started?
| > thanks for your help
| > m
| >
|
|
|


这篇关于SOAP项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆