.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Are reliable sessions between JAVA ME clients and WCF services possible?

Posted By:      Posted Date: October 03, 2010    Points: 0   Category :WCF

I'm struggling getting a reliable session working between a WCF service and a Java ME client; Java SE works fine.  I'd like to know if anyone out there has gotten this working or knows whether or not it is possible?

Thanks in advance.


View Complete Post

More Related Resource Links

Public WCF services for testing clients

I try to find some (public) WCF services out there, but do not succeed. I want to talk to some for testing my work with clients. Any list ?

Access sharepoint web services from java

Hi, I want to access sharepoint web services using jax-ws. Has anyone tried it? I can't find an example for it.   Thanks!Ori

WCF Service for Java clients


I'm developing WCF service that looks like will be used by Java clients. Message will be signed by certificate.

Expected request looks like:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity- secext-1.0.xsd"
   <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
     <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
     <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1" />
     <ds:Reference URI="#body">
       <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <ds:DigestValue>[body digest value]</ds:DigestValue>

Silverlight 4.0 WCF RIA Services and Sessions


Hello. I am developing an application using Silverlight 4.0 RIA services to access WCF custom service hosted in IIS7. Now I need to instance my WCF service using sessions because I need to preserve the state of my service during multiple calls that the SL client may perform. Silgleton instancing is not what I want because I am concernded about multiple access to the service that have to perform long task during its life. Now I understood that SL 4.0 can do sessions only through TCP binding using one of the TCP reserved ports from 4502 to 4534. But I have the problem that my SL app should run on Internet and Intranet and the customer I work for strictly denied any port opening through the company Firewall different from 80. So I am forced to use only HTTP binding that ofcourse do not support PerSession instancing. Plase can you help me resolving this problem. I'd like to use Silverlight for this new application. Please help.

Best Regards


java/J2EE web services data type serialization compatiblity


Hello all,

Although web services are meant to be interoprable across platform, but I heard that there are possible serialization challenges between .NET data types and Java data type, can someone care to cite some examples in real life implemntations?




WCF webservice with callbacks to Java clients


I am new to WCF. I need to implement a WCF web service with callbacks/Events to clients.

How to implement this for a Java/Unix client? Is it supported?

Any sample code will be helpful.

Installing and Uninstalling Services

Installing and Uninstalling Services.Unlike most projects you create in Visual Studio .NET, Windows Service projects cannot be run directly from the development environment by pressing F5. This is because the service in the project must be installed before the project can run.

You can quickly install your service application by using a command line utility called InstallUtil.exe.

Getting Started with Windows SharePoint Services

Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.

Building a Searchable Phone Directory with Windows SharePoint Services

I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.

New Features in Windows SharePoint Services 3.0

Windows SharePoint Services 3.0 (WSS 3.0) is the next version of WSS 2.0, released on 2007, and Microsoft Office SharePoint Server 2007 (MOSS 2007) is built on top of this. Windows SharePoint Services 3.0 takes full advantage of Microsoft ASP.NET 2.0 and the core Microsoft .NET 2.0 runtime. WSS 3.0 offers a lot of new features and programmability support. I have consolidated a list of new features and enhancements in the below section:

Returning a DataSet From a Web Services: Step-by-Step

This Example Shows how to create a webservice which returns a DataSet and a Client Which displays the DataSet in a Grid.


This Example Shows how to create a webservice which returns a DataSet and a Client Which displays the DataSet in a Grid.

.NET Web Services Tutorial

Visual Studio .NET makes .NET programming simple and accelerates the development process. It hides a lot of repetitive and configuration details from the user and improves productivity. However, sometimes you would like to program for .NET without using VS .NET; for example, you want to learn .NET framework programming and do not have access to VS .NET or you want to know what is actually going on under the hood.

Writing a Web Service in .NET using VS .NET very is easy. However, it is possible to write Web Services using the plain .NET SDK. I struggled a lot to write Web Services without VS .NET and tried to find help on the Net. There are a lot of examples available for writing Web Services using VS.NET, but you will rarely find any examples of writing Web Services using only the .NET SDK. This article is exactly for this purpose. It looks at Web Services development using the .NET SDK alone.

Why use Web services ?

Before the arrival of Web services, other technologies and architectures existed that met the functionality of today´s web service. Microsoft's version of these technologies, are called Component Object Model (COM), and subsequently Distributed COM (DCOM). WinDNA is a comprehensive term for implementing the above two distributed software development technologies. These technologies typically use the TCP/IP protocol.

CORBA - Common Object Request Broker is a competitor of COM, developed by a consortium of vendors called the Object Management Group. Although these technologies were a breakthrough in distributed computing and served such ends well for at least five years, there were many limitations. Concerning

Integrate Reporting Services with Silverlight and RIA Services

One of the most wanted future features in Silverlight is the possibility to create business reports using Reporting Services. In this article, I will show how to use the existing Reporting Services technology with Silverlight and RIA Services combination.

Information about sessions


Some questions about sessions:

I know sessions information is stored in the form of cookie and you can use qurystring for that if you set cookieless session in web.config. But I don't exactly understand the scope of a session.

What I believe is when you login to a website, a session cookie is created and the scope of that session is within that page only. If you close the browser that session gets killed and when you open the browser again and go to that site then a new session is created ie a new session is created on every request. Is this correct?

But I have seen in many websites, even if you close the browser and open it again the session is not killed, how does that happen?

Can anyone clear out and explain the scope/lifetime of sessions


services based architecture


was giving a though on using ajax enabled wcf services as part of architecture

generally wht im using

is UI-> BL-> data access


is it suggestable to use wcf services layer instead

of BL

nd hv UI-> services-> data access

related to asp.net


would like to no pro's and con's of doing this thing.

is it suggestable to do it. 

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend