Hi guys,
been wrestling with this for some time. I am trying to access a REST api on my iphone and came across the ASIHTTP framework that would assist me. So i did something like
//call sites, so we can confirm username and password and site/sites
NSURL *url = [NSURL URLWithString: urlbase];
ASIHTTPRequest *request = [[[ASIHTTPRequest a...
hello ,
i'm trying to return a custome object from a web service
object returned only by public fields (variables only not methods)
there are no methods appear in the proxy class
how to call these methods ??
plz help !
...
Hi all,
I need to implement Xoap weather api.
Please help with code.
...
I have been working with webservices for over 2 years now. I have lot to say about services like Soap 1.2, WSDL, the way communication is taking place and 100 of other things.
I have seen people talking about their heavy ASMX background and web services expertize. But, when it comes to implementation I don't find anything but adding a w...
I've got a C# 3.5 web service that works fine when its accessed at http://domain/foo/bar/WS.asmx
The /foo/bar part could change in the future so I want to give people a more stable URL that I could update without requiring any changes from them. I created a site in IIS and set it's Home Directory to where WS.asmx is. Now when I try to...
How do services like TinyURL or Metamark work?
Do they simply associate the tiny URL key with a [virtual?] web page which merely provide an "HTTP redirect" to the original URL? or is there more "magic" to it ?
[original wording]
I often use URL shortening services like TinyURL, Metamark, and others, but every time I do, I wonder how th...
Hello,
We have some legacy JAR files from a vendor that were previously distributed as an applet, but we'd now like to simplify as a web service.
While the code works when I run it natively within my Eclipse IDE, it fails when I attempt to call it from a web service client after exporting it as a WAR and deploying it on JBoss (5.0.1). ...
I have a web service protected by HTTPS with NTLM authentication and I generated a set of java stubs using CXF's wsdl2java tool by temporarily disabling authentication. I am now attempting to use the Java stubs within an applet that connects to the web service with the authentication turned back on. My intention was to edit the Java st...
I have been searching around the web all day for the best way to interface my iPhone application with a Linq .NET SOAP web service.
I think that this project is my answer: wsdl2objc
http://code.google.com/p/wsdl2objc/wiki/UsageInstructions
The software creates several classes. It looks great, but the documentation is very limited and ...
I have received few WSDLs and XSD defining a service that I need to consume for one of my project.
Now here is a similar structure:
*XSD_EMPDetails.xsd* - Define few of the EmployerDetails
*XSD_EMP.xsd* - has imported EmployerDetails xsd and some more attributes. (xsd import)
EMP.wsdl - imports XSD_EMP.xsd (xsd import)
EMPServcie.w...
Let's say I add a web reference to a project), I would instantiate it like this:
MyWebService.MyClass myClass = new MyWebServive.MyClass();
Is there anyway to get the URL of this web service aside from checking the config file, e.g:
myClass.getURL();
at runtime? Does anybody have some ideas?
...
I have a web service where i do different things according to where ones IP is from. I have a simple test application where i open a WebClient and makes it call the web service. I would like to be able to change the IP on the test application so that it "seems" that it comes from different countries (this will help me test goals in googl...
I'm calling a SOAP 1.1 web service that I don't own and it's not strict about returning valid Xml. Specifically, when sending SOAP faults it's ignoring the order of sub-elements that are specified in the for the SOAP schema. The result is that when I call the service and it returns a SOAP fault I end up with a CommunicationException a...
I am trying to find a nice way to implement a text slider (examples: News feed or testimonials) with the AJAX control toolkit and/or JQuery that does the following:
"Slide" (or fade) every few seconds to the next block of text
The text blocks cannot be static, as there can be hundreds/thousands of them. Most likely will need to call a...
I have a web service developed in coldfusion that I am trying to consume on the iphone. The web service returns JSON which should be fairly simple to read. However, I have been unable to find a good simple example of an iphone app calling a web service and using the data. Are there any good tutorials or examples out there that I am just ...
I have a WCF service with a client application. I have complete control over both the client and server implementation. I have hundreds of methods in the WCF contract which need a piece of information supplied by the client. Instead of modifying hundreds of methods, is there a way I can send specific data from the client with every ca...
I'm not exactly sure what question to ask here since I don't know the vocabulary...
Tomcat servlets (and any server for that matter) work nicely if they are stateless and respond quickly to requests, with state stored in a database. It seems like if I have long-running operations then maybe I want to run some other service in the backgr...
Currently, each web service for our application has a user parameter that is added for every method. For example:
@WebService
public interface FooWebService {
@WebMethod
public Foo getFoo(@WebParam(name="alwaysHere",header=true,partName="alwaysHere") String user, @WebParam(name="fooId") Long fooId);
@WebMethod
public Result d...
I'm designing a WCF service that will return a list of objects that are describing a person in the system.
The record count is really big and there I have some properties like person's sex.
Is it better to create a new enum (It's a complex-type and consumes more bandwidth) named Sex with two values (Male and Female) or use a primitive t...
I was going through MSDN documentation on WebServices. Here and here, both these links talk about calling a webservice and wait for the response, which is also a general trend that I have seen while asynch implementation.
I don't understand "why do we need to wait for service call to return"? And, if we are waiting why don't make an syn...