web-services

How do I generate a line chart from an asp.net WebService?

My web service needs to do generate some line charts which will then be added to a PDF report that is streamed to the client. How do I generate the line chart in the web service? Thanks! ...

Web service unit testing

I'm using JAX-WS web services (client and exposed services), is there any API to test these web services? ...

How do I call a service from within my Assembly?

I have a C# library. From within it, I want to call a static method that exists within the same library but through Javascript. Can I use WebResource to call a C# method? ...

Call server side method from JSON

How to call a method on a server side from JSON. Below is the code I am using SERVER SIDE: [WebMethod] private void GetCustomer( string NoOfRecords) { string connString = "Data Source=Something;Initial Catalog=AdventureWorks;Trusted_Connection=True;"; SqlConnection sCon = new SqlConnection(connString); SqlDataAdapter da = ...

How to add ServiceReference to an embedded file?

I have a class library. In one of the classes, I am adding a script reference on the page like this: protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); if (this.Page != null) { ScriptManager sm = ScriptManager.GetCurrent(this.Page); ServiceReference reference =...

Class Generator for web services against Java/Android

Is there any class generators to process web services in Android/Java? I may have to write my own to generate classes against WSDL but I'm trying not to. Also is there one for REST services as well? If not providing me with discovery service suggestions like disco/wsdl are good enough. ...

geocode webservice address parameter written in another language

Dear fellow Programmers, I try to use the following google map webservice in order to locate greek addresses: http://maps.google.com/maps/api/geocode/json?address=Ακαδημίας 16&sensor=false and it does not work. If I hit the same exactly address but written with latin alphabet characters: maps.google.com/maps/api/geocode/json?address=ak...

Ideas on simulating webservices for local automated testing.

I am testing an app, which talks to different webservices over the internet. For my automated testing, I don't want to go over the network. To achieve this, I need to simulate the webservice on my machine using another app. My initial thought is to record all the requests and responses between client and webservice, and then just write ...

Connecting a PHP front-end to a back-end java service

I am currently using various back-end services and I want to use PHP to simply query these services and perform the final page construction. These services could be coded in any number of programming langauges such as Erlang, Java, Python etc. However I am unsure of the best way to actually interface the back-end services with the web ap...

JAX-WS and JPA, how to load stub objects using JPA?

I'm trying to develope a soap web service that has to access a mysql db. I have to replicate an existing service, so I created all the stub object from it's wsdl file Netbeans created all the necessary stuff for me (new, web service from wsdl), it works ok... Now I'm trying to use JPA to load all those objects from the database. So f...

PHP5 and SOAP/WSDL?

I have a big problem right now, i need to create my own webservices but i really don't know how, can sombody help me? maybe link to easy way to make WSDL/SOAP code? i have try NuSoap but i can't get final whit this code, please help me. :) ...

How to make a Webservice request follow a redirect?

My application neeeds to access a third part web service. Of late, they have introduced a load balancer, which redirects to the server. Because of this the webservice gets a 302 - Redirect error as response. In the SOAPUI, I was able to enable a property called "Follow Redirect", and because of this service followed the redirect and s...

Using thrift to mix development languages

I am currently developing an application which will require multiple different development languages. I want to use PHP as the final piece of the puzzle - the physical web page construction. This PHP web app will need to contact multiple web services which could be coded in anything from Java to Erlang to Python. Each of these web servic...

Lightweight alternative to soapui?

I'm developing a soap web service and I'm using soapui to test it. I just need to read the wsdl file, automatically generate a skeleton request and see the results, and I was wondering if there's a lighter alternative to soapui. ...

Webservices on iPhone - wsdl2objc - Sample Code?

I have recently downloaded the most recent build of this awesome tool WSDL2OBJC from google code here: http://code.google.com/p/wsdl2objc/ After a bit of tweaking and downloading the latest version of the trunk from the svn repo I got a version that created the code for a WSDL I am using and compiles great and actually installs on my ph...

Understanding Async Concept in WebServices

I've had the thrill recently of developing web service applications. Most of my experience is with GWT and mainly doing most things on the client side then doing an async call back for any additional data needed. However at the moment, I want a process that will be triggered on the client side, then on the server side, a loop will occu...

Cannot open database "test" requested by the login. The login failed. Login failed for user 'xyz\ASPNET'.

I have created a webservice which is saving some data into to db. But i am getting this error Cannot open database "test" requested by the login. The login failed. Login failed for user 'xyz\ASPNET'. my connection string is add name="ConnectionString1" connectionString="Data Source=.\SQLExpress;Initial Catalog=IFItest;Inte...

Java web services client

I want to build a web services client that takes wsdl link as the input and generates java classes. I know we can do this directly using Netbeans IDE where we provide the wsdl location during project setup. But I want the wsdl location to be provided when the client starts running. How do I do this? ...

How to prevent direct access to my JSON service?

I have a JSON web service to return home markers to be displayed on my Google Map. Essentially, http://example.com calls the web service to find out the location of all map markers to display like so: http://example.com/json/?zipcode=12345 And it returns a JSON string such as: {"address": "321 Main St, Mountain View, CA, USA", ...} ...

Communication between web services on different servers

Hi, I have 2 different webservices running on 2 different tomcat application servers (w/ axis2 web service engine) (Webservice A runs on Server A and Webservice B runs on Server B). How can web service A on Server A pass Data A (file) to Web Service B on Server B? I am new to web services and would appreciate any help in this regard....