Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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
Posted

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
 
Share this answer
 
v2
Comments
PierMario 27-Aug-13 5:26am    
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
Sergey Alexandrovich Kryukov 27-Aug-13 10:20am    
Well, yes, maybe you should. With .NET, most typical platform is "Any CPU". Do you need to explain how it works? Because of JIT compilation...

Your question was so confusing because you tagged C#, which is .NET.

Things are simple enough, but need attention. So, if you have source code for some code, you can compile it to different instruction-set architectures, in MSBuild jargon called "plarform": x86, x86-64 (x64, AMD64) and Itanium (IE64). There is no such thing as x32 vs. x64: 1) there are no such platform names, 2) there are more than one 64-bit architectures, and they are incompatible.
Now, if you have some module you cannot modify, you can use it by loading directly be importing, or loading during runtime, or using as a COM component, all in the same process (for COM, this can be in-proc component, such as ActiveX control, or anything). Everything should be compiled to the exact same instruction-set architecture (platform), period. However, a COM server (a separate process) can work with the client of different instruction-set architecture; this is because they communicate via IPC and are still different processes.

—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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900