web-services

Slow server script makes IE stall

I am working on a php web application which involves calls to 3rd party web services. Recently I've run into problems because some of the web services are slow and/or time out. (When this happens the service throws an error after 5-6 minutes, which is handled by the web application) However, the problem arise that while waiting for the...

How to see what Axis2 sends and receives?

I have Axis2 created web service client. This service uses both SSL and WS-Security so I use rampart. I think that my client sends correct query, but I got exception: org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security at org.apa...

Synchronicity of web service calls

Are web service calls synchronous or asynchronous by default? How is synchronicity determined, by the service or by the client? I have code similar to the following: try { string result = MakeWebServiceCall_1(); // this is a third party webservice MakeWebServiceCall_2(result); // another webservice which must happen *after* th...

Weird problems on iPhone simulator but not device?

I'm having some problems with the iPhone simulator that don't seem to be occurring on the device. I have made a web service reference class with a bunch of static methods so different calls to a web service can be made from all over the application. The methods themselves contain a lock so only one request will be performed at a time. ...

need help in webservice

Hi All, I am new to webservice first i used eclipse for consuming a third party free webservice "http://www.webservicex.net/stockquote.asmx?WSDL" tested the webservice successfuly the following java files are created in my src folder StockQuote.java StockQuoteLocator.java StockQuoteSoap12Stub.java StockQuoteSoap.java StockQuoteSoapStu...

how send a class Instance to web service?

I want to send a class instance to my Web Service(ASP.NET - C#). How can I do? ...

Using local class in web service

I have a web service that accepts and returns a custom class. The problem is that the Form that calls the web service method requires instantiation of the webservice.myClass instead of the local copy of the myClass? For example: **myservice:** class myclass { ... } class myservice { [WebMethod] public void mymethod(myclass cls) { cls.x...

System.Net.ServicePointManager.DefaultConnectionLimit and .MaxServicePointIdleTime

When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequests that I make? System.Net.ServicePointManager.DefaultConnectionLimit System.Net.ServicePointManager.MaxServicePointIdleTime Are ServicePoint objects specific to a domainname or each unique URI requested? ...

Web Services: Secure? Asp.net

Hey there, Something I can't wrap my head around is how secure web services are. For example we're writing a desktop application that will interact with data on one of our websites as well as local data. This data is sensitive though and the last thing we want is anybody calling the web services. I've not yet found anything that sa...

How to fetch client-side certificate in restful web service (Java & Jersey) without Servlets?

I want to access the "subjectDN" from the client-side certificate, i.e., fetch the user data (common name, email, etc) from the certificate, but am not interested in the authentication part. If I would use a servlet, I understand that I can read the certificate sent in the request header using something like (X509Certificate[])request....

Has anyone parsed Wiktionary?

Wiktionary is a wiki dicitonary that covers many languages. It even has translations. I'd be interested in parsing it and playing with the data, has anyone does anything like this before? Is there any library I can use? (Preferable Python) ...

Webservices (wsdl) and phpunit

Hi, I have some needs, for a specific test type: I would like to check through phpunit tests, some webservices state, in a first time, and the file parsing, in a second. I use Symfony and SFphpunit plugin, but didn't find tools in phpunit library which can help me to do it. I'm write, or anyone has an answer? Thanks, Yan ...

How can I unit test a servlet with a request that just consists of xml content

I'm trying to unit test a java WFS web service implementation. The service can accept requests containing KVP params such as: http://www.someserver.com/wfs&amp;SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=InWaterA_1M or it can also accept a request containing an XML fragment such as <?xml version="1.0" ?> <...

Service, but no WSDL

I have to get data from a web service, but they do not publish a WSDL file. My SSIS component won't work without the WSDL. Is it possible for me to create a WSDL file for someone else's Web Service? ...

wsdlc Ant task ignores constraints

Hi all, I'm attempting to create a web services project using eclipse with the Oracle Enterprise Pack. When generating the web services from a WSDL document using the wsdlc Ant task, all the restrictions/constraints in the WSDL are completely ignored. Is there a way to generate POJO's with built-in constraints such as minoccurs=1 or f...

Generating Web Service (WSDL 1.2 or higher) from Parametrized class in Java (Apache CXF, Axis 2)

Hi guys I have an abstract class that looks as follows. public abstract class Entity<PK extends Serializable> implements Serializable { private PK id; //getters and setters generated here.... } public class User extends Entity<Long> { //all attributes, getters and setters are done here... } My Service looks like this ...

A pointer in the right direction

I have been developing a Mac Desktop app with an iOS device counterpart. Basically I want to upload event information (music gigs etc.) from the Desktop to an online database and be able to read (only) the information whilst mobile. I've got both apps working, using Core Data (with a sqlite database - I was going to use XML but the iOS ...

ASP.NET an asynchronous WebService ? Is it really asynchronous ?

Hi, I invoke a server side method (by jQuery's $.ajax) which invokes an asynchronous WebService long-running method. The problem is, that while that long-running method is not complete, I can't get the progress of that method for my progress bar. Why server waits until the method completes ? [Solved] ! ThreadPool.QueueUserWorkItem(...

Implicit "Authentication" of Client Service Requests

Although algorithmic security is normally to be avoided, I'm interested in a means for agent / client software (running on Windows under the local system account) to authenticate itself to a REST web service: without relying on PKI without relying on the user's account (agent code is "local system") In short, I'm attempting cheaply t...

FireEagle - Retrieving current location

Hello there, I've just found about yahoo's fire eagle and it seems to be a great tool for location services But I'm struggling to find is it's indeed possible to retrieve users location without any input just like one of the apps listed on their gallery which is the http://mapme.at/ app where you can see the "We think you are here:" wor...