473,387 Members | 2,436 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,387 software developers and data experts.

web service connect problem

I build a web service in a server(A) and can connect to it successfully in my
local computer(B) by using SoapHttpClientProtocol as client. However, when I
move the same code(local computer (B)) to another computer (C). It (C) can
view the web service through browser but not success in code.

Is there anything that I need to notice to use SoapttpClientProtocol, i.e.
which port to use and what else service or software that I need to enable?

Thanks very much
Jul 21 '05 #1
4 1159
Have you trapped the exception? It might give you an idea why it's failing.

"yfng" <yf**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...
I build a web service in a server(A) and can connect to it successfully in
my
local computer(B) by using SoapHttpClientProtocol as client. However, when
I
move the same code(local computer (B)) to another computer (C). It (C) can
view the web service through browser but not success in code.

Is there anything that I need to notice to use SoapttpClientProtocol, i.e.
which port to use and what else service or software that I need to enable?

Thanks very much

Jul 21 '05 #2
the exception is not trapped. So I can only wildguess the cause of error...-_-

"JohnFol" wrote:
Have you trapped the exception? It might give you an idea why it's failing.

"yfng" <yf**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...
I build a web service in a server(A) and can connect to it successfully in
my
local computer(B) by using SoapHttpClientProtocol as client. However, when
I
move the same code(local computer (B)) to another computer (C). It (C) can
view the web service through browser but not success in code.

Is there anything that I need to notice to use SoapttpClientProtocol, i.e.
which port to use and what else service or software that I need to enable?

Thanks very much


Jul 21 '05 #3
Would you mind to explain more on that?

Thank you very much.

"Hardip Wadhwa" wrote:
You have to create a explicit Envelope, if you want to use the WebService in
Intranet.

Hardip

"JohnFol" wrote:
Have you trapped the exception? It might give you an idea why it's failing.

"yfng" <yf**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...
I build a web service in a server(A) and can connect to it successfully in
my
local computer(B) by using SoapHttpClientProtocol as client. However, when
I
move the same code(local computer (B)) to another computer (C). It (C) can
view the web service through browser but not success in code.

Is there anything that I need to notice to use SoapttpClientProtocol, i.e.
which port to use and what else service or software that I need to enable?

Thanks very much


Jul 21 '05 #4
With more information,
server (A), (B) is windows server 2003
C is windows xp

"yfng" wrote:
I build a web service in a server(A) and can connect to it successfully in my
local computer(B) by using SoapHttpClientProtocol as client. However, when I
move the same code(local computer (B)) to another computer (C). It (C) can
view the web service through browser but not success in code.

Is there anything that I need to notice to use SoapttpClientProtocol, i.e.
which port to use and what else service or software that I need to enable?

Thanks very much

Jul 21 '05 #5

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

Similar topics

3
by: Steve Lutz | last post by:
Hi All, I have a Windows Service that runs well. The service hosts a remote object. The purpose of the object is so that I can "peak" into the service to see what it's doing. I wrote a small...
6
by: Chakkaradeep | last post by:
hi all, I have written a C# Service which is a Server accepting Clients,It is working fine when i connect from localhost but when i connect from any other machine to my machine , the service is...
10
by: amirmira | last post by:
I have a Windows Service developed in VB.NET that attempts to connect to a database as soon as the service starts. I have no problem when I start the service manually - but when I restart the...
8
by: Manfred Braun | last post by:
Hello All! I am writing a management application, which has to access remote machines registry via System.Diagnostics.EventLog.CreateEventSource . For each machine, I connect to, I create a...
3
by: adasilva | last post by:
I have create a Windows service that uses a timer to access a Web Service. The service is set to start Automatically and its using the local system account. The service also logs events to the...
0
by: JDF | last post by:
I am trying to create a Windows service using SimpleXMLRPCServer and win32serviceutil. The service itself seems to be working properly (starts, stops, etc) and I can connect using an XMLRPC client...
2
by: Richard Collette | last post by:
Hi, I have a service, that runs perfectly when executed outside of the web service environment. When called as a web service I get the exception listed below sporadically. A call to the web...
3
by: Grant Schenck | last post by:
I have a simple remoting sample using IPCChannel. If I run the server code as a console app my client can connect just fine. However, if I the same server code runs in a service, the client gets...
10
by: blurryimage | last post by:
Ok guys I have racked my brain on this one. I have a vb .net service installed on a win2k server. I am trying to get it to connect to sql 2000 box but I get this error: An error has occurred...
5
by: mivey4 | last post by:
Hi, First off, I am aware that this is a very heavily documented error and I have done my homework for throughly researching probable causes before deciding to post my problem here. At this point,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.