Java and ASP.NET Web-Service

  • Thread starter Thread starter B. Voronkov
  • Start date Start date
B

B. Voronkov

Îáû÷íàÿ ÏîäïèñüDo i have a possibility to work with ASP.NET Web-Service in
the client, written in Java?
 
B. Voronkov said:
Îáû÷íàÿ ÏîäïèñüDo i have a possibility to work with ASP.NET Web-Service in
the client, written in Java?

Yes, why not? For a read only application this is dead easy. For more
interaction, see points below.

FYI, Microsoft has published at least to articles on MSDN showing how to add
e.g. WS-Security to such a set-up. The examples are using some IBM Java
package and The Mind Electric's GLUE respectively (I've tried the latter for
simple proof-of concept Java Web-service clients and it works fine).

A few things to think about is:

1) What Java Web-Service package to use
2) The protocol, i.e. the design of your XML-document. This is probably the
most important and in some cases perhaps even the most difficult part to get
right.
3) Should data be updated by your ASP.NET web-service or is it just an
information provider? If the latter, then most of the work will be on the
client side. If the former, then you'll have to consider the format for
passing the modified (i.e. Added, Modified and Deleted) data from a Java
client to your ASP.NET web-service. You could make it simple or more
complex, e.g. generating so-called diffgrams. You would probably have to
hand code the diffgram-generator on the Java side, unless someone hasn't
already done so. A clue here might be to use an implementation of
javax.sql.RowSet with the corresponding Readers and Writers.

HTH.

Eirik M.
 
Back
Top