web-services

Creating External Monitoring for a web app

Hello, The company I work for built and hosts a web app used by our customers and I am interested in creating some kind of external monitoring page (similar to trust.salesforce.com) that users can go to to see the current state of our servers/app. I know there are tons of different 'monitoring' services out there but I want to create th...

WSDL.exe generated client gives: Unhandled Exception: System.InvalidOperationException: There is an error in XML document (...)

I have a WebService that returns complex objects. public class Resource; public class Asset extends Resource; public class Collection extends Resource; The methods that return the subclasses work fine: Asset[] getAssets(); Collection[] getCollections(); However the methods that return the base class are generating an exception...

How do I access a .NET GUI application through a Web Service?

Howdy, I've been searching for a while for an answer to my problem but so far have found no reliable links. What I'm trying to do is this: I've built a Windows .NET GUI application. I'd like to be able to access the functionality of the Form Controls through a Web Service. Are there any good links on how to do this? Thanks for your hel...

What is the best java webservice framework?

I currently use Apache Axis. But I am creating a new project in Intellij IDEA and I have the option to add one of the following: 1) Apache Axis 2) Glassfish /JAX-WS 2.x RI / Metro 1.x / JWSDP 2.0 3) Restful Web services I am choosing Axis because it's the one I am used to, but I am still wondering if it's the easier option. ...

Problem regarding consuming php web service in c# Desktop application.

I am developing a c# desktop application and using a webservies which is developed in a php application when i try to consume that application. I just add web REference of that web service and try to access throught the following code WebReference.TestWSDL pdl = new testingApp.WebReference.TestWSDL(); string copy = pdl.verify("testing"...

No Security header in message but required by policy

Hi I encounter this issue. Anyone got any idea? How can i pass in the security header in visual studio 2008 project? Thanks in advance! The security header portion in the WSDL file : <s0:Policy s1:Id="Auth.xml"> <wssp:Identity xmlns:wssp="http://www.bea.com/wls90/security/policy"&gt; <wssp:SupportedTokens> <wssp:Se...

Impersonation and NetworkCredential

I need to pass a NetworkCredential object with the credentials of the currently impersonated user to a web service from an asp.net application. My code looks like this: WindowsIdentity windowsIdentity = HttpContext.Current.User.Identity as WindowsIdentity; WindowsImpersonationContext context = windowsIdentity.Impersonate(); try { va...

How to get list of aspects in the systems

Does one can recommend me how to get list of aspects in alfresco using java web-service API. Thank you. ...

Gettin this error "Custom tool error: Unable to create DiscoveryClientProtocol from reference map file"

I am trying to open my project (that is in ASP.Net 2.0 ) in VSTS 2008. Earlier i used VS 2005. When i try to build the project it gives me the error "Unable to create DiscoveryClientProtocol from reference map file"? I tried to figure out this error and found that there is some problem with web reference to the web service i am calling. ...

Exception while calling an ASP.NET Web Service using WCF

I have a WCF client which calls an ASP.NET web service in a different project. I get the following error message: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction http://localhost/IMyWebService/MeMethod Web Service code: [WebService(Namespace = "http://tempuri.org/")] [WebSe...

Call webservice through Javascript

Hello, I am calling websevice through javascript by using SOAPClient and its working in Internet Explorer But not working in Firefox. Actually Its working in firefox also when a webservice within same folder or same project. But it not working in firefox if the webservice is not within same project. For Internet Explorer it works in ...

JAX-WS - Map Exceptions to faults

I am using JAX WS to expose a WebService. Some of the operations of this service can generate exceptions. Not internal server exceptions, but rather exceptions that are dependent on the input arguments of the operation invocation. If I specify that my operation throws a custom Exception, like so: @WebService @SOAPBinding(style = Style...

Including webservice function in aspx file

I read an article some time back that explaind how I could add a webservice function to my aspx file for my ajax callbacks to call. Now I can't find this article or any other documentation on this. Anyone using this and can you explain how to do this? Thanks Endre ...

Web Service .net 2.0 , deploying and consuming

I created a separate web service project using VS 2005. My first question is can I add more than 1 service (asmx) files and use them in single webservice project? How can I publish them and use/call/consume them from different websites? (I know how to use them when they are in same project but different project is bit confusing)...

Passing server-side objects from one JSP page to another

I know that I can use the getParameter() to pass client-side objects, but I am wondering what to use to pass server-side objects like I do with the getParameter. I have seen the getAttribute but do I need to use the setAttribute on the first JSP page and then the getAttribute on the second page. Any help would be greatly appriciated. ...

Intermittent webservice error

My webservice produces a "Service not available" error first, then when I restart the IIS service it works. When i checked the eventlog I found this error concerning ASP.NET 2.0.50727.0 Event code: 3005 Event message: An unhandled exception has occurred. Event time: 1/13/2010 5:31:02 PM Event time (UTC): 1/13/2010 10:31:02 PM Event...

WSE3 Destination vs URL

I have a vendor telling me that the SOAP header should not have https in it, but that we can still communicate via SSL. Our concern is that we want to communicate via SSL and that their sample code is causing it not to happen. In their sample program, they provide this code: if (valservice.Url.StartsWith("https")) { ...

Why is the content of the parameters i recivewith soap NULL?

Hi, I've written a java application with a soap interface. When I call a method on this interface with certain parameters, the parameters I receive in the method are all empty/NULL except the first one. What could be the reason for this behavior? A tcpdump shows that the whole soap request with the correct parameter values is received ...

One web service per module, or one web service overall?

I'm doing a flex application that has tons of screens (each very different, can't reuse :( ), and tons of web methods in .net. is it correct to create one .asmx per module, or should I stick to one big .asmx Would there be connection or IIS problems? thanks ...

Flex HTTPService Error

I am creating a Flex application and am using an HTTPService to retrieve XML from an asmx web service. This web service needs one string parameter. This parameter contains multiple options separated by ~ and parsed apart. This web service works with a limited length of string, otherwise an error is retrieved if the string is long enou...