web-services

Tomcat timeout in seconds???

Hello, Can someone please tell me how to set Tomcat timeout in seconds? as far as i know it can be 1minute at minimum.... thanking in anticipation.. ...

Authentication Problem

Hi, I have one project in asp.net using httpModules. But i got one exception while debugging, the error shows like this: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. I don't know whats the problem in my code, i refereed many ...

Should I add a service reference or a web reference?

I could not think of a better way to title this question. my apologies :) Anyways, so I have been given a url to a service that I am to consume. There is no information that I have on this service as yet, and so before I ask the clients any dumb questions, I want to know if it really matters if I am consuming this service by adding it t...

REST WebService to serve images dynamically?

Consider 3 Jpeg files image1.jpg image2.jpg image3.jpg For a given URL and a set of parameters, I would like the server to select and return one of those images. I'm working in a JEE6 environment. What approach would you recommend? A JSF redirect? A REST WebService? A good old servlet? ... ? Any suggestions welcome! ...

Wrapping a .NET WCF service proxy class in a USING { } block?

Quick question, but is it best practice to wrap a service proxy class in a using statement? Meaning, in VS, we generated a proxy for a WCF service. For the service class, should it be wrapped in using? I don't believe it implements IDisposable and there is no Dispose() method. Thanks. ...

Accessing a SOAP Webservice using PHP containing a complexType in the WSDL

I want to make a call to a webservice of which I only have the WSDL file. I'll list the important bits from the WSDL file with context sensitive names replaced by general ones: The function I want to call: <wsdl:operation name="myFunction"> <wsdl:input message="ns:myFunctionRequest" wsaw:Action="urn:myFunction"/> <wsdl:output mes...

Consume ASMX Webservice From Classic ASP Using SOAP Client 3.0

Hi, I made a webservice in VB.Net with a method returning a custom class or object. <WebMethod()> _ Public Function CreatePerson(ByVal LastName As String, ByVal FirstName As String) As Person Return New Person(LastName, FirstName) End Function Public Class Person Public Sub New() End Sub Public Sub New(ByVal LastNam...

WCF communication with java web service

Background I'm primarily a .Net developer with limited experience in Java. I have a WCF web service that needs to communicate with a 3rd party Message Queue Server in order to send and receive files. The 3rd party has provided a Java API in order to access their Message Queue Server. I've done some research into the best way to mo...

Webservices with song recognition

Hi I would like to make an app which uses Webservices to recognize the song/melody of given wav file. Is there some avaible webservices? Or maybe there are some databases and I need to make my own. sorry if question does not fit the SQ. ...

What are WSDL, SOAP and REST?

How do I simply understand wsdl's? Seems very complicated. How is it related to soap? Where does rest fit in all these? Please give examples. ...

Accessing the registry from a web service

I've been having difficulties accessing some (but not all) registry keys from my web service. I therefore assumed (and confirmed with some research) that there are some security restrictions on accessing the registry. Is there some code or change in the configuration I need to do specifically in my C#.Net application? Specifically, I ...

web service client gives: String is referenced but not defined error

Hi All, After I generated client stubs for my web service. I tried to access the web service through the client and during run time it gives the following error... java.io.IOException: Type {http://myurl_here}String is referenced but not defined. at org.apache.axis.client.Service.initService(Service.java:250) at org.apache.axis...

Question regarding web services security

Hi All, I would just like to know how the service.jks Transport level security being handled. Let's say I have 100 clients. Do I need to create 100 service.jks unique for each the clients? Thanks ...

Silverlight client access policy problem.

Hi, I have a wcf webservice which I call from my silverlight application, using https, and it works fine without any problems. Now I got to add a new reference to an old service (soap/asmx) from the silverlight client which went ok. Then when I tried to access the service, I get the following errors: An error occurred while trying t...

Why use SOAP over JSON and custom data format in an "ENTERPRISE" application?

Hi all, I work in a medium size financial company where all our applications talk to each other using SOAP and we only use JSON for AJAX requests from web sites. Recently in a new project planning session, someone asked me why do we have to use SOAP for inter-application communication? Why not use JSON or even custom data format? In my...

Do large "in-house" enterprise web application run over SSL on the LAN?

Inside of large companies, is it standard practice to use SSL (e.g. https) for running corporate apps over the LAN. I am thinking of ERP systems, SFA systems, HR systems, etc. But I am also thinking of SOA...web service providers and consumers. In other words, is there any concern that something on the LAN could be sniffing plaintext ...

How to create client and service keys programmatically.

Hi, I am currently developing an secure web services using axis2 and rampart. I am having difficulties how to create a client and service keys pro grammatically. any help would be very much appreciated. Thanks. ...

How to dynamically configure rampart on service side

Hi, how can i dynamically configure rampart on the service side? I mean I'd like to use different service keys for different clients. Any hint or link to a tutorial is a big help. thanks ...

Simulating calls made by Silverlight to the server

I am trying to make an automated test/load test on a Silverlight based webapp. AFAIK, Silverlight uses WCF to make web service calls to the server. Instead of trying to make those web service calls, currently I am considering capturing all http traffic between the browser and the server (using a proxy) and replaying that using a script (...

How can I make a service that send mails every 5 minutes?

Hy, I have a c# program that sends emails with GMail SMTP server and I want to make a service or something running behind that sends this emails every 5 minutes. Does anyone have any idea how can I make this with c# and asp.net? ...