Solved

Error with FedEx Web Services....

Posted on 2009-05-12
7
597 Views
Last Modified: 2013-11-08
Hello.

   I have created software for my company that automatically generates FedEx shipping labels by implementing FedEx's web services.  I have completed FedEx's process of testing, etc. and have been approved to move on to production.  From the computer I used to develop the software, everything works fine.  I can successully create FedEx labels with no problems.  However, as soon as I deployed the software on two other client workstations, the software does not work.  The error that is returned when calling the web service is:

   "The underlying connection was closed.  An unknown error occured during a send."

All of the workstations are running Windows XP SP3 and .NET 3.5 SP1, and the software was written in VB.NET.

Anybody know what might be causing this?

Thanks.
0
Comment
Question by:MrBookins
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:RyanAndres
ID: 24365964
There could be many possibilities here. Did you move the service from one environment to another? Are you able to update using the new path to the service? Do you have a more detailed exception or the line of code(s) where it was thrown?
0
 
LVL 1

Author Comment

by:MrBookins
ID: 24366007
I did not move the service.  I actually just copied the executables directory to the other workstation for testing.  (I know this is not the correct method, but for some reason I always receive issues when attempting to publish the project).  The computer that is throwing the error is not running a debugger, so what would be the best way to retrieve further information about the exception and to obtain a stack trace?  Currenty, I have an exception handler that prints the exception message to a log.  Should I just tell it to also print out the stack trace?

Thanks.
0
 
LVL 8

Expert Comment

by:RyanAndres
ID: 24366221
Yes please provide a trace while I think of other possibilities. Does accessing the web service through a browser (the .svc file) provide any additional error messages?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:MrBookins
ID: 24366263
I will update the exception handler and provide more information.  What do you mean by accessing the web service through a browser (.svc file)?  I don't see that the FedEx web services have a .svc file nor do they reference a .svc file.

Thanks.
0
 
LVL 8

Expert Comment

by:RyanAndres
ID: 24366371
Disregard that I though it was your service created in .net.
0
 
LVL 1

Author Comment

by:MrBookins
ID: 24366647
Here is the error and stack trace:

Error:

     The underlying connection was closed: An unexpected error occurred.

Stack trace:

     at System.Web.Services.Protocolos.WebClientProtocol.GetWebResponse(WebRequest request)
     at System.Web.Services.Protocolos.HttpWebClientProtocol.GetWebResponse(WebRequest request)
     at System.Web.Services.Protocolos.SoapHttpClientProtocol.Invoke(String methodName, Object
          parameters)
     at ProForm_Plus.FedEx.ShipService.processShipment(ProcessShipmentRequest
          ProcessShipmentRequest) in Z:\Labs\PF Plus\ProForm Plus\Web
          References\FedEx.ShipService\Reference.vb:line 120
     at ProForm_Plus.modFedEx.CreateFedExRequest(clsFedExntry curEntry, string strFirmFile) in
          Z:\Labs\PF Plus\ProForm Plus\modFedEx.vb:line 293

Thanks for the help.
0
 
LVL 1

Accepted Solution

by:
MrBookins earned 0 total points
ID: 24724877
FedEx Web Services port was being blocked by my Firebox non-admins.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now