Unable to call one way Peoplesoft service with WCF-Adapter from BizTalk 2010

♀尐吖头ヾ 提交于 2019-12-01 10:59:48

问题


We are trying to call a one way PeopleSoft service that does not return any response from BizTalk 2010 with WCF-BasicHttp binding and one-way send port.

We are getting the following error.

System.ServiceModel.CommunicationException: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.

I have read several articles regarding this issue. This one says due to reliable delivery feature one way messages are not supported by BizTalk

social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/3a55a044-0a07-416c-9931-1dd6bdeb717a

This one says I need to create WCF proxy that will call a one way web service and return an empty message to BizTalk so the messaging process doesn’t timeout waiting for an answer. (I would like to avoid this if possible)

www.pvle.be/2008/12/calling-one-way-wcf-service-with-biztalk-wcf-adapter-part-2/

At the end of this thread Rajesh says they used SOAP adapter for the same problem. (SOAP Adapter is deprecated)

http://social.msdn.microsoft.com/Forums/en/biztalkgeneral/thread/3b58e83a-3b69-40a2-941c-ff2d9a77ccc6

In another thread Rajesh says

As Steef mentioned earlier, a strict one way WCF-Send port is not supported in BizTalk. So you could try changing one-way send port to two-way send port and then you can ignore the response message in your orchestration if you dont need it

I tried changing the one-way send port to two way send port. I'm still getting the same error.

So my question is:

Is it possible to call a service that does not return any response from BizTalk 2010 without writing additional WCF proxies? If yes, can you provide a step-by-step example?

Thanks for your patience with my long post.

Alper


回答1:


In this situation I believe your going to have to write a proxy for it. BizTalk is all about request / response and one-way is not really one way as people have found out. Take a look at this article here as it sheds some light on a similar topic.



来源:https://stackoverflow.com/questions/4696050/unable-to-call-one-way-peoplesoft-service-with-wcf-adapter-from-biztalk-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!