Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interacting with a .NET webservice

 
Thomas Hunt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic