web-services

Points of Interest API / Webservice

I have a requirement to show points of interest on a map within an iPhone app I am working on. I'm using MapKit to display the maps and get the users location. I've been unable to find a suitable webservice to retrieve places or points of interest (restaurants, shops, hotels, etc) to display on the map. I know it can be done, because ...

Are EJBs applications like Web Services ?

Is developping an EJB application is considered like a web services ? Or the two are different ? Or you can make EJBs like web services ? ...

Could not create Windows user token from the credentials specified

Hi All, I have developed a web service in and installed in a server success fully, its working fine there. I tried to work in another server, But I had some error there in the new server. I trying to access a network folder, Its accessible for the user which I have mentioned in the web config, But I'm having error. in the web config...

Should I be worried about HTTP overhead when calling local web services?

I'm currently re-developing a fairly large-scale PHP web application. Part of this redevelopment involves moving the bulk of some fairly hefty business logic out of the core of the web app and moving it into a set of SOAP web services. What's currently concerning me (just slightly) is perceived overhead this brings with it in terms of l...

To determine if a asp.net web service's web method returned an array successfully.

i have a simple asmx page with one web method which return array of an object. My question was , whenever this method is called is it possible to know that the array of an object was returned successfully. My asmx page using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespac...

xml as input for a .net 4.0 webservice

We're rewriting our 2008 VS website in 2010 and I have just gotten to our webServices and when I went to test them out I'm getting the Cross Site Scripting message because we need to accept XML as our input. I've seen all over the web where people are just putting the following into the web.config and I would rather not take our site ba...

org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented

I am trying to call an Axis2 web service using a code like: stub = new MyServiceStub("http://server/app/services/MyService"); stub.ping(); Stubs/skeletons are generated with codegen. I can interact correctly with the web service from other clients (even something low level written with SAAJ) but not from a stupid stub call. I am gett...

Using timestamps causing trouble with WSDL generation

Hi, I have some TIMESTAMP columns in my Oracle database and the JPA entities use java.sql.Timestamp to map them. Using RAD 7, I was trying to generate Web Services for my EJB methods, but it fails with the error: The class java.sql.Timestamp is defined in a java or javax package and cannot be converted into an xml schema type What...

.NET WebServices Connectivity issue

I'm currently working on a piece of software designed in WPF that connects to a set of WebServices. The WebServices are defined in the app.config:endpoint of my application: <endpoint address="http://localhost:52870/WebServices/Service.svc" behaviorConfiguration="VanguardWebServiceBehavior" binding="wsHttpBinding" bindingConfigurat...

Telerik RadGrid bound to web service without Linq

I want to bind a Telerik RadGrid to a web service without using Linq. In all examples I can find, the web service has to return a List(Of MyObject); I've tried this, and it works great. However, the table I'm binding to may at runtime have additional columns, or columns may have different data type, so I can't use a static MyObject class...

Google app engine: hosting java "webservice"

Hi, want to host a webservice with login on google app engine. I will be used as an interface to an admin tool that has to run on a desktop client. Java webservices are not supported on app engine. Any ideas on alternatives? The features I need are: java based on app engine .net based on the client client should be able to login "autog...

How can I selectively mask arbitrary data being sent over an insecure link?

I'm using an offsite error logging package for my python web application. When I send an error I include the contents of (among other things) the POST variable and some template data. Some of this data must not be sent to the error logging service (passwords, some other template data). How can I take a payload that consists of a mix of ...

JAX-WS and SharePoint usergroup web service

Hi All, I have a small app which query our SharePoint server' Web Service interface for a list of all users for a group. I can see the raw HTTP response is coming back with all the users listed, but JAX-WS response object (as created under NetBeans 6.9) contains only a blank Group Name String value. There is no trace of all the user nam...

Lag before disconnect after connecting to web service

Hi, when connecting to a web service such as Amazon or Yahoo, I find there is a one or two second delay after the data has been sent and before the service disconnects. I used to program with Perl and solved this by using a regular expression to match the end of the data, then break out of the loop. For example: while ($line = <SOCKET>...

Spring + CXF or Spring+Mule? Which one is better?

I want to expose some of the existing POJOs of my Spring Web application as Webservices with the help of JAX-WS annotations. I can do it in the following two ways Apache CXF Mule ( this internally uses CXF) I wanted to know which is preferable and why? ...

calling a secure service using a service reference

There is an external secure service that I am consuming in my .net class by making a web reference to it and passing it the username token like so: MyWebService objWS = new MyWebService(); UsernameToken token = new UsernameToken("User","Password", PasswordOption.SendPlainText); objWS.RequestSoapContext.Security.Timestamp.TtlInSeconds = ...

Good/Simple webservice which can be consumed using asp.net...

I was looking for Good/Simple webservice which can be consumed using asp.net but i can't a find a free webservice that can be used with asp.net.. ...

first web service from WSDL with .NET

Hi, I have a WSDL file and I want to create a SOAP server process from that file using visual studio .NET. Until now I have created a cs file from the WSDL with the following command wsdl my.wsdl my.xsd /language:CS /server Now I want to start a server process at a custom port (eg port 10000) that will send the responce back to my cl...

What are the specifications/recommendations for data types in JAX-RPC web services?

When developing a web service using Java, Axis1 and JAX-RPC, what are the constraints, recommendations and specifications that must be followed when sending complex data types over a web service? For example, the method: public MyComplexClass webServiceOperation() { return new MyComplexClass; } Is there any limitation on the methods...

Tomcat 5.5 Axis2 application scope problem - Unable to create single instance

I have deployed an axis2 web service on Tomcat 5.5. The web service functions as expected. But I noticed I was getting duplicated log entries. After researching it became clear that multiple instances of the class were being created - ie the first time it ran, one log entry; second time, two entries and so on. I added the scope="appl...