[Mono-aspnet-list] Web Service Call Fails

jparker jparker at farcomm.com
Wed Apr 18 16:09:55 UTC 2012

I am able to use this code perfectly in Visual Studio on Windows, but when I
deploy to Mono on Apache it fails. I tried it originally with Version 65 of
the API, then with the current Version 84. Results were the same.

Here is the code (some detail omitted for brevity, e.g. setting reqDetails

            SetExpressCheckoutRequestDetailsType reqDetails = new

            SetExpressCheckoutReq req = new SetExpressCheckoutReq()
                SetExpressCheckoutRequest = new
                    Version = "84",
                    SetExpressCheckoutRequestDetails = reqDetails

            PayPalAPIAASoapBinding ws = PayPalUtils.BuildPayPalWebservice();

                SetExpressCheckoutResponseType resp =
ws.SetExpressCheckout(req); //this line FAILS

And here is the output from resp.Errors[0].LongMessage;

System.Net.WebException: The request timed out at
System.Net.HttpWebRequest.GetRequestStream () [0x0005f] in
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke
(System.String method_name, System.Object[] parameters) [0x00069] in

Any help or suggestions would be appreciated.



View this message in context: http://mono.1490590.n4.nabble.com/Web-Service-Call-Fails-tp4568175p4568175.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list