?
Solved

Error with FedEx Web Services....

Posted on 2009-05-12
7
Medium Priority
?
630 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

649 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