I'm busy writing a class that monitors the status of RAS connections. I need to test to make sure that the connection is not only connected, but also that it can communicate with my web service. Since this class will be used in many future projects, I'd like a way to test the connection to the webservice without knowing anything about ...
Hi,
my code is providing an access to our web service.
WebProxy proxy = new WebProxy(ProxyURL, ProxyPort);
proxy.UseDefaultCredentials = false;
NetworkCredential nc = new NetworkCredential( ProxyLogin, ProxyPassword);
proxy.Credentials = nc;
myWebService.Proxy = proxy;
My problem is that customer doesn't know ProxyLogin and ProxyPas...
we have DotNet webservice which is being called by two clients , one a dotnet client and other a javaclient
The problem is java client is taking longer time in processing the results when compared to dotnet client and affecting the performance greatly , i'm using axis in java
Is there any know issue with axis regarding my situation her...
In the past I have needed to create custom SOAP headers in a C# project that was using an imported WSDL web reference. I found a way to do it but I was never happy with it and I have sense wondered if there was a better way. What I did was create a header that derives from SoapHeader:
[System.Xml.Serialization.XmlTypeAttribute(Namespace...
I am working on cleaning up a bug in a large code base where no one was paying attention to local time vs. UTC time.
What we want is a way of globally ignoring time zone information on DateTime objects sent to and from our ASP.NET web services. I've got a solution for retrieve operations. Data is only returned in datasets, and I can...
Hello all,
I am simply wondering how to write a Web Service (XML - SOAP) for Google App Engine? I am really new with Python and I have been looking for example for a while, but no chance.
Does anybody could point me out any article or simply could give me an example of a Web Service in Python with Google App Engine?
Thanks!
...
Hello All,
I haven't really looked into the new .NET stuff since 2.0, but I'm wondering what the preffered way is for creating Web Services is now (SOAP, not RESTful). I remember in the old days, you created a ASP.NET Web Service. Now, I've been looking at WCF, but it seems like there's some added complexity.
I've GOOGLED for some ...
What is the best book to learn web services? With a view to Java and Oracle.
SOAP, WDSL and stuff, possibly BPEL.
...
I have a Axis2 web service secured using Rampart. I do want to develop secure clients for it, preferably JAX-WS based. I tried a lot of tutorials but they are so closed tied with each other, like including Axis2 libraries in the client side. The client should be fairly independent of the WS service framework, as the service can be consum...
If host my WCF services in IIS7 or WPAS, is it possible to load up two or more services into the same AppDomain so that they can share static variables?
...
Hello All,
I'm building a traditional ASP.NET Web Service -- the style built using asmx. It's a pretty simple service. I started using the new Ado.NET Entity Framework for my persistence layer, and I'm running into some problems:
1) I don't like the WSDL that gets automatically generated -- the complex types were getting defined as...
Hello,
I know with ASP.NET there's a global handler Application_EndRequest handler where I could change the Context.Response.StatusCode, and set it to 200 which is my desire.
Now with asmx Web Services, I'm not really sure where I'd put this logic in. I know I'm definitely not interested in writing an ISAPI Filter, and I'm not really...
In an webservice I see this code:
Whats the point of catch the exception and just throw it again? Do I miss something?
<WebMethod()> _
Public Function dosomething() As Boolean
Try
If successful Then
Return True
Else
Return False
End If
Catch ex As Exception
Throw ex
End...
I have a WSDL file defining the interface for a web service and I want to implement that service (i.e. producer/server code) using C#, ASP.Net and Visual Studio 2005. Setting up a Web Reference as consumer of a web service is a breeze, but as a producer isn't as obvious.
In the java world there is wsdltojava. Is there something similar ...
I am trying to send an anonymous object over a web service. Is there anyway I can do this without manually creating a class and casting it to that class? Currently its throwing an exception saying Anonymous object could not be serialized.
// Some code has been removed here to simplify the example.
[WebMethod(EnableSession = true)]
publi...
I would (as the question states) like to make an asynchronous call, preferably using ASP.net AJAX.
The code for the WebMethod looks like this:
[WebMethod]
public void SendMail(string name, string email, string subject, string body)
{
MailMessage toSend = new MailMessage(email, [email protected], subject, body);
var smtp = new Smtp...
the web layer is coded in asp.net with pages marked as async. Yes, the recommended way to code for aync is using the RegisterAsyncTask
I have a problem now - there are a few pages that have used AutoResetEvent and ManualResetEvent for aync and not the standard RegisterAsyncTask.
Would these objects servicing the async calls, use up th...
We are working with tomcat + axis2 + POJO for web service implementation, and we encountered some issues with POJO and axis2 that are a show stopper for us.
It seems that axis2 and POJO implementation of SOAP parsing ignores the names of the xml elements and just assign values to the arguments according to the order of the xml elements i...
Hi,
I have a problem with a oneway web method that open a moss site (probably because in a oneway webmethod the context is null)
Is possible to rewrite this code to remove the null reference exception? (without the oneway attribute i don't have the exception)
[SoapDocumentMethod(OneWay = true)]
[WebMethod(Description = "TestOn...
Our development process is highly automated via a raft of bash and php scripts (including subversion hook scripts.) These scripts do a number of things to integrate with our Bugzilla 3.0 installation.
But the current integration approach is a bunch of SQL calls which update the bugzilla database directly - which obviously has a number ...