WEBSERVICE call really no obstacle?

xiaoxiao2021-03-06  65

In order to integrate legacy systems written in a variety of different languages, the interface conversion and compatibility issues to be facing are always troubled. WebService has been to solve this problem since the beginning of the standard. Now it is proposed now. WEBSERVICE-based SOA (Service-Oriented Architecture), as if you use WebService, all languages ​​come from this world. Plus a good structure design, everyone can use their favorite language, and then there will be naturally A normal running system. But is it true?

Delphi's WebService: I don't know if I have a low level, write WebService with delphi7, only one feeling - depressed! "Received Content of INVALID Content-Type Setting: Text / HTML - SOAP EXPECTS" text / XML "" This string error message is like a dream So frequently, the first call Webservice will appear, short-term continuous anti-call calls will appear (just button 2, 3 times), I really don't know how it is good. Even if you use C # write clients, this is the same. I don't know why there is this fault, how to exclude. If WebService is using CGI form, this error will basically disappear. But if you get this CGI to publish this, add permissions to the service extension, everything is complete - sorry, Not working!

C # 's WebService: Compared with Delphi, C # releases a webservice just before the release of the interface [WebMethod], the code looks clean and neat. Do not inherit a TWEBMODULE, and the method of register the interface, etc. Calclic code. Use Delphi client call, there is no inexplicable error above, even if it is called multiple calls. But the problem is coming, if there is Chinese in the parameter, it becomes "?" And modify the change Web. Config RequestenCoding = "GB2312" responseEncoding = "GB2312" is also useless. If you write the client with a C #, there is no problem. This problem will also appear in the WebService written by Java. Delphi's client passes Chinese parameters. It turned garbled.

From ActiveX, COM, DCOM, CORBA to the current WebService, each technology publicity will seamlessly integrate the program as its own outstanding advantages, change the system integration of the system integration in the program, so that the programmer will free from the pain. However, as long as the major development platforms, the company's company has the existence of real gold and silver, this commitment seems to be a beautiful dream!

转载请注明原文地址:https://www.9cbs.com/read-119010.html

New Post(0)