Consuming RESTful WCF Services using Java [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
There are similar questions but they seem to be pretty outdated; and hoping there might be a standard solution to this now.
Is there a standard library/framework that Java clients can use to consume .NET WCF services simply without any hassle setting up WSDL files; serializing/deserializing/parsing JSON files, or any of that?
How reliable would this be? I know I would have to ensure to keep consistent/similar data types between the 2 languages; but is there anything else that one might have to look out for when trying to implement this?

The java standard regarding Web services and RESTful are JAX-WS and JAX-RS in order. You can use any library that supports the above standards regardless of the server implementation technology.
Apache CXF, Jersey are few of the libraries that supports the above standards.
Apache CXF has wsdl2java tool which generates client for you. Netbeans, eclipse like IDEs have some Web service wizards which may create you the client in few clicks.

Related

Are there any decent Websocket C# implementations? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have already created my server in System.Net.WebSockets and now after transferring it between machines I had noticed Windows Server 2008 is not supported, are there any other implemetations which support an X509Certificate as authentication and would require minimal conversation.
I have been googling for this in the past 2 hours but haven't found anything meaningful, just a collection of poorly written, poorly documented libraries that throw exceptions on the regular, specifically SuperSocket, the server implementation of which seems to be complete buggy bull.
Could anyone post some sample client code from a decent library? I am growing desperate.
Frameworks include:
SignalR
XSockets
Super WebSocket
Alchemy WebSockets
Fleck
More options available via the realtime web tech guide
I know it is a little bit late, but I created a WebSocket C# implementation and it may be interesting for somebody.
There is also:
https://github.com/sta/websocket-sharp - sharp implements RFC6455 and is very popular amongst Unity3d developers
https://github.com/StackExchange/NetGain/ - stackoverflow's implementation of RFC6455
SignalR provides you a great way to add real-time features to your application. Under the hood, it uses either Web Sockets, Server-sent events, Long Polling or Forever Frames based on what the client and the server support. The coming version, scheduled to be released in the coming weeks, will support client-side (X509Certificate) certificates. You can refer to the following links for more details:
http://www.asp.net/signalr
https://github.com/SignalR/SignalR/wiki

BigTable with C# Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there any sort of LinqToBigTable library out there or anything that makes it link up with C#? I am looking to integrate with App Engine BigTable.
There is no direct way to interact with the AppEngine datastore from outside of an AppEngine application. Can't be done.
Your best bet for making something like this work is to expose your AppEngine datastore through a RESTful interface that talks JSON. Then, you can use Linq-to-JSON to work with the data in the fashion you desire.
The only supported languages for the Google App Engine are Python and Java (plus Go, experimentally). See here. As neither is a .net language you can't use Linq with the Google App Engine.
There is a C# client library for Cloud Bigtable, but there is not one for App Engine.

Networking library for games [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a library / framework that would allow me to easily achieve this:
Minimal message size (ideally something like - [16 bit message id] + [variable length message parameters]).
Needs as little plumbing code as possible.
TCP communication.
Handles dozens of connections easily.
Bidirectional communication.
I would like to use WCF-like approach, in which I would create contracts (operations and data) and would share that assembly with both clients and server. Or maybe there are some minimalistic bindings I could use - something even lighter than NetTcpBinding?
Lidgren.Network is a very simple library which is easy integrated to any project. I've tried it out a little and it's very easy to use. Give it a try.
http://code.google.com/p/lidgren-network-gen3/
You might wanted to check out Photon http://www.exitgames.com/
For the protocol format, I would look into Google's ProtoBuffers. There are numerous languages supported, including C#. The serialization is small, wicked fast, extendable, and easily upgraded version over version.
As far as transport is concerned this can be more difficult. Frankly .NET's WCF is not up to the task. Raw TCP/IP built on Sockets is difficult to manage properly. Even building upon the TcpListener can prove difficult but it is possible.
So what's a good way to go? Well that is difficult to answer given the bi-directional requirement. I'm not sure I can point to any one library and say it has the right answer. There are several available and all have their strengths and weaknesses. A lot is going to depend on more specific requirements of your project. Good luck ;)

Opensource .Net Jabber/XMPP server? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've seen quite a few examples of XMPP clients in .Net, and I've seen quite a few servers in various languages, but I'm looking for a .Net version (opensource if possible) of a XMPP server. It doesn't particularly have to be stable, or full of features, I just want something that works a little. Reliability is not really an issue.
Here are some that I found:
http://code.google.com/p/goodwarejabber/downloads/list (a bit old...)
EDIT: Note the comment below by the author of jabber-net, noting that jabber-net is not for writing servers:
http://code.google.com/p/jabber-net/wiki/FAQ_License
As an alternative, take a look at this SO question:
Jabber-net integration
or at these libraries:
http://code.google.com/p/jabber-net/
that would allow you to create your own (if that is an option for you).
You can download and take a look at trial version of MatriX library. It contains a sample on how to implement your own server.
http://www.ag-software.de/matrix-xmpp-sdk/download/
Download the MatriX for .NET version.
You could ask the support forum for help actually
http://forum.ag-software.de/
Coversant solution : SOAPBOX Server

Alternatives to wsdl.exe for creating proxy classes from wsdl [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
wsdl.exe, appears to be the default tool for .Net to generate proxy class from wsdl. It has known problems (see here and here, also some SO questions). Is there an alternative proxy class generator?
I am not doing WCF, so tools such as svcutil.exe may not be usable.
wsdl.exe is the only core .NET proxy generator other than svcutil.exe. If you want anything else, you'll need a third-party tool. Unfortunately, I don't know of one.
I know this is a very old question but it came up in a recent search. I then found WSCF which is currently at https://github.com/WSCF/WSCF which may help people looking for something like this in future

Categories

Resources