all groups > asp.net webservices > november 2003
Filter by week: 1 2 3 4 5
Throwing custom exceptions in web services using VS.Net
Posted by Gian U. Uy at 11/30/2003 8:04:04 PM
I created a custom exception for my web service using VS.Net and it's
ASP.Net web service tools. Its base class derived from System.Exception and
I have a WinForm client that references the web service. But when I
referenced my Web Service, it did not pick up our custom exception class so
that t... more >>
VS setup for creating ASP web services
Posted by Niall Smith at 11/30/2003 2:26:08 PM
I am trying to create a ASP.net web service. I have used the New Project> ASP.Net web service generator. And I have added the lines of code:
<WebMethod()> Public Function HelloWorld() As String
HelloWorld = "Hello World"
End Function
<WebMethod()> Public Function getRating(... more >>
How does a DLL change namespaces?
Posted by Bruce W...1 at 11/29/2003 12:11:34 PM
My ASP.NET web service runs fine on my local PC, and it has the
namespace that I gave it. But when I upload it to my hosting company I
get this error:
This web service is using http://tempuri.org/ as its default namespace.
Recommendation: Change the default namespace before the XML Web servic... more >>
Architecture question: should I use a web service as back end to my web front end?
Posted by karensundq NO[at]SPAM yahoo.com at 11/29/2003 6:48:02 AM
Hi
I have a SQL/IIS web app whose functionality I would like to expose to
other systems. If I build a web service for my app, should I then
convert my existing web front end to use the web service as its
server? If I do this then there will be a single functional back-end
to maintain. This is c... more >>
ASP
Posted by David Smotherman at 11/29/2003 5:31:01 AM
Since IE 6.0 came out, whenever anyone tries to order from my website needfultoys.com they get the following message
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/needfultoys_secure/Shipping.asp, li... more >>
How to return image URL via web service
Posted by deja NO[at]SPAM radicalthinking.net at 11/28/2003 8:26:34 PM
I am looking to write a webservice that responds with a image URL and
target url
the two results will be seperatly requested.
Basically I want people to be able to put this services link in the
IMG tag and the href tag and get a database returned IMG path and href
path. Does anyone have an... more >>
Problems with web service access
Posted by Sky Fly at 11/28/2003 8:01:54 PM
Hello,
I have a web service on a server which handles requests
over the internet from a VB.NET client application
running on a Windows XP Professional machine. I am
having a problem getting the client machine to
connect to the web service. It is simply unable to
connect, as though there is n... more >>
Problems with asp.net and jws
Posted by robert NO[at]SPAM disicom.com at 11/27/2003 3:24:26 PM
Hi Forum, there is a web service with a jws extension. I want to
create an application in ASP.NET that call the web service, i have the
documentation, url and user and password for that. The problem is that
when i create a web form and want to add a web reference to the
project, i put the url an... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Web References
Posted by report_1979 NO[at]SPAM yahoo.com at 11/27/2003 2:57:44 PM
hi,
There are 10 machines which run the same webservice. I have 10
webreferences in my client. Only during runtime, will i decide which
webservice to call.
I dont want to have a swich case statement and handle the 10
situations separately. Is it possible to create objects of the
webref... more >>
structures vs classes
Posted by Gian U. Uy at 11/27/2003 10:55:33 AM
Hi!
I'd like to know is what are the prons and cons of using structures (data
types declared as struct [in c#] or structure [in vb.net]) as against
classes when passing data from and to a web service?
... more >>
howto deploy new versions of "up and running" web services ???
Posted by Antonio Lopez Arredondo at 11/26/2003 8:11:06 PM
I have some web services running in a production server.
meanwhile I develop new versions in a dev environment.
what should I do to deploy the new versions of "up and running" web service
?
I cannot simply overwrite the existing DLL because is locked by ASP.NET.
I tried to stop IIS and even s... more >>
web service creation/ consumption
Posted by max at 11/26/2003 1:03:37 PM
Hi there all,
Big time newbie question, but do any of you know of good web sites and/ or
books that cover the basics of creating and consuming web services in
VB.NET?
I am performing a final year degree project and all the books i have jump in
at the deep end. i found MS's very basic help, whic... more >>
creating dll on server
Posted by aramisq NO[at]SPAM o2.pl at 11/26/2003 10:38:07 AM
I have written a simple webservice in VS.Net and it works, code is
compiled and placed in /bin directory, but if I compile file manually:
csc /t:library Service1.asmx.cs
and replace oryginal dll, it fails.
My .dll has smaller size than original, so I think that I missed
something.
thanks i... more >>
virtual directories and IIS
Posted by kousaria NO[at]SPAM yahoo.com at 11/25/2003 8:06:19 PM
I created a new directory on my hard drive C:\test. I mapped a virtual
directory called MyWeb to this directory. Now when I try to create an
ASP.NET project (WebService1) in http://localhost/MyWeb/WebService1 I
get the error message:
Unable to create Web Project 'MyWeb/WebService1'. The UNC shar... more >>
VS.net Walkthroughs / Data access in Distributed App?
Posted by Steve Nihan at 11/25/2003 9:54:57 AM
I've been following a solution in the VS.net walkthroughs, and have come up
on a wall.
I have a solution with three projects in it. One is a web service, with
perameterized SQL Adapters, Another is a asp.net web app, and the other is
the windows form client app. The problem I'm having is tryin... more >>
Web Service Deployment
Posted by meena at 11/25/2003 8:20:34 AM
Hi ,
SCENARIO:
I have developed an ASP.NET Web Service. It has the
following files
a)Service1.asmx and associated Service1.asmx.cs file'
b)XMLSchema1.xsd and associated XMLSchema1.cs file
c)Web.config file.
My clients are developers of a front end ASP.NEt Web
application which wi... more >>
How I get my WebService to handle url encoded parameters
Posted by Bob the coder at 11/24/2003 6:56:26 PM
I have a webservice like so:
[WebMethod]
public string EnterTheNumber(int number)
{ return "Incorrect! Try again!"; }
'Accessing XML Web Services from a Browser' in the .NET
Framework Developer's Guide describes how
'http://servername/vdir/webservicename.asmx/Methodname?
parameter=value'... more >>
WebService Performance...
Posted by Mirco Kaffsach at 11/24/2003 6:21:54 PM
Hi @all,
I've got some problems with my WebService...
The WebService runs more than 30 seconds an the site is frequently visited
( nearly 1200 times a minute )
The problem is, that the server works fine if the requestlimit is about 10
requests, but if it grew up to more than a specific nu... more >>
SecurityException on EventLog.CreateEventSource
Posted by Bragadiru at 11/24/2003 3:15:04 PM
Hi All,
Can anybody tell me how to write to the application event log with a new
source. I'm running the .Net example code
but can't get it to work unless the source is set to application. This is
driving me nuts. I have created a new WebApplication1 so as everything is
set to default... more >>
Process.Start() - Works on DevBox but not on Server...
Posted by Kautzky at 11/24/2003 1:21:04 PM
Situation
On a Windows 2000 workstation a web service using System.Diagnostics.Process. Successfully executes .exe and returns.
On Windows 2000 Server creates process, but does not execute.
I have given as many permission to the server (breaking every security policy I know of) trying to get... more >>
True push mechanism for Web Services on mobile devices
Posted by Vincent at 11/24/2003 2:33:39 AM
Hi,
Could anybody tell me whether a true push mechanism does
exist for Web Services on mobile devices.
An example of such a use, is a telephony application
running on a mobile device that has to be informed when a
call comes in.
Thanks in advance,
Vincent... more >>
Perameterized Query on webservice?
Posted by Steve Nihan at 11/23/2003 6:13:03 PM
I've created the following distributed application:
Solution
EDSQLWSVC EDEmployerWinClient Project3
Web Service winform app asp.net web app
My web services are fine....and I can get data in, out etc. My problem is
this:
I want to use the data adaptors in the web services for the window... more >>
access xml web service
Posted by Jack at 11/21/2003 12:06:56 PM
I have a C# window app trying to access a xml web service
but
i get the following error:
Client found response content type
of 'text/html;charset==utf-8, but expected'text/xml'
Anyone got idea what the problem is?
Thanks in advance!... more >>
webservice encoding - help!
Posted by <1> at 11/21/2003 10:59:39 AM
Hi All,
I'm hoping someone can help as I'm pulling what little hair I have left from
my bald bonce! 8-)
I have a web service that returns a string depending upon the request -
however the encoding of the xml document produced is always UTF-8. Due to
circumstances outside my control I have ... more >>
Is the current environment ASP.NET?
Posted by Harjit S. Batra at 11/21/2003 9:49:05 AM
How can a function tell if it has been called from a ASPX page or ASMX web
service versus being called from a console or windows app? I need to extend
the EventLog class to write events and need to know the name of the app or
the name of the page or the name of the service calling the WriteEvent
... more >>
Reverse Engineering WSDL
Posted by Bilge at 11/20/2003 6:23:32 PM
Is anybody aware of any tool that generates C# code (server stubs, not
client) based on a given WSDL.
Thank you,
... more >>
Retrieving clients ip adress on the server
Posted by Jason Wager at 11/20/2003 6:19:20 PM
Hello,
I have looked a lot but not found how to do this:
I have a Web Services server and from this I want to see what IP adress the
Client (that connects to the SOAP server) has.
I want to do two things:
1) Restrict access to some specific IP adresses
2) Give different answers the differe... more >>
SoapHeader
Posted by eAW at 11/20/2003 6:17:41 PM
All the sample code that I can find on SoapHeader is at least one level down
within a root node. However, the eBay is using the flat structure. Here is
the sample,
<SOAP-ENV:Header>
<ebay:NotificationSignature
xmlns:ebay="https://developer.ebay.com/2001/schema">78b268119889e57ad7a3d88b
... more >>
Error doing a new webservice project
Posted by Jeff Lindholm at 11/20/2003 6:11:08 PM
Any idea what I would need to look at configuring when I get.
"The Web server reported the following error when attepting to create or
open the Web project located ath the following URL:
'http://localhost/WebServices/WebService1'. 'HTTP/1.1 500 Internal Server
Error'.
IIS is running and I c... more >>
calling a web service on a standalone with no localhost running...
Posted by eycheych NO[at]SPAM hotmail.com at 11/20/2003 11:31:30 AM
is it possible to include a web service dll with your application and
call its' methods without having an internet or localhost connection?
I realize the whole point of web services is the connect thru a server
(remotely or locally), but say you've created a big web service dll
and would like to... more >>
Web Services vs SQl Server Replication (repost)
Posted by Simon Kewin at 11/20/2003 1:41:47 AM
Reposted as I didn't use my Microsoft-provided posting
address ...
I'm interested on any opinions people have. If I have
a .net rich-client app that operates in a disconnected
fashion and that needs to synchronize as and when it can
with a central SQL Server, what sort of approach would y... more >>
my first asp.NET project
Posted by shareyourbest at 11/19/2003 4:45:07 PM
im traying to develope my first asp.NET site in the visual studio.NET 2003,
after executing the project , it display the fellowing error message :
Erreur d'analyse
Description : Une erreur s'est produite au cours de l'analyse d'une
ressource requise pour répondre à cette demande. Veuillez con... more >>
Declaring Global variables in a WebService
Posted by report_1979 NO[at]SPAM yahoo.com at 11/19/2003 3:42:20 PM
hi,
In the webservice which iam writing, i have to declare a an array
which has to be global. How and where shuld i declare it.
I declared it as
public static bool[] Busy = new bool[50];
but this doesnt seem to work. This array is reinitialized everytime.
Thanks
sendhil... more >>
Can't invoke DCOM call from ASP.NET
Posted by ronnotel NO[at]SPAM yahoo.com at 11/19/2003 3:01:27 PM
I want to wrap a legacy COM dll within an ASP.NET app. The dll
incorporates a DCOM call to a remote server and will return data,
which the ASP.NET application will pass through. Changing either the
dll or the server interface it speaks to will be difficult.
I built an Interop wrapper for the C... more >>
web service parameter size limit
Posted by androger at 11/19/2003 8:51:37 AM
Hi,
I have a web service that takes a xmldocument as
parameter, works great for samller file but when the size
of the document is about 5 MB, I get this error:
The underlying connection was closed: An unexpected error
occurred on a receive.
How do I set my webservice to accept bigge... more >>
dynamic url from a component
Posted by josef NO[at]SPAM wainz.net at 11/19/2003 6:33:06 AM
i've searched this newsgroup as well as the aspnet newsgroup without
an answer to this question.
i call a web service from a component. i specify dynamic url, but
there isn't an app.config or web.config file for the component. so
there isn't a place for the appsettings entry to be made. is it
... more >>
accessing same web service from numerous applications
Posted by Jon Paugh at 11/18/2003 2:56:28 PM
We have a web service handles employee information. It
will be used by numerous other applications.
Question is, what is the best way for the other
applications to access the web service? I am concerned if
each application has its own web reference to this web
service, then if we move t... more >>
Newby High Level Design/Architecture Question
Posted by Tobes (Breath) at 11/18/2003 2:06:42 PM
Hi there,
Firstly, sorry for the cross post. I didn't get a reply on the
dotnet.framework.webservices group so I though this group may be able to
help!? Or, perhaps my question doesn't make sense!?...
We want to rebuild a business application, and are considering using Web
Services in .NET.... more >>
Posting ASP .Net web form to another asp page
Posted by Newbie at 11/17/2003 11:48:48 PM
Hi,
I need help in posting asp .net application web form to another asp based
web app.
I have seen many examples using HttpWebRequest class but the problem is I do
not want the request back but want to post the data to another form so that
at the asp page level we can use request.form value... more >>
dynamic WebServices
Posted by Chankas at 11/17/2003 9:01:32 PM
Hi everybody. I've developed an easy WebService with VStudio. I've developed
too a little Web application with VB.NET and I've created a WebReference in
order to use the WebService.
My question is: How can I especify that my Webapplication use the WebService
from other Web Server (nor localhot... more >>
error in accessing webservice developed in Java from .NET client
Posted by narasimham at 11/17/2003 8:43:50 PM
Hi Masters
I have a webservice developed in Java which is running at port 8080.
I am getting operation timed out error.
I have tried by chaning the url to (reference.cs) file which is appened
by ":80" after web site address followed by name space etc.
Then it has waited up... more >>
Return Single Row + Dataset
Posted by Meir Rotfleisch at 11/17/2003 7:37:46 PM
Hi
I have created a WebService that returns a DataSet from the database.
What I would like to do is have it also return an addition Single Row of
data that is generated during the processing of the function (lets say 3 or
4 differenet Values) that are not from a database source.
Suggest... more >>
ASP.NET 1.1
Posted by Colin Basterfield at 11/17/2003 1:52:33 PM
Hi,
Not sure if this is the right place for this but here goes anyways.
I am using VS.NET 2003, and with 1.1 of the framework, but when I try to
create a C# Web Service it states
"Visual Studio.NET has detected that the Web Server is running ASP.NET
Version 1.0..."
It says I should upg... more >>
webservices sessions only work in debug mode ?????
Posted by Antonio Lopez Arredondo at 11/17/2003 12:15:11 PM
hi all !!!
I have developed a web service that uses sessions (enablesession=true in
webmethod attributes).
The web service works fine when called from the development environment or
from visual studio generated test pages.
However, when the same web service is called from a WinForms appli... more >>
webservices sessions only run in debug mode ?????
Posted by Antonio Lopez Arredondo at 11/17/2003 12:12:27 PM
hi all !!!
I have developed a web service that uses sessions (enablesession=true in
webmethod attributes).
The web service works fine when called from the development environment or
from visual studio generated test pages.
However, when the same web service is called from a WinForms appli... more >>
Compilation Error
Posted by Robin at 11/16/2003 10:02:17 PM
Please help me with this problem. Thanks
Regards
Robin
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: BC30002: ... more >>
Duplicating a project
Posted by Santi Serrano at 11/16/2003 5:59:12 PM
Hi,
Ok, I open Visual Studio .NET 2003. New C# ASP.NET Web Service project.
Everything works fine. When I'm done I close Visual Studio, go to the web
server home directory and make a copy of the folder of the existing project
to other one named different because I want to make some changes wit... more >>
SQL VARIABLE
Posted by RAW at 11/16/2003 4:40:40 PM
Hi I have a little problem here with my code Iam asp user and Im trying
to
> use vb.net on this proyect
>
> Im trying to pass varible to the sql string this is my code
>
> <Script language="vb" runat="server">
> Sub Page_Load()
> 'relative connection
> 'Dim strConnection as String = "Provi... more >>
very light / portable console (DOS) web service client
Posted by jason NO[at]SPAM cyberpine.com at 11/16/2003 1:01:26 PM
Hello.
I have a very simple web service that returns a single string with
information scraped from a dynamic web page.
I'd like to build a very light, very portable console client to run on
clients with internet access that may be running 98, may not even have
VB or .NET installed. The cli... more >>
Problem with IIS 5.0
Posted by Mohammad-Reza at 11/16/2003 8:26:12 AM
h
I wrote an asp that must communicate with a database (MDB)
I test this page on a PWS in windows 2000 professional and its work completely but wen i use IIS 5.0 in windows 2000 server the explorer shows an error : ( Error Type
Microsoft JET Database Engine (0x80004005
Unspecified erro
/DB.asp,... more >>
|