all groups > asp.net webservices > march 2004
Filter by week: 1 2 3 4 5
converting windows service to a web service
Posted by billy_cormic NO[at]SPAM hotmail.com at 3/31/2004 9:09:00 PM
Hello,
I currently have a windows service that I am considering changing
into a web service. The windows service is used to communicate with
another server on the same network. Can anyone please tell me the
advantages of moving over to a web service? I can see how a web
service is easier ... more >>
SOAP extension not executing
Posted by JTrigger at 3/31/2004 3:56:14 PM
I have created a soap extension to globally handle errors in my webservice.
For some reason the extension is not executing. What is wrong?
Here is my web.config entry to wire the extension to the service:
<webServices>
<soapExtensionTypes>
<add type="EDS.RemedyServices.SoapExtensions... more >>
Web services in spanish
Posted by eoceguera NO[at]SPAM hotmail.com at 3/31/2004 11:32:03 AM
Anyone here has a list of web services providers in spanish??
I've tried looking at the UDDI from microsoft but can't find anything
thanks for your help.... more >>
Calling a WebMethod returns HTTP Status 417: Expectation failed
Posted by Manish Buttan at 3/31/2004 6:26:06 AM
Hi
We have an ASP.NET webservice hosted on a server.
We have also developed a windows forms application which calls methods in this webservice using the webservice proxy created using WSDL
The windows forms application is a program executable which is installed in various environments. This is wo... more >>
Web Service & authentication
Posted by Balint Toth at 3/31/2004 3:42:26 AM
Hi all,
I made a web service from a mobile device connected via USB to my desktop
computer. The web service generates a wav file from a text using SAPI 5.1.
When I call the .Speak function on the service the
System.UnauthorizedAccessException
exception is thrown. The webservice is running... more >>
Calling web service from unmanaged code
Posted by nilinque NO[at]SPAM euriware.fr at 3/30/2004 11:24:18 PM
I've created a web service in C# and need to call it from unmanaged
code (C++).
I've imported the web reference into my C++ project, all is OK. I can
generate (using sproxy) the file service.h and all works great.
Now, I need to change the URL at runtime. When I create my service, I
do not se... more >>
Urgent...Smooth Refresh
Posted by Chirag Malvi at 3/30/2004 5:59:17 PM
Dear all,
I am using ASP.net page for my application. I want to update the part
information on this page at regular interval. But under standard way of
refresh(using META) i see flicker occuring. Is there any mechanism to avoid
the flickers other then Webservice behaviour??? Any code samples w... more >>
accessing files in the same directory as the webservice
Posted by klumsy NO[at]SPAM xtra.co.nz at 3/30/2004 5:50:13 PM
i am making a library that is used by desktop apps, services , asp.net
pages and webservices.. i need to be able to access files in the
directory that the webservice is (the same place where the said
library gets copied)
but for the webservice the current directory gets returned as the
system32... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dynamically changing web service server
Posted by walkerdavidscott NO[at]SPAM hotmail.com at 3/30/2004 3:54:06 PM
Hello, I'd really appreciate some help with this problem:
I have a web service on two different web servers (web server A and
Web Server B) and I have to call the web service on both web servers A
and B in my application. I created a web reference in my app to web
server A and then create the... more >>
ASCX
Posted by A-PK at 3/30/2004 10:50:00 AM
Hi, I have notice some file with extension *.ascx
Could someone tell me more about it.
I am currently got a fully done web project, but the files with extension
*.aspx
Is there any way to compile such file to *.ascx.
Or perhaps someone could tell me how to create *.ascx
some useful referen... more >>
Create Schema from Object for Web Service
Posted by Craig Neuwirt at 3/30/2004 8:45:14 AM
I was wondering if anyone knows how to dynamically create a schema from an
instance of an object. I need to be able to do what ASP.NET does when it
encounters an XmlIncludeAttribute or SoapIncludeAttribute on a Web Service.
In addition, I would like to be able to insert that schema in the WSDL. ... more >>
Win Sockets Error
Posted by T Cordon at 3/30/2004 8:24:43 AM
I am getting this error while using GetHostbyName.
(11004) The requested name is valid and was found in the database, but it
does not have the correct associated data being resolved for.
How can I deal with this. I know the domain exists.
Thanks
... more >>
Hiding the WebService page
Posted by alexttp NO[at]SPAM bigfoot.com at 3/30/2004 4:33:11 AM
I wonder if there's any way to prevent my WebService's page from being
shown (e.g. by browsing it from the IIS console).
All I need is that my application (WebService's client) will be able
to invoke its webmethods, but in the same time I would like to prevent
anyone's seeing the API provided by... more >>
How can the web service do?
Posted by Jet Leung at 3/29/2004 11:42:33 PM
Hi: I had written a web service, it only return a boolen value. But now I
don't know how the web service can do . For example what the web service use
for??
Can anyone give me some sample or source code?
thank you!
Jet
... more >>
Passing NameObjectCollectionBase in Web Services
Posted by Jimmy [Used-Disks] at 3/29/2004 5:51:28 PM
I have a class which derives from NameObjectCollectionBase (let's say
FooCollection contains Foo objects). I need to use this class in a Web
Service, however when I import the service I get Foo[] as the type instead
of FooCollection. This means that I lose all the names and retain only the
value... more >>
Progress bar
Posted by alexey at 3/29/2004 3:16:21 PM
Does anyone complete this article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/h
tml/service11052002.asp ????
Unfortunatle I can't find where I must insert
<configuration>
<system.web>
<webServices>
<soapExtensionTypes>
<add
type="WebS... more >>
System.Web.Services.Protocols.SoapException
Posted by Boris at 3/29/2004 9:26:55 AM
Hello folks!
I need an advise and help!
There is complex Web service based application. When WebClient try to accept
call from WebService, it returns with next exception description:
System.Web.Services.Protocols.SoapException: Server was unable to process
request. --->
System.InvalidOpera... more >>
SqlException: Cannot insert duplicate key in object
Posted by Chris Clement at 3/29/2004 8:58:17 AM
I am trying to update a record in a SQL database through a web service but
am getting this error:
System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint
'PK_Items'. Cannot insert duplicate key in object 'VideoProposalItems'.
at System.Data.Common.DbDataAdapter.Update(DataRo... more >>
what is a web service
Posted by jmaxsherkimer NO[at]SPAM hotmail.com at 3/28/2004 3:26:11 PM
hi,
can someone please explain to me what a web service is, in plain
english. i'm reading a book on asp.net and the authors explaination
doesn't do, is it just a set of functions a developer can store on a
web server and have it called by a web application or software
application?... more >>
statefull web service
Posted by alex at 3/28/2004 8:46:07 AM
In Enterpricse Solution Patterns (version 2.0) authors describe the situation when you need a statefull service (p.196). "...you want to call the remote object to retrieve some data, that you can access it in subsequent calls". This situation may occure if the data set is huge, but you only need a s... more >>
Problem with custom wsdl and wsdl.exe
Posted by Manfred Steyer at 3/27/2004 6:18:02 PM
Hi!
I want to generate a stub using wsdl.exe from a wsdl-file created by
XmlSpy. XmlSpy claims that the mentioned wsdl-file ist correct and
I was not table to find any problem within the file when I reat the
xml-source.
But using wsdl.exe with this wsdl-file I get the following error:
--... more >>
Complex Types
Posted by Amit Vyas at 3/27/2004 1:27:38 PM
I want to pass my own object from the web service to the client.
let us say message is my class and i want to pass this to the client so that
client application can use it
how can i achieve this using web services.
also will i need XML.Serialization to do that.
Please help
Amit
... more >>
File authorization
Posted by Balint Toth at 3/26/2004 10:21:14 PM
I made a web service which comminicates with a smartphone.
On the server the web service writes some files, and the client should
download them. But the files the webservice wrote have no read/write rights,
so the client is denied to download them.
How can I add read authority to a file I crea... more >>
Asynchronous webservice calls with wait handle
Posted by VSK at 3/26/2004 9:50:44 PM
Hi all,
I have a webservice with 3 methods each takes 3 secs to execute.
Now since the 3 methods are not dependent on each other i decided to call
them asynchronously .And iam using Waitahandle, since after the 3 web svc
methods are the complted the results are used by another method.
Now... more >>
WebClient timing out - how do I set longer timeout?
Posted by Arthur Yousif at 3/26/2004 4:25:46 PM
Hello all,
I have an ASP.NET C# application that uses the WebClient class to retrieve a
report that's converted to PDF.
The URL passed to the WebClient object gets the PDF stream. It works great
except for some reports that exceed a timeout value of some type.
I've been unable to figure o... more >>
xsd and strongly typed xml passed to a webservice
Posted by kevin Eldridge at 3/26/2004 4:18:18 PM
hi,
I'm using the Scott Short's Extended Schema Framework (an article about
it was published on MSDN Magazine in December 2002) in order to import
external schemas into my wsdl. It should allow to add an attribute onto
a webmethod parameter which identifies a xsd schema to associate with
the ... more >>
Inherting from sealed "string" class? Or maybe I need an attribute?
Posted by Drebin at 3/26/2004 4:13:56 PM
I need to make my web service interface support something so the
soap-request is something like this:
<SSNs>
<SSN />
<SSN />
</SSNs>
about the only way I could figure to do this is like by having that
parameter defined as:
public void Test(SSN[] SSNs)
where SSN is a struct o... more >>
SpeechLib and access denied problem
Posted by Cheryl at 3/26/2004 3:54:25 PM
I have problems when using ASP.NET to read and write files on tablet PC. My
project is to convert the Microsoft default TTS into a web service. When I
linked to the SpeechLib.dll, and I try to do Voice.Speak(...), the error is
always
"Access is denied".
Some on the web has suggested the pro... more >>
Execute external application
Posted by dr.steve NO[at]SPAM gmx-dot-it.no-spam.invalid at 3/26/2004 10:55:17 AM
Hi,
how to run an external application (es. notepad) from web service?
Many thanks.
Steve.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------------... more >>
custom data types
Posted by VJ at 3/26/2004 10:46:38 AM
Can I pass custom datatypes as arguments for a WebMethod? Like I have a
object defined on the client side that I would like to pass as argument when
calling a WebMethod. I also have the object definition on the Webservice
class.. or I have "using" statement include the appropriate namespace havin... more >>
Dynamically adding SoapExtension
Posted by Brian Tyler at 3/26/2004 9:50:18 AM
All the documentation I can find shows only two ways of adding a
SoapExtension to a web service
1. Uses the config files
2. Use a SoapExtensionAttribute and decorate the methods
Is there any way of adding the extension to the system, like you can with
the config files, but using an API from... more >>
Communication between Web Services, Windows Services and Remoting
Posted by johannblake NO[at]SPAM yahoo.com at 3/26/2004 7:07:00 AM
I have an XML web service that can be customized by customers. The
goal is this...
A process must run *somewhere* that acts as an interface between the
web service and some foreign system. Whatever that foreign system is
doesn't matter. It can be anything. The process could run on the same
se... more >>
.net client / Java Web Services
Posted by Roberto at 3/25/2004 7:46:07 PM
Hi,
I have a Web Service running in Tomcat/Websphere using JWSDP1.3/WSDK_v51, i
's using document/literal style.
The return of the method is an SOAPElement, now when I generate the proxy c
asses using .NET framework in VB, it's still trying to deserialize the xml
ocument to the schema specif... more >>
Opening a Database from a Web Service in 2003
Posted by John at 3/25/2004 4:11:06 PM
How do I configure Win 2003 so that my web service can open a database
I have already "Sandboxed" all of my OLEDB data access ( to an MDB file ) into a signed assembly and put it in the GAC
What setting do I have to make in IISADMIN to enable web services
What NTFS permissions do I need to set ... more >>
Calling a webservice asynchronously
Posted by JTrigger at 3/25/2004 11:02:46 AM
I have a webservice that I want to call from a web app asynchronously, but
not wait around for a result. Basically I want to fire it off and then
forget about it. I have figured out the asynchronous call all right, but
when the client browser window is closed it sends an HTTP abort and kills
t... more >>
Passing a Class to a Web Service?
Posted by Dave56 at 3/25/2004 10:16:49 AM
I've mastered the HelloWorld web service, but having trouble with my real
one. :-)
I am trying to pass a class to a web service, but it doesn't seem to work.
I have set up a small VB example to illustrate my problem.
==================================
Here is my example class:
Public Cl... more >>
How can I get ASP.NET?
Posted by Keith Brickey at 3/25/2004 9:11:51 AM
I understand that ASP.NET is required for Sharepoint Version 2.0 running
under Windows Server 2003. Is it necessary to purchase this software, or is
it included with Windows Server 2003?
Thanks,
Keith
... more >>
Dynamically call a web service from an activeX ?
Posted by nilinque NO[at]SPAM euriware.fr at 3/25/2004 8:03:54 AM
Hello you all !
I've created a web service and an active X referencing and calling
this web service.
All is correct when I work with Visual studio (localhost), but I have
a problem deploying it : How can I specify the server name at runtime
? I'd like to replace localhost with the correct s... more >>
soap tool kit to .net web services
Posted by Chris Hoare at 3/24/2004 11:56:07 PM
Thanks to bad karma i have been landed converting a Soap Tool Kit 3 application to .net webservices. (As STK doesn't seem to work with ISA server for proxy authentication properly.) Part of the system does a post currentl
----
Dim objHTTP As MSXML2.XMLHTTP3
objHTTP = New MSXML2.XMLHTTP3
Dim o... more >>
Database Access Security Issue
Posted by John********** at 3/24/2004 4:01:08 PM
Hello
I have a simple situation where my web service wants to connect to a database, but I need to set the security settings so it can.
I have tried giving IWAM and IUSR Read/Write access to the database folder, which works fine on Win2000 but not on Win2003. I really would rather not have to do... more >>
How I can create COM object with predefined credentials ?
Posted by Maxim Kazitov at 3/24/2004 3:03:03 PM
Hi,
How I can create COM object with predefined credentials ?
Actually I have following problem, I should create COM object from my .Net
WebService, this COM object should have right to some folders, but
unfortunately given COM implement apartment model and impersonation doesn't
help.
Ma... more >>
Stumped - Strongly Typed Arrays question (with simplified code example)
Posted by jason.hunt NO[at]SPAM noticeablydifferent.com at 3/24/2004 2:47:45 PM
Hello All,
I am looking for guidance on this issue. I am certain it is not new,
but I haven't been able to find a solution that seems to fit right, so
any leads to resources or other information would be greatly
appreciated.
If you have a class object, exposed by a remoting service, that
... more >>
HELP: Session is empty!
Posted by mrwoopey NO[at]SPAM yahoo.com at 3/24/2004 2:37:14 PM
Hi,
I have a ASP.NET application with two frames (both are ASPX pages).
Once my app starts running, Session_Start fires in global.asax, like
it should. When I press a button within the top frame, it displays a
chart (OWC) in the bottom frame.
I am storing info in session variables in the to... more >>
Adding web service references for both HttpSoap and HttpGet
Posted by Stephen Walch at 3/24/2004 12:45:07 PM
I want to give my customers the option of connecting to my service via both
SOAP and HTTP GET protocols. Whan I add a reference to my service in VS.NET
2003, I get a class that unherits from SoapHttpClientProtocol by default.
In the docs I see that there is also that there is a HttpGetClientProt... more >>
Disconnected Architecture
Posted by Christopher Walls at 3/24/2004 7:46:47 AM
We are looking to build a system where the admin portion of the system will
be ASP.NET based residing on a central server and the field service portion
of the system will be WinForms based. The field service personal will be
running the WinForms app on their laptop to collect data. After collec... more >>
Urgent...WebService behavior
Posted by Chirag Malvi at 3/23/2004 5:39:25 PM
Dear all,
I want to refresh some portion of the ASP.net page at regular interval.
I want to make use of the webservice behaviour for smooth refresh of my
page. Can some buddy guide me how can i implement this in ASP.net page?? Is
there any code samples available??
Your quick response is hig... more >>
Reading SOAP Header from Response on the client
Posted by pallavi at 3/23/2004 11:10:55 AM
I have a web service that receives SOAP mesage with header, make the
changes to the SOAP header and sends back a response with the modified
header
webservice:
[webmethod]
[SOAPHeader("header")]
public response method1(request)
{
....
...
header.sessionId="new changed ID"
return resp... more >>
Finding Namespace/Class name/Methods of my Proxy Class
Posted by Earl Teigrob at 3/23/2004 11:08:08 AM
I have created a web reference from a wsdl document. Now I need to access
the class and its methods but do not seem to be able to browse it to find
its namespace name, class name and methods. How do I do this?
Thanks
Earl
... more >>
Web Services and Strongly Typed Collections
Posted by BrainBoxBrian at 3/23/2004 10:21:05 AM
Hi
My application requires the use of strongly typed collections. This means I need the semantics of an ArrayList which supports members like Add, Item, Remove, Count etc - but returns a strongly typed object reference instead of System.Object
Therefore, I have implemented two classes - the foo... more >>
How to tell where the request come from?
Posted by Eric C. Au at 3/23/2004 9:07:17 AM
There are two virtual web sites in one IIS server (same IP).
Are there any way for a web service determine which app is asking for data?
The reason I want to do so is that I have a web service that will return
some permission information. And I have two set of data (one for
production, one... more >>
|