all groups > dotnet web services > august 2005
Filter by week: 1 2 3 4 5
Webservices behind Authenticated Proxy
Posted by Sam Santiago at 8/31/2005 9:36:24 PM
Can anyone provide some guidance, example, and/or links for configuring =
a client behind an authenticated proxy to access a web service via the =
Internet?
Thanks,
Sam
--=20
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
... more >>
Method can not be reflected
Posted by Taichi at 8/31/2005 8:47:36 PM
Hi there,
I have a small webservice, which returns an object array. It works fine on
the browser, but got the following error on the client windows form
application:
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.web.services.dll
Additional infor... more >>
Hidden process started by web method
Posted by BenS at 8/31/2005 8:30:11 AM
Good Morning and Happy Wednesday!
I've got a web service that exposes a method that takes
an string input parameter that specifies an executable
on the server that starts a process. These processes
should runs in a Windows window. The process loads
and runs under the ASPNET user account fi... more >>
Web Srevice develop
Posted by Edgar at 8/31/2005 7:20:04 AM
Hi
I need to develop a webservice to send xml files with a user account and
password.
Actually, I'm using ASP, but I don't know what do I need to do this.
Please, can somebody help me, and tell me what do I need.
... more >>
Big Problems with web services - 404 error (help)
Posted by Riga at 8/31/2005 12:07:03 AM
Hi guys,
I'm using vs2005 beta 2 to create an ASP.NET web service..
I'm having major problems using my web services. I've even tried creating a
new one and running the default code (i.e. Hello World) and I get this error:
Server Error in '/QNSEmulator' Application.
The resource cannot be f... more >>
soap schema version question
Posted by MR at 8/30/2005 9:46:12 PM
i am trying to write a .NET client of an Apache web service; thus there is
no WSDL document. one difference between the SOAP Header that is generated
by the .NET SOAP serializer is that .NET uses the www.w3.org/2001/XMLSchema.
and Apache uses the www.w3.org/1999/XMLSchema.
is there a way to f... more >>
QueryInterface for interface MSXML2.IXMLHTTPRequest failed
Posted by Joseph at 8/30/2005 8:21:32 PM
I have been using "XMLHTTPClass" in an asp.net module. It is properly
referenced and was working up until recently. Now it is failing with the
error message "QueryInterface for interface MSXML2.IXMLHTTPRequest failed"
when I attempt to use the open method of this object.
I would appreciate hel... more >>
Session state handling
Posted by Riga at 8/30/2005 6:22:01 PM
Hi guys,
I'm making a webservice that will be used by a pocketpc app. I want to be
able to keep an instance of some things (there are 2 collections and possibly
a database connection).
Is there a way to keep the state of the server? So that these collections
are not lost between method cal... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
carriage return in a string disappears
Posted by sys at 8/30/2005 2:38:10 AM
I have a web method that returns a string. When I return a string that has a
carriage return and line feed in it ("\r\n") on the client side I only
receive a string including the line feed ("\n"). The carriage return
disappeared.
Thanks for any help.... more >>
cache dataset on server accross WS calls
Posted by moondaddy at 8/30/2005 12:03:57 AM
I want to cache a dataset on a server via a web service. I was thinking of
caching it in a session object and returning the session ID as a string in
the web service back to the windows client. Then I want the windows client
to call a aspx page passing in the sessionID as a parameter and ther... more >>
securityTokenManager loading X509 certificate
Posted by jason.chen NO[at]SPAM newsgroups.nospam at 8/30/2005 12:00:00 AM
Hi, I'd like to store X509 cetificates in a central location (file server,
database, etc), and load them when needed, is it practical ? and in term of
implementation, can this be achieved by subclass 'securityTokenManager'? has
anyone done something similar and shed some lights on it?
thanks,
... more >>
Seeking advice on transferring a file via WebMethod
Posted by Joseph Geretz at 8/30/2005 12:00:00 AM
Up to this point, our application has been using Windows File Sharing to
transfer files to and from our application document repository. This
approach does not lend itself toward a secure environment and so we are in
the process of imposing a WebService gateway between our application client
... more >>
Security Exception
Posted by Corchano at 8/29/2005 11:04:01 PM
Hello.
If I use a web service that I created through a custom
control on a windows form it works fine. However, if iput this control on a
webform usinf the <object...classid..> label, i get an security error when i
call the web service
saying:
"The application attempted to perform an opera... more >>
individual XML web services work, but not when "daisy-chained"?
Posted by drb at 8/29/2005 1:47:54 PM
Hi,
I have two XML web services originally created via WSDL docs/.NET tool,
which have essentially the same methods and data types, and which work fine
when individually run. However, when I try to "daisy-chain" them (because
they eventually will have to run on different systems, with one ... more >>
Where to use XLang?
Posted by Michael Nemtsev at 8/29/2005 1:25:34 AM
The have been said that XLANG using in Web-services with BizTalk integration.
But there is some ways to use Xlang and web-services created like interface/working
thread/realization w/out using BizTalk?
Could smb demystify where XLANG could be applied?
---
WBR,
Michael Nemtsev
... more >>
Avoiding a FileInUse access
Posted by Saya at 8/29/2005 12:00:00 AM
Hi,
In my web service, it has to return an image from a file located at
a specific virtual dir.
Another concurrent app, running on the server, is periodically
modifying that particular file.
I'm now confronted with the fault situatiion that my client crashes
the moment it tried to request ... more >>
Deployment of WebService with MSI
Posted by Bill44077 at 8/28/2005 5:33:41 AM
Hi,
I have created a Web Setup and Deployment project for my web service and I
have two questions that I can't seem to resolve. Please help.
1. The file System editor puts everything under the inetpub directory. Is
there any way for me to change this directory? I would like to put everythi... more >>
Building secure webservices using 2 way SSL
Posted by Shelby at 8/28/2005 12:00:00 AM
Hi,
I'm doing some research on webservices using 2 way SSL.
It is Application-to-Application security.
Basically SERVER_SAP is hosting the webservice and SERVER_CLIENT is
consuming the webservice using a console.
So 2 way SSL means that SERVER_CLIENT need to present his certificate to
SE... more >>
How to use my own CodeDomProvider with wsdl.exe?
Posted by Andrew Shitov at 8/27/2005 9:07:41 PM
Hello!
/language: option of wsdl.exe says that it accepts a fully-qualified
name of a class implementing System.CodeDom.Compiler.CodeDomProvider.
Although I was able to provide MCppCodeProvider provider only (that
needs to use too complicated string):
/language:Microsoft.MCpp.MCppCodePr... more >>
CacheDuration not working
Posted by jonel NO[at]SPAM glenavon1.demon.co.uk at 8/26/2005 11:23:07 AM
I have the CacheDuration attribute set for 60 seconds as show below:
<WebMethod(CacheDuration:=60, Description:="Method to demonstrate
caching")> _
Public Function CachedString(ByVal inputInt As Integer) As String
Return "The time is " & DateTime.Now.ToLongTimeString
End F... more >>
Creating WebService Problem
Posted by wurst.michael NO[at]SPAM web.de at 8/26/2005 2:55:23 AM
Hi,
I'm trying to create a WebService with VisualStudio 2003 ...
New Project -> Visual C# Project -> ASP.NET Web Service
but I always get the error message:
'A connection to the server could not be established.'
So I open the IIS console, go to Default Web Site and Start/Stop the
service, ... more >>
DIME - Alive or Dead?
Posted by aiKeith at 8/25/2005 10:36:12 AM
Hello,
I was looking into the WSE 2.0 and noticed DIME which really peeked my
interest. Is DIME worth looking at (will it be enhanced, industry supported,
etc) or should I stick with sending large binaries as base64?
thanks...
... more >>
Authorize access to resources based on non-windows identity
Posted by hvj NO[at]SPAM paralax.nl at 8/25/2005 12:22:57 AM
Hi,
I read that if one needs to be able to authorize access to resources
based on the caller's identity, one should set up the server to perform
Windows authentication with impersonation.
But how can I do this when I grant access to my webserver to, let's say
2, different organizations over... more >>
Serialize/DeSerialize SOAP message
Posted by MR at 8/25/2005 12:00:00 AM
is there a way to view the SOAP message in a client after it is serialized
(before it is sent out) or deserialized (after a reply is received)?
i am using the proxy that is created by VS.NET2003 when adding a web
reference
thanks
m
... more >>
What is the best SOAP service to use?
Posted by milkyway at 8/24/2005 3:42:37 PM
Hello,
I'm a newbie who hopes they have come to the correct place.
Basically, I want to develop a web service for consumption by .NET
program (hopefully C#). The performance of the service would have to be
able to be very fast in response and be somewhat reliable (i.e. not
abending every 2 ... more >>
How to pass a DateTime value to a WebMethod
Posted by Jaime Stuardo at 8/24/2005 2:28:03 PM
Hi all..
I have a WebMethod with a parameter defined as DateTime. When I call that
webservice, I get this error:
System.FormatException: The string '07/24/2005' is not a valid AllXsd value.
It seems that dates aren't recognized. I tried using several date formats,
for example, dd/mm/yyyy,... more >>
Authentication when calling a webservice method over Internet
Posted by Jaime Stuardo at 8/24/2005 6:44:01 AM
i all,
I have a web service in a Windows 2003 Server machine and ASP.NET 2.0. The
website has windows integrated security so that, in order to allow domain
users to connect to it, I add permissions using Front Page Server extensions.
What about calling the web service over the Internet? do... more >>
How to resolve SOAP differences
Posted by MR at 8/23/2005 10:27:36 PM
my soap messages to a remote site are failing. as far as i can tell the only
differences between what my SOAP message looks liek and what they want are
in the SOAP envelope
SInce they don't have a wsdl doc i created a localhost site based on their
DTD documetns.
How do I configure my site ... more >>
unable to connect to the remote server
Posted by wanglei at 8/23/2005 3:19:49 AM
hi there
i am trying to consume a simple hello world webservice on my PDA, I keep
get this error : unable to connect to the remote server , i am using the
address http://127.0.0.1/webservice1/service1.asmx, i even tried the server
name instead of ip address, i know i should not use loal... more >>
Web service design question
Posted by James at 8/22/2005 7:57:03 PM
Under IIS 6, what would be the suggested approach of a .net web service
calling a backend socket server that would handle a high transaction volume?
Can I just create the socket, send the data, receive the response and close
the socket in the webMethod? Should I create a pool of socket connect... more >>
SOAP Header name vs type
Posted by EJSawyer at 8/22/2005 2:55:38 PM
In the process of building a SOAP client for a third-party service, I have
created a "dummy" service running on my local machine to debug against. I
have the dummy service working pretty well, but I've discovered that the WSDL
for my service has a subtle difference from the third-party servic... more >>
.NET client cannot talk to Axis web service
Posted by Jarmo at 8/22/2005 1:11:35 PM
I have a Java-based (Axis) Web Service and am trying to write a .NET client
in C#. I run into two different problems.
1. if the WSDL was generated using the Axis defaults then .NET cannot update
its web reference. It complains that datatype 'String' is undefined.
Strangely, the WSDL returned... more >>
How to capture incoming SOAP XML request on .Net Web Service
Posted by Tim Reynolds at 8/22/2005 11:21:06 AM
Team,
We have created a web service for a client to call. In testing, client is
asking us to provide the SOAP XML we recevie when they call our .Net web
service. I have not done this before. I simply have access to the parms they
pass within my webmethod. Can someone help me with accessing ... more >>
How do you send a Connection: Close header?
Posted by ChadH at 8/19/2005 9:02:39 AM
How do you send a Connection: Close header?
We have a .Net application that runs on a server. It has a reference to a
..Net web service.
We want to force the connection to close because the web service is behind a
load balancer as there are multiple boxes processing this service. Because... more >>
Http Connection Pooling
Posted by Tejpal at 8/18/2005 2:31:24 PM
Hi Guys,
I have made a web service to accept applicant information and then generate
account number in the web method and gives back Account number to applicant.
I want to control the traffic to the web service. Particularly i want to do
http connection pooling, menaing i dont want to let ... more >>
WSDL with SSL and certificate
Posted by Eric at 8/18/2005 12:00:00 AM
Hello,
This is a development question.
How I can connect with VS.NET to a WSDL on a server, which has SSL and
client
certificate enabled?
When I add the URL to VS.NET, VS throws an error (no connection).
For calling the WS, I have no troubles.
Thanks
Eric
... more >>
Consuming a PHP Webservice
Posted by Carlos Lozano at 8/17/2005 11:16:05 AM
Hi,
as a background I have an Windows application developed with VS 2003 (c#)
that needs to transfer securely data to a MySQL database located on a Linux
server.
I have created a PHP webservice that will receive an xml file with all the
data to update an encrypted database. This way all ... more >>
Adding Web Reference Error
Posted by amv at 8/17/2005 10:10:05 AM
Last week I added several Web References to my Project. All worked correctly.
This week I try to add a Web Reference and get the following error.
There was an error downloading 'http://myServer/_vti_bin/Lists.asmx'.
The request failed with the error message:
--
<html><head><title>Error</tit... more >>
Updating Web References in .NET 2003
Posted by el_sid at 8/17/2005 9:52:48 AM
Our developers have experienced a problem with updating Web References in
Visual Studio.NET 2003.
Normally, when a web service class (.asmx) is created, updating the Web
Reference will utilise the disco file to update the
Corresponding proxy file and reflect the changes made to the w... more >>
howto create a virtual directory from an existing directory?
Posted by Frank Jeseit at 8/17/2005 12:00:00 AM
Hi,
I have a directory with a webservice project that is not published in
IIS. Therefore I'm not able to open the project in VS.NET (2003). My
goal is to create a virtual directory in IIS from my directory. But
after this the project is still not available in the web project
selection of ... more >>
WSDLReader:Access is denied error when running a WS CLIENT which uses the MS SOAP Toolkit
Posted by sahan malagi at 8/16/2005 2:07:20 PM
Hello,
I am new to webservices and I am trying to get a simple Webservice
client in VB (Using Microsoft SOAP Toolkit) to access a webservice on a public site. I get the following error message when I run my webservice client...
Runtime Error '-2147024809 (80070057)
WSDLReader: Loading of the... more >>
Why use WebService rather than Remoting?
Posted by Michael at 8/16/2005 11:53:08 AM
I'm writng a smart client app which will be used 90% within a LAN and 10%
across the Internet though the Internet use may increase over time. I've set
off using remoting but have noticed Microsoft suggesting in a number of
places that we should use Web Services in preference most of the time ... more >>
question and cross platform
Posted by Joe at 8/16/2005 9:18:08 AM
Dear all,
I write a web service and deploy it on ms server 2003. If i want the method
inside the web service to be used by other people who are using Java or .Net.
Can i perform that?... more >>
Soap Based XML webservice creation
Posted by Sai at 8/16/2005 7:10:01 AM
I am new to this area,please bear with me for this basic question. :)
I have an xml schema file xyz.xsd file with me,That contains request and
response xml schema ,how can I proceed to create a soap based xml webservice??
Thanks in advance.
Sai
... more >>
Office Web Services Toolkit No Results From Search
Posted by Bridenbecker at 8/15/2005 6:11:14 PM
I'm having problems similar to the Peter on getting the toolkit to process my
WSDL file. It just does nothing. It complains when it does not find the
file, but the "Search" never gives back any results. I do not have the
import complexity that Peter had. I have tried to verify that it is a... more >>
Access raw XML in webservice method?
Posted by Christoph Wienands at 8/15/2005 8:05:24 AM
Hi everybody,
I'm stuck with a stuppid problem that I didn't anticipate. I have a web
method that received two de3serialized objects as parameters. The web
service was auto-generated from a WSDL file. What I didn't consider
initially is that I have to log the oroginal XML of each parameter ... more >>
web service performance issue
Posted by hilel_d at 8/15/2005 4:11:02 AM
I noticed that each call to a web service method creates a new instance of
the web service class by calling its constructor. As I was not aware of that
at the time the code was written I included in the constructor an
initialization procedure that prepared the data for all the web service
me... more >>
can a Web Service retrieve data in background?
Posted by Asus at 8/15/2005 2:41:02 AM
Hello,
I'm new to Web Services.
I'm trying to develop a Web Service that retrieves some data out of a
database and sends them to the client as a DataSet when a method is invoked.
My question is: Is it possible to run another method on the Web Service
automatically to refresh the data? That m... more >>
too many arguments in public function?
Posted by DC Gringo at 8/11/2005 4:55:59 PM
I have a simple function within a web method. It works fine with one
parameter, but gives me a compile error when I try to add a second:
"Too many arguments to 'Public Function FewsArticles(OrgID As String) As
String'."
Here's the client calling code:
Dim sFeed As String = oWs.FewsAr... more >>
Client & Server on Same System
Posted by rob at 8/11/2005 3:58:09 PM
I want to create an application that can be used both for a
server-client model as well as a standalong application. The idea is to
write a general server-client application. The standalong then just has
both components on the same system. Now the question is if this is a
good approach or if thi... more >>
|