all groups > dotnet web services > june 2004 >
You're in the

dotnet web services

group:

2 easy questions


2 easy questions Jason Shohet
6/28/2004 1:26:50 PM
dotnet web services:
1. if i'm returning a ds from a ws, can J2EE clients that use web services
use a service that returns back a ds, practically? If not, whats the
customary solution, so that whatever they get back, can be used in their
version of a 'datagrid'...

2. we have a group here which has the ws's on the same box as the website.
I've heard thats not suggested, for security reasons. How are the ws's put
on a different box, and how in VS.net do i create the proxy to something on
a different box. ie, instead of "add reference", I assume I choose, "add
web reference" & its thats easy? Also, is this an old-wives tale or is
there a tried-&-true reason to put the ws's on a sep. box...

TY! Jason Shohet



Re: 2 easy questions Eric Cherng
6/29/2004 11:10:30 AM
Jason,

1. No, Java will not be able to understand what a DataSet is. What you need
to do here to insure interoperability is to create your own data structure.
Creating your won data structure would involve coming up with an XSD that
models your data. There are probably some 3rd party products that may
bridge the gap between .NET and Java "DataSet"-like objects, but I don't
know of any.

2. Yes, "Add Web Reference" is what you would use to add a reference to a
web service on another machine. I haven't heard of the security concerns you
mentioned, but I would think it would depend on your application. Take a
look at this page and it's resources for more information about security and
best practices:

http://www.microsoft.com/resources/practices/infrastructure/security.mspx

Eric



[quoted text, click to view]

AddThis Social Bookmark Button