web-services

Are there documentation tools for SOAP web services?

Many tools are available for web service designing, programming and testing, commercial and free. But what is available in the area of documentation? Are there tools which can parse a WSDL and then generate a 'human-readable' documentation in HTML (or PDF)? ...

Web Service error which is solved by reboot or re-registering asp.net

Hi to all, We have a web service (c#/.net 3.5/asp.net 2) which after a couple of weeks of use gives a message "System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: Could not find file 'c:\windows\Temp\xxxxxx.dll'" where the filename xxxxxx.dll is a random string which c...

Get "Correct" Created field for version of file in Sharepoint

Hi All, I've just encountered what appears to be a really annoying "feature" in SharePoint (it may be by design, but the scope of that is probably beyond this question). I am helping to develop an application that retrieves files and their version history for specific files stored on SharePoint. This information is uploaded to a data ...

How do I get a WSE 3.0 web service to impersonate my client's identity?

I have a WSE 3.0 based web service running in Windows Server 2003 under IIS 6.0. I want the web service process to impersonate the client user that sends the web service request, however the service is not impersonating the client. The web application has its own app pool, which is currently set to run under the Network Service identity...

Inherited properties do not appear in soap sample on asmx file

I have two classes, WebServiceRequest and OrderRequest. Each class has properties. OrderRequest inherits from WebServiceRequest - like so: public class WebServiceRequest { private string mAuthenticationToken; public string AuthenticationToken { get { return mAuthenticationToken; } set { mAuthenticatio...

Do you use ServiceReferences in LoB applications?

Do you use auto-generated WCF service references in line of business applications? Or do you roll your own? And why? EDIT For anyone looking to roll their own, I found this article which may prove useful: Understanding WCF Services in Silverlight 2. There's another article on the site for Silverlight 3 which may be a useful additio...

detecting undisposed web service calls (ASP.NET)

I'm inheriting a legacy project, and there's a page that calls a method that makes a web service call. Load and performance testing has detected that this page sometimes takes a really long time to close, but usually it's fine, and if there is one hanging, all other requests for that page hang until the first one resolves, and then they...

Asp.net (c#) and a JEE 5 webservice

We have a asp.net app that talks to a pretty complex JEE 5 web service. Everything works fine except when we throw an exception. We throw a simple exception without any inner/orig exception, but we get this message on the .Net side. Additional XML content is present in the fault detail element. Only a single element is allowed. Work...

Bad http connection (400) from Simple Native Iphone App to test .net Web Service

Dear all, I have written a simple hello world .net web service which will accept 2 parameters and return the parameters as a string. The web service is hosted by IIS on a windows xp pc. I am able to access the web service using safari on the iphone simulator, successfully tested the operation using HTTP POST by clicking the "invoke" bu...

Using Rich Text Box with Infopath and Webservices

I would like to retrieve and submit data that contains Rich Text to a webservice but I am having problems with the particular datatype on the webservice side. If I have a simple string type coming from the webservice, infopath will not allow a RTF box as it is not the correct datatype (which is XHTML). Anybody have any Ideas? Edit: St...

Return generic type in a WebService

I'm green hand in web-service. I wrote a generic class as a value holder like this: public class SearchResult<T> { private List<T> resultSet; } Then I write a web-service method: public SearchResult<Book> getSearchResult(){ ... } When I was using maven-jaxws-plugin to generate client files, I found that the generic type inf...

Does myAssembly.xmlSerializer.dll always get generated?

Hi, I have a web service that does not use any xml attributes for serialization. I just return a string from the web service. In this case, does a serialization dll get created? The reason I ask is I keep seeing c:\windows\temp\xxxxx.dll (where xxxxx is a random sequence of characters) every couple of weeks the web service is running. ...

Bad Request (400) when calling a method using SSL on a web service hosted by IIS.

I connect to my web service, which hosted by IIS 6, using certificates and SSL, and for some reason, I get 400 (bad request) error code. When I looked on trace.axd, I can see the POST request, but I cannot see the true reason for the error. I have some questions: 1. If I see the post request, can I be sure that the problem isn't with SSL...

ASP.NET WebService: Authentication failed. ExceptionType":"System.InvalidOperationException"

Hi , I have got a textbox and Ajax autocompleteextender in my web page.I have no problem at local Dev Machine.When i upload this page to remote host getting "Authentication failed. ExceptionType":"System.InvalidOperationException" this error. Here is my codes ; <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1"...

java bean to wsdl - how to make fields nillable?

I'm using JAX-WS api for wsdl generation. Java-bean class is something like: public class MyBean { private String nullableField; private String notNullableField; // and here appropriate get/set/ters } When wsdl is generated then nullability of this fields is not specified. Question: what (and where) necessary to specify...

Tell if user exists in SharePoint Group through web service

I am working on an internal web application that will use predefined SharePoint groups for determining a user's security level. I have done some research and found SharePoint's "usergroup" web service which has the method "GetUserCollectionFromGroup()" which will list all of the users in a given SharePoint group. The problem I am hav...

Returning and Sending data from an ASP.net Web Service

Hi, At present, we have a number of web services where when we send data to them, we send it as a string which is an XML block and the web service parses and does some work. Similarly, when we need data from a web service, we are returning a string which is again an XML block which the client application parses. Are there disadvantage...

Blackberry - Is this a guaranteed approach for detecting a valid connection type?

I've created following two methods for reliably building a connection for making a data connection. So far I haven't had any issues testing this approach with users. I'd love to get some community feedback about this approach and letting me know if anything seems in buildConnectionString(). Please see code below: private static String ...

"org.apache.axis2.AxisFault: unknown" when calling web service with Java

Hi, I'm trying to call a web service with a Java client. The WSDL looks like this: http://pastebin.com/m13124ba My client: public class Client{ public static void main(java.lang.String args[]){ try{ CompileAndExecuteServiceInterfaceStub stub = new CompileAndExecuteServiceInterfaceStub ...

Compress Object/String through webservice and consume in .net compact framework

We need to compress (or rather uncompress) some data we send to a pda client using a webservice. Below I have a simple concept that will work if consumed by a regular .net app. Unfortuantly, as the compact framework doesn't have the IO.Compression classes we can't see how this is possible without writing our own compression algorithms...