.NET SOAP Web Service client and Borland SOAP server
2014-04-15 22:24
411 查看
If you have a SOAP server created with Borland Delphi and
a SOAP client created with .NET, then you can't get it working out of the box. You'll get deserialization error on client side. Some changes are required in the SOAP server to make it compatible with the .NET client.
You need to go to the SOAP web module, select the
is
If you have
then you need to override the
will just skip the
...
If you have a SOAP server created with Borland Delphi and
a SOAP client created with .NET, then you can't get it working out of the box. You'll get deserialization error on client side. Some changes are required in the SOAP server to make it compatible with the .NET client.
You need to go to the SOAP web module, select the
HTTPSoapPascalInvoker, and make sure the option "
soRootRefNodesToBody"
is
true.
If you have
DateTimefields in your
TRemotableobjects,
then you need to override the
ObjectToSOAPfunction like this (because if you don't, then the deserializer
will just skip the
DateTimefields):
BillInfoType = class(TRemotable)
...
function BillInfoType.ObjectToSOAP(RootNode, ParentNode: IXMLNode; const ObjConverter: IObjConverter; const Name, URI: InvString; ObjConvOpts: TObjectConvertOptions; out RefID: InvString): IXMLNode; begin ObjConvOpts := ObjConvOpts + [ocoDontPrefixNode]; result := inherited ObjectToSOAP(RootNode, ParentNode, ObjConverter, Name, URI, ObjConvOpts, RefID); end;
相关文章推荐
- Temperature Convert:ATL Server Webservice and Client
- consume an asp.net webservice(upload a file to server) from java via soap
- ATLServer WebService 如何返回任意内容的 SOAP 消息给客户 —— 改写atlsoap.h
- Creation of an Axis Web Service and a gSOAP client
- using web services core framework and CFNetwork to access remote soap service
- [转]ASP.NET AJAX and Sys.Webforms.PageRequestManagerServerErrorException
- 使数据库大字段的 Server Side ASP.Net Web/Http 下载,支持 FlashGet (Client) 断点续传多线程下载
- ATLServer WebService 如何返回任意内容的 SOAP 消息给客户 —— 改写atlsoap.h
- Net 下采用GET/POST/SOAP方式动态调用WebService C#实现
- [转]Net 下采用GET/POST/SOAP方式动态调用WebService C#实现
- web server and web service
- SSL/TLS client/server for .NET and SSL tunnelling
- Creating and Calling ASP.NET AJAX Web Service
- java webservice server 和client 参数和返回值
- (转载)Net 下采用GET/POST/SOAP方式动态调用WebService C#实现
- Web Server and ASP.NET Application life Cycle in Depth [转]
- SharePoint Portal Server 2003 Search does't like .Net Framework 2.0!!! (for Error in PortalCrawl Web Service solution)
- PHP Webservices And C#/.NET SOAP Clients
- Web Services: Building Reusable Web Components with SOAP and ASP.NET(English)
- XML Web Service初体验: HTTP-GET, HTTP-POST and SOAP的比较