What the best/accurate/free service to convert the IP from the following script to country/city/lat/long?
$.getJSON("http://jsonip.appspot.com?callback=?",
function(data){
alert( "Data Returned: " + data.ip);
});
...
I made it work. However, there is a curious detail I noticed.
My Web Service is retrieving data from the database and returns a list of objects:
public List<RunResult> GetRunResults(string runno)
When called from the CF project it is shown that this web method returns RunResult[].
What gives?
am using CF 2.0 and the web service i...
I get the following error when attempting to connect to a web service via SSL.
javax.xml.ws.soap.SOAPFaultException: Unconnected sockets not implemented
...
Hi all,
I've been considering the advantages of REST services, the whole statelessness and session affinity "stuff". What strikes me is that if you have multiple deployed versions of your service on a number of machines in your infrastructure, and they all act on a given resource, where is the state of that resource stored?
Would it ma...
I'm researching the viability of a planned project that is to consume some data from a web server.
Not being an access developer myself I wanted to know:
Is it possible to consume xml from an access database?
Can xml be consumed over an authenticated connection?
Can xml be consumed over an encrypted connection (https)?
What are the 'g...
Hiall,
I am new on this and that may be a newbie question, but there you go, hopefully somebody may be able to help me.
I have a server (SoapUI) answering requests for a WSDL
When sending test requests, my server code is receiving a list of arguments, but I'm trying to achieve is a single argument, of complex type, eg:
{
ingredient_...
Let's say i have the following strucutre
public class Mammal
{
@WebMethod
public ArrayList<Mammal> getAll(){ return null; }
@WebMethod
public String speak(){ return "Unable to speak"; }
@WebMethod
public Mammal me(){ return this; }
}
@WebService
public class Human extends Mammal
{
@WebMethod
public Arra...
I'm building a workflow app to investigate the technology. I can't decide whether to go for a web service (and a technology with which I'm basically familiar) with WebServiceInputActivity's or WCF and ReceiveActivity's (and a new technology that I'll have to learn).
Are there any major reasons to go either way?
Clarification:
Are the...
Is it possible to add or update permission in folder or sub-folder in WSS 3.0 with Web Services?
Now, I created the folder inside list(document library) and the permission inherit from parent but I need to add new permission in folder inside list.
The /_vti_bin/permissions.asmx not allow to add permission in folder level.
How should I...
Hi every one,
I am a new to Axis2 and SOAP. I recently working on a Axis2 SOAP project, I have create a SOAP server and SOAP client by using java and axis2 implementing session scope. The problem is when I send a request, it returns response back only once. I am unable to make web service keep publishing data periodically untill the ses...
Can anyone give me an example of how I can consume the following web service with php?
http://www.webservicex.net/uszip.asmx?op=GetInfoByZIP
...
I'm attempting to consume a HTTP Basic Auth Secured PHP WebService using VB.NET. I've so far managed to get 100% perfect integration by adding it as a Web Reference and doing the following:
Dim Credentials = New System.Net.NetworkCredential("username", "password")
Dim CredentialCache = New System.Net.CredentialCache()
CredentialCache.Ad...
I have an .aspx page that can perform a number of functions. The type of function is determined at run-time depending on which button the user clicks. This makes makes a web-service call to an .asmx method. The web-service call returns html and javascript which then become part of the original page.
This new content has javascript ev...
How specifically can you use the javax.jws.WebService.wsdlLocation in JBoss 4.2.2? (This is for an EJB3 bean deployed as a web service).
There is some documentation around that it is supported, but what exactly is the format? I have tried an http, I have tried a relative URL. How does JBoss look for it, a URL, something on the classpath...
I have a wsdl that has a imported xsd, this xsd has quite a restrictions like this:
<xsd:simpleType name="len_type">
<xsd:restriction base="xsd:string">
<xsd:pattern value='[:alnum:]{4} [\d]{2} [\d] [\d]{2}' />
</xsd:restriction>
</xsd:simpleType>
So I would thind that when I deploy this ear to glassfish via netbeans t...
I'm trying to figure out the best way to minimize resource utilization when I have PHP talking to various backend services (e.g. Amazon S3 or any other random web services -- I'd like a general solution). Ideally, I'd like to have a single persistent connection to the backend (or maybe a small pool of persistent connections) with some ca...
I have a bunch of entity class (generated by Linq to SQL) with a few DateTimeOffset properties in it.
When I send that over the wire as JSON from a .asmx web service, the JSON serializer generates the following JSON:
{"DateTime":"\/Date(1252142834307)\/",
"UtcDateTime":"\/Date(1252142834307)\/",
"LocalDateTime":"\/Date(1252142834307...
Hi all,
I created the J2ME application and I have the web service (developed in Java) that has HelloServiceNMethod() as Web method. it returns the String. Now i want to invoke this web service in My J2ME MIDlet (in Sun wireless toolkit OR Eclipse)
What steps i have to follow.
Please Guide me.
...
Hello,
I have a client program written in .NET 2.0, that connects to the web service.
I used Visual Studio to generate a class derived from SoapHttpClientProtocol,
every method was generated just fine, everything is working.
But - the web service is running only through HTTPS, so I was just wondering, how could I get an X509Certificate...
I'm just about getting into WCF; but from what I've read so far, like the sample scenarios I found on MSDN and some other sites, I can do all that with web services and applications that call those web services. So why the need for an elaborate layer like WCF?
Most of the comparisons I've googled for explain it more from a programming p...