web-services

Running a silverlight app and web service in a single ASP.NET Dev Web Server?

I have an existing silverlight application that I'm now adding support for calling a new web service. I've added the (WCF) web service project to the same solution as the silverlight app. When I start debugging the silverlight application Visual Studio will start two separate ASP.NET web servers (WebDev.WebServer40.exe, the one that run...

JSON security and encryption

I'm just starting to really get into JSON as a tool for my sites. I was showing my friend how I am calling a WS and returning the data, and he asked me about security of passing JSON data to and from a web service as he saw the data from the "POST" (via Firebug). Many of our public facing sites deal with member information and contai...

getting data using javascript

how can I get this exchange rates from a web service using htm and javascript? Dictionary Türkiye = Turkey | Dünya = World | Son güncellenme = Last updating date ...

Is it possible to configure JAX-RS method with variable number of URI parameters?

Hi, is it possible to configure GET method to read variable number of URI parameters and interpret them either as variable argument (array) or collection? I know query parameters can be read as list/set but I can't go for them in my case. E.g.: @GET @Produces("text/xml") @Path("list/{taskId}") public String getTaskCheckLists(@PathPara...

Spring-WS SecurityInterceptor operation level

Hello, I have a Spring-WS service using PayloadRootAnnotationMethodEndpointMapping that has several interceptors: <bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping"> <property name="interceptors"> <list> <ref local="loggingInterceptor"/> <r...

Secure authentication without SSL?

I am creating a web service for end users which will have a front-end in the form of an Adobe AIR desktop app but users will be able to access their data through the website too. User's data will be synchronized between the server and the local data store. The problem is that I cannot get an SSL certificate. Is there a way to make this m...

Mutual authentication between asp.net and WAS application (Java)

I'm building a .net application that needs to consume a WAS (Java) based web service using SSL and mutual authentication. Any pointers on how to go about doing this? I know that somehow I need to create private and public certificates for both the server and client and that I need to install the public certificate for the server somewh...

how does one consume wealthengine webservice with visual studio via https?

Their wsdl is here https://www.wealthengine.com/ws2/search?wsdl I can connect via http, and work with this WS, however when I change the link to https, It can't connect to this service. Here is the error I get. There was an error downloading 'https://www.wealthengine.com/ws2/search?wsdl'. The underlying connection was closed: ...

What are good sources for virus signature data

I there any website which can provide a antivirus definition database to create a new antivirus software. ...

Silverlight and Session

I have a silverlight web application that maybe open for days. It uses a legacy web service that uses session... How can I keep the session of the web service alive as long as the Silverlight appication is alive.... Good times ...

Extract Exchange 2007 Public Calendar Appointments using Exchange Web Services API

We have a public calendar for our company set up in an Exchange 2007 Public Folder. I am able to retrieve my personal calendar appointments for the current day using the code below. I have searched high and low online and I cannot find one example of someone retrieving calendar information from a Public Folder calendar. It seems like ...

Error in calling web method.

Hi all, While I am calling the web method in my .net application. Getting exceptions like: Unable to connect to the remote serverSystem.Net.Sockets.SocketException: No con nection could be made because the target machine actively refused it 127.0.0.1:8 Some body pls help me to fix this exception. ...

How secure are hidden authenticity tokens in twitter's oauth clients' web UI ?

Assuming that you already have created an oauth client app in twitter, you can go to http://twitter.com/apps to manage them. When I viewed the source of the HTML pages, I see that they use a hidden form parameter called an authenticity token in their form definitions. <form method="post" id="sign_out_form" action="/sessions/destroy" sty...

c# client application can't consume tomtom connect webservice

Greetings, i have to write a windows application in c# which is able to consume said webservice. I am using VS2010 with .Net 4 I added the service reference and the code compiles without any error, but when i run it i get a ProtocolException with the text: The content type "multipart/related; type="application/xop+xml"; boundary="----...

Performance concern with web service

Hi all, I'm working an application that periodically fetch data from a web service. The problem is, the web service does not expose a method to fetch data with a range of time. So I have to fetch all the data and drop the out-dated entries. I think this will be a problem when the scale of return data become large. Is there anyway to enh...

How to exclude stacktrace from axis2 fault response

Hello experts! I have an Axis2 web service which throws different detail messages in the fault response to signal problems in the call. At some point, due to server errors (others than the ones treated by the web service), in the fault detail string I get the full stacktrace of what happened. I do not want the client to see the stack ...

Get xhr object in vb.net while ajax calling fails.

Hi Dude, I have a big problem in jQuery.ajax call. I am calling the web service whenever click the update button. I have a separate web service class, in which consist of few methods. When I calling the web service method, I have made the error handling and log the error information in db after that I have to override the “ex” that mean...

Attaching Message Log Handler to Axis2 client stub

Hi I have the following scenario: I have a third party Web Service written in C#, and I have generated the client stub using WSDL2Java using ADB as data binding method. Everything works fine till now. However What I am trying to do is to attach a handler/module to the client stub which gives me the possibility to log the request and res...

Any good books\tutorial on XML-based APIs, REST, SOAP with using Python ?

Could you all please suggest me a good books\tutorial on XML-based APIs, REST, SOAP with using Python Thanks in advance ...

Within CXF, why use any other binding than JAXB? (MTOM attachments, Aegis, XMLBeans,...)

I have been playing around with Apache CXF, in particular the various data bindings it supports: JAXB (the default), MTOM, Aegis and XMLBeans. Since all of these are supported, I suppose each has its merits. I came up with these: Obviously, MTOM is to be preferred where large attachments are involved. JAXB depends on annotations, so it...