client

Reading files in a webservice

Hi, I have a webservice, in which I read the settings saved in an xml file. I read the setting by the following command: string dpath = HttpContext.Current.Request.PhysicalApplicationPath.ToString(); XmlTextReader reader = new XmlTextReader(dpath + "Settings.xml"); This is working perfectly when running the applicatio...

Jabber-net client configuration for multple domains

What parameters should i pass if i use multiple domains on same jabber server. my current jaberclient configuration is: jabberClient1.Server = "localhost"; jabberClient1.Port = 5222; my domain name is "deni" where should i pass this parameter ? ...

GWT complex app, many screens. Architecture?

I'm making a GWT application which will have many screens. There will be a menu on the left and clicking a menu option will open the relevant module in the right side content area. Clicking on items in the content area will link to other modules that open in the same content area. How do I implement this architecture? How do I pass obj...

A problem with .NET 2.0 project, using a 3.0 DLL which implements WCF services.

I made a client for accessing my WCF services in one project, and all classes that work with services inherit from this class: public abstract class ServiceClient<TServiceClient> : IDisposable where TServiceClient : ICommunicationObject This class is where I do stuff like disposing, logging when the client was called, etc. some common...

Java RMI cannot connect to host from external client.

I've been using RMI in this project for a while. I've gotten the client program to connect (amongst other things) to the server when running it over my LAN, however when running it over the internet I'm running into the following exception: java.rmi.ConnectException: Connection refused to host: (private IP of host machine); nested excep...

sending binary data via POST on android

Android supports a limited version of apache's http client(v4). typically if I want to send binary data using content type= application/octet-stream via POST, I do the following: HttpClient client = getHttpClient(); HttpPost method=new HttpPost("http://192.168.0.1:8080/xxx"); System.err.printl...

Use Azure Appfabric on a local system

Hi there, we want to use the azure appfabric for our software. But not every customer wants to buy an expensive azure account. Is it possibile to define and use an azure interface in our software but to connect the server and client local? Mimefilt ...

How to generate a client certificate from configuration.svcinfo file

Hi, I am new to WCF and trying to create a WCF client. I created a project in VS 2008 and added the reference of WCF web service and it generated the WSDL,configuration.svcinfo and other relevant files. Now i would like to know how to create the client certificates based on these available files? In the .svcinfo file, i see that there a...

using wcf proxy project instead of app.config files for each client

I have created several WCF services. In order to avoid adding service references in each and every one of my client projects I've created a proxy project which contains all service references and that every project can use as a dll reference. problem is I still need an app.config file in every one of my client projects. which brings me ...

Erlang - Riak clients

I am in trouble finding API for the "local Erlang client" for Riak. Here is what Riak wiki says: The local Erlang client is a tightly-integrated part of Riak and the Riak REST interface uses the Erlang client internally. You can find more information about the Erlang-native driver in the edoc API. The link redirects to the main wi...

System.Web.Caching.Cache returning null for a key in the cache

I have some code(client side) that is trying to cache responses from a web service. I save the responses in a System.Web.Caching.Cache object gotten from System.Web.HttpRuntime. I make a call once, then i make it again and have a console output saying it loaded from cache. But I am never getting the console output. I ran it in a debu...

Multi-threading Problem in Java: How to clear last element in a list when update method is no longer called?

I have this problem in a project I'm working on: I have a list of elements sent through a server, I have a local copy of that list each time the server calls my client's update method. The update method itself checks if the newly sent list is identical to the local copy, if not, modify the local copy. This means that if on the server, ...

How to work with UDP in Android?

I a very new to Android. I need to make a connection with an UDP server by using my Android UDP client. Now I need to know how to work with UDP in Android? Please guide me to do this. ...

EJB on the client

I need to develop an application in java, which uses a client[embedded server]-server-(-server)-(...) approach. (data sent on commits, or automaticly) The workflow (entities, validation, logic, sessions) is everywhere the same. In server-server connections, it looks logical to use EJB-s (entity and session beans, in the future probably ...

Making Python sockets visible for outside world?

Hi, i already have a post which is quite similiar, but i am getting more and more frustrated because it seems nothing is wrong with my network setup. Other software can be seen from the outside (netcat listen servers etc.) but not my scripts.. How can this be?? Note: It works on LAN but not over the internet. Server: import socket ho...

json_decode in PHP to set a cookie..

Hi All, I want to decode Json returned from the WebService, And it should set a cookie, that i want to use to call next WebService API. I am not sure how to set a cookie, and decode this json. I tried decoding it, but get the error. I need to extract sessionId. You can use the WebService.. I have put this on Internet. Here is my code s...

Is MVP pattern best way for every winforms app?

HI, i would like develop application about storing some information about books, i would like use MVP pattern - but i have some doubts if this pattern is always best practise for developing small/mid winform apps or maybe is not necessary? ps. I would like use Smart Client Factory from Microsoft, is there any framework for MVP in winfo...

which java http client library is easy to use for programmatically doing posts, setting cookies and maybe ajax?

which java http client library is easy to use for programmatically doing posts, setting cookies and maybe ajax? ...

Get calling assembly name inside WCF service

Hi all. I'm trying to achieve the following: whenever a call to service is performed I want to be able to identify the client. I thought about getting the calling assembly name by iterating over stack trace but I failed to get the client assembly name. Sample code: private List<System.Reflection.Assembly> GetCallingAssemblies() ...

Server certificate exception on WSIT client for a WCF Servicve

Hi , I am trying to develop a WSIT client for a WCF Web service. I am currently stuck with a issue for more than 4 days and could not find a solution. I am writing a WSIT client for a WCF web service which requires a mutual certificate authentication. i received the .pfx file from the service provider which i imported to the java trustst...