473,396 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Web Form calling Web Service

I've created a web service project, test it, deployed it to a web server. No
Problem.
I've created a window app consuming the deployed web service. No Problem.
I've created a web application consuming the deployed web service, test it
on my local machine. No Problem.
Still happy until I deployed the web app.
Deploying the web app was not a problem but when I test it from another
machine I got
"operation has timed-out"

Web.config for both web service and app using no authentication and allow
users *

Hmm... what when wrong?

Thanks
Azali Adnan
Nov 18 '05 #1
5 1131
When configuring the service for the web app, did you specify that the
service was from localhost? Did you specify the full URL to the service?

-D
"Azali Adnan" <mc*@aazali.com> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
I've created a web service project, test it, deployed it to a web server. No Problem.
I've created a window app consuming the deployed web service. No Problem.
I've created a web application consuming the deployed web service, test it
on my local machine. No Problem.
Still happy until I deployed the web app.
Deploying the web app was not a problem but when I test it from another
machine I got
"operation has timed-out"

Web.config for both web service and app using no authentication and allow
users *

Hmm... what when wrong?

Thanks
Azali Adnan

Nov 18 '05 #2
The funny thing is, I specify the full deployed URL to the service. I even
copied the entire Web Reference folder to the deployed web app site.
Still...

Thanks for your reply
Azali Adnan

"MC D" <as***@earthtalk.com> wrote in message
news:uy**************@TK2MSFTNGP10.phx.gbl...
When configuring the service for the web app, did you specify that the
service was from localhost? Did you specify the full URL to the service?

-D

Nov 18 '05 #3
Hello Azali,

Thanks for posting in the group.

Typically with these issues, we need to find out whether the request is
stuck on the client box (or the outgoing IO thread) or whether it is stuck
on the WebService worker thread.

We could use SOAP trace utility to track the communication between client
and server to see what happened. For details on using this tool, please
refer to:
http://msdn.microsoft.com/library/en..._5y49.asp?fram
e=true

Also, please test win form client to see if it could invoke web service
methods successfully from that web site.

If the problem is still there, please feel free to post here.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #4
Time is the answer.
Thanks for all your input. Win app was the first client I use to test the
web service and it was working fine. I was working on the web app early in
the morning and thought I gave it a rest., a few hours later, came back it
and the problem just seem to disappear. Hmm...

Server Busy?
Worker Thread management?

Thanks again
Azali Adnan
Nov 18 '05 #5
Hi Azali,

hmmm. I can't tell the exact reason either. Have you restarted the machine?
Maybe some setting can't take effect without a restart.

If you didn't restart the machine, I think it may be related to some IIS
recycling. Restarting WWW service next time if you met similar problem.

Anyway, I am glad it works now. If there are any more questions on asp.net
programming, please feel free to post in this group.

Thanks very much for participating the community.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dan | last post by:
I'm trying to write a Windows application that obtains information from a web service. I can access the web service successfully, but I can't access the object returned by the web service in...
4
by: anders | last post by:
I have a 'solution' with a Webservice, Business layer and a data layer. In the Business layer I've added a form that need to be started on the server(this site has full rights, runs with Local...
2
by: Andy Johns | last post by:
I've seen plenty of examples of file uploads in ASP.NET when the only form element is the file input type, but I've not seen a practical example of a file upload routine running alongside other...
3
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. ...
7
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is...
0
by: andyedw | last post by:
I have created a windows service in .net and a form to control and monitor the service which I would like to open onStart event of the service. I have tried allowing the service access to the...
2
by: leoiser | last post by:
Hi all, I am creating multiple instance of a Form(let it be Form1).Actually Form1 having 4 panel.Each one having diffrent task.One panel showing picture,another calling web service & displying...
16
by: Mike | last post by:
Hi, I have a form with some controls, and a different class that needs to modify some control properties at run time. Hoy can I reference the from so I have access to its controls and...
1
by: aruncjose31 | last post by:
Hi, I have a requirement to create windows service. The requirement is to call a windows form while installing the service and to set some configuration parameters. Iam not able to call...
6
by: jojoba | last post by:
Hi, I am trying to create a .net webservice such that: When a user calls the service, the server creates a System.Windows.Forms.Form and shows it on the server screen. I know this sounds...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.