all groups > dotnet web services > september 2007
Filter by week: 1 2 3 4 5
? for MVP & MSFT people
Posted by Russ at 9/30/2007 10:37:15 AM
It seems to me that whenever I post a question that mentions
/clr:newSyntax, it is the "kiss of death" as far as getting any
answers is concerned. Why is this? Surely more people than myself
have large libraries of legacy C++ code that they need to interface to
a C++ Web Service. Is there no ... more >>
How to return an object through a webmethod
Posted by Fré at 9/27/2007 12:52:05 PM
Hi,
I'm having some trouble creating my webservice.
I can easaly return simple datatypes like strings, integers,..., but
returning something like an object doesn't seem to work.
I tried putting <Serializable()> _ in the class, but no difference.
It gives the following error:
System.... more >>
100,000 calls a minute to a web service
Posted by kebalex NO[at]SPAM gmail.com at 9/27/2007 5:40:38 AM
Hi,
I've got a requirement to poll a web service for data but it needs to
be done very frequently. The web service call is straight forward, it
just returns a simple table of data with no more than 50 rows. It's a
third party web service so i have no control over it. The problem is
each ca... more >>
How to convert a .NET application to webservice?
Posted by ybi10 NO[at]SPAM yahoo.com at 9/26/2007 10:50:35 AM
Hi,
We have a product implmented with .NET (C#) as an application, it is
released as .exe file plus .dll files. Now we want to make it as
webservices, i.e. to make some of it's methods as webservices.
The questions are, do we have to modify the source code? Or can we
work with the existing ... more >>
Set SOAPAction manually
Posted by 6kjfsyg02 NO[at]SPAM sneakemail.com at 9/25/2007 9:22:02 AM
I am trying to manipulate a web service call so that the content of
the SOAPAction header is read from a configuration file.
I am overriding the GetWebRequest method of the generated proxy:
protected override WebRequest GetWebRequest(Uri uri)
{
HttpWebRequest req = ( Sys... more >>
Question
Posted by Redivivus at 9/23/2007 6:50:06 PM
Hi
Another question about Sessions in webservices
I have read, that usin Sessions in a webservice is a bad design?
Lets explain my scenario;
1) Client is a .NET WinForms application(for public libraries)
2) Server - ASP.NET WebServices, SQL
a) Client logs into library - here i must st... more >>
WCF vs Remoting
Posted by FrazGJF at 9/23/2007 6:42:00 PM
I am interested in getting more information on replacing .Net Remoting with
WCF or even better with WSSF.
I notice that the WSSF guidance doesn't take web farms or application farms
into account.
I would like to do in WCF, what I have already done in .Net 1.1 remoting.
(see "BackGround" belo... more >>
Access Session from another class?
Posted by Redivivus at 9/22/2007 8:05:17 PM
Hi
How can i access Sessionstate from another class?
Lets say i have webservice where i define Session["lib"]=1;
In my webservice project i have a common class.
How can i access Session["lib"] from this class?
Sry. about my poor Englisgh :)
Best regards;
Mex
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
web service with 100% CPU
Posted by Echo at 9/21/2007 11:58:02 AM
Hi All:
I am using .NET 2003, I have a page using JS to call a web service to add a
product to the shopping cart, inside web service, I add the product to the
shopping cart and save the shopping cart ID to a cookie, it runs fine on my
local and tesing machine but when I move it to productio... more >>
Process.Start() in Web Service
Posted by Maximilian at 9/21/2007 9:12:01 AM
Im writing a web service to return the ouput from a console app running on
the server but I can't get it to work. Nothing happens it seems ... The code
looks like this:
[WebMethod()]
public string GetSvnLog(string path, long from, long to)
{
ProcessStartInfo info = new ProcessStartInfo... more >>
Reflecting a Web Service
Posted by r at 9/20/2007 11:50:05 AM
Does anyone know how I can hit a generic web service and pull back all
exposed methods and properties?... more >>
Thread locking up?
Posted by John S at 9/20/2007 3:38:01 AM
I have a webservice that I am calling from an application running on a
Windows Mobile device, and I am coming across a problem where the thread
freezes whilst calling the webservice.
The application makes calls to, and receives responses back from, the
webservice quite happily, but one... more >>
Problems with Filesystemwatcher and Web Service
Posted by John S at 9/20/2007 3:08:02 AM
I am trying to find out if there is a way to tell if there is already a
filesystemwatcher (created by a webservice) monitoring a folder.
I have a webservice that creates a filesystemwatcher, monitors a folder and
then returns the contents of the new/changed files. However, if the client ... more >>
Print from Web service
Posted by Felix González at 9/18/2007 12:00:00 AM
Hi
I need to print from a web service.
I´ve a class thats works fine with a console application but in the web
service I get an error. I use PrintDocument.
How can I print from a Web service?
thanks
... more >>
Generate Typed DataSets from WSDL
Posted by newtonwong NO[at]SPAM gmail.com at 9/17/2007 11:53:02 PM
I have a web reference WSDL, but it doesn't really create an XSD. I'm
trying to generate datasets from the WSDL file but not sure how to do
so.
I successfully created the proxy class, but the WebServices all return/
send domain typed data, so I am seeing if I can turn these "classes"/
WSDL in... more >>
How to build a WCF service from an existing WSDL
Posted by Hao at 9/17/2007 8:51:09 AM
I have an existing ASMX web service produced WSDL. I am trying to upgrade
the ASMX to WCF. The client side applications are already deployed on
customers sites. We are definitely not able to change the WSDL in any way.
Therefore I am thinking maybe the right approprach is to start a WCF servic... more >>
Single Instance web service??
Posted by aesper at 9/14/2007 6:54:05 AM
Is there such a thing as a single instance web service? Is it possible to
have all calls to a web service share one property value by declaring it as
static? I know web service should be stateless, but I am still trying to
understand how instances of a web service are handled at the server si... more >>
WebService, object inheritance, serialization errors
Posted by Jay Douglas at 9/12/2007 7:44:08 PM
I'm attempting to create one continuous xsd type with 2 C# objects, one of
which that inherits from each other. When ASP.net 2.0 serializes either
version of the webservice objects, along with the base object, it says that
these objects have the same type name and need to be in different name... more >>
How do I get the Web Service address?
Posted by Gustaf at 9/12/2007 1:32:24 PM
I'm writing a client (C#) for an ASP.NET 2.0 Web Service. From within the client, with its web reference to the Web Service, how do I get the Web Service address as a string? Since the address must be known to the client, I guess there must be a simple way to do it.
Gustaf... more >>
access internal SQL server from 3rd party web server
Posted by Hang at 9/12/2007 8:31:24 AM
Hi,
We publish our pages in a 3rd party web server, so they host our website.
but behind scence data is stored in our internal SQL server, all outside
traffic needs go through our router before reach the SQL server, so in the
Web Configuration file, in connection string entry, "Data Source", wha... more >>
Consuming J2EE Web Services
Posted by Scott M. at 9/11/2007 11:23:23 PM
Believe it or not, I've searched quite a bit and can't find any relevant
information on how to consume a J2EE web service from a .NET consumer
WITHOUT the aid of any 3rd party tools.
I have two questions:
1. In a nutshell, how is this accomplished?
2. Are there any publicly available ... more >>
Got error message related to Security
Posted by Romeo at 9/10/2007 8:40:00 PM
Hi All,
When I run my webservice, I got the following error message:
System.TypeInitializationException: The type initializer for
'PMC.BO.Enterprise.InProcess.PMCUtilBO' threw an exception. --->
System.TypeInitializationException: The type initializer for
'PMC.BO.Enterprise.Utility.PMCFile... more >>
Help understanding sessions in Web service w/ legacy VB6 event handling
Posted by at 9/10/2007 11:02:27 AM
Hello,
I'm seeing some behavior I don't quite understand with the following,
wondering if anyone could shed some light.
We have a legacy VB6 library which reads/writes to a SQL database and
applies rules to transactions. If any rules "fire", notification
needs to be sent to the caller. I'... more >>
The authentication scheme 'NTML' is not supported
Posted by chen at 9/10/2007 10:52:08 AM
I posted this in the WCF forum and didn't see any response. Re-posting
here to a wider audience to see if anyone else has seen similar
behavior...
Created a simple service in WCF and hosted it on my XP box in IIS
(5.1) which works as expected. I was interested in exposing the
endpoint to both... more >>
First call to webservice always works. Connection Closed or 403 Access Forbidden Messages Thereafter
Posted by Doug Ferguson at 9/6/2007 6:44:02 PM
I am using a webservice client that was created from a WSDL file
in .Net 1.1.
The client ALWAYS works the first time I call it.
The second call returns one of two exceptions. It either returns the
error:
A) The connection has been closed on a receive : Unable to read data
from the transpor... more >>
Cannot get SOAP XML input
Posted by Julian at 9/6/2007 6:16:01 PM
Hi there guys,
I have created an XML Web Service which has a return type a class (with
string and long members) and one argument (another class); (see
http://test15.intersections.com/orderreceiver/orderreceiver.asmx)
When called from an Windows application thru the proxy created by VStudio
... more >>
Using ServicePointManager
Posted by valentin tihomirov at 9/6/2007 6:04:10 PM
Is the object global? I would like to ignore ftp server certificate validity
making connection to it in one part of my application. Will it apply the
validation bypass to this thread, process or whole .net platform?
... more >>
asmx httphandler not properly protecting sessions?
Posted by Nick at 9/6/2007 6:34:01 AM
Hello,
MSDN documentation at
http://msdn2.microsoft.com/en-us/library/ms998562.aspx#scalenetchapt10_topic16 states:
<quote>
[WebMethod(EnableSession=true)]
YourWebMethod() { ... }
Since you can enable session state at the Web method level, apply this
attribute only to those Web methods ... more >>
Fail to add web reference
Posted by Elton W at 9/6/2007 5:56:07 AM
I built a web service and it worked fine in my local machine and our intranet
web server. But when I move it to our internet web server and try it set a
web reference in a client application, it fails and gave following error
message:
The server committed a protocol violation. Section=Resp... more >>
Convert web service to Framework 2.0
Posted by Rick at 9/5/2007 5:12:01 PM
I have a web service that I converted from VS 2003 Framework 1.1. to VS 2005
Framework 2.0. I tried to use the same IIS web site to run the web service.
I deleted the Framework 1.1 files published the 2.0 files changed IIS to use
Framework 2.0 and changed the application pool, also restarted I... more >>
SoapExtension - the right starting point?
Posted by matthias s at 9/5/2007 3:58:25 PM
Hi there,
I'm currently building a webservice. One of my webmethods returns a string,
which contains html tags and special characters. Now when the soap-message
ist generated, I have something like this in my response:
<Category>
<Name>children & teens</Name>
<ParentID>1</ParentID>... more >>
complex type recognition
Posted by dshemesh at 9/4/2007 8:26:09 AM
Hello,
My problem is a little complex... Here it goes:
I have a web service in my system which my users need to web reference. By
web referencing my web service, my users can use all kinds of complex objects
which were defined by myself (including inheritance) .
Next, I want my customers to p... more >>
Web Service Error "Root Element is missing"
Posted by RyeLoaf at 9/4/2007 2:26:03 AM
I have a web method that works fine using asp.net 1.1.
I migrate to 2.0 and now for the same call I get "Root element is missing".
Details :
Before the method is invoked, I have a an extension that checks that the
user is allowed access to the operation being requested.
Server :
/// <summ... more >>
webservices returning custom types
Posted by kishor at 9/3/2007 10:56:00 PM
Hi,
has any one used webservices for returning custom objects other than datasets
like custom classes and their internal classes ?.
What problems you have faced if any ? is there any limitation ?
what are advantages and disadvantages.. please let me know
Kishor
... more >>
URLDownloadToCacheFile fails on https
Posted by Ralf Berger at 9/3/2007 5:28:24 AM
I'm having a problem with a control when trying to download a file from a
https tomcat server.
The function URLDownloadToCacheFile returns -2146697208 (0x800c0008).
Any ideas?
Thanks,
- Ralf... more >>
Returning Web Service values from LINQ
Posted by Ken Cox [Microsoft MVP] at 9/2/2007 11:57:35 AM
Hey folks,
I want to return an array from a Web services that uses LINQ. How would I
complete the following to work around the anonymous types problem?
<WebMethod()> _
Public Function GetNeutralCulturesLINQ() As Array
Dim query = From ci In System.Globalization.CultureInfo.... more >>
How to build a web service without the use of .Net Framework?
Posted by Oren at 9/1/2007 12:52:01 AM
Hi,
I have a question: How to build a web service without the use of .Net
Framework?
For an instance how to do it with C++?
I have used web services based on ASP.NET in the past and it is very easy
and comfy to do.
In the current project architecture I can not use .Net because of the
... more >>
|