有SOAP x64位吗?或者如何替代它? [英] is there SOAP x64 bit? or how to substitute it ?

查看:89
本文介绍了有SOAP x64位吗?或者如何替代它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我使用SOAP x32位客户端与http进行通信;现在我需要将我的应用程序(visualstudio c ++)移植到64位,我不知道是否有一个x64版本的SOAP:

有没有任何SOAPx64位?



或如何用另一层替换SOAP x32调用,以便与我们的asp.net服务器进行通信?

我还需要一个示例代码。



提前给予任何帮助

我最好的问候

Piermario

解决方案

SOAP是一种基于XML的协议;它原则上不能是32位或64位。该协议完全不了解这个细节。此外,如果您的应用程序是针对.NET的,那么它本身可以与指令集架构无关。您可以将程序集编译到名为Any CPU的Platform(请参阅​​项目属性)。你总是可以这样做,除非你引用一些编译到不同的目标架构,或者你加载编译成不兼容的目标架构的本机(非托管)DLL。



这个任何CPU目标都是可能的,因为.NET可执行文件被编译成CIL,这也是平台无关的,.NET操作基于JIT:机器代码是在运行时生成的;通常在逐个方法的基础上进行,当一个方法即将被第一次调用时。



也就是说,你没有什么需要做的,在64位系统上使用SOAP。仅当您使用编译为不兼容平台的某些第三方模块时,您可能会遇到问题。如果是这种情况,请说明你有什么。



请参阅:

http://en.wikipedia.org/wiki/SOAP [ ^ ],

http:// en。 wikipedia.org/wiki/XML_Information_Set [ ^ ],

http://en.wikipedia.org/wiki/Just-in-time_compilation [ ^ ],

http://en.wikipedia.org/wiki/Machine_code [ ^ ]。



- SA

感谢您的回答,但也许我的问题不太清楚:



我有一个COM C ++ DLL(使用VS2005编译),使用SOAP COM DLL x32位。



IM不使用NET,(也许我应该),



在这种情况下如何替换COM C ++ SOAP调用(在我的C ++ DLL中),用dll(在.NET中)



可以在x32和x64位编译?



(我的私人电子邮件是pensalibero2@libero.it)。



你有代码示例吗?一个VS2005 .NET解决方案



使用(也许是webservices?)旧SOAP C ++调用的等效调用?



如果我不清楚请告诉我。



非常感谢你提前帮助。



我最喜欢的问候



Ing。 Mario Turaccio


Hi all, Im using SOAP x32 bit client to communicate with http; now I need to port my application (visualstudio c++), to 64 bit and I dont know if there is a x64 version of SOAP:
is there any SOAPx64 bit?

or how to substitute SOAP x32 calls with another layer , way to communicate to our asp.net server ?
I need also a sample code .

Thanx in advance to any help
My best regards
Piermario

解决方案

SOAP is a protocol based on XML; it cannot be 32- or 64-bit in principle. The protocol is totally agnostic to this detail. Moreover, if your application is for .NET, it itself can be agnostic to the instruction-set architecture. You can compile you assembly to the "Platform" called "Any CPU" (see the project properties). You can always do it, unless you reference some compiled to different target architecture, or if you load native (unmanaged) DLL which is compiled to incompatible target architecture.

This "Any CPU" target is possible, because .NET executable files are compiled into CIL, which is also platform-agnostic, and .NET operation is based on JIT: the machine code is generated during runtime; normally in happens on method by method basis, when a method is about to be called for the first time.

That said, there is nothing you need to do, to use SOAP on a 64-bit system. Only if you are using some 3rd party modules compiled to incompatible platform, you may have problem. If this is the case, please explain what do you have.

Please see:
http://en.wikipedia.org/wiki/SOAP[^],
http://en.wikipedia.org/wiki/XML_Information_Set[^],
http://en.wikipedia.org/wiki/Just-in-time_compilation[^],
http://en.wikipedia.org/wiki/Machine_code[^].

—SA


Thank you for your answer but maybe I was not so clear in my question:

I have a COM C++ DLL (compiled with VS2005 ) , using the SOAP COM DLL x32 bit.

IM not using NET , (maybe I should),

in this case how to substitute the COM C++ SOAP calls (in my C++ DLL), with a dll (in .NET)

that could be compiled both in x32 and x64 bit ?

(my private email is pensalibero2@libero.it).

Do you have a sample code of a VS2005 .NET solution

using (maybe webservices?) the equivalent calls of the old SOAP C++ calls?

Please tell me if Im not clear .

thank you so much in advance for your help.

My bests regards

Ing. Mario Turaccio


这篇关于有SOAP x64位吗?或者如何替代它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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