all groups > dotnet web services > march 2006 > threads for march 8 - 14, 2006
Filter by week: 1 2 3 4 5
problem reading an array returned from a service
Posted by Matthew at 3/14/2006 12:07:29 PM
Using .NET 1.1 I trying to consume a web service that returns an integer and
an array of type string which I declare and use line this
Dim Results() As String
Me.txtMain.Text = consumeWebService.GetPublishedDatabases("1.0",
Results).ToString
The problem is that the array "Results" is alw... more >>
discocodegenerator unable to initialize my method is public
Posted by cindy at 3/14/2006 10:15:04 AM
I am using this link to create a web service to WSS Library
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/ODC_WritingCustomWebServicesforSPPT.asp
The web service is register and can be found by a test web application. I
use the wsdl and get
No Ports o... more >>
need help on xml web response.
Posted by AVL at 3/14/2006 7:01:28 AM
hi,
i'm a newbie to dotnet...
I need help on xml responses received from a web service..
How to parse the xml response....sent by a web service..
I dont want to use the proxy object created .net when I add a web service..
I want to parase the Xml response nad request manually..
Which... more >>
Timeout error on webservice client
Posted by Sebitti at 3/13/2006 11:15:27 PM
I'm getting timeout error in my client application (asp.net client) when I
call a web service that is taking some time (2 - 3 minutes).
How can I configure the timeout limit?
Current configuration, these settings doesn't seem to have any affect:
Web.config <sessionState timeout="20"/>
IIS 5 ... more >>
New session with each call from Windows app?
Posted by BeanDog at 3/13/2006 12:29:28 PM
I've created an ASP.NET 1.1 web service using C#. I call it from a windows
desktop application that was also created in C#. My service methods have the
[WebMethod(EnableSession=true)] before them. The problem is that a new
session is being created for each call, so I have no way to store st... more >>
culture of timer threads bug?
Posted by ChainsawDude at 3/13/2006 4:18:27 AM
I note that when I set a culture in the globalization section of the
web.config this is picked up and used for methods such as ToString() for
dates etc.
However, it is not picked up for timers which I create in my web service and
the culture (but not uiCulture) revert to the system default!
... more >>
xml response from a web service
Posted by AVL at 3/13/2006 3:18:26 AM
Hi,
I a new bie to web services..
I've requirment wherein I need to build the xml response
I know the method of my web service and I know it's return values....
I need to know the kind of xml response it builds when I call the method
exposed by the web service...
How can I view the xml... more >>
Add Web Reference
Posted by manika02 at 3/10/2006 2:03:07 PM
I am unable to add web reference in Visual Studio 2003. I get the following
error:
"Unable to download following files from
http://mysite.com/webservice.asmx?wsdl
Do you want to skip these files and continue?"
Also when i type the URL http://mysite.com/webservice.asmx?wsdl andt hen
click... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Passing data to a web page
Posted by rocky20 at 3/10/2006 12:37:34 PM
I am new to .NET and I'm trying to move data from a local database to a
remote database. The only way to access the remote database is through a
web server. What I want to do is pull the records I need from my local
database and pass them to a web page which will loop through the records and... more >>
web service custom exceptions: SoapException.InnerException
Posted by asanford at 3/10/2006 10:26:29 AM
http://msdn2.microsoft.com/en-us/library/ds492xtk.aspx
Is this the following excerpt from the above page incorrect, or is there a
bug in the .net 2.0 implementation? Or perhaps I have something configured
wrong. Basically, the doc says that when a custom exception type is thrown
from a web... more >>
Calling XML WebService VB.Net from C++
Posted by leonard.guillaume NO[at]SPAM gmail.com at 3/10/2006 10:02:33 AM
Hi guys,
I configured my MFC project so that it can call few webservices I made.
The web services are in VB.Net and are using few namespace such as
WebClientProtocol which I need in MFC. Let's me explain.
My MFC can connect to 2 diff=E9rents servers, 1 which is LIVE and the
other is for... more >>
Generic WebService
Posted by Bala Nagarajan at 3/9/2006 3:07:50 PM
Hello,
I am working with a webservice developed by my team some time back
and found a problem with it. All the web service methods returned a dataset
instead of a more generic object . Clearly this is not the best way to
develop a web service because it is so tightly coupled that onl... more >>
Best Practices for Error Handling
Posted by Max André Bündchen at 3/9/2006 1:14:53 PM
In a WS, when the app try to delete a row but that broke a constraint, the framework reports a error. Very nice. But what's the best
approach to return details about the error generated accross the WS to the final client?
There's a official pattern from Microsoft for that?
... more >>
Basic question: Keeping state in webservices
Posted by Frederico Pissarra at 3/9/2006 10:36:55 AM
Is Session object present in an webservice app?
Is it possible to instantiate a class and expect that it is available
between calls? (f.i: I have method1() and method2(). In method1 I create an
object and I want to use it in the call of method2()).
I know that it is probably a very basic que... more >>
compiling webservice using csc.exe
Posted by Nadagouda at 3/9/2006 8:42:43 AM
if i build using visual studio no problem everything works great.
if i use csc.exe to compile webservice, and everything works fine. except
writing to log.
i have some code in global.asax and also trace entire webservice which
writes to the log
global.asax
Trace.AutoFlush = true;
... more >>
m_safeCertContext is an invalid handle
Posted by asairam NO[at]SPAM gmail.com at 3/9/2006 7:54:57 AM
Hi,
I am trying to add a webreference to one of our webservices running on
SSL. I got the following error :
There was an error downloading
'https://server/mywebservices/myservice.asmx'.
The underlying connection was closed: An unexpected error occurred on a
receive.
m_safeCertContext is... more >>
Cross Threading error on Wesbervice Completed Event
Posted by m.lancashire at 3/9/2006 7:08:49 AM
I have a dotnet 2.0 web service method that I execut asynchronously using the
auto generated method.
I catch the event using this
Private Sub Event_Completed(ByVal sender As Object _
, ByVal e As MyService.EventCompletedEventArgs) Handles
m_MyService.EventCompleted
me.tex... more >>
Packaging Web Services
Posted by bholemaharaj at 3/9/2006 6:58:29 AM
Hi,
I am new to the web services. We have a web application that we package and
sell. In our next release we want to use web services which will run on
client's web server and client application potentially on a different client
machine. I am having issues referencing the web services used ... more >>
need help desperately. The underlying connection was closed:
Posted by Karl Prosser at 3/8/2006 11:50:35 PM
i'm having a very strange problem, i've been fighting it for more than 3
weeks. I am using WSE 3.0 t ocall a third party website, but when i call a
method through the proxy object i get NO RESPONSE at all just this exception:
The underlying connection was closed: An unexpected error occurred ... more >>
How .NET web services client handles exceptions from Java web services?
Posted by John at 3/8/2006 11:47:40 PM
I have WSDL file with <wsdl:fault> element. When I use Websphere WSAD
to generate Java proxy classes from WSDL, I am able to see the custom
exception classes that correspond to the <wsdl:fault> element.
However, when I try to do the same thing using wsdl.exe or add web
references in Visual Stu... more >>
How can I abort asynchronous web service ?
Posted by Thanapol R. at 3/8/2006 7:43:27 PM
I use .NET framework 2.0, and I want to cancel async. web service.
I tried to use "CancelAsync (object userstate)", but the web service is
still running.
This is my example code.
----------------------------------------------
MyService ws = new MyService();
ws.function1Completed += new
... more >>
nullable types and the wsdl generated by Studio 2005
Posted by Andy Babiec at 3/8/2006 3:43:43 PM
Assume I have the following web method...
[WebMethod(Description="Get rows from xyz filtered by the ParentID
column.")]
public xyzStructure StructureProvider_GetByParentID(System.Int32?
parentID, int start, int pageLength)
{
return StructureProvider.GetByParentID(parentID, start, pageLengt... more >>
Is WSE 2.0 compatible with .NET 2.0 ?
Posted by Shawn at 3/8/2006 2:53:05 PM
I have installed WSE 2.0 SP3 and if I right-click my project in VS 2003 I
get the option "WSE Settings 2.0". I don't get this option in VS 2005.
Does this mean that WSE 2.0 is not compatible with VS 2005 and .NET 2.0 ?
Thanks,
Shawn
... more >>
Odd Ball Situation
Posted by Steve Repp at 3/8/2006 2:29:26 PM
Never seen anything like this. I have a C# app on the web that executes as
expected, except for one subdirectory.
In this particular subdirectory, the application fails to execute the C#
code and just returns the code as static HTML.
No compilation errors. No missing refs.
No idea what co... more >>
Publish/Subscribe Web Service?
Posted by gregory_may at 3/8/2006 11:44:51 AM
I am looking for a publish/subscribe mechanism for .Net/Atlas. Does this
exist? I need to make web service callbacks to clients when specific events
happen.
It almost sounds like RSS, but I am not sure if there is a better fit?
... more >>
|