开发者

WSDL generated in WCF consumed by Delphi client

I have a WCF (.net 3.5) service that implements security through ws-security. I have generated a WSDL file for consumption by a client created in Delhi v7.0. I have been having a number of issues with the SOAP message that is received from the Delhi client:

1) The SOAP message is different from the SOAP message generated by a .NET web form using the same WSDL file. for eg. SOAP message sent by Delhi client doesn't contain <Header> element

2) The <Body> element is missing from the SOAP message. etc.

In summary the integration has not been smooth. I see this as some incompatibility issue. I want to understand how to resolve such issues. What precautions should be taken so that any cl开发者_开发百科ient using the same WSDL can send SOAP message which is similar to the SOAP message sent by .NET client.


You can inject the tags by using a stringreplace on the XML string right before it goes out the door "onto the wire". You need a RIO_BeforeExecute handler, and you can then deal with the SOAPRequest directly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜