web-services

.net 2.0 ajax jquery pagemethod 404 object not found

in my master page, i have <head> <script type="text/javascript"> $(document).ready(function() { $("#result").click(function() { $.ajax({type: "POST",url: "ws.aspx/HelloWorld",data: "{}",contentType: "application/json; charset=utf-8",dataType: "json",success: function(msg) { $("#result").text(msg.d); } }); }); </script> </head> <body> <f...

Accessing REST Web Services through JavaScript

Hello Everybody. First of all. I want to say that i've acctualy read the other posts (like this) but, i don't think it's a good answer. I mean, what about all the status codes, and HyperMedia, etc. What about caching? What do you think? ...

authentication for a Web service options

I am new to Web services and .NET. I have to authenticate a web service that is being accessed using http post. I tried putting a custom soap header and sending it to the service and checking the header in service but the header object is always null in the service. also if i put the user and password options in http headers how can ...

Creating web service in Dreamweaver CS3, "Unable to generate a proxy"

I'm trying to create a web service in the Components tab for the Responsys Interact API. When I put in the wsdl URL into the "Add using WSDL" window, I get the following error: Unable to generate a proxy. java.lang.StringIndexOutOfBondsException: String index out of range: -150 I can't find what "String index out of range: -150" mean...

SOAP request over HTTP delay

Hi, I am trying to send a SOAP request over HTTP for a web service through the following channels: Telnet (HP-UX) C client that opens a socket, writes XML and reads reasponse(HP-UX) Perl client that does the same thing as the C client above(HP-UX) Through SOAP UI application (http://www.soapui.org/)(Windows Machine) While SOAP UI ge...

HTTP-GET-to-HTTP-POST proxy

Hey. I'm writing a Yahoo Pipe that requires communication with a specific web service. Unfortunately, the web service only accepts POST, and the Yahoo Pipes Web Service JSON POST module issues the POST in the wrong format. So ideally, there would be some proxy somewhere on the internet that accepts a GET, takes some parameters, and con...

How to generate an xml file using webservices in Java?

Can we generate an xml file using webservices in Java, and if so how? ...

Developing Restful Web Service with JAX-WS/Axis2

Hello, I'm new with Restful Web Services and got some questions about some of the requirements needed to create one. 1) I got only Apache2 installed on machine and I can't install any EE Server. Is it possible in this circumstances create Restful Web Service? What is better in my case Axis2 or JAX-WS? 2) I want to make the content of ...

Web Service- Multi endpoint and multi binding

Hi, I want to create service that contains two binding and two contracts. The binding are: 1. wsDualHttpBinding 2. wsHttpBinding I get two interfaces: public interface IBasicSite public interface ISiteGateway:IBasicSite The difference between IBasicSite and ISiteGateway is only that ISiteGateway support also Callback's that called I...

How to publish a Apache-Axis web service in tomcat 6.0

I have developed a simple Apache-Axis java web service using Eclipse IDE and now it works successfully. I have generated test client also which provide by the IDE automatically. I can see that deployed web service is in the IDE server node when I expand it. (I have already added the tomcat 6.0 server to the Eclipse). But the problem is...

YAHOO Geoplanet 'starts-with' filtered by type

Hi I'm trying to implement an autosuggest where users can type in a country, colloquial name, continent or super name (ie scandinavia). I've got the webservice working for exact matches at this url: http://where.yahooapis.com/v1/places$and(.q('united states'),.type(29,12,19,24));start=0;count=5?format=json&appid=API_KEY_HERE (29, 12,...

Web service issue in iPhone

I have a web service used by my iPhone application.The application accesses the webservice to get authenticated. My question is how to intimate the user when the server doesn't sends any response when it is called. ie..The control doesn't comes to -(void) connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)...

Recover Index File + Overwrite or Hacked by SomeOne + Linux Server

Some body overwrites my index file of every folder at linux server. Is it possible to recover all the files from server to make website in running state. ...

Spring Web Services Issue When Using IBM's Java

Hi, We're having a weird issue with Spring Web Services/SOAP when switching from Sun's Java to IBM's Java. We're using the Spring Web Services example code from here (6.2.2.): http://static.springsource.org/spring-ws/sites/1.5/reference/html/client.html It works perfectly from our localhost which uses Sun's Java. But when switching t...

Using certificates in a client-application consuming a web service

I am implementing a VB.NET desktop application which consumes a web service. The web service implemented in Java and I currently using Tomcat on my localhost to host the web service. The web service requires secure communication with the client and so I have followed instructions that outlined how to use Java's keytool.exe to create tw...

TCP Socket Connection Server Side Type

Hi, I'm working on a small flash project for a web site. I've coded my tcp-server on a windows service. Is it possible to put the tcp-server on a web service ? Or should I accept the tcp-connections while the web page is loaded? Any suggestions? Really I do not know the way to put the server. [With windows service it works, but I have...

Webservice Design - intermediate webservice between a external webservice and clients

My requirement is to develop a webservice that will act as middle man between a external webservice and clients. I know, I can design a wsdl for my service and then map the external wsdl to my wsdl in the code. My question is there a open source api/tool out there to do this mapping. This way it will be easier switch to different webs...

What data/functionality would you want to have available through a web API that isn't available today?

Have you ever looked for a web API for certain data or functionality, only to find that there isn't an API available to meet your needs, or that the APIs that are available are inadequate for some reason? I am really interested in collecting such experiences. Please note that I am not asking about specific sites / web apps (so, for exam...

How can I prevent access to PHP files if the caller isn't using HTTPS?

I have written several PHP web services where I pass in arguments via the URL. To prevent unauthorized access, I pass in a unique key as one of the arguments. I call the PHP file via HTTPS, and I am wondering if there's a way I can prevent the script from running if HTTPS is not used. ...

Object property validation in MVC (using web service)

Hi, I have an ASP.Net MVC site, which connects to a web service. The site's view model contains objects for each group of required service data AccountDetails (containing AccountId, AccountType, etc.), ContactDetails (containing Name, Address, etc.) and so on. The service has a 'CreateUser()' method that accepts these objects as para...