Hi all,
I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client application.
Both of these to projects can build compile and run.
I have been asked to extend the functionality of the Solution. This is not
the first time I have had to do this. I did it last week and there were no
problems. I have been using the same machine.
I have added a new Public Class (Below) to the web service.
[XmlRoot("Search ResultsData")]
[XmlInclude(type of(AssetData))]
public class SearchResultsDa ta : DefaultObj
{
private arraylist searchresults = new arraylist();
[xmlarray("items "), xmlarrayitem(ty peof(assetdata) )]
public arraylist items
{
get { return searchresults; }
set { searchresults = value; }
}
}
I then Build the webservice, and then right click on the web reference and
update. There are no errors or out put.
It seems that the References.cs does not update which means that I cannot
access the new public class.
This is not just limited to this class I have tried to create a blank Test
class and that doesn't become visible either.
Any ideas why the Update would literally stop working over night?
And any idea how to fix this.
Thanks for all the help.
ink 4 3274
Hi,
Check out the following thread. I found it on groups.google.c om by
searching for "web service reference update". It's from 2004, but it might
help: http://groups.google.com/group/micro...5d7bb1b21f1973
--
Dave Sexton
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:OV******** ******@TK2MSFTN GP02.phx.gbl...
Hi all,
I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client application.
Both of these to projects can build compile and run.
I have been asked to extend the functionality of the Solution. This is not
the first time I have had to do this. I did it last week and there were no
problems. I have been using the same machine.
I have added a new Public Class (Below) to the web service.
[XmlRoot("Search ResultsData")]
[XmlInclude(type of(AssetData))]
public class SearchResultsDa ta : DefaultObj
{
private arraylist searchresults = new arraylist();
[xmlarray("items "), xmlarrayitem(ty peof(assetdata) )]
public arraylist items
{
get { return searchresults; }
set { searchresults = value; }
}
}
I then Build the webservice, and then right click on the web reference and
update. There are no errors or out put.
It seems that the References.cs does not update which means that I cannot
access the new public class.
This is not just limited to this class I have tried to create a blank
Test class and that doesn't become visible either.
Any ideas why the Update would literally stop working over night?
And any idea how to fix this.
Thanks for all the help.
ink
Thanks for getting back to me.
i have had a look at the Thread you sent me. But it doesn't have the
solution.
Something elss i have noticed. If i change on of the Web Methodes (Remove an
argument) and then up date the Web reference. The update works perfictly.
this problem seems to be limeted to only public classes.
Thanks.
ink
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message
news:Ow******** *****@TK2MSFTNG P04.phx.gbl...
Hi,
Check out the following thread. I found it on groups.google.c om by
searching for "web service reference update". It's from 2004, but it
might help:
http://groups.google.com/group/micro...5d7bb1b21f1973
--
Dave Sexton
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:OV******** ******@TK2MSFTN GP02.phx.gbl...
>Hi all, I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client application.
Both of these to projects can build compile and run. I have been asked to extend the functionality of the Solution. This is not the first time I have had to do this. I did it last week and there were no problems. I have been using the same machine. I have added a new Public Class (Below) to the web service. [XmlRoot("Search ResultsData")]
[XmlInclude(type of(AssetData))]
public class SearchResultsDa ta : DefaultObj
{
private arraylist searchresults = new arraylist(); [xmlarray("items "), xmlarrayitem(ty peof(assetdata) )]
public arraylist items
{
get { return searchresults; }
set { searchresults = value; }
} } I then Build the webservice, and then right click on the web reference and update. There are no errors or out put. It seems that the References.cs does not update which means that I cannot access the new public class. This is not just limited to this class I have tried to create a blank Test class and that doesn't become visible either. Any ideas why the Update would literally stop working over night?
And any idea how to fix this. Thanks for all the help.
ink
I found the answer.
The following line was missing from my Main WebService class to tell the
referenc thing to read the other public class details.
[XmlInclude(type of(SearchResult sData))]
I hate being new to things. you waist so much time.
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:um******** ******@TK2MSFTN GP06.phx.gbl...
Thanks for getting back to me.
i have had a look at the Thread you sent me. But it doesn't have the
solution.
Something elss i have noticed. If i change on of the Web Methodes (Remove
an argument) and then up date the Web reference. The update works
perfictly.
this problem seems to be limeted to only public classes.
Thanks.
ink
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message
news:Ow******** *****@TK2MSFTNG P04.phx.gbl...
>Hi,
Check out the following thread. I found it on groups.google.c om by searching for "web service reference update". It's from 2004, but it might help:
http://groups.google.com/group/micro...5d7bb1b21f1973
-- Dave Sexton
"iKiLL" <iK***@NotMyEma il.comwrote in message news:OV******* *******@TK2MSFT NGP02.phx.gbl.. .
>>Hi all, I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client application .
Both of these to projects can build compile and run. I have been asked to extend the functionality of the Solution. This is not the first time I have had to do this. I did it last week and there were no problems. I have been using the same machine. I have added a new Public Class (Below) to the web service. [XmlRoot("Search ResultsData")]
[XmlInclude(type of(AssetData))]
public class SearchResultsDa ta : DefaultObj
{
private arraylist searchresults = new arraylist(); [xmlarray("items "), xmlarrayitem(ty peof(assetdata) )]
public arraylist items
{
get { return searchresults; }
set { searchresults = value; }
} } I then Build the webservice, and then right click on the web reference and update. There are no errors or out put. It seems that the References.cs does not update which means that I cannot access the new public class. This is not just limited to this class I have tried to create a blank Test class and that doesn't become visible either. Any ideas why the Update would literally stop working over night?
And any idea how to fix this. Thanks for all the help.
ink
Hi,
Thanks for posting the solution :)
--
Dave Sexton
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:eb******** ******@TK2MSFTN GP03.phx.gbl...
>
I found the answer.
The following line was missing from my Main WebService class to tell the
referenc thing to read the other public class details.
[XmlInclude(type of(SearchResult sData))]
I hate being new to things. you waist so much time.
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:um******** ******@TK2MSFTN GP06.phx.gbl...
>Thanks for getting back to me.
i have had a look at the Thread you sent me. But it doesn't have the solution.
Something elss i have noticed. If i change on of the Web Methodes (Remove an argument) and then up date the Web reference. The update works perfictly.
this problem seems to be limeted to only public classes.
Thanks. ink
"Dave Sexton" <dave@jwa[remove.this]online.comwrote in message news:Ow******* ******@TK2MSFTN GP04.phx.gbl...
>>Hi,
Check out the following thread. I found it on groups.google.c om by searching for "web service reference update". It's from 2004, but it might help:
http://groups.google.com/group/micro...5d7bb1b21f1973
-- Dave Sexton
"iKiLL" <iK***@NotMyEma il.comwrote in message news:OV****** ********@TK2MSF TNGP02.phx.gbl. .. Hi all, I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client applicatio n.
Both of these to projects can build compile and run. I have been asked to extend the functionality of the Solution. This is not the first time I have had to do this. I did it last week and there were no problems. I have been using the same machine. I have added a new Public Class (Below) to the web service. [XmlRoot("Search ResultsData")]
[XmlInclude(type of(AssetData))]
public class SearchResultsDa ta : DefaultObj
{
private arraylist searchresults = new arraylist(); [xmlarray("items "), xmlarrayitem(ty peof(assetdata) )]
public arraylist items
{
get { return searchresults; }
set { searchresults = value; }
} } I then Build the webservice, and then right click on the web reference and update. There are no errors or out put. It seems that the References.cs does not update which means that I cannot access the new public class. This is not just limited to this class I have tried to create a blank Test class and that doesn't become visible either. Any ideas why the Update would literally stop working over night?
And any idea how to fix this. Thanks for all the help.
ink This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: hazz |
last post by:
given
namespace WindowsService1
{
public class Service1 : System.ServiceProcess.ServiceBase.........
private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
ArrayList myAL = new ArrayList();
CustomClass objCont = new ControllerClass;
CustomClass objInfo = new InfoClass;
|
by: Dave Rayment |
last post by:
Hi,
We have a multiple-project solution in VS.NET 2003, including a single web
service. A couple of projects in the solution have references to this web
service and everything was working OK until we added some methods and changed
the signatures for some existing methods on the service. We changed the
version number of the service assembly to reflect the update.
We did an update on the existing references within Visual Studio, which...
|
by: Wendy Elizabeth |
last post by:
I am going to be writing a web service in Visual Basic .NET internally for
my company. This web service is going to be setup to send various kinds of
messages to the internet since the main production servers currently reside
in the DMZ. The main production servers are in the DMZ and are behind a
firewall so they are not able to send messages externally to the internet.
This internal Visual Basic.NET web service will be calling various...
|
by: codebloatation |
last post by:
I know how to use references but i DO not get WHY they exist other than
to add to the language. Are they actually needed for anything?
|
by: iKiLL |
last post by:
Hi all,
I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client application.
Both of these to projects can build compile and run.
| |
by: Joseph Geretz |
last post by:
I have the following class which I am serializing and passing back and forth
between my Web Service application and the client.
public class Token : SoapHeader
{
public string SID;
public string UID;
public string PWD;
}
|
by: Josh |
last post by:
I have application1 that connects to webService1. I have a second
application that references the same webservice (webService1). I need
to pass an instance of a class returned from webService1 from
application1 to application2. I have a reference (assembly.load) of
application2 in application1, but when it won't let me cast it -
saying they're different types. What are my options?
Thanks in advance,
Joshua Moore
|
by: Doogie |
last post by:
You know they say there is no such thing as a dumb question? This
might be the exception...I'm not sure. :)
In VS.NET 2003, if you create a web service it is namespaced like so:
namespace WebService156
{
...
}
|
by: Mike |
last post by:
I have a web app that is referencing several web services. When I make a change to a web service (add, modify a method), I have to 'Add Web Reference' for the changes to take affect. If I do 'Update web reference' the web app does not see the web service changes.
The web services are on the same box as I'm developing on, the .wsdl files are pointing to the correct location, but the changes aren't happening unless I do 'Add Web Reference'.
...
|
by: =?Utf-8?B?SmltIE93ZW4=?= |
last post by:
Hi John,
Hopefully this post will find its way back to you - or perhaps be answered
by someone else. As I mentioned in my last post on the earlier portion of
this thread, changing the serialization settings for the build handled the
initial slows we encountered when invoking the web service.
Since that time, we ported the original VB.net code over to C# - this was
done to make it cleaner easier to include the project in the rest of...
|
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...
| |
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |