all groups > dotnet web services > september 2004
Filter by week: 1 2 3 4 5
Sync Webservice call that MUST wait for Distributed System to process
Posted by David Elliott at 9/30/2004 8:43:34 PM
I have a distributed system that processes documents. There currently is an Async
Webservice in place and this works fine.
My customer is requesting a Sync Webservice call. I am trying to determine the best
way to implement this.
I thought I would have the Sync call to enter a sleep s... more >>
Technical Design
Posted by Pepsi at 9/30/2004 11:43:02 AM
Hi all,
I am supposed to be doing a tech design for the web services that we will be
building for our application. I have no idea as to what to do in it. Any
anyone done this before or has any idea what could be incorporated.
Thanks.... more >>
Mobile Devices & Webservices For Data Transfer Dotnet
Posted by csgraham74 NO[at]SPAM hotmail.com at 9/30/2004 8:58:40 AM
My skills are in VB. Net/SQL Server and i have touched on PDA
development mainly as a tester. i am aware of using webservices for
functionality.
I have been given a task to develop a solution which enables users of
handheld devices to go out to various sites and record information and
send th... more >>
c# web service trying to call an external using process.Start(
Posted by stephen at 9/29/2004 10:24:51 PM
when I try consuming this method the method just hangs, if I look at the
processes I can see that the wscript is running but it just seems to hang.
shouldn't this be fairly trivial calling an external from within a
webservice ?
[WebMethod (Description="Changes Password calls
Change_Pa... more >>
what is the convention for returning .NET only data types from web service
Posted by Tarren at 9/28/2004 2:21:52 PM
Hi:
What would be some standard convention to follow when writing web services
for return types for .NET only data types? I initially wrote my web service
that returns some XML as System.XML.XMLDocument and some lists as
System.Data.Datasets. I realized this would be precluding any non-.N... more >>
Web service from java WSDL
Posted by eparati NO[at]SPAM libero.it at 9/28/2004 2:59:22 AM
I created a Web Service from a WSDL that come from Java (apache soap).
It contains the definition of Vector as complex type:
<schema targetNamespace="http://xml.apache.org/xml-soap"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<... more >>
Watch 4 new files and get it with Web Service
Posted by b6136 NO[at]SPAM mixmail.com at 9/28/2004 2:51:00 AM
Hello¡¡¡
We are trying to decide a solution, to transmit files from one machine
to other. The files are put in a directory by a ftp server.
We are going to use Web Services and http, because of requirements.
One machine is a Win2000 IIS4 computer.
I think there could be 2 solutions:
... more >>
3 newbie/C#/WebServices questions
Posted by William Campbell at 9/27/2004 6:29:48 PM
I've never used C# nor have I created Web Services, so I am in the process
of finding tutorials on the web and going through them. I found this one
over at code project:
http://www.thecodeproject.com/cs/webservices/myservice.asp
I am presented with this method:
[WebMethod]
publi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP: must implement the Add(System.Data.DataRowView) Method?
Posted by Grigs at 9/27/2004 8:17:04 AM
I have a C# Web Service that some of the methods (ones that return integers)
work and some do not (the ones that return a DataView.
Here is some code in the WebService that is giving me the problem. The
oAllData function gets run on the initialization of the class.
DataSet oAllData ... more >>
Internal Server Error (500) in Upload File method
Posted by Pedro Carvalho at 9/25/2004 9:39:02 AM
I am using a WebClient.Upload File method on the Client side and, to accept
posted files on the Server side, I am using an ASP.NET page with the
following code:
void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file... more >>
Canned Testing Fails but WS is working
Posted by Michael O'Neill at 9/24/2004 9:03:05 PM
I am new to .NET, but not new to WS or development. I am eager to use VB.NET
as a (relatively) rapid WS development tool. One of the .NET features that
helps accomplishing that is the the canned testing architecture while
developing a WS.
I have my environment (WindowsXP Pro, IIS 5.1, VB.... more >>
webservice problem
Posted by Dinçer at 9/24/2004 6:08:29 PM
Hi,
I created a web service using vb.net.
It takes 3 parameters, connects to a database using a *.udl file under C:\
directory, executes some SP's on the database, does some calculations and
returns a string value.
On my local computer, it works fine and gives the result correctly. However,
... more >>
Spying SOAP Iteractions
Posted by A.M at 9/24/2004 12:23:52 PM
Hi,
Using an IIS/ASP.NET webservices and WinForms clients,
Is there any way to spy SOAP interactions between client and server?
I want to see the xml text of SOAP requests and reponses.
Thanks,
Alan
... more >>
Can I consume a web service with a Socket in c# ?
Posted by John Bailo at 9/24/2004 10:15:19 AM
I wrote a .NET/c# webservice which I then needed to consume from java server
pages.
The simplest ( and best ) solution I found, was some code to open a socket,
and send a SOAP message directly to it...constructing the SOAP message with
a class that builds the string.
Then I parse the retu... more >>
Why did .NET set a default attribute value?
Posted by Scott Liu at 9/23/2004 3:47:05 PM
HI, All,
I have a web service doing a string search. It has an operator and a
searchValue field. The operator is defined as an attribute and required. The
xml is as below.
<!-- SearchStringField -->
<simpleType name="SearchStringFieldOperator">
<restriction base="xsd:string">
<en... more >>
calling a web method with compound arguuments using POST
Posted by David at 9/23/2004 3:36:02 PM
Hello all,
I have a web method that accepts compound (non-primitive) arguments. I know
that the method should be applied using SOAP protocol. One of my clients
does not know how to sent SOAP requests, and know only to use GET or POST. I
know that the SOAP protocol is based on POST. from the m... more >>
Returning plain HTML from a web service
Posted by cmbardon NO[at]SPAM engmail.uwaterloo.ca at 9/23/2004 1:09:53 PM
I have a web service that I need to return HTML code, and I can't seem
to get rid of the XML tags that surround it. Right now I'm just
writing the HTML into a return string, and am getting something like
this:
<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="http://HTMLSERVICE.com"><h... more >>
streaming word document via webservice
Posted by Peter at 9/23/2004 6:27:02 AM
Hello!
Is it possible to stream a word document to a browser via webservice? Can I
use Response.BinaryWrite method or is there some other method in webserices
to stream data? The help is very much appreciated!
Thank you!
Peter... more >>
webservice global.asx error
Posted by John at 9/22/2004 11:37:59 PM
Hi
When I try to get reference to my remotely hosted web service, I get the
following error;
Parser Error Message: Could not load type 'localhost.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="localhost.Global" %>
Source File: d:\webs\...\globa... more >>
Error: Cannot view the indexed property
Posted by Ramani Kurella at 9/22/2004 10:15:02 PM
Hello,
Iam trying to send x.509 certificate of the client to sign a soap message
request and encrypt it with the server's x.509 certificate in a secure
conversation policy based. I somehow encounter this problem when retrieving
the client's certificate. It is located in the current user per... more >>
SecureConversation sample
Posted by Ramani Kurella at 9/22/2004 10:13:01 PM
Hello,
Iam trying to do the secureconversation sample in wse2. I have different web
service here which will transfer an xml document to the client. I have tried
using the username token for signing from the client side as in the sample.
It gives me error that the "The message does not confo... more >>
return a complex type
Posted by Joe at 9/22/2004 9:01:00 PM
I would like to return a class which encapsulates an ArrayList. The
ArrayList actually has all the data I need.
Can this be done?
... more >>
Button not responding
Posted by Denis Georgievski at 9/22/2004 6:14:43 PM
Hi,
Since moving the web site to a new server one of the buttons on the aspx web
page does not respond at all. I suspect it might be a postback problem
since there is no error reported on the page or on the IE status bar. I
tried it on a debug executable it still did not report any er... more >>
Calling a XML-RPC-Service of phyton with vb.net
Posted by Sven Schimmel at 9/22/2004 5:25:39 PM
Hello group,
excuse me if this is a newbie question and asked a thousend times.
I need to make a xml-rpc call to a server running python. The service has no
wsdl I can use, but there is a manual with the functions and methods
documented. Is there any sample you could provide how to call the ... more >>
best way to send a XSD in a WS call
Posted by robhindman NO[at]SPAM hotmail.com at 9/22/2004 11:48:28 AM
I need to write a WS call that will transmit an arbitrary XSD in a WS
call... The XSD is independent of the call itself... Has anyone done
this before? I would be grateful for any suggestions...
Thanks!
-Rob.... more >>
Client Adding Extra Methods
Posted by Jeff Dillon at 9/22/2004 8:54:30 AM
I'm using the webservice I've created:
http://www.emergencyreporting.com/ERSWebService/ERSDispatch.asmx
When building a client VB.NET app, and adding a web reference to the above
file, I see that the client is creating extra methods. For my IncidentOpen
method, the client is adding methods l... more >>
W3WP at 100% CPU
Posted by Helge at 9/21/2004 9:49:52 AM
I'm developing a web site with asp.net, mainly vb on a Windows 2003 server.
Quite often the web site stops responding for 15-20 seconds.
A web page that usually take 2 seconds to produce takes forever.
During this time,the w3wp process takes 100% of the CPU time.
I'm using only asp.net, no ext... more >>
aspnet_wp.exe stopped unexpectedly
Posted by Jon Hinkle at 9/20/2004 6:08:42 PM
I just recently updated a client of ours with 3 Windows Update items. IE 6
SP1, GDI+, and .NET Framework 1.1 SP1 and the webservice that I was at least
able to browse to before I can't even browse to now. The SP1 for .NET was
supposed to include a fix for the certificate issue I was having and ... more >>
Namespace for Active Directory
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 9/20/2004 2:05:35 PM
I am writing a login function that needs to authenticate
against the users in the Active-Directory. Can someone
point me out where the Namespace is for Active-Direcotry... more >>
Web service authentication (VB .NET)
Posted by Nikolay Petrov at 9/20/2004 1:35:17 PM
I want to implement an authentication to my ASP .NET web service.
Passing userId and password as parameter to all my web methods seem
unreliable to me.
Any ideas how to do it?
TIA
... more >>
WebService - start and stop
Posted by MA at 9/20/2004 8:57:28 AM
Hi all!
I have developed a webservice that writeing and reading files in different
folders.
I need to be able to start and stop this service by using a web interface
(start and stop button). But I can´t find any way to this. Any ideas?
And where can I see if this service is running?
/M... more >>
Why is Visual Studio so poor at SOA - Message orienated WS?
Posted by Roseanna80 NO[at]SPAM hotmail.com at 9/20/2004 1:19:18 AM
Hello
I love Visual Studio, and the web servcie support intially looks
pretty great.
However when I start studying Service Orientated Architectures (SOA)
which are based around a Message paradigm, I find that there is little
or no support. Visual Studio assumes that we are using RPC style ... more >>
In Web Services,Can I run .exe file?
Posted by perseid at 9/18/2004 6:29:01 PM
I need to call one .exe file in Web Services.
I try->
[WebMethod]
public string HelloWorld()
{
Process.Start("filename.exe");
return "Hello World";
}
but
it's don't work.
Can I run .exe file?
... more >>
Can't find WSDL file
Posted by pronto at 9/17/2004 10:54:33 AM
Hi all.
I created simple web service with C# and run it on Win2000 XP sp2.
Service has two simple [WebMethods]. I test it with my C# client and IE.
Now I want to create VC++ 6 application and talk to web service with SOAP
SDK lib.
It's good so far, but SOAP SDK samples are using link to ... more >>
Problem with this web service
Posted by Chris at 9/16/2004 3:49:02 PM
Hi,
I found this web service
http://www.webservicex.net/CurrencyConvertor.asmx
This is my test code
Dim test As New wsExchangeRate.CurrencyConvertor
Dim testt As New wsExchangeRate.Currency
test.BeginConversionRate(wsExchangeRate.Currency.AED,
wsExchangeRate.Currenc... more >>
Web Service & Datetime data type
Posted by M DL via .NET 247 at 9/16/2004 2:04:40 AM
Hi all,
i have one problem with a method of an xml web service that use a datetime data type input variable, and may be all is caused by international settings.
The XML web service (localized in italy, with italian settings) have the following method:
MYXWS.MyMethod(input_var as datetime)
... more >>
Synchronous vs. Asynchronous
Posted by Alexander Kaplunov at 9/15/2004 1:54:33 PM
I have two different scenarios:
1. I have an application that calls a web service and passes an
object. Web Service takes that object and does some stuff with it, which
could take some time. It seems to me that in this case it would be
appropriate to use asynchronous web service. A... more >>
Webserver Behaviour
Posted by Sandro at 9/14/2004 2:48:53 PM
hello all
i'm just wondering if somebody has experienced the usage of the "Webserver
Behaviour" which
enables client-side script to invoke remote methods exposed by Web Services.
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/webservice_node_entry.asp
any ti... more >>
Thought Experiment: M$ Products on Linux
Posted by John Bailo at 9/14/2004 1:03:35 PM
Suppose, Microsoft were to release all of its products on Linux tomorrow.
On the client side, it would include M$ Office.
On the server, SQL Server.
What would the effect be?
--
http://home.earthlink.net/~jabailo... more >>
Returned Dataset Question
Posted by David York at 9/14/2004 8:08:09 AM
I have created a web service that access a database and retrieves record
then returns them as a dataset. I am having a problem coding a client
application to use the dataset. Here is the relevent code:
Web Service Code:
Public Function Query(ByVal computername As String) As DataSet
Dim co... more >>
COMException in ServerXMLHTTP40
Posted by Gavin Sullivan at 9/14/2004 3:39:04 AM
Hi,
I've been trying to post some XML using the above the component but keep
getting the following Exception:
System.Runtime.InteropServices.COMException (0xC00CE56D)
The code is:
_postSystem = New MSXML2.ServerXMLHTTP40
xmlString = FetchXMLClientDetails(clie... more >>
Re: Basic Authentication ... solution seems a mystery?
Posted by Dominick Baier at 9/13/2004 11:11:37 PM
sorry that i jump on at the end of the thread -
but isn't this the same as setting the credentials on the proxy`?
like proxy.Credentials = new NetCredentials("user", "pass") ?
---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
nntp://news.microsoft.com/micros... more >>
consuming a webservice form another webservice
Posted by Bamse at 9/13/2004 7:16:48 PM
Hi all,
The problem is as follows:
I need to authorize a user: through a WS; if a setting is on, the webservice
will look in the local "database", if the setting is off it will connect to
the server ip that is set in the configuration and call the same WS to check
the user in the remote "databa... more >>
How to install a websevice?
Posted by Felix González at 9/13/2004 10:52:03 AM
Hi,
I´ve developed a webservice, but now, how can install it in other computer?
thanks
... more >>
Re: Web service deployment security
Posted by Dominick Baier at 9/13/2004 9:36:16 AM
hi,
aspnet is the default - you don't have to do anything for that.
regarding ssl
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod30.asp
---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
nntp://news.microsoft.com/micros... more >>
Web service deployment security
Posted by Dominick Baier at 9/13/2004 8:50:42 AM
Hi,
the account under which the asp.net worker process is running has to have NTFS rights to the files/directories you are writing
under iis5/5.1 this is usually a account called ASPNET
under IIS6 you can configure that using app pools (the default is Network Service)
IIS authenticat... more >>
Am I missing something or has MS missed the plot?
Posted by Tim Haynes at 9/13/2004 12:22:05 AM
Hello all,
I'm trying to do something which I believe is very normal, standard sort of
requirement. I want to secure access to a web service across the Internet
using username/password on the server, then impersonate the account on that
server.
Option 1 - set IIS to basic authentication, w... more >>
Am I missing something or has MS missed the plot?
Posted by Dominick Baier at 9/12/2004 11:04:12 PM
Hi,
you are right - Windows needs the password in plaintext to impersonate a user (having to call LogonUser, which requires a password). Thinking about it - it is the only way Windows can do it.
So if you want to use the Windows infrastructure that's already there you have to combine option ... more >>
problem sending string in xml to webservice
Posted by Mikko Bothas at 9/12/2004 4:03:17 PM
I'd like to send invoice information from client program to web service and
then transfer it to xml-file there. The best way to do this could be writing
all the information in xml-format but to send it as a string. But then how
can I create an xml-file out of this string easily? xmlreader read... more >>
XSD Datatypes
Posted by Dominick Baier at 9/12/2004 2:36:30 AM
hi,
the .net tools are not really suited for that kind of approach, which is called ContractFirst. but it is possible.
first you have to generate some .net types from the schema your webservice has to conform to. use the xsd.exe tool included in the sdk with the /classes switch.
use the ... more >>
|