Solved

Error with FedEx Web Services....

Posted on 2009-05-12
7
606 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

840 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