Solved

Error with FedEx Web Services....

Posted on 2009-05-12
7
616 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
Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 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