调用64位的webservice sendport设置时超时 [英] Timeout when calling webservice sendport setup for 64 bit

查看:81
本文介绍了调用64位的webservice sendport设置时超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我正在向我的同事创建的webservice发送请求。  我以前能够得到回复。  他最近将其更改为使用64个dll并更改了请求/响应。  我重新创建了生成的
项以获取新架构和xml绑定文件。  现在,当尝试发送请求时,我无法获得响应并在事件查看器中收到超时错误。  我尝试设置一个新的主机,主机实例和处理程序,只有32位复选框
UNCHECKED并让我的发送端口和业务流程使用新的主机/实例/处理程序。  这仍然是给我超时错误。  在故障排除过程中,我的同事进入了IIS / App池/高级设置,并为我设置了"启用32位应用程序"
。  然后我得到了回复。  但由于其他原因,他需要将"启用32位应用程序"设置为false。  我已经尝试过WCF-BasicHttp和WCF-Custom适配器都无济于事。  这是我本地开发人员安装的
BizTalk 2013与Windows 7。


使用64位网络服务时如何解决此超时问题?


以下是事件查看器中的错误。


xlang / s引擎事件日志条目:未捕获的异常(请参阅下面的"内部异常")已暂停实例服务'AIMtoHSP.AIMFlatFileToCSV(c0d5abd0-6b49-04a9-f3e2-c828d6ef3f74)'。

服务实例将在行政恢复或终止前保持暂停状态。 

如果恢复实例将从其上一个持久状态继续并可能重新抛出相同的意外异常。

InstanceId:e0dc78f0-6927-4e0b-ac66-ea080d772af6

形状名称:  
$
ShapeId: 

抛出异常:段-1,进度-1

内部异常:处理时发生错误消息,请参阅详细信息部分以获取更多信息 

消息ID:{71F18FBE-DC50-4 DD6-BE03-5D783A7CF164}

实例ID:{B77E07ED-1511-4578-8449-75354BEA6929}

错误说明:System.TimeoutException:对http:http的HTTP请求: //lbenson/MDSVC2/Service1.svc'已超出分配的超时00:00:59.9700000。分配给此操作的时间可能是较长超时的一部分。 ---> System.Net.WebException:
请求已中止:请求已取消。

    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)

    ---内部异常堆栈跟踪结束---


感谢您的专家建议!


Jean Stiles






jRenae.s

解决方案

当Enable 32 bit设置为false时,您是否能够浏览服务?



hello,

I am sending a request to a webservice my coworker created from my orchestration.  I've been able to get a response from this in the past.  He recently changed it to use 64 dlls and changed the request/response.  I recreated the generated items to get the new schema and the xml binding file.  Now when trying to send the request I cannot get response and get a time out error in the event viewer.  I tried setting up a new host, host instance and handler with with 32 bit only checkbox UNCHECKED and having my send port and orchestration use the new host/instance/handler.  This still is giving me the timeout error.  During troubleshooting my coworker went to IIS/App pools/advanced setting and set the 'Enable 32-Bit applications' back to true for me.  Then I was able to get a response.  But he needs 'Enable 32-Bit applications' set to false for other reasons.  I've tried both the WCF-BasicHttp and WCF-Custom adapters to no avail.  This is on my local developer installation of BizTalk 2013 with Windows 7.

How can get past this timeout issue when using his 64 bit web service?

Below is the error in the event viewer.

xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'AIMtoHSP.AIMFlatFileToCSV(c0d5abd0-6b49-04a9-f3e2-c828d6ef3f74)'.
The service instance will remain suspended until administratively resumed or terminated. 
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: e0dc78f0-6927-4e0b-ac66-ea080d772af6
Shape name: 
ShapeId: 
Exception thrown from: segment -1, progress -1
Inner exception: An error occurred while processing the message, refer to the details section for more information 
Message ID: {71F18FBE-DC50-4DD6-BE03-5D783A7CF164}
Instance ID: {B77E07ED-1511-4578-8449-75354BEA6929}
Error Description: System.TimeoutException: The HTTP request to 'http://lbenson/MDSVC2/Service1.svc' has exceeded the allotted timeout of 00:00:59.9700000. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The request was aborted: The request was canceled.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
   --- End of inner exception stack trace ---

Thank you for your expert advice!

Jean Stiles


jRenae.s

解决方案

Are you able to browse the service when Enable 32 bit is set to false ?


这篇关于调用64位的webservice sendport设置时超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆