all groups > dotnet web services > june 2004
Managing exceptions in web services (showing errors)
Posted by Diego F. at 6/30/2004 7:55:57 PM
I use to show the error messages that I get in a try block.
try
{
...
}
catch (Exception ex)
{
... (ex.Message);
}
In a Windows App I use: Message.Show(ex.Message);
As the web service can be used in Windows apps or ASP.NET apps, what is the
way to do that?
Regards,
Die... more >>
Use UDDI to host web services
Posted by Grey at 6/30/2004 3:06:28 PM
I have developed serveral web services in intranet. I am going to place
these web services in one server. Do I need to set up a UDDI server in order
to let other development PCs to get the services?? If so, how to set up UDDI
server in Win2K Standard as I am not going to use Win2003 server at thi... more >>
Running query on web datset
Posted by John at 6/30/2004 11:25:36 AM
Hi
Is it possible to do run a select query on a dataset from a web method using
a dataadapter? A code example would be great. If not, how can we grab hold
of the remote dataset data in a local table?
Thanks
Regards
... more >>
Webservice Connection String
Posted by John at 6/30/2004 10:57:14 AM
Hi
I have a dataset from a web service. I want to use a dataadapter with the
dataset. What connection string should I use so the da knows that it is
acting on the remote db associated with the web service dataset?
Thanks
Regards
... more >>
Paging in webservices
Posted by Paul Wilson at 6/29/2004 9:26:37 AM
Is it possible to have a feature such as paging (as in asp.net) for
Webservices??
Regards,
Paul
... more >>
Queries on tables from different data sources
Posted by John at 6/29/2004 12:05:14 AM
Hi
I need to perform two queries in sequence on two identical access tables.
The source table is coming from a dataset returned by a web method and the
destination table is from a local access table. The queries are;
UPDATE [destTbl] INNER JOIN srcTbl ON [destTbl].entry_id = srcTbl.entry_id
... more >>
Web Services returns string: which is XML and the angle brackets are encoded?
Posted by DotNetGruven at 6/28/2004 6:01:16 PM
We have a web service that returns a string which happens to be well formed
XML. The client sees the string ok, except the angle brackets are HTML
encoded ( > and < ).
Is this expected behavior? Is there a way to configure it so that it
doesn't do this?
Currently, the client is being ... more >>
2 easy questions
Posted by Jason Shohet at 6/28/2004 1:26:50 PM
1. if i'm returning a ds from a ws, can J2EE clients that use web services
use a service that returns back a ds, practically? If not, whats the
customary solution, so that whatever they get back, can be used in their
version of a 'datagrid'...
2. we have a group here which has the ws's on t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
web service returns 404
Posted by septemberweir NO[at]SPAM yahoo.com at 6/28/2004 11:21:09 AM
I have read numerous posts on this same issue and searched Microsoft's
knowledge base and there are no solutions offered.
I have a web service installed on 4 machines: 2 dev servers, 1 staging
and production. The web service works fine on 3 of the machines,
however, on one dev server, invokin... more >>
URL Behavior Property in SmartApplication
Posted by Carlos Hernandez at 6/28/2004 10:51:14 AM
I am working on a web service for a smartapplication. The url behavior
property doesnt appear in the web reference, like in the windows
application, were I can change the url behavior to dynamic and then change
the ip in the app.config file..
Thanks.
... more >>
HTTP Authentication for web services
Posted by da_joker NO[at]SPAM gmx.net at 6/28/2004 6:10:20 AM
Hi,
I have to use a Java web service that requires HTTP authentication, so
I have to send username and password in the HTTP headers.
My C# application has a client implementation that looks like this:
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCateg... more >>
Problem with returning custom ArrayList with webservice
Posted by mailaknecke NO[at]SPAM telia.com at 6/28/2004 1:44:57 AM
Hi all.
I have a problem with returning a custom Result object with
webservice.
The classes i use is described below (some fields and properties is
removed)
public class Result {
int statusCode;
object data;
}
public class Customer {
int customerNr
}
public class CustomerList :... more >>
Securing Web Services - how to prevent user to Add Web Reference?
Posted by The Fox at 6/25/2004 6:35:44 PM
How to prevent user to add web reference to my web services?
Can I add password to web services so that only the users
who know the password can add a web reference?
Thanks in advance.
... more >>
Webservice and DataSet problem.
Posted by John Young at 6/24/2004 11:20:55 PM
Hi,
I have a strange problem with returning a dataset from a webservice. Here's
some code... The error I get at compile time is.
"Cannot convert type 'void' to 'System.Data.DataSet'"
Can anyone help me please. I have heard something about typed datasets,
would that make a difference... more >>
How to call C from C# Web Service?
Posted by Siegfried Heintze at 6/24/2004 5:53:59 PM
I have the following C# code in my web service:
[DllImport ("CaseAssessment.dll",
CallingConvention=CallingConvention.Cdecl)] public static extern double
add_(double X, double Y );
[WebMethod] public double add (double X, double Y){
return add_(X, Y);
}
When I try to call the add fu... more >>
Hosting a .NET Web Service without IIS
Posted by Gary Webb at 6/24/2004 3:00:17 PM
Is it possible to host a .NET Web Service (managed code using the .NET
Framework 1.1) without IIS? I remember a website that indicated it was
possible to use a .NET Remoting server to host a Web Service. Could client
code that consumes a Remoting *web service* be used interchangeably to
consum... more >>
Dynamic WSDL?
Posted by Wayne at 6/24/2004 1:57:13 PM
I have a way for doing plugin's in my gui app. These plugins have to talk to
a webservice to do database calls. I've done the DB access as a web service
so it can be shared with the rest of the company, if not for the want of
reuse the gui app would have just simply accessed the DB Directly and e... more >>
Many webservices or not
Posted by Henke at 6/24/2004 1:51:51 PM
Hi
We are buildning a system that should handle hierarcic data in 5 levels.
Are there any advantages or disadvantages on having one webservice for each
level. I mean is it better or not to have one big webservice that handles
all updates for all the objects or should I have one for every level... more >>
Changing Webservice from Server Without rebuilding
Posted by Carlos Hernandez at 6/24/2004 12:38:17 PM
We have created a webservice, and in out test server everyting works fine,
but when we want to move it to our
production server, we have ti change IP in the webreference properties, and
rebuild our application.
Is there a way to do this dinamically so we dont have to recompile our
application e... more >>
Calling Web Service from Standard ASP
Posted by Jeff Dillon at 6/24/2004 9:04:57 AM
I'm looking for code examples for calling a simple web service from standard
ASP. It's my understanding that I could create a VB6 dll along with the SOAP
toolkit, and then use Server.CreateObject in my ASP. Any specific examples
available?
Jeff
... more >>
how to keep login state in web service
Posted by Linda Chen at 6/23/2004 7:24:22 AM
Hello,
I made a webservice, the user is asked to login to the
server before making other calls. I have problem to keep
the login state.
Inside my web service I have a private boolean called
bLogin. When the login is sucessful I set the bool to true.
But when I tested my webservice fro... more >>
Securing web services: How to disable WSDL
Posted by Greg at 6/22/2004 3:48:43 PM
I am trying to lock down my web services. I have added WSE 2.0 to do custom
authentication, I have removed HTTP-Get and HTTP-post in the web.config, but
I don't want the myservice.asmx?WSDL or even just a call to myservice.asmx
to expose any of the interfaces. Is it possible to do this, and if s... more >>
Deployment Problem
Posted by Jim at 6/22/2004 11:24:44 AM
Dear Group,
I am trying to deploy a comsumer of a web service. The operating system is
Windows 2000. Its the old developer problem, its working on my development
PC but not working on the production PC.
The error I am getting is System.Security.SecurityException.
Please supply a Fix
Thanks... more >>
Certificate handling
Posted by Stewart Bourke at 6/21/2004 2:39:18 PM
I have added the following class to my code for consuming a webservice. I
want to be able to accept all certificates for testing etc..
public class TrustAllCertificatePolicy : System.Net.ICertificatePolicy
{
public TrustAllCertificatePolicy()
{}
public bool CheckValidationResult(Servic... more >>
Instant Notifications
Posted by jivtesh_singh NO[at]SPAM yahoo.com at 6/21/2004 3:16:52 AM
i was thinking of a way to implement Instant Notifications using the
new messaging features of WSE 2.0. Idea is to send a packet async to a
winforms app on a client machine.
i think this would be possible setting up a TCP listener on Client
Machine Winforms Application.
soap.tcp://IPAddresss/... more >>
when webservice service is down.
Posted by DotNetMania at 6/20/2004 6:12:20 PM
i'm woking with webservice ...
how should the client do when webservice service is down.
what kind of exception would occur..?
when my testing it always wait server's signal...
best regards
... more >>
Receiving XML Documents
Posted by elguapois NO[at]SPAM yahoo.com at 6/18/2004 7:04:31 AM
Hi,
I'm setting up a service that receives a XML document, validates the
document using a schema and then returns a simple result.
I wanted to ask what the best way is of doing this, that is sending
the xml document. So far I've come across 2 way's:
1. Create a webservice that accepts a ... more >>
Cannot create ActiveX component
Posted by rocio.katsanis NO[at]SPAM softwareservices.net at 6/17/2004 3:03:38 PM
I have a windows app. written in VB6, now we need to expose some of
its classes through a web service.
I am only able to expose the classes using late binding becasue that's
the way the original VB6 was written. I ahve already exposed some of
the original classes, and they work fine. Now, I ad... more >>
SOA - new paradigm or snake-oil ?
Posted by A Mackie at 6/17/2004 2:04:49 AM
Service Oriented Architecture (SOA) - a great new paradigm, or just
this years marketing snake-oil for middleware vendors ?
Now don't get me wrong, integration of loosely coupled web-services
across applications and organisations to achieve higher level business
objectives may well be a good t... more >>
visual studio .net walkthrough
Posted by flagisup at 6/16/2004 6:48:16 PM
I have completed the walkthrough on creating and
consuming a web service. Worked fine on my local machine.
I then did a project copy to my web host. When I try to
access the web service using the aspx program it gives
the 'Conversion Failed' message which is the try catch
message I put in.... more >>
|