We are trying our first iSeries web service.  It's been slow going but we've 
finally got it.  Almost.  When the .Net application tries to use the service it 
gets an error.  The developer can access the service using IE so we know the 
connection is good and the service will work.  The service hasn't been 
published to the iSeries yet.  It is currently running on a WDSc WAS test 
server on my PC.  I can provide source code if necessary.  The .Net error 
information is shown below.  Any help would be greatly appreciated.

"System.Net.WebException: The underlying connection was closed: Unable to 
connect to the remote server.\r\n   at 
System.Net.HttpWebRequest.CheckFinalStatus()\r\n   at 
System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)\r\n   
at System.Net.HttpWebRequest.GetRequestStream()\r\n   at 
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, 
Object[] parameters)\r\n   at 
TestI5Service.WebReference.ARSWebSvcService.getFormattedField(String fieldName) 
in C:\\Documents and Settings\\mhill2\\My Documents\\Visual Studio 
Projects\\TestI5Service\\Web References\\WebReference\\Reference.cs:line 38\r\n 
  at TestI5Service.Form1.button1_Click(Object sender, EventArgs e) in 
c:\\documents and settings\\mhill2\\my documents\\visual studio 
projects\\testi5service\\form1.cs:line 93"

Rick

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.