web-services

HTML5 & XML in PhoneGap Iphone

Let said currently I want to pull a XML file from a server which include name, text, video, image & etc. Can HTML 5 directly read the XML and put it into the html body or I can only use JavaScript to pull the information. Will it be the same in the iPhone when using PhoneGap to develop? Thank in advanced. ...

How to register my web server as "OAuth Consumer" in another enterprise application server?

Hi, I'm developing a website which run on WAMP stack (windows-apache-mysql-php). I'm trying to connect my web server to another enterprise application server and get some web services from it. I need to register my web server as "OAuth Consumer" in that enterprise server. I already configure my web server to use SSL. I have a cert file...

Validate jaxws soap request against schema inside wsdl:types

I'm wanting to validate a soap request against the schema inside this wsdl. <wsdl:types > <xsd:schema targetNamespace="http://ws.thecompany.com/FormSubmissionService20100824" xmlns:request="http://xmlschema.thecompany.com/generic/FormHeader20100824" xmlns:response="http://xmlschema.thecompany.com/generic/FormRespons...

Soap Client on Android to access Salesforce APIs

I want to develop a application on Android platform to connect to salesforce. From what i have found salesforce provides service API's which can be used to connect to salesforce servers by creating a Web service from the client side application. Salesforce developer site has examples of creating such a Web service by using Apache Axis ...

REST web service available out there to use?

I was just wondering what other cool web service API out there that we can use besides the following: 1. Foursquare 2. Facebook 3. Twitter 4. Google & Bing Map 5. NetFlix 6. LinkedIn What other ones can you find? ...

Amazon basic domain/service architecture

Can someone explain what is happening in this URL? (I pulled it off a basic Amazon search and shortened the url= portion) http://www.amazon.com/s/ref=nb_sb_noss?url=whatever My mains questions are, where is the file extension of the requested page ? Is the requested page indeed nb_sb_noss ? What sort of server architecture allows thi...

Securing a web service?

Question: I have a document management system, and I am building a Web-Service interfaces to the database. Everything works so far, just that right now, it's totally unsecured, everybody can access it. How can I incorporate password or private-public key authentication ? I can only find 'best practises' and using 'windows user' or pas...

How to receive XML data produced by a website(webservice) in PHP?

Input is a URL like this http://ws.geonames.org/children?geonameId=6255148 and I would like to receive the XML file in a SimpleXMLElement for example? ...

WCF Service and Java Client

Hi all, I have developed a WCF Service hosted on IIS. We have a core Java application that needs to communicate with this service. So far I have been able to use Net Beans to generate a Web Service Client by pointing it at the service wsdl and all is good. The built jar is then taken into an Eclipse project, referened there and its func...

ASIFormDataRequest .NET WebService

Hi! I have a form in my iPhone application which contains three textFields and a post-button, of course. I have built two WebMethods in a WebService, I have tried both from my local PC. They works perfectly. The methods are: TestAddData - no parameters AddObject(string name, string address, string phoneNumber) I know wond...

Qt Consuming WebService

Can any one provide me a simple example on how to consume a webservice using Qt C++ ? ...

Service Reference Error: Failed to generate code for the service reference

Hi, I have a Windows Service Solution and am trying to add a service reference to a Hermes(Opensource ebms message server) Web Service in VS2010. I can find the Web Service using it's URL, but when I try and populate the Service reference I get the following errors in Visual Studio: Error 8 Custom tool error: Failed to generate code f...

WCF Exception Handling

If an exception occurs in my WCF service, what is the best way to communicate that error to the client? Should I log it on the service and rethrow a soap exception? Or should I log it and return a user friendly message? ...

rg.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden

Hey there, I am trying to access a webservices over https, I have the ssl certificates in place. However when I send the webservice request I am getting: threw exceptionorg.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296) at org.apache.axi...

How do I get the original object back from a class generated by NetBeans for transfer by JAX-WS?

Java EE 6, NetBeans 6.9.1. Part of my project is a SOAPy web service. I've written the server-side part of it, and that seems to work OK because GlassFish 3.0.1 is correctly generating WSDL files for the web services. The web service sends and receives JPA entity classes, which the client operates on. I used NetBeans' "New > Web Servi...

One WCF Service to Rule them All? (SOAP w https, oData, JSON, POX, etc...)

I've been playing around with WCF and I have managed to a WCF service to generate both SOAP, POX, and JSON formats pretty easily based on this example (I added the soap config). http://www.c-sharpcorner.com/UploadFile/ashutosh.shukla1/3040/Default.aspx And I see that if you add a timestamp field to your data base tables you can actuall...

Is there a service or website to get content pertinent to a specified City/State or Zip

I have been looking around for a website that can automatically provide me we content relative to either a city/state combo, or a zip code. Essentially I want to have a bit of content pertinent to where my user actually is. Does anybody know of any online services that provide something like this? I also wouldn't be opposed to spidering ...

generating web-service classes using soapUI with a WSDL over HTTPS

I'm using SoapUI to generate my web service client classes (using wsimport/jax-ws ri if it makes a difference). I've had no problem with this for several services, however, the one im working on now has a wsdl file which is served via https and I get the following error when I try to generate my client classes. [ERROR] sun.securit...

Should JDBC connection handles be per-app, per-thread, or per-query?

Let's say we've got a web application or web service on an application server supporting JDBC connection pooling. Should I be grabbing a new Connection on a per-thread or per-query basis? Thanks! ...

Can I call a Web Service from SQL Server 2005?

I want to call a web service from my SQL code, but it cannot be using CLR code. Can this even be done? ...