all groups > asp.net webservices > july 2003
Filter by week: 1 2 3 4 5
Adding an XmlNode parameter to the HelloWorld WebMethod
Posted by Brad Quinn at 7/31/2003 2:49:10 PM
I've added an XmlNode as a parameter to the HelloWorld WebMethod. The
automaticall generated WSDL would leave one to believe that any well-formed
XML is valid.
But let's say that you expected that node to conform to some schema. How do
you get the WSDL to convey that fact. Is there a way to... more >>
Simple WSE 2.0 question: passing data thru SoapContext
Posted by igeta NO[at]SPAM yahoo.com at 7/30/2003 7:13:02 PM
Hi All,
I am trying to pass an item from my client to a web service using WSE
2.0. The web service somehow cannot get the SoapContext from the
message.
On the client, I have the following:
localhost.Service1 service = new localhost.Service1 ();
SoapContext sc = service.RequestSoapCo... more >>
Receiving an intermittent SecureChannelFailure exception
Posted by Rob Epler at 7/30/2003 5:10:32 PM
We have run into an intermittent Exception being thrown on one of our
webservices. At times (not always) when we send a SOAP request to an
external webservice using SSL (hosted on a WebLogic server I believe) we
receive a SecureChannelFailure exception.
It does not happen every request, maybe... more >>
Dataset Update che funziona in modo strano
Posted by Webmaster of Moon at 7/30/2003 3:09:38 PM
Ciao ho una piccola anomalia, in un dataset. Ho una form di dettaglio
collegata con delle textbox a un database sqlserver tramite dataadapter,
dopo aver generato il dataset e le stringhe sql per aggiornamenti e
selezioni, mi si presenta il prblema. Tramite metodo fill riempio il
database, e poi ... more >>
Data.SqlXml not found on Web Service machine
Posted by [ mcberio ] at 7/29/2003 5:35:13 PM
Hi,
We are trying to set-up our app on a remote network. On one machine we have
SqlServer 2000, on the other we have our Web Service.
The error message on the Web Service machine is:
"File or Assembly Name Microsoft.Data.SqlXML or one of its dependancies was
not found."
We believe all ... more >>
XmlNode -> Schema -> Object
Posted by Brad Quinn at 7/29/2003 4:06:58 PM
I apologize, this question pertains to WebServices only indirectly.
Lets say I have an XmlNode that validates against some schema. I also have
a class that was generated by the xsd tool using said schema.
What is the best way to get from an XmlNode to an instance of the class?
I would rea... more >>
How to impersonate the child process of a web service
Posted by Aadil Abbas at 7/29/2003 2:26:43 PM
I am running a web service on IIS 6.0, impersonation is set to true, so my
web service can access resources depending on the client's privileges, but
when I launch a child process from the web service, this child process does
not inherit the security context of its parent (impersonated) thread. H... more >>
can I wrap existing COM with Webservices?
Posted by majiofpersia at 7/29/2003 12:47:04 PM
Hi all and thanks in advance for your assistance,
I am wondering whether I can create a COM object and wrap it as a
webservices? If yes, how? Any links and resources on the topic would also
be very appreciated ...
Thanks,
- Maji
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Returning array from Asp.Net webservice via SOAP to classic Asp
Posted by Steve Kuhn at 7/29/2003 10:51:01 AM
Hello everyone,
I have a web service written in C# which returns a array of strings. Now I
have a classic Asp site that needs to get that array (right now trying to
use SOAP). The webservice returns xml containing the array of strings, and
the classic asp understands how many elements are in t... more >>
Urgent : Soap Extension for Global Error Hadling in Webservices
Posted by VSK at 7/28/2003 11:59:14 AM
Hi,
Our Architecture:
-------------------
ASP..NET and IIS in 1 box
Webservices and Business components in another box
and DB in another box.
we try to access the business components using Webservices..
problem
---------
Errorhandling related.
Planning to write errorhandling in Webserv... more >>
develop an API wrapper around the (Sybase) core system that will allow data to be exposed using XML web services
Posted by Hazzard at 7/28/2003 7:35:39 AM
warning this is a crosspost with the dotnet.framework.webservices newsgroup.
I wasn't really sure yet which newsgroup was appropriate.
I will be interviewing for a position that asks for someone to, among other
things "develop an API wrapper around the (Sybase) core system that will
allow data... more >>
Your Application Will crash if it cannot connect ... WHY ??
Posted by Robbo at 7/27/2003 5:29:24 PM
VB.NET Application ( Not asp.net ) Crashes horribly when it cannot connect
to webservice .......... Does anyone know how
to handle this exception ?? Code snippit if possible..
Thank you !... more >>
Compiling the Proxy
Posted by Jack Barnes at 7/26/2003 7:16:10 PM
I am pretty new to programing and need help compiling the
proxy for my WebService in C#.
I have been going through a book on WebServices and am at
the part where I need to compile my proxy into a .NET
Assembly. However, I am getting a CS0006 error.
Here's what I am typing:
-----
csc.e... more >>
self-refresh of client according webservice answer
Posted by Frank Dzaebel at 7/26/2003 12:07:31 AM
Hello,
I want a client-side to refresh itself when a webservice-
answer says "ok,refresh,new data".
..
I do not want a permanent submit() like this:
window.setTimeout("document.Form1.submit()",2000);
Similar to a refresh-meta-tag this would be too much
communication traffic.
..
So a sm... more >>
Compile Error: System.Xml.Serialization.dll
Posted by Paul P at 7/25/2003 10:43:47 PM
When I try to compile proxy code (in C#), why do I get the
following error:
"error CS0006: Metadata
file 'System.Xml.Serialization.dll' could not be found"??... more >>
Debug Error when Running WEb Applicatoin - HELP!
Posted by Ash at 7/25/2003 3:30:39 AM
Hi,
I've just installed Visual Studio.NET on my computer, which runs on
windows2000 server. When i creat web application and try run it from vb.net,
i get the following error:
===============
Error while trying to run project: unable to start debugging on the web
server. Server side-error ... more >>
ASP.NET + WIN32 API
Posted by chapman at 7/25/2003 12:57:26 AM
Hello,
Can I use WIN32 API method such as PostMessage through
ASP.NET or Web Service directly?
I have tried, but failed.
Do aspnet_wp.exe block this kind of "direct" communication
due to security reason?
Many Thanks
Chapman... more >>
Calling Web Services Dynamically - Help Urgently needed
Posted by Shawn & Jo-an Mehaffie at 7/24/2003 8:59:33 PM
We have 2 web services:
Payments: Allows uses to pay using ACH (ACHDebit.asmx) or Credit Cards =
(CCDebit.asmx), and it has adminstration functions =
(Administrations.asmx). This resides on our internal web farm and is =
not accessible to anyone outside.
Payment Router: This is a single we... more >>
Calling a Managed C++ library which uses a load library function from a WS
Posted by Sammy at 7/24/2003 8:23:03 PM
Good Day!
Im trying to call a managed c++ library from a web
service using c# but when i go trough the code the was'nt
able to load the library.
But if I used the same library in a windows form it works
well.
What am I doing wrong.
TIA... more >>
Catch Exceptions for Asyncronous Invoke
Posted by Guogang at 7/24/2003 3:13:39 PM
How can I catch exceptions of web service, when I am using Asyncronouse
Invoke (like: myService.BeginGetCustomers()) I want to catch exceptions
like: connection timeout.
In my case, if the web service is disconnected, then the call to
EndGetCustomers() will hang forever.
Thanks,
Guogang
... more >>
Failed to contol SOAP encoding
Posted by omri.spector NO[at]SPAM cash-u.com at 7/24/2003 1:15:11 PM
Hi All,
I have a webservice which I want to return messages in the encoded
style.
I used both
SoapDocumentService(Use:=SoapBindingUse.Encoded)
and
SoapDocumentMethod(use:=SoapBindingUse.Encoded)
but still it won't. What can I be missing?
Here is my function signature:
[WebMethod()]
[Soa... more >>
class convertion compilation error
Posted by hs at 7/24/2003 11:07:35 AM
I have a ClassLibrary(ClassLibrary1) with 2 classes (MyClass1, MyClass2).
(one inherits a DataSet, and the other requires a DataSet in its
constructor).
My Winform project and Asp.Net Web service both reference my
ClassLibrary1.dll.
My webservice has 2 methods (one returns MyClass1, the oth... more >>
Web Services and Forms Authentication Question
Posted by Chapman at 7/24/2003 2:35:41 AM
Hello,
I'm a newbie in Web Services development.
At present, we have a web site implement in ASP.NET with
C#. We want to add some web service on the same site.
For security reason, we use Forms authentication mode and
deny user="?".
It gave System.Net.WebException to me if a web method... more >>
The underlying connection was closed: An unexpected error occurred on a send.
Posted by Emre Aydinceren at 7/23/2003 9:46:50 PM
As 90% WS developers I am frustrated by this problem:
"An unhandled exception of type 'System.Net.WebException'
occurred in system.web.services.dll
Additional information: The underlying connection was
closed: An unexpected error occurred on a send."
I found a work around but Microsof... more >>
webservice return value but continue some process
Posted by raj at 7/23/2003 7:29:18 PM
Hi,
I am new to this web service concept.
I have following requirment for a web method--
web service check for some data
if data is ok -- returns a value
if data is not ok- returns a value
Now My requirement is to continue some processing if data
is ok. though I have to return a va... more >>
Sequential Web Service Call Significant Delay?
Posted by Jordan Zhang at 7/23/2003 5:43:00 PM
Anyone experience two more web Service method call cause
delays? But not on one call.
Thanks.... more >>
ASP.Net app, Class Library and Web Service
Posted by Joe Reazor at 7/23/2003 2:46:27 PM
I have an ASP.Net application that uses some Class Libraries (dll's) that I
created separately. One of these dll's connects to a Web Service. I
created the Web Reference to my web service and doing so creates my
App.Config file. I thought I would then be able to use the config file to
specify... more >>
call a webservice programmatically
Posted by Ted at 7/23/2003 1:31:04 PM
I would like to call a web service programmatically ie: without adding a web
reference in visual studio. From the docs it seems like I have to use
HttpWebRequest. Also what I can't figure out is how to convert the wsdl or
the xml that is returned to an object. In VS when you create a web referenc... more >>
Webservices over https
Posted by Dave at 7/23/2003 11:18:57 AM
Does anyone have any experience consuming a webservice
over https? The little I've seen seems to suggest this
is not supported.
Thanks.
... more >>
Security in .Net WS
Posted by Nathan at 7/22/2003 6:26:11 PM
Hi:
I have a web service, which updates the database on the
server side, when an order has been made at the client
side (remote web site). Obviously, I can't send the
details as plain text. So, here are my questions:
1. Will making the web service on secure HTTP
connection help? For exa... more >>
app not working unless vb.net installed on server
Posted by keith at 7/22/2003 1:56:35 PM
Hi, we have a very weird problem deploying a ASP.NET project which is solved
by installing VB.NET.
We are using a custom DLL made using the ASP.NET WebService.
It works fine as long as you have VB.NET Standard installed on the Machine.
If it's not, and, of course the .NET framework is instal... more >>
how to track webservice usage?
Posted by Alex Vincent at 7/21/2003 9:00:57 AM
All,
Does anyone have a tried and tested method of tracking
usage of their webservice - more importantly a method of
persisting the Reqest/Response classes (if you've gone
down the object route) in SQL or the filesystem?
Whilst I expose the webservice initially to my users, I
want to c... more >>
Calling webservice from JavaScript
Posted by Steven Licciardi at 7/19/2003 10:49:30 PM
Hello,
I am successfully using the code below to call a webservice from within
JavaScript, however I would like to call another function that takes two
variables, how do I send the two variables using the method below.
var xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
xmlHTTP.open... more >>
sync webservice
Posted by Ran at 7/18/2003 5:52:50 PM
Hi
I need to build webservice that can get and send data at the same time.
It will be a form that work with a billing company and has to get data from
the billing company and send it to my server at the same time.
Any idea of how to do that? and if its possible with webservices
Thanks,
... more >>
Proxy Error
Posted by Brian at 7/18/2003 12:45:52 PM
I'm getting the following error when trying to access a
web service.
"The request failed with HTTP status 407: Proxy
Authentication Required ( The ISA Server requires
authorization to fulfill the request. Access to the Web
Proxy service is denied. )."
... more >>
WebService timeout
Posted by Kari Lappalainen at 7/18/2003 9:28:39 AM
Hi all!
I have a problem with deploying my webservice in our Web server. In my
development machine (inside of our LAN), everything works fine. When I move
the application into our Web server (public addressed), I always get the
timeout exception. My app connects to our database server (inside of... more >>
WebService and design arcitecture Questions
Posted by talm NO[at]SPAM report-software.com at 7/18/2003 8:10:13 AM
Hello all, I have an Architecture question.
I am building a windows app that will access a SQL server utilizing
web services.
I have several Tables of "look up" type information. i.e. EyeColor,
HairColor, Race etc.
Typically I build Stored procedures to interact with my tables for all
i... more >>
Consuming an ASP .NET Web Service using the MS SOAP Toolkit v3.0
Posted by tonycaruana NO[at]SPAM hotmail.com at 7/17/2003 3:35:32 PM
Hi all I think I am going to go mad if I cant solve this problem.
Basically I have created a simple .NET Web Service that takes a string
as a parameter as follows.
<WebMethod()> _
Public Function ReturnString(ByVal INPUT As String) as String
Return "You passed in:" & INPUT
End Function
... more >>
Moving a Web Service
Posted by Stahler, Wes at 7/17/2003 11:18:55 AM
If I move a web service from one machine to another, do I have to change the
reference in all the apps that were using it? Anyone faced this issue yet?
Thanks!
... more >>
HTTP 503 (Service Unavailable) error when calling a webservice inside the network
Posted by rdilipk NO[at]SPAM lycos.com at 7/16/2003 2:41:23 PM
Hello
This problem has been driving me mad for the past few days. I am
basically writing a generic utility in .NET/C# that can read any WSDL
file (over internet, intranet, localdir etc), generate dynamic proxy
on the fly and allow the user to invoke the methods.
It works perfectly *except*... more >>
ThreadAbortException: Thread was aborted exception???
Posted by Christopher D. Wiederspan at 7/16/2003 10:02:24 AM
I've got a WebServices application that uses Crystal Reports to produce and
then export Invoices to PDF format. Without getting into too many details,
it's just a big loop statement that goes out to SQL using a SqlDataAdapter,
brings back a dataset which is pushed into the Crystal Report, and the... more >>
How to get client IP in webservice?
Posted by Peter J. Hunter at 7/15/2003 10:04:38 PM
I'm sure this is simple, I just can't figure it out.
I am calling a webservice (written in .net vb) from a Visual Foxpro 7.0
client. I need to have the webservice obtain the ip address of the calling
client in order to setup a socket connection back to the same client.
How can I do this (get... more >>
WSE 2.0 Technology Preview Available
Posted by Keith Ballinger at 7/15/2003 9:16:30 AM
The WSE team would like to announce the Technology Preview of the Web
Services Enhancements 2.0 for Microsoft .NET. You can download the WSE 2.0
Technology Preview at:
http://msdn.microsoft.com/webservices/building/wse/default.aspx
The WSE 2.0 Technology Preview new features includes a polic... more >>
Missing CODEGEN values from DataSet Web Reference and Properties are not updated
Posted by Ken Beard at 7/15/2003 8:40:42 AM
I've created a web service that has a project reference to a library that
contains a strongly typed dataset. The web service has a function that
returns a dataset returning this strong typed dataset.
I used codeGen in my schema to handle dbnulls.
I declare "xmlns:codegen="urn:schemas-micros... more >>
File Upload using XML WebServices
Posted by pberendt NO[at]SPAM wsb-nlu.edu.pl at 7/15/2003 6:59:06 AM
Hello,
I need to create an XML WebService that will allow to upload files to
the server. Does anyone have an example of such service or know where
I could find any information that could help me in building it?
I am a newbie in WebServices programming and SOAP so I need something
that will e... more >>
XML as a Parameter in a WebService
Posted by Kentamanos at 7/14/2003 2:39:33 PM
I'm creating a webservice that basically takes multiple batches with
financial transactions in them.
Due to the various options available in each transaction (lots of optional
sections, etc.), I figured that making the list of batches an XmlElement
parameter would be easier than a custom colle... more >>
Can't get request stream in increments - only after all sent from client
Posted by Steve Schuler at 7/14/2003 2:07:14 PM
Hello all - I'm working an a SoapExtension to implement the SOAP with
Attachments protocol.
Here's a Google thread from the MS newsgroups from two years ago that frames
the design issue mentioned in the Subject:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=caac... more >>
Problems using services which return data using xsi:nil
Posted by Stan Yamane at 7/14/2003 12:10:30 PM
I'm trying to use a web service which sometimes returns
objects which contain null members. However, when
returning those objects, rather than just leaving those
members out of the returned XML, it represents them with
elements with xsi:nil attribute set to "true". (as
apparently allowed ... more >>
XML Web Services
Posted by tonycaruana NO[at]SPAM hotmail.com at 7/14/2003 10:00:21 AM
I have played with XML Web Services for a while now and can get them
working with simple parameters such as integers and strings but now I
want to do something more complicated and I have become stuck. The
SOAP request below is going to be posted to my Web Service. The format
of the XML is such ... more >>
throwing and handling exceptions in web services
Posted by Lachlan James at 7/13/2003 10:22:03 PM
Hi,
I was just wondering how to best throw and catch
exceptions in web services.
I have created a web service that throws 3 or 4 different
types of exceptions. Depending on which exception is
thrown I would like the client to be able to act
accordingly, but how can the client catch an ... more >>
|