?
Solved

Error with FedEx Web Services....

Posted on 2009-05-12
7
Medium Priority
?
624 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

 
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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 video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

762 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