web-services

Time out webservice client.

First sorry for my english. I am having issues with a web service, this is provided by a client and sadly I cant change anything and they are refusing anyways, now they consume this webservice with java but in my work thats not posible. With the following code I can retrive a response up to 8k but anything beyond that get me a "timeout...

.NET Overload WebMethods - Possible?

I have two web methods which I wish to overload: <WebMethod()> _ Public Function GetProject(ByVal id As Int32) As Project <WebMethod(MessageName:="GetProjects")> _ Public Function GetProject(ByVal filter As String) As Projects I read about overloading using MessageName, however I cannot get this to work. Is this possible? ...

The remote server returned an error: Not Found - Silverlight

I have an ASMX web service that is referenced by my silverlight front end, and have recently started getting the error "The remote server returned an error: Not Found". The error seems to be related to the fact that i have recently added associations between the tables (if i remove the associations, the service works fine). This seems to...

Fetching geo data from google API while creating new record on DB

Hey, I have an entity that one of it's members is the actual city, country that it was "created" - the user only gives me lat, long coordinates and I need to use the google API to reverse geocode the coordinates into city, country. My question - What is the best way to fetch that information? is it safe enough to use a 3rd party web se...

WCF Project type differences

Hi, I'm working on few WCF tutorials and I would like to understand the difference between WCF Service Library, WCF Service Application and WCF Workflow Service Application. Do you have any examples on when I should use service library and service application? Thank you ...

.net webservices using complex types with other platforms e.g. Java

I'm working on a .net system that will both expose and consume web-services with another system to pass data back and forth - the other system is java based. Our proposed XSD contains complex types and some concern has been expressed about using complex types and how we'd be better sticking to simple types. I'd have thought .net would ...

HashMap via SOAP from Java to PHP and back

Hi Guys, i'm facing a little problem and can't find a solution. The situation: I have a Java-Webservice containing different Methods. One of these creates a new Object (named "Bestellung", which is german for "Order"). This object contains some attributes, most of them are Strings, one is a Hashmap named "applikationsDaten" (applicati...

WSDoAllReceiver: Incoming message does not contain required Security header.

Hi, I have java service which communicates over https. I want to connect to this service from C#. I am getting this exception: System.ServiceModel.FaultException: WSDoAllReceiver: Incoming message does not contain required Security header. Someone knows what is wrong? C# Code: EndpointAddress address = new EndpointAddress( ...

How to make a superfast webserver for "check for updates"?

Which is the best approach for creating a fast response in case a client application asks webserver for "check for updates". Skype for example takes about 1 second to answer. How to achieve the same? ...

Strategy for error handling in Web Services

We are working on a web application. All pages of this web application inherits from a base page, and we have a mechanism like this.Error += new EventHandler( Page_Error ); private void Page_Error( object sender, EventArgs e ) { Helper.LogError( this.Context ); } The above works pretty fine in all webpages. Now we...

ASP.Net 2.0 webservice InvalidOperationException Request format is unrecognized for URL unexpectedly ending in

I have hosted a webservice in IIS 6.0/ASP.Net 2.0. The webservice used to work well. After a recent build its not working. The webservice works fine when browsed in the same server where it is hosted. If browsed from any other machine it throws an error.The event log contains the following information. Exception information: Excep...

Direct object exchange between web services

Is it possible to make two jax-ws web services that are deployed within the same container exchange large objects in more efficient manner than serializing them into soap? ...

WCF Security Concerns

First of all, sorry for the dummy question. Couldn't find any straight answer on the internet. I'm new to WCF (and using services in general) and would like to get some information about my security concerns. Suppose I have an open source web application written under .Net which has a WCF Service to change the site users' profile data in...

Prevent WSDL generation from including certain fields

I'm using Axis2 and Eclipse to create my webservice. I have created my schema object to be included in the WSDL, but I don't want some fields to be included in this process. Reason is that these same objects will be persisted in database using hibernate. I added transient into the field class declaration but I'm still seeing the field...

Structure map with a ASP.Net webservice

All our apps have been converted to use strucutre map, and our libraries were converted also. I'm trying to convert one of our asp.net webservices. If I understand, correctly, I'll have to bootstrap the structuremap stuff in the constructor of the web service. But the constructor gets called with each web method called, so Each reque...

What are the best practices to design webservices for mobile (particularly Android) apps?

What are the best practices to design webservices for mobile (particularly Android) apps? Personally I'm focused on using JSON (and not XML) and I try to make it the less verbose I can. But I'm probably missing a lot of things. ...

How to build and test a big web service system for its complete life cycle?

I'd like to know how to build and test a big web service system for its complete life cycle. ex: Google Maps etc. I'd like to know how to do it properly and correctly. I know this a very open question. A general outline would be fine or if you want to be specific that's fine too. I'm interested when all the groups as developers and t...

Simple software license key server suggestions?

My boss wants a quick, simple to integrate, simple to host software licensing server to enforce license activations and expirations. We have to integrate it with a C++ Windows Service application. I would not like to host the service in our office for the same reason we don't host our own website in our office. The service must be host-...

Creating Orders in Microsoft Dynamics NAV via web services or an API

Hi, I am tasked with creating an API that would allow 3rd party customers the ability to send orders into our Microsoft Dynamics NAV 5.0 SP1. I want to be able to create a SalesOrder in Dynamics NAV not with the client but via an API so i can allow a seperate process to enter in orders automatically. Any help is appreciated in leading...

Configure endpoint for web service declared with WebService() attribute

We have a C# Web Service that declares itself using attributes. The code-behind file looks like: [WebService(Namespace = "http://the.web.service.url/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public sealed class TheWebservice : WebService { [WebMethod] public SomeObject TheFunction() ... The web ser...