web-services

How can I create a WebService with Oracle AS?

Can I create a WebService using Oracle AS? I found this method: http://www.di.unipi.it/~ghelli/didattica/bdldoc/A97329_03/web.902/a95453/plsqlservices.htm but that will not let me output any answer from the service. Any ideas? ...

How to send and receive data using ASP.NET Web Service and JQuery ?

I want to run a web service method with parameters and get method return value back using JQuery. ie. client : var result = dosomething(var p1, var p2, var p3 ....); when do something accesses WebService with dosomewebservice(int p1,int p2, string p3) { return "something" }; result == "something"; ...

WCF DTO versions

Hi I have some services at the moment that return a dto with the following fields: [DataMember] public int Id { get; set; } [DataMember] public string Name { get; set; } and I want to add more to this service by adding the following properties: [DataMember] public virtual DateTime StartDate { get; set; } I'm not in a position wher...

How to send hashed data in SOAP request body?

I want to imitate following request using Zend_Soap_Client. <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/so...

Web serivce time out errors in delphi

Hi, I have a client application that makes SOAP requests. I have set the timeout to 20 minutes. However, sometimes I see the timeout error occurring after 10 seconds. I have the following in code: RIO.HTTPWebNode.ReceiveTimeout := 1200000 Do I need to set the ConnectTimeout and SendTimeOut? Currently they are set to the default value...

ASMX Web Service - "This web service is using http://tempuri.org/ as its default namespace." message - but it shouldn't be.

I've created a web service using Visual Studio ( 2005 - I know I'm old school ) and it all compiles fine but when it opens I get warned thus: This web service does not conform to WS-I Basic Profile v1.1. And furthermore: This web service is using http://tempuri.org/ as its default namespace. Which would be fine except my serv...

Still having issues converting VB Webserice to C#.... need help

This webservice is almost converted form VB to C#, except I get this error shown below on the DataRow arow object when I use it in the foreach statement below to populate the Results Class with a DataSet Object... any ideas??? Error: A local variable named 'arow' cannot be declared in this scope because it would give a different meani...

Maven 2 build Java web services? Help

Has anyone built Java web services using Maven-2. I've read about the jax-ws plugin, but I haven't found any clear documentation or examples on how to use it. I tried building a few following instructions of some bloggers, but most instructions seem old or incomplete. Does anyone have any advice on using Maven to build Java web servic...

Designing Web Service Using Ruby on Rails - Mapping ActiveRecord Models

I've put together a RoR application and would now like to publish a RESTful web service for interacting with my application. I'm not sure where to go exactly, I don't want to simply expose my ActiveRecord models since there is some data on each model that isn't needed or shouldn't be exposed via an API like this. I also don't want to c...

Authentication Sceme for RESTful API used by desktop app.

I'm providing a RESTful API. This API is used by a third party desktop application. The API is currently secured using Basic Authentication. That isn't very secure because the credentials have to be stored in the client application. The communication between the desktop app and the API can also easily be intercepted. The desktop applica...

Changing namespace of Stream

Hi, I've got asmx with method [Webmethod] public Ssytem.IO.Stream GetStream(string path) { ... } and winforms application which has webreference to this webservice. I cannot do something on my winforms application like something: var myStream= (System.IO.Stream)client.GetStream(path); because i Cannot cast expression "MyWinfor...

webservice doesn't get called by jQuery

Hi, I want to call a webservice using jQuery.ajax() but the webervice doesn't get called. - If I change the url: to reference a .ashx file it gets called but not .asmx? Here's the code I'm using: jQuery.ajax({ type: "POST", url: "/services/CheckUsername.asmx/CheckUsername", // this doesn't get called //url: "/s...

[C#] Best practice on creating a webservice wrapper in VS2010?

Hi there, Background - We are consuming a webservice issued by a telco operator. Any apps consuming their WS needs to be tested on their staging IP, and this creates an unpredictable overheads on our project timeline as the turnaround time of the operator varies case by case but usually long, without mentioning the red tapes one has to ...

How to get List of projects from TFS?

How do I get list of projects from TFS server using webservice? Is documentation available for the TFS Webservices? ...

Using Altova XmlSpy with web services!

Jumping into a project I'm kinda stuck. A project that worked with XML through Altova XmlSpy generated objects and as a intern I got stuck wiht trying to implement it as a Web Service a project that had been started and then abandoned. One problem I notice is that we had been trying to return from the web method one of the objects creat...

Clustering in ServiceMix 4

Hello, I'm trying to configure Apache ServiceMix 4 to provide load balancing feature mentioned in it's documentation (for example here: http://servicemix.apache.org/clustering.html). Although it's mentioned, I couldn't find the exact way how to do it. The idea is to have 2 ServiceMixes (in LAN, for example) with the same OSGi service i...

How to integrate a RESTful webservice into SSIS

I have an extremely simple RESTful webservice (i.e. www.test.com/test.xml?date1=05/252010&date2=05252010) That returns fairly simple XML. A client is interested in consuming this webservice via SSIS and importing it into a table. Whats the best way to call a RESTful webservice with SSIS - all of the examples I have seen revolve aroun...

Can System.Data.SqlTypes datatypes be used in asmx-style .NET Web Services?

It looks like they are converted to regular date types in the generated proxy object. I'd like to optionally pass null values for these dates. Other than switching to WCF (no time to learn it right now), what is the best way to handle this situation. It looks like I also cannot pass NULLABLE date types. ...

A sports events & results API?

Anyone knows a sports events & results API. Something that can give me info on teams, venues, matches, players, scorers & results. ...

Writing async service using cxf with java first approach

Hello I need to create a async webservice using cxf with java first approach. But i am unable to find any web resource/ website which tells me how to do this? Can you please tell how can I write a async webservice using CXF with java first approach? Thanks Shekhar ...