all groups > dotnet web services > december 2005
Filter by week: 1 2 3 4 5
Authenicate user
Posted by blue_nirvana at 12/29/2005 3:26:02 PM
I have a wireless windows ce device that is NOT going to be connected to a
domain. What I want is an easy and effective way to authenicate the user
against the domain inside the web service. Such as I send the Web Service
the username and password and it returns True or False indicating whet... more >>
Data Type to implement ?
Posted by Swapnil2006 at 12/29/2005 2:43:01 AM
I am using the SOAP 1.1 request and response to create a corresponding web
method for it.
SOAP 1.1 response looks like as follows :
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmln... more >>
Web service works on port 80, fails with SSL
Posted by Kenneth Moss at 12/28/2005 11:09:02 AM
I have a web service I am calling which I made. I am consuming this service
from another domain (and I've tried from a windows app also). I added a
certificate to the web service so it will use ssl. I made a web reference to
the unsecured and secured version of the web service. When connec... more >>
Multi dimensional arrays in 2005?
Posted by sumguyb NO[at]SPAM yahoo.com at 12/28/2005 9:02:05 AM
Does the 2.0 Framework support web services that return multi
dimensional arrays?
... more >>
How to return a class through a web method?
Posted by news.microsoft.com at 12/26/2005 5:22:47 PM
I want to write a web method that returns a class. I want the class
definition to appear in the proxy generated on the client .
How can this be done?
Many thanks
JB
... more >>
Using a web service for all of my DB Functions.
Posted by UJ at 12/25/2005 10:54:51 AM
I have multiple programs (some client/server, some web apps) that all talk
to the same database that is on our web server. Currently I have a lot of
the database functions in a DLL that I use across them. Does it make more
sense to put them all in a web service on the server is that's where
... more >>
Many functions in one webservice page or multiple pages with fewer functions?
Posted by UJ at 12/25/2005 10:53:27 AM
Which is preferable - one huge page with all of my functions (50-100
functions) or smaller pages with the functions broken apart logically? It
would seem smaller pages would load faster - just wondering what the opinion
is.
TIA - Jeff.
... more >>
Development vs. Production environment.
Posted by UJ at 12/25/2005 10:52:15 AM
How do people handle in the code when you have a production and development
system? I'm using VS.Net with C# and VB.Net. Do I make references to each
and then do something in the code or is there are any way do I don't have to
always remember to change the reference right before making a new v... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
request format is unrecognized
Posted by Dave at 12/23/2005 11:39:31 PM
running server 2003, .net 1.1, developing with vs 2003. i have a simple one
function webservice that takes 4 string inputs. calling it with http post
from simple form made by cutting out the demo page made from vs 2003. it
works fine on the server itself, but when accessed from another mach... more >>
Problem returning container class with DataSet as object
Posted by J. Askey at 12/23/2005 12:26:02 PM
I am implementing a web service and thought it may be a good idea to return a
more complex class (which I have called 'ServiceResponse') in order to wrap
the original return value along with two other properties...
bool error;
string lastError;
My whole class looks like this...
using S... more >>
how can use websevice to transfer excel file ?
Posted by johnson at 12/23/2005 8:14:02 AM
Dear sir
can someone write a small sample to me ? thanks a lot !!!!... more >>
Using a web service to transfer a large file?
Posted by UJ at 12/21/2005 4:35:52 PM
Is it reasonable to use a web service to transfer a large file (current <
1MB but could end up being 1Gig in the future.)
The reason for my thought of using a web service is that then I can make a
userid/password parameters. I'm currently using a page where that will
return the file but the... more >>
Big trouble accessing a web service with SoapRpcMEthod : System.Web.Services.Protocols.SoapException
Posted by Olivier BESSON at 12/21/2005 12:47:13 PM
Hello,
I have a web service of my own on a server (vb.net). I must declare it with
SoapRpcMethod to be used with JAVA.
This is a simple exemple method of my vb source :
>************************************************************************
> <WebMethod(), System.Web.Services.Protocol... more >>
Implementing subscription based Web Service
Posted by WebMatrix at 12/21/2005 6:49:01 AM
Hello,
Sorry for the repost, I haven’t got any response in aspnet.webservices group.
We have a web service being used by several clients. It's SSL secured, uses
Windows (Basic) Authentication, each client has its own login. The management
wants to expend it to other clients, but provide... more >>
Question regarding Web service
Posted by pinky at 12/21/2005 3:22:35 AM
Hi all,
i am having some questions related to web service.
I am developing one webmethod in web service where i am calling one
private method which is not a web method.
In private method i have written all my logic which i don;t want to
disclose.
Does webserivce automatically suppo... more >>
Web Service Polling
Posted by Shane at 12/20/2005 1:37:03 PM
I have a particular requirement when I call a web service; I have to call the
web service, wait until the web service returns or my timeout expires
(whichever is sooner) and exit.
I tried to use the MSDN example to poll a web service and abort it after a
specified timeout.
Have a look at t... more >>
Web Service Polling
Posted by Shane at 12/20/2005 1:37:01 PM
I have a particular requirement when I call a web service; I have to call the
web service, wait until the web service returns or my timeout expires
(whichever is sooner) and exit.
I tried to use the MSDN example to poll a web service and abort it after a
specified timeout.
Have a look at t... more >>
Architecture question: Exceptions vs status codes
Posted by chen at 12/20/2005 12:21:45 PM
We're having an internal debate about the merits & demerits of
returning status codes in the output message vs exceptions to signify
errors in handling a Web method.
The status code camp is arguing that business rules related errors are
to be conveyed using status code while reserving the ex... more >>
File Handle gets closed between two separate WS requests
Posted by Alvin at 12/20/2005 11:50:03 AM
Hi
Even though each Request is supposed to open the file and close it
independently. Could it be possible that one request afftects the second one?
I would really appreciate your help.
Thanks
Alvin
Basically the code looks like this:
Public class Service: System.Web.Services.Webser... more >>
Calling a Web Method do not change Web Service object state
Posted by joeblast at 12/20/2005 7:03:03 AM
I have a Web service that gets the financial periods and hold a reference to
a disconnected dataset built at initialization. Web methods work on the
dataset inside the web service. Everything is fine so far.
My problem is that when I call a web method to modify the dataset inside the
Web ... more >>
404 Not Found
Posted by NormD at 12/20/2005 6:04:02 AM
We have a client-server app using Web Services on an IIS machine. The trace
below shows that .NET is searching around for some things (e.g.,
SystemDrawing.DLL and System.Drawing.EXE) and taking a LONG time to locate
them. Time after time. The application DOES run, so it is ultimately
find... more >>
web service performance problem
Posted by Ken Andersson at 12/20/2005 2:37:02 AM
I'm developing a ASP.Net 2.0 web service. I am using windows XP sp2 version 5.1
When testing the service, I created a number of threads that access the web
service at the same time. When I increase the number of threads to more than
10, I get the errrors below. I've found out that the exception... more >>
X509 Certificates
Posted by rds at 12/19/2005 3:30:02 PM
We are developing a smart client application which consumes web services.
The web services are being secured with X509 certificates. During the
development/testing phase we have been using the X509 certificates which ship
with the WSE 2 install. I am interested in knowing from where one purcha... more >>
How to make a Webservice accessing SQLServer using Integrated secu
Posted by HÃ¥kan Lundgren at 12/19/2005 1:28:02 AM
Hi!
I'm trying to develop a WS that access a SQLServer2000. The WS shall use
Integrated Security to access the database.
The user of the WS is anonymous.
I want THE WS to run as a specific user.
Can anobody help me?
I'm using .Net Framework 1.1
/Thanks... more >>
Implementing .NET 1.1 style asynchronous web services with .NET 2
Posted by org at 12/18/2005 11:33:40 PM
Hi,
I'm developing a web service with should be used by an .NET CF2 client and
an .NET 2.0 Windows client.
I've tried to put all the connection logic into one class, which could be
used in common from the mobile and the windows client. But this didn't work:
The new .NET framework supports ... more >>
Axis / .net interop problem with array types - no solutions work
Posted by Luch at 12/18/2005 9:13:11 PM
I've seen many postings/solutions on this, but none have worked for me.
I have a Java method which returns an custom array type that I published
using Apache Axis 1.3. With a Java client, it is fine. But a C# 2005 client
errors out. I was hoping someone can try it and let me know what is wro... more >>
Optimizations for Web Services Processor Utilization?
Posted by John Doe at 12/17/2005 4:50:03 AM
I have written a web service that returns an XmlDocument. The code is similar
to the example below, except it returns an XmlDocument rather than an
XmlDataDocument. When I run the service from the test harness in VS (or from
a client page), CPU utilization on the Web server spikes to over 50% ... more >>
Unmanaged C++ .NET client / Axis web server / 2-D array
Posted by cyourch at 12/16/2005 1:06:02 PM
When calling a webmethod that returns a struct that has a 2-D array the
webmethod outputs the following error message:
ATLSOAP: CSoapRootHandler::GetElementEntry -- duplicate element was sent.
Any ideas on what I should do to fix the error?
(See below for the WSDL.)
Thanks!
Chris
-... more >>
WSDL
Posted by duck at 12/16/2005 6:21:01 AM
Hi,
I am new to web service development. I am wondering if there is a way to
prevent a user browising to the WSDL file but still allow them to view the
sample soap request and responses messages.
... more >>
WSE 3.0 UsernameOverTransportSecurity
Posted by aceven24 at 12/15/2005 3:11:03 PM
So I just downloaded WSE 3.0 and started playing around with the security
aspects. I'm a little unclear on what I need to do to modify a turnkey
policy like UsernameOverTransportSecurity to authorize a UserToken via SQL or
some other source besides Active Directory.
Thanks... more >>
The 'type' attribute must be set to a valid type name
Posted by David Lozzi at 12/15/2005 2:58:16 PM
Hello,
My webservice is receiving the following error. It runs fine on my local
development machine,but when moved to production it errors. I found one KB
about this error but it was in regards to .Net 1.0, this server is 1.1.
Thanks!
Configuration Error
Description: An error occurred ... more >>
Call secure web services from Excel 2003
Posted by mron0210 at 12/15/2005 11:32:18 AM
Hi,
I have created a web service using Visual Studio .Net (Visual Studio
Tools for Office : Excel project) and secured it using WSE 2.0. I
have added a hyperlink in the Excel sheet which when clicked invokes
the web service. It works when I invoke the non secure web service. But
whe... more >>
how is client side DTO created from wsdl driven contract?
Posted by hazz at 12/14/2005 5:42:47 PM
I am starting to get the idea...the xsd's feed the service layer operations
and messages. I am beginning to understand it at the abstract level. But at
implementation, when the client references a web service, the wsdl is
referenced, then the client binds through a proxy to the web service. My... more >>
How to retrieve soap fault messages returned by AXIS server in .Net client
Posted by Paul at 12/14/2005 4:08:24 PM
Hi,
I have a web service application that uses AXIS at the server side and
C# at the client side. the C# client code was generated using wsdl.exe.
When AXIS raised an exception, it sends the soap exception back to
client with HTTP 500 internal server error:
HTTP/1.1 500 Internal Server Erro... more >>
discover web services
Posted by Richard Money at 12/14/2005 2:56:16 PM
Is it possible to list the web services on my local machine, or on another
machine, without setting up UDDI?
I want to do essentially the same as the "Add Web Reference" wizard in
VS.NET 2005.
I also want to do something equivalent to reflection to get the web method
signatures.
... more >>
access denied error
Posted by Luismi at 12/14/2005 12:28:53 PM
2005-12-14 10:16:09 150.10.20.6 POST /orklicrm2003/binarystream.asp
Atributos=3 81 - 150.10.20.14
Mozilla/4.0+compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322) 401 1 0
2005-12-14 10:16:09 150.10.20.6 POST
/_vti_bin/MyWebService.asmx/MyFunction - 81 - 150.10.20.6
Mozilla/4.0+(compatible... more >>
Deploying a web service
Posted by Duncan at 12/14/2005 12:25:57 PM
Guys a little please,
I'm creating a windows application that uses a webservice and WSE1.0 to talk
to a database, currently this works fine when using localhost, I now want to
test the deployment of this webservice on another server (inhouse) so I know
it will work when I come to put the we... more >>
Can invoke a webmethod from a consoleapp but not from javascript..
Posted by PrettySneaky at 12/14/2005 7:46:58 AM
Hi, I'm currently developing my first .NET 2.0 webservice and I have
stumbled into some problems. When i call webmethods from a console app
which has a webreference to the webservice everything works fine. It
also works just fine when I call a webmethod with javascript code from
a computer that ... more >>
== Why there is a huge jump in the time used? ==
Posted by J.J. at 12/13/2005 7:46:01 PM
Hi,
I've a quetion which has bugged me for quite a while.
I wrote a C#/.NET Web service which is hosted by IIS 5.1 on a Windows XP SP2
machine. This Web service just get the content of the specified txt file and
send the content back to the client. The processing time on the server side
... more >>
Serious problems with ConfigurationSettings class in a web service
Posted by Brad Wood
I have a 1.1 web service that creates multiple threads and makes an http
call within each thread. When many threads are created, the service
fails every on other call with one of these 2 errors:
(1) Parser Error Message: </b>The XML file
c:\windows\microsoft.net\framework\v1.1.4322\Config\... more >>
Webservices fails on every other call .Net 2.0
Posted by Lorenzo at 12/12/2005 3:41:03 PM
I have a .net webservice (located in a different machine) that is called
twice from a windows form .net application.
The ws works fine if I called only one call, but failed if I called them
both, one after another. The following error occurs every time I called the
second web service:
... more >>
Newbie: How to consume a xml document from a web service
Posted by Lorenzo at 12/12/2005 1:09:04 PM
Hi there,
I searched a lot in the net, but I cannot find a example where I can read a
xml file that is returned from accesing a web service.
Please help me thanks,
Lorenzo Jimenez
... more >>
WS and Windows Authentication
Posted by Jimmy at 12/12/2005 12:37:58 PM
Hi,
I need to develop a secure Web Service that requires a username and
password. One of the requirements is that the WS supports Windows
Authentication, meaning accepts the username and password the client used to
log on to Windows. The WS then needs to see which Active Directory roles
... more >>
Expose a struct ?
Posted by Michael Dawson at 12/10/2005 7:13:02 PM
I have a web service used for rating images (as well as storing and
retrieving them), but when retrieving the comments (and ratings) related to
an image i need to retrieve an array (or list) with multipls fields. Is it
possible to expose a struct (and return an arraylist of this struct) or
s... more >>
Changing XML encoding using SoapExtension
Posted by lprisr at 12/10/2005 6:40:02 PM
Hi,
I have double byte characters in the content that I am returning using Web
Services. However, the encoding in the xml file returned by Web Services is
utf-8 and I am unable to read the content, not even by changing browser
encoding setting to the appropriate one.
I implemented SoapE... more >>
Using Worker Threads in Web Service
Posted by Lee at 12/10/2005 12:51:26 PM
I need to perform some clean up work in response to a soap request, but
don't want the client to have to wait. Are there any issues I should
be aware of using threads inside of a webservice other than
syncronization isssues and the like?
Thanks,
--
Warm Regards,
Lee
"Upon further... more >>
Problem Creating a WEB Service
Posted by Ali Grey at 12/10/2005 2:11:56 AM
Hi all,
I am new to .NET but I am trying to develop a C#.NET WEB Service. I can do
this on my laptop without any problems but when I try it on my desktop I
get an error
"The Web server reported the following error when attempting to create or
open the Web project located at the follow... more >>
Problem calling a Web Service referenced object.
Posted by francisco.lopez NO[at]SPAM community.nospam at 12/9/2005 11:52:37 AM
Hi,
I have C# solution that requires a call to a web service in our network.
At this time the service is being tested on my local machine (aka: localhost).
I am able to Add Web Reference... into the project; however, when i go to
reference the web service like this:
localhost.ServiceNam... more >>
Host a Web Service in a Windows Forms Application
Posted by Ludovic DE FREITAS at 12/9/2005 5:42:03 AM
Hello,
I am making a prototype system with a Pocket PC that must connect to a
Server Application.
Unfortunately, the server cannot be a Web Server, but a simple Windows Forms
Application.
Here is my question:
The only way to easily communicate for a Pocket PC is the Web Service.
Is it p... more >>
using HexaDecimal character in web service.
Posted by pinky at 12/8/2005 8:42:28 PM
hi all
Can some one tell me how to use hexadecimal character in web service.
And then how to declare client which is using this web service.
My webservice is properly taking hexadecimal character but in client
application it is giving error in system.xml.dll.
I don;t know why this is ha... more >>
|