473,785 Members | 2,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 SoapHttpClientP rotocol 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 SoapttpClientPr otocol, 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 1182
Have you trapped the exception? It might give you an idea why it's failing.

"yfng" <yf**@discussio ns.microsoft.co m> wrote in message
news:58******** *************** ***********@mic rosoft.com...
I build a web service in a server(A) and can connect to it successfully in
my
local computer(B) by using SoapHttpClientP rotocol 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 SoapttpClientPr otocol, 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**@discussio ns.microsoft.co m> wrote in message
news:58******** *************** ***********@mic rosoft.com...
I build a web service in a server(A) and can connect to it successfully in
my
local computer(B) by using SoapHttpClientP rotocol 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 SoapttpClientPr otocol, 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**@discussio ns.microsoft.co m> wrote in message
news:58******** *************** ***********@mic rosoft.com...
I build a web service in a server(A) and can connect to it successfully in
my
local computer(B) by using SoapHttpClientP rotocol 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 SoapttpClientPr otocol, 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 SoapHttpClientP rotocol 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 SoapttpClientPr otocol, 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
19713
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 Windows Application that connects to the remote object and prints out status information. Everything works fine when I first start the service. However, after some period, when I attempt to connect to the remote object, I get "Requested Service not...
6
1961
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 not working, the Service is in "Network Service".....i even tried "Local System" and also "Local Service" but the end result is , it is working only for Localhost connections and not for Remote Connections... the code for server is as follows..
10
1912
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 computer that hosts the service, I get a Null Reference Exception when I try to connect to the database (I have set the service to start automatically). Any ideas why this is happening? Thanks in advance. Ajay Mirmira
8
1810
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 DirectoryEntry and connect to that machine specifying credentials. That's becauase the running user does not has the right permissions . The application is written in C# and the action taken is done with threads from the threadpool.
3
5583
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 event viewer and the Event viewer is set to overwrite events as needed. The problem is that when I boot the PC the service does not start and I got two error messages in the System log: (Event 7000. The <MyService> service failed to start due to the...
0
2004
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 from the localhost. However when I connect from a remote client, I either get a socket error or an xmlrpclib.ProtocolError error. If I use serve_forever() rather than handle_request(), the remote clients can connect but it breaks the Windows...
2
4957
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 method may succeed one time and not another. I cannot find any reason why it would work one time and not another. The exception occurs every two or three calls to the web method. The service utilizes a COM component provided by PeopleSoft...
3
20305
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 a RemotingException of "Failed to connect to an IPC Port: Access is denied". The Access is denied changes if my service isn't running to "The system cannot find the file specified" so the I think I'm connecting but being denied due to some type...
10
2367
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 while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 -...
5
38836
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, I believe another set of eyes on the issue is merited. I am a MSSQL DBA and somewhat new to ORACLE; but I have read the administrators manual having a basic thorough level of knowledge (Tho' I am still learning) and understanding of how to...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10324
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10090
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.