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

Web service constructor problem

Hi,

I am getting very strange problem. Let me explain you.
I have class library,web service and window application. Web service
is interface between class library and window application. When I
create an instance of class from class library which has constructor
where I set some values, then I send it to the web service for
business processes but those values which I set from class constructor
are over written some how.
I debugged the web service and found that the constructor is called
and the defined value is also set but after constructor all the public
properties' set method is called where my value from constructor is
overwritten.
Please let me know what am I doing wrong.

Thanks,
Nis

Feb 22 '07 #1
0 1015

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

Similar topics

2
by: 3dr | last post by:
I am developing a service which I install and run on a number of servers. It works on most machines I have installed it on, but I always get a 1053, service will not start in a timely fashion...
0
by: Jonathan G. | last post by:
I'm writing my first windows service. I have a class called 'mainprocess' whose constructor is called by the service class. Within mainprocess, I declare an instance of another class I wrote,...
4
by: microsoft.public.dotnet.framework.performance | last post by:
All, Have any of you seen a thread created and Thread.Start() called without error, but then the thread is seemingly never actually started? I have a class defined in a VB.NET 2003 Windows...
6
by: Eric Guthmann | last post by:
Hello all We have an SOA application that includes an ASP.NET webservice and WinForms client. My question is regarding the use of Add Web Reference in Visual Studio. The tool is nice because...
2
by: Ankit Aneja | last post by:
I am making windows service using Microsoft visual studio.Net in C# service name is clamservice problem is that when i start the service it through control pannel->Administrative tools->services...
0
by: Sathyaish | last post by:
I've written a Web Service that has main service class. Let's call the main class that exposes the service interface as Service1. So, we have: public class Service1:...
4
by: magne.bergfjord | last post by:
I am new to web services, and wonder if it is possible to have a web service run all time and start the constructor before anyone calls any web method. My problem is that a lot of data is read in...
0
by: imonline | last post by:
Hi, I am getting very strange problem. Let me explain you. I have class library,web service and window application. Web service is interface between class library and window application....
0
by: TonyJ | last post by:
Hello I'm rather new to this with windows service. I want to get a better understanding because I must use it if I don't want to use a console application- I have three important methods below....
1
by: ERobishaw | last post by:
A windows service I've created runs on all boxes except Windows 2000 server. The windows service initializes (i.e., the Service:ServieBase class gets constructed), but the OnStart() method...
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: 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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.