all groups > asp.net webservices > october 2006
Filter by week: 1 2 3 4 5
Web Service stops responding randomly
Posted by kairos at 10/31/2006 5:44:01 PM
We have developed a web service that runs on W2k3 with IIS 5. It works fine
most of the time, but from time to time it stops responding. First we reset
the whole IIS and it started working again. Lately we discovered that
reinitiating the World Wide Web Publishing Service was enough to correct... more >>
Update One Database from Another Using a WebService and Two DataSets...
Posted by Jon Jaques at 10/31/2006 3:15:23 PM
Hello, I have a database application used by a small company that needs to
transfer some updates back and forth, to and from, their website. The
database uses an Access frontend connected to a MSSQL 2005 server backend,
but I've created an ASP.net intranet application to handle the data
tra... more >>
Basic Profile 1.1
Posted by Nick Locke at 10/28/2006 3:25:43 PM
I have a web service with four operations in it - add/amend/delete/retrieve.
Not surprisingly, add and amend require the same data; with delete and
retrieve each requiring just a key field. Concepts of re-use tell me that
my XSD should define the data once and the key field once, then in my W... more >>
IIS Workerthread
Posted by volker at 10/27/2006 5:18:55 PM
Hello!
While IIS (+ .net 20 ) is running a workerthread shold select data in
background permanently.
How can iI do this?
V.
... more >>
Asynchronous call question- app isn't doing what I expect.
Posted by RobGSCL at 10/26/2006 7:58:17 PM
I suspected that the comm routine in my compact framework app wasn't
acting asyncronously, so I remodelled it using a simple hello world
service with a 5 second sleep. I call the same begin method
sequentially ten times. What I expect to see is the end method fire
after 5 seconds somewhat sequ... more >>
How to fix problem-usernameTokenSecurity can be bypassed in IE
Posted by John K at 10/26/2006 11:16:03 AM
I have usernameTokenSecurity with usernameOverTransportSecurity working in
WSE 3 and .NET 2.0 in a CustomUsernameTokenManager. It properly verifies if
someone is authorized (i.e. if user is in certain SQL database). I have also
confirmed it denies someone access if they don't have the right ... more >>
Accessing XML DataFiles from a Web Service
Posted by Ian at 10/26/2006 9:22:02 AM
Hi,
I am trying to create a working installation from a web service that is
actually a thin layer calling quite an involved object, a dll-type .NET
assembly from another, class library type project.
This object needs to access data that is stored in a number of XML files.
The problem is ... more >>
Configuring UDDI
Posted by Prabakar Samiyappan at 10/26/2006 1:13:02 AM
Dear all,
I want to Configure UDDI how can i do that?Give some usefull links to learn
more about Webservices
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Webservices namespace- What does it do?
Posted by RobGSCL at 10/24/2006 7:31:37 PM
I have three questions about the namespace parameter of a webservice:
What does it do?
Is it necessary for it to be unique?
Is there a way to modify it at runtime? I'll be deploying an app at
multiple locations and I don't want to have to recompile every time we
implement.
TIA
Rob
... more >>
Where I can put initialization code in a .Net Web Service?
Posted by Enzo Contini at 10/24/2006 5:22:01 AM
I put my initialization code (ex. DataSource.ConnectionString definition
etc...) in the public Service() method: diring a debug I noticed that that
method is called at every call of a WebMethod so now I think that that is not
the "right" place where to put any initialization ... but where is t... more >>
Bad performance on SOAP call
Posted by Werner Willemsens at 10/23/2006 10:08:27 PM
Hi,
I have the following situation. COM server exposed on Windows CE 5.0 through
SOAP (SOAP toolkit)
C# client on XP calls methods on (COM)SOAP server.
The complete call takes 527msec. Why is it so much?
The SOAP method call is very simple : a COM method with 1 argument (long)
The Ethereal ... more >>
XmlSerializers.dll and faster startup
Posted by Oleg.Ogurok NO[at]SPAM gmail.com at 10/23/2006 7:36:03 AM
Hi there,
I have a small console app that makes a call to XML Webservices. The
app runs from a login script. Because of the web service call, it takes
about 15-20 seconds for the app to complete. Most of the delay is at
startup time where SOAP serializers are initialized, e.g. when I
instan... more >>
I'm need effective software for ad and SEO
Posted by webpromoters NO[at]SPAM web-dot-de.no-spam.invalid at 10/22/2006 5:23:58 PM
Anybody can recommend me URL's to order private soft fo
advertising internet-projects?
It's really important to me. Please, help.
Thanks for all...
P.S. Also I need for advertising software that able recogniz
captchas, able mass posting, able sort sites by Google PageRank (PR
and others. A... more >>
Inheritance / Override problem - I think !
Posted by Nick Locke at 10/22/2006 10:47:24 AM
I have this in the class generated by wsdl.exe:
<System.Web.Services.Protocols.SoapHeaderAttribute("ContextValue"), _
System.Web.Services.WebMethodAttribute(), _
System.Web.Services.Protocols.SoapDocumentMethodAttribute("DeleteStolenVehicle",
Use:=System.Web.Services.Descripti... more >>
wsdl.exe not creating class for fault element
Posted by Nick Locke at 10/21/2006 11:53:00 AM
I have already seen this:
>> And I should point out that wsdl.exe ignores fault messages in the
>> <portType> operations. You can manually insert them, but the wsdl tool
>> will
>> ignore them when it generates classes. There is currently no way that I
>> know
>> of to have VS .NET or the ... more >>
access a classic asp variable from within a webservice
Posted by Kiran at 10/20/2006 5:42:01 PM
Here is the situation :
***************************
parent.asp
***************************
<!-- #INCLUDE FILE="../includes/inc_html.asp" -->
Dim iVar
iVar = 20
Dim sText
sText = GetHtml()
***************************
inc_html.asp
*********************
function GetHtml()
select case... more >>
wsdl.exe error
Posted by Nick Locke at 10/20/2006 5:10:55 PM
I have managed to get rid of my earlier problems with import vs include. One
error remaining. SQLSpy is happy, wsdl.exe isn't! I have pasted the error
here and the WSDL further down. It's probably very obvious to a non-newbie,
but not to me!
Can someone help please? Thanks
------------... more >>
Strategies for Web Service to Unmanaged DLL
Posted by David Palau at 10/20/2006 2:27:52 PM
We have a C#, .NET 1.1 web service that will be interacting with a
third-party, unmanaged DLL.
The idea is that this web service will be called with certain
parameters from within our intranet, passing along these parameters to
a function ( DoSomething() ) in this third-party DLL which will re... more >>
Webservices, Interfaces and Polymorphism in proxy classes.
Posted by JupiterMoonBeam at 10/20/2006 2:37:48 AM
Hello,
I wonder if anyone can help.
As a rule I have a design policy of programming to interfaces
especially with 'data' classes. I like a client to be responsible for
implementing its own version of classes it sends to a service rather
than the service dictating what the class should be. ... more >>
WSDL/Web Reference and Classes
Posted by Ryan at 10/18/2006 2:11:02 PM
What causes the definitions of classes to be in the WSDL/Web Reference? I
need to add in some class definitions to my WSDL/Web Reference but VS 2005
will not do it automatically. It appears to be adding classes that are in my
Web Service functions as ref parameters and some of my other class... more >>
Spaces in UNC Paths
Posted by Luke - eat.lemons NO[at]SPAM gmail.com at 10/17/2006 3:10:42 PM
Hi,
Could someone tell me the correct quotation to get around spaces in
paths for:
Server.MapPath("\\server\share\spaces in name.mdb")
I know its bad practice to use spaces but unfortunately i cannot help
this.
Thanks,
Luke.... more >>
Help for ASP.NET
Posted by Terry Fei at 10/17/2006 7:52:02 AM
Hi,
I am new one to ASP.NET. Would you provide me some information about how to
learn ASP.NET? Thanks!
Terry... more >>
Fighting WSDL.exe
Posted by Nick Locke at 10/16/2006 8:11:30 PM
Hello, a very newbie here, so please don't be too harsh! I have found my way
through to using Altova XMLSpy to create what it says is a valid WSDL file
(including picking up the Types from an external file as I shall need to
reuse them). XMLSpy is happy, but when I try to push the WSDL through... more >>
Web Service Log File Code Standard?
Posted by msustrick NO[at]SPAM gmail.com at 10/16/2006 10:06:47 AM
I've been using Log4Net for some file logging in Web servics.
Exceptions are stored in a db and mailed to parties, but I've found it
helpful to use Log4Net and write to a log file with some information
like SQL or stored procedures names beign called.
My question is it an acceptable to practic... more >>
Events from a web service ?
Posted by Navin Mishra at 10/15/2006 11:35:10 PM
How one could get events from .NET web service using .NET 1.1 or .NET 2.0 ?
Any inputs on strategies that could be used while WS eventing implementation
from MS is not available.
--------------------------------------------------------------------------------
Perhaps HTTP chunking to get eve... more >>
How to maintain web services active
Posted by PBENISTY at 10/15/2006 10:52:02 AM
Hi,
I'm using web services writed on .NET 2.0, when I start an application using
those web service it's take a long time for the first time and after it's Ok.
But when I stop to use the application for a long time and I use it again
it's take a long time to start the web services.
I'd like to... more >>
How to avoid URL direct access?
Posted by Gus at 10/14/2006 4:32:20 PM
Hi:
I have a documents program in mi intranet, it only shows each user
authorized files and each line has the file description and a link to
open it.
The problem is that if anyone writes the file's URL address directly
into the browser (like: http://mydomain/myintranet/myfiles/myfile.pdf)
... more >>
File.Exists
Posted by Meelis Lilbok at 10/13/2006 3:41:28 PM
Hi
I have problme with my webservice(VB.Net 2.0)
If i use File.Exists() it always returns false.
File is 100% there, all permissions are set, but i get False
Any Ideas?
Meelis
... more >>
Passing ParamArray to a webservice
Posted by rituchandra0972 NO[at]SPAM gmail.com at 10/13/2006 12:17:09 PM
Hi,
I have a webservice with a webmethod that accepts two parameters
defined as
<WebMethod()> _
Public Function GetData(ByVal strID As String, _
ByVal ParamArray Params As String()) As
Xml.XmlNode
When this web service is consumed in front ... more >>
Upload/download progress
Posted by Peter Morris [Droopy eyes software] at 10/13/2006 12:00:00 AM
Is there a way to get the progress of an upload
public void AcceptFile(byte[] data);
and more importantly a download?
public byte[] SendFile();
Thanks
Pete
... more >>
IOException (WSE2149) Write Failure when sending Soap/TCP messages
Posted by GS at 10/12/2006 6:10:34 PM
We occasionally encounter this exception while trying to send soap/tcp messages:
MySender.Sender - System.IO.IOException: WSE2149: Write Failure.
at Microsoft.Web.Services3.Messaging.SoapTcpNetworkStream.EndWrite(IAsyncResult asyncResult)
at Microsoft.Web.Services3.Messaging.SoapTcpNetw... more >>
FramingFormatException (WSE306) on Soap/TCP receive
Posted by GS at 10/12/2006 6:06:48 PM
We are using Soap over TCP (WSE 3.0) and occasionally encounter the
following exception:
soap.tcp Message Receive Failure:
Microsoft.Web.Services3.Messaging.Framing.FramingFormatException:
WSE306: The framed record should have the following version: 1. Instead,
the framed record contains ... more >>
Static Variable Reference in Web Service?
Posted by depalau NO[at]SPAM bemis.com at 10/12/2006 12:34:24 PM
I'm running into some issues on maintaining a static variable across
the lifetime of a web service and I was wondering if anyone could help.
Background:
We have developed a C#/1.1 web service running on IIS 5/6 that
interfaces with a 3rd party DLL referenced by using the DLLImport
attribute... more >>
wsdl.exe problems
Posted by heath.davies NO[at]SPAM surfcontrol.com at 10/12/2006 7:26:38 AM
I have a scenario where I have thousands of web service clients all
referencing a URL of a .wsdl file generated by SOAP toolkit. I now need
to upgrade the backend of the web service (from SOAP toolkit C++)
without altering the client applications. I thought this was possible
using the wsdl.exe t... more >>
Null value node is causing deserialization problems
Posted by yads12 NO[at]SPAM gmail.com at 10/10/2006 3:27:44 PM
Let's say I have the following wsdl snipet:
<s:complexType name="consumer_response_info">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="final_score"
type="tns:final_score" />
<s:element minOccurs="0" maxOccurs="1" name="app_score"
type="tns:app_s... more >>
Call to web service on live asp.net application returns Access Den
Posted by Dan A at 10/10/2006 1:20:02 PM
I have a web application that calls a third party web service during a
registration process.
On the live version of the site it calls a function of the ws and returns
and exception of 401 Access Denied.
Testing it on a local copy of the site on my machine, it works fine.
Before the functi... more >>
Creating a Xml Web Service contract from an XSD and lots of coffee
Posted by Bill Sempf at 10/10/2006 11:05:02 AM
I have a XSD that describes a standard (IEEE) implementation of a contract
and related objects. I need to create a web service that implements the XSD.
I realize that I can read the XSD and create it by hand, but that doesn't
seem to be the point. It seems more reasonable that I chould just... more >>
Access web service through proxy server
Posted by Get modulus exponent from X509 cetificat at 10/10/2006 9:06:01 AM
Hello,
I am trying to access one web service (on machine A) from machine B using
web application. I can browse the web service from web browser. But when I
access the web service from application, sometimes(80%) it crashed with the
error saying: "Redirect (authentication_redirect_to_virtual... more >>
Upload LARGE files via a web-service
Posted by AWHK at 10/10/2006 12:00:00 AM
Hi,
I have a customer which want to upload LARGE files via a web-service and
stream it into a database while it is uploading. I don't want to go out of
my way and develop a large HTTP App. Module which intercepts a SOAP call and
manually streams the file content to the database if it is a b... more >>
Soap Fault from within a class - no Detail
Posted by Nick Locke at 10/7/2006 10:42:57 PM
I am trying to encapsulate logic within classes, so I have this:
Public Class StolenVehicleTemplate
Private _Make As String
Public Property Make() As String
Get
Make = _Make
End Get
Set(ByVal value As String)
If value = "" Then
... more >>
Force Field to be Mandatory
Posted by Nick Locke at 10/7/2006 10:55:32 AM
I have a Class with some string and some integer values. When that gets to
WSDL, the strings have "minoccurs=0" and the integers have "minoccurs=1". I
can understand why this is happening, but cannot see how to change it.
What I actually need is to be able to force the strings to be mandatory... more >>
how to use WSDL,exe generated code?
Posted by jackhandy30 NO[at]SPAM gmail.com at 10/6/2006 1:43:23 PM
Using the .NET 1.1 Framework SDK WSDL.EXE tool and VS.NET 2003, how do
I use the code generated from WSDL.EXE. I have a WSDL file and I have
successfully called WSDL.exe like so:
wsdl /out:myproxy.cs mywsdl.wsdl
So the above command line generates a new text file myproxy.cs which
has C# cla... more >>
helloworld comes up with 404.
Posted by nevin at 10/6/2006 9:41:34 AM
Hi I am trying to load a new web service onto a production box and it's
just not working so I am now trying with helloworld which doesn't work
either.
I cannot publish to the server as vs2005 tells me the IIS on that box
doesn't have FPE even though it does so I copied the published files
fro... more >>
Urgent: Web Services
Posted by Jason at 10/4/2006 9:43:21 PM
Hello,
I am pretty new to web services.
And I have a situation where i am using a web Method that will send an xml
documents.
I am getting data into the dataset and then using dataset.getxml() method
to put it in an xml document object.
Before i send this xmldocument back i want to... more >>
Dynamic web service call
Posted by Bruno Alexandre at 10/4/2006 4:37:39 PM
Hi Guys,
I already build my "wonderful" webService and it returs DataSets exactly
like I want, and it does wonderful things...
but...
Now that I develop a Window Forms application that consume that web
service, I need to change the WS from my local machine to the Client machine
(so, I... more >>
Using Cache in WebServices
Posted by Asfar at 10/4/2006 3:43:58 PM
Hi,
I am developing a Asp.net webservice.
Can I use HttpRuntime.Cache to store temporary data between method calls in
a service.
Also will the data persist if I have 2 webservices in the same project?
Thanks,
-Asfar
... more >>
WSDL does not show correct return type information for C# web service
Posted by m4gnus NO[at]SPAM gmail.com at 10/4/2006 1:44:29 AM
I have made a web service using C# and my problem is that the
auto-generated WSDL-file does not show the correct type information for
return parameters. It is desireable that it does because people who are
to use the web service must know what it returns and it would be nice
if they didn't have ... more >>
POST info to website from web service
Posted by Brad at 10/3/2006 2:46:01 PM
I'm trying to fill out a form on a website from within a web service. I know
there is one field on that form called "call" and I want to put the value
"register" in it. I'm using the following code, but I can't get it to work.
Any Suggestions? I suspect the problem is in the way i'm specif... more >>
Displaying a Web page from a web service
Posted by prayag.narula NO[at]SPAM gmail.com at 10/3/2006 12:55:45 PM
Hi,
I am a total newbie and this is my very first web service. I want to
display a web page using my web service. Any idea how i can do this. I
tried the following code:
[WebMethod]
public void Authenticate(string cardId){
System.Web.UI.Page welcomePage = new System.Web.UI.Page... more >>
Partial proxy class Visual Studio 2005/C#
Posted by roberto at 10/3/2006 12:44:24 AM
While adding a web service reference to a project there are no C#
classes generated in the design time. This makes extending a web
service quite complicated because when I try to add a partial class the
program stops to compile.
I know it can be done by removing a web reference and generating ... more >>
|