all groups > dotnet web services > march 2005
Filter by week: 1 2 3 4 5
have webservice continue processing even after it returns data to consumer
Posted by thomasamillergoogle NO[at]SPAM yahoo.com at 3/31/2005 7:32:52 PM
I would like to have a web service continue a little bit of processsing
after it returns the data to the consumer. What is the proper way to do
this? Please provide an bit of example code on how to do this. For
example:
[WebMethod]
public string HelloWorld()
{
//creat a thread or asynch or ... more >>
using .Net soap client wrappers - any way to get to post data?
Posted by Mark at 3/31/2005 3:57:01 PM
Hi...
I used wsdl.exe to generate some wrapper classes from someone's soap web
service, and I'm looking for some way to look at what the soap request packet
actually looks like. The webservice I'm consuming is https, so packet
sniffing won't help.
I put a demo in the debugger, and I fou... more >>
Event based WebService method can't work well!
Posted by Selçuk Giray Özdamar at 3/31/2005 1:56:15 PM
I'm using Visual Studio 2005 Beta1. A windows application consumes my
HelloWorld web service. But i can't call the event based model in the client
application.
I can't do this in the windows client application:
void btnClick(.................)
{
service.HelloWorldCompleted+=new HelloW... more >>
Web Service Configuration Error.
Posted by Sean L. at 3/31/2005 1:17:02 AM
I used VS 2005 Feb. version to create a web service. It worked fine as
file-based service but when I tried to invoke from
http://localhost/.../service.asmx. to retrieve the reference from the
service, I got:
Parser Error Message: Unrecognized attribute 'xmlns'.
The error pointed to... more >>
Call to external webservice returns error "System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server."
Posted by rjempson NO[at]SPAM gmail.com at 3/30/2005 10:56:11 PM
I have a VB.NET serviced component (COM+), running on a lan, that
calls out to an external web service to place an order with a
supplier.
The problem machine is the middle tier (COM+) for our in house
applications, and also has a mail server to service a 100 stores
(don't ask me why, I don't ... more >>
Timeout Error
Posted by Fred Herring at 3/30/2005 10:23:06 AM
I have moved a web service from my development machine to a hosting computer.
Now when I upload large files to this new host I get a timeout exception.
The web.config file associated with my web service has 360 seconds for time
and 30mbytes for file size but I continue to get the error. Do I... more >>
Multiple Wse in single Service
Posted by Patrik Kruse at 3/30/2005 1:31:10 AM
I am using Visual Studio (with WSE 2.0) to create a Reference.cs proxy for a
customer web service. The WSDL contains one service element with three
different ports, each port using it's own binding.
The problem is that Visual Studio only creates a Wse class for one of these
bindings, leavin... more >>
Xml string or Class definition
Posted by John Lee at 3/29/2005 10:54:22 PM
Hi,
When we define a web method, if the parameter is actually an xml, we can
either define the parameter as xml string like following:
public void webmethod(string xmldoc) { ... }
or we can create a class or set of classes that can be serialized to the
same xml like:
public void webm... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Raising the Request Length in a Web Service
Posted by Marcos at 3/29/2005 9:31:06 AM
Hi.
I´m wornking in a Web Service that has to exchenge a great amount of data,
but I keep receiving a SOAPException that says:
"There was an exception running the extensions specified in the config file.
--> Maximum request length exceeded."
How can I increase this Request Length?
T... more >>
User authentication through web service (follow up)
Posted by Buddy Ackerman at 3/28/2005 10:55:39 PM
My app is a .NET forms app that runs in the taskbar and periodically polls a web service. I have a client that wants
the app to integrate with their Active Directory. They do not want the user to have to provide the username and
password to login to the application/web service. I need to be a... more >>
How to log SOAP messages on the client side
Posted by bill at 3/25/2005 5:01:00 PM
I know I can use SOAPExtension to read request and response SOAP messages on
the server side for a Web Method. Is there a way to do the same thing on the
client side when you make a Web Service call? I would like to see what is
going out and what is coming in. Thanks for your help.
... more >>
General question
Posted by Peter Schmitz at 3/25/2005 4:01:01 AM
Hi,
one newbie general question:
I just started to write a vb.net webservice that is consumed by a .net
application (client). Now, as there may be lots of clients for one web
service when I release the application, each client has to be configurated to
use the correct url to the webservi... more >>
abstract class overriding?
Posted by drb at 3/24/2005 12:41:08 PM
Hi,
I'm hoping this is a stupid question, so I apologize in advance.
After creating WSDL files from scratch for a new web service, I used the
WSDL.exe tool to generate C# stubs for both the web service server methods
and the client proxy methods. The tool created the server methods as
a... more >>
Dataset vs. XMLDocument
Posted by JoshKaos at 3/24/2005 10:55:03 AM
I am in the process of rewriting a WebService. The WebMethods are all
returning XMLDocuments. First, they get a Dataset of records and then walk
through the Dataset to populate the XMLDocument which is then passed to the
Web application which then pushes the XMLDocument into a Dataset in ord... more >>
Web Method returns array of custom type : casting error
Posted by John Grandy at 3/23/2005 11:37:16 AM
My ASP.NET Web Service project has a Web Method that returns an array filled
with instances of a custom class.
The custom class is defined in a Class Library that is included in the
web-service project.
The same class lib is included in the ASP.NET Web Application that calls the
web-meth... more >>
convert a Class Library to web service
Posted by convert a Class Library to web service at 3/23/2005 5:19:13 AM
can i convert a Class Library to be share in the internet as a web service
i what thet all my classes in the Class Library will be shared... more >>
Problems using web services & ISA Server
Posted by Mike Malter at 3/22/2005 3:46:27 PM
I have a standalone Windows Server 2003 running IIS, SQL Server and ISA
Server.
We've managed to successfully disable socket pooling, got vpn working and
have published a web site.
The box is designed to call web services on a series of servers scattered
throughout the United States and ... more >>
WebService and consumer in same Solution ?
Posted by John Grandy at 3/22/2005 10:45:35 AM
Within a VS 2003 .sln Solution , can a WebService project and an ASP.NET /
WinForms project that consumes that WebService co-exist and be tested in a
single Debug session ?
... more >>
Can server call client?
Posted by Dmitry Sazonov at 3/22/2005 10:28:53 AM
I'm novice in web servers. We trying to understang, why
we should move to Web Services.
now I can make web service and client, which can call
server and receive answer.
But can server send Notifications to client, if soem
event happened? For example, is it possible to
make "Clock" web... more >>
Novice question: Can Web Service call client application?
Posted by Dmitry Sazonov at 3/22/2005 9:05:07 AM
I'm novice here and I'm sorry for stupid question. We are trying to
understand web services architecture, is it better than TIBCO.Randevouz and
does webservices fit our needs.
I understand, I can make web servce and a client applicaiton. Client will
call the service and will receive some ki... more >>
Proposed MSDN Subscription Changes - VERY BAD!!!
Posted by news.microsoft.com at 3/22/2005 1:22:08 AM
I urge every developer who has an MSDN subscription (Universal) to petition
MS to change their proposed ideas on Visual Studio Team Suite (VSTS).
Depending on what you read, they are proposing to not include it or raise
the price to between $5,000 and $10,000. Every developer who has helped M... more >>
Need Help on Rules Engine
Posted by Noel at 3/21/2005 3:46:09 PM
Hi All,
I'm trying to create a rules engine that could be re-used in the windows
client as well as the server side.
Could someone point me in the right direction. I'm looking to create simple
rules that could be passed on from the server to the client as xml. I would
like to know how I coul... more >>
Web services via native C++
Posted by Christopher Brack at 3/21/2005 11:51:06 AM
Hi
I am trying to invoke a web service from a native (i.e. unmanaged) MFC app.
I was able to invoke a trivial web service from unmanaged C++ using ATL but
I still have difficulties.
The problem now is that the nontrivial WSDL file describing the web service
I am to implement has a schema ... more >>
"Object reference not set to an instance of an object." after constructor fires
Posted by Vern DeHaven
Hello all,
Working on a W2K3 box with Framework version 1.1.4322 here. I've
implemented a Web service in VB.NET by generating a server skeleton off
the WSDL and overriding the abstract class. This Web service operates
correctly. To conform to standards set by our group recently, I rew... more >>
Web Services and Win Forms
Posted by Arun Gandhi at 3/21/2005 11:13:04 AM
Hi
I am calling a web service from my win form application. Is there a way to
see or log the xml/soap reuqests going out?
Thanks
Arun ... more >>
The underlying connection was closed: Unable to connect to the rem
Posted by Steve Bugden at 3/19/2005 8:09:02 AM
Hi,
I am trying to use a web service on an ISPs server and keep getting the
following message:
"The underlying connection was closed: Unable to connect to the remote server"
Fortunately (so I thought), looking on the web
(http://p2p.wrox.com/topic.asp?TOPIC_ID=4858 for example), this se... more >>
basic questions
Posted by Mochuelo at 3/19/2005 2:20:08 AM
Hi,
I'm completely new to web services, although I have already spent some
time reading documents that explain the basics. I would appreciate if
someone could answer these (I suspect) easy questions:
- The computer running an application that exposes a web service needs
to have a web server... more >>
Error calling Java Web Service (Web Logic) from ASP.NET client
Posted by Vaibhav Modak at 3/18/2005 7:33:01 PM
Hi All,
I have a Web Service written in Java (Web Logic) and I am trying to call it
in my ASP. NET client. I am facing a problem while getting the data from the
Web Service Method. My Web Service returns me an object which is a wrapper
around an array of objects. (Earlier I was trying to re... more >>
Indigo early access
Posted by Jim Robertson at 3/18/2005 10:09:03 AM
I'm trying to find Indigo early access release on MSDN subscriber downloads.
I can't find it. Does anyone know where this is located?
Thanks,
- Jim Robertson... more >>
HTTP POST from a Web Service
Posted by Chris Harris at 3/18/2005 8:21:07 AM
I have an ASP.NET Web Service which receives an XMLDocument which is then
parsed. The values in the XML file need to be sent to a Java servlet on
another web server. How would I initiate an HTTP Post to the servlet from the
ASP.NET web service?
Many thanks for your assistance!... more >>
Export Access report to a snapshot file and view on web site
Posted by Vincel2k2 at 3/18/2005 7:45:06 AM
Hi,
I need to provide Access reports from our web site. When the app gets to the
output command I get this error I get this error:
The formats that enable you to output data as a Microsoft Excel, rich-text
format, MS-DOS text, or HTML file are missing from the Windows Registry.
Also after the... more >>
is this possible with a WS?
Posted by chris at 3/18/2005 5:55:02 AM
We have a business system at work inwhich i wrote a stored procedure that
finds all un-acknowledged purchase orders and e-mails the venors nightly
asking them to confirm the orders by e-mailing us back. I am curious if i
could create a link that would invoke a web service allowing the update b... more >>
How to mantain the state between 2 call of the same WebService?
Posted by Alessandro Benedetti at 3/17/2005 11:13:35 AM
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice
(B).
The A Webservice is made like this:
[WebService(Namespace="WebServiceA")]
public class WSA: System.Web.Services.WebService
{
private int X = 0;
[WebMethod(EnableSession=true)]
public void... more >>
Method 'XYZ' can not be reflected
Posted by Modica82 at 3/17/2005 4:47:03 AM
I have created a contract first web service, and to test i have created a
client (asp.net) to attempt to test that my web service is at least
communication. But when i call a method i get the above error for one of my
methods, its not even the one i am calling. Does anyone have an ideas on h... more >>
Help; encoding is a nightmare!
Posted by Brad Wood at 3/16/2005 6:13:11 PM
I am testing a web service that returns an XML doc as a string. I went
through troubles when developing it whereby the saved output of the
service would not display in Internet Explorer due to encoding confusion.
I finally settled on setting responseEncoding in my web.config file to
"utf-16"... more >>
Converting a VB.Net Console Application to a Web Service
Posted by kls_kumar at 3/16/2005 1:31:08 PM
Hi All,
I wrote a sample application to extract the messages and attachments from
a .pst file using VB.Net which is working fine. Now i am trying to web
service enable this and when i added an operation in .asmx File
<WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _
Pub... more >>
Converting a VB.Net Console Application to Web Service application
Posted by kls_kumar at 3/16/2005 1:23:17 PM
Hi All,
I have written a simple VB.Net Application which takes a .pst file and
extracts the messages attachments from the .pst. It is working fine as a
Console Application.
I tried Web Service enable this App and it is giving me the 500 Error.
When i tried debugging it the IE browser... more >>
How to debug web service from WinForm
Posted by Stan at 3/16/2005 8:25:45 AM
I need to attach to aspnet_wp.exe in order to debug a web serivice from
WinForm client. Why don't I have to do this for ASP.NET / WebForm client?
Why doesn't VS.NET debugger attaches automatically? Can I configure it?
Thanks,
-Stan
... more >>
Path property must be set before calling the Send method.
Posted by Modica82 at 3/16/2005 7:55:05 AM
Hi all,
I keep getting this error when trying to access my web service via a client
proxy implementation. I have created a contract first web service, not sure
where i am supposed to set this property??
Anyone got any ideas?
Regards,
Rob... more >>
NameValueCollection
Posted by tni NO[at]SPAM nc.rr.com at 3/15/2005 9:56:51 PM
Hi,
What is the easiest way to pass the result (name/value) from a SQL
query into a NameValueCollection in the consumer?
Thomas
... more >>
The request failed with HTTP status 502: Proxy Error
Posted by Sebastián::PJ at 3/15/2005 12:32:32 PM
I'm trying to reach a web service outside my organization and this is =
what I get.
Where do I have to write the Proxy credentials?
TIA
--=20
Check my blog out at:
http://sgomez.blogspot.com... more >>
Using enums in parameters
Posted by Stan at 3/15/2005 11:17:17 AM
Suppose I have this enum
public class Flag
{
Hazardous = 1,
Protected = 2
}
and I have this webmethod:
[WebMethod]
public void SetFlag (Flag newFlag)
{
}
WSDL from this will be:
<s:element name="SetFlag">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" ... more >>
Passing xml vs. passing a class
Posted by Stan at 3/15/2005 8:39:28 AM
There are two ways to pass structured data to a web service:
xml
===
<Order OrderId="123" OrderAmount="234" />
or class
=====
public class Order
{
public string OrderId;
public deciaml OrderAmount;
}
Class will be serialized to xml and on soap level there will be no
dif... more >>
WSDL.Exe causing System.StackOverflowException
Posted by Modica82 at 3/15/2005 6:25:01 AM
Hi all,
I am trying to generate a stub class for my web service using wsdl.exe but
every time i run it from the visual studio command prompt i get a
System.StackOverFlowException.
Has anyone got an ideas? My XSD Files have been verified and are working so
what could be the problem???
... more >>
.Net version upgrade
Posted by AJ at 3/14/2005 5:27:01 PM
have .Net framework version 1.0.3705 with Visual studio 7.0.9466.
I want to upgrade .Net framework version to 1.1. If I upgrade will I have
issues with the already deployed webservices?
Do I need redeploy them?
And also do I need to upgrade the Visual studio also?
Thanks
--
AJ... more >>
Web service serialization of return type
Posted by RJ at 3/14/2005 11:54:21 AM
I've been trying to find documentation that explains limitation of possible
types that a webmethod can return. I realize xml serialization must take
place to return the specified type.
Must the return type of a webmethod implement ISerializable? I saw
something about using SoapInclude or XML... more >>
W3WP poor performance
Posted by Helge at 3/14/2005 10:43:16 AM
On our server the w3wp process is "pagefaulting" all the time, but none of
the other processes (and there are some) behave that way.
Page fault delta in TaskMgr shows up to 15000 with normal refresh speed for
w3wp.exe.
Mem usage is 110MB, VM size is 90MB.
Commit charge is about 2GB, physical ... more >>
MSSOAP.SoapClient problem
Posted by aws.steve at 3/14/2005 8:31:07 AM
I am trying to get my first Soap based website to work on my Windows 2000
server with IIS 5. The code used to create the client is as follows:
set SoapClient = CreateObject("MSSOAP.SoapClient")
But I am getting the following error when the script is run:
Microsoft VBScript runtime (0x800... more >>
web service proxy authentication
Posted by Saira at 3/11/2005 10:06:46 AM
Hi all
I have an application that seems to be having an ongoing battle with my
firewall.
I am using a webservice to send back data to a SQL server database. Betwen
the two machines is an ISA 2004 firewall.
The firewall is set up so that it only allows authenticated traffic (i.e.
Windows use... more >>
WSDL.exe tool and separate (nested) XSD schema file(s)?
Posted by drb at 3/11/2005 6:57:02 AM
Hi,
Newbie question #2 - hope that's OK!
I'm trying to create a WSDL file using one or more XSD schema files. While
WSDL.exe doesn't seem to support the XSD "import" function, if I include a
single huge XSD schema file on the command line input to WSDL.exe, I can
essentially achieve the... more >>
|