[英]Virtual Interface Method not supported when DLL used by VB6 program
Ok, right to the point here is my background story: 好的,这是我的背景故事:
Now, that being "said", when I integrate that DLL to VB6 I successfully call the DLL's functions. 现在,正如所说的那样,当我将该DLL集成到VB6时,我成功调用了DLL的函数。 But when I call the function that will return the XML I got the following error: 但是,当我调用将返回XML的函数时,出现以下错误:
Virtual Interface Method > WebServiceObject ::urn:sap-com:document:sap:soap:functions:mc-style< not supported 虚拟接口方法> WebServiceObject :: urn:sap-com:document:sap:soap:functions:mc-style <不支持
And I received an incomplete XML. 并且我收到了不完整的XML。 However when I make the same call from a .NET test web form I got the full XML and everything looks beautiful. 但是,当我从.NET测试Web表单进行相同的调用时,我得到了完整的XML,一切看起来都很漂亮。
Any hints on this? 有什么提示吗?
Alright, After a long day looking for this, frustrated with the idea that all my logic looked good I found that the error was on my part. 好了,经过一整天的寻找,对所有逻辑看起来都不错的想法感到沮丧,我发现错误是我自己的一部分。 For all of you getting this error please check that methods, parameter, objects in your WSDL matches you endpoint. 对于所有收到此错误的人,请检查WSDL中的方法,参数,对象是否与您的端点匹配。 My problem was that I am setting the end points programmatically using the endpoint's URL and a different end point address was passed from VB6, hence the error that the method called was not supported since it did not belong to that end point. 我的问题是我使用端点的URL以编程方式设置了端点,并且从VB6传递了另一个端点地址,因此不支持调用的方法的错误,因为该方法不属于该端点。
Good luck all! 祝你好运!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.