aspose file tools*
The moose likes Web Services and the fly likes Interacting with a .NET webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Interacting with a .NET webservice" Watch "Interacting with a .NET webservice" New topic
Author

Interacting with a .NET webservice

Thomas Hunt
Greenhorn

Joined: Aug 11, 2004
Posts: 2
I'm new to web services and I think I'm missing something big here.

I'm able to hit a webservice which was created in .NET. They are returning an ADODB recordset and I just don't know what to do with it.

How do I access the data that's been returned? Does it have something to do with deserializing it?

Thanks in advance for any help!
Tom
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
Hi Thomas,

I don't know exactly what you are trying to do but here are a couple of statements that (i hope) could help you.

- ADODB Recordset is a .net datatype. As far as I know, there is no way Java for a Java program to convert this .Net type into a Java one automatically.
Thus you Java Web Service engine would need a specific (de)serializer to be able to understand what a .Net Recordset is

- If your .Net web service returns a Recorset Datatype, then it sounds like it is using RCP/Encoded technology (A I wrong here ??), ie, strong typing.
This encoding style (RPC/Encoded)is not the good one to promote interoperability. You need to exchange only XML data, which means Document/Literal web service, based on a wsdl and a document schema.

- WS-I.org has a couple of statements about interoperability. You should try to read it (www.ws-i.org)
[ August 11, 2004: Message edited by: Jean-Louis Marechaux ]

/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interacting with a .NET webservice