PDA

View Full Version : مشکل در فراخوانی وب سرویس سامان



EHSH
جمعه 11 آبان 1386, 15:36 عصر
با سلام موقع فراخوانی متد verifyTransaction از وب سرویس پرداخت الکترونیکی بانک سامان خطای زیر را دریافت میکنم لازم بذکر است که من از asp.net2.0 استفاده میکنم و وب سرویس های بانک سامان با دات نت1.1 هستن ، فایل wsdl و RefrencePayment نیز در محل های روت پروژه و appcode قرار دارند.
نحوه فراخوانی : ;(TA = PaymentWebService.verifyTransaction(t_strRefNum, MID

__________________________________________________ ______________________
خطای دریافتی :
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +1002178
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33
System.Net.ServicePoint.ConnectSocketInternal(Bool ean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +431

[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetRequestStream() +1504557
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) +103
WebServices.ReferencePayment.verifyTransaction(Str ing String_1, String String_2) +63
ASP.confirmreservations_aspx.Page_Load(Object sender, EventArgs e) +1024
System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

hesam_a110
شنبه 12 آبان 1386, 08:38 صبح
درود به همگی
من هم چنین مشکلی دارم ممنون می شم کسی کمک کنه
با تشکر از همه

Behrouz_Rad
شنبه 12 آبان 1386, 09:08 صبح
اون طور که خطا میگه مشکل از عدم توانایی در برقراری ارتباط هست.
اگر بر طبق راهنمای وب سرویس اونها عمل کردی و همچنان مشکل داری، با بخش فنی بانک سامان تماس بگیر...

موفق باشید.

hesam_a110
شنبه 12 آبان 1386, 10:12 صبح
درود بر همگی
بالغ بر 200000 بار با سامان تماس گرفتیم ولی دست آخر گفتند که ما .net کار نداریم
داخل نمایشگاه هم از سامان پرسیدم که به نتیجه ای نرسیدم
ممنون از شما

Behrouz_Rad
شنبه 12 آبان 1386, 12:39 عصر
به هر حال اون وب سرویس رو که عمه ی بنده ننوشته! بخش فنی ای حتما وجود داره که بتونن پاسخگوی سیستم هایی که به مشتریان ارائه می کنند باشند.

موفق باشید.

nasr
شنبه 16 مرداد 1389, 18:26 عصر
من هم این مشکل را با یه وب سرویس دیگه دارم
چکار باید کرد؟

don_alen
پنج شنبه 29 تیر 1391, 18:07 عصر
سلام. منم اين مشكلو با بانك سرمايه دارم. ولي نكته جالب توجه اينه كه زمان اجرا روي سيستم خودم اين خطا رو نمي ده و زماني كه آپ مكنم ، خطا مي ده. يعني دليلش چي ميتونه باشه ؟