The 'add web reference' wizard works in this case when the objects do
not contain complex data types.  I have tested with success this
approach, my understanding is that it is simply a remoted object using a
SOAP formatter, which is essentially what a web service is, RMI calls
returning SOAP.
For what I wish to achieve I could write a web service and use remoting
within it, but I do not wish to enforce that the computer running the
application have IIS installed.  As for SoapSuds.exe, I have no idea
what that is so ill do some reading :)

Oh, on a side note.  I am not using wsdl.exe to generate the wsdl.  The
wsdl is found in client projects WebReferences sub folder.  I assumed
the remoted object is returning the wsdl when I specify the wsdl query
string attribute on the link below.
http://<your_ip_address>:1234/GreetingManager.soap?wsdl

thanks

simon



-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Woodring
(DevelopMentor)
Sent: Friday, 18 July 2003 5:38 AM
To: [EMAIL PROTECTED]
Subject: Re: SOAP Remoting, WSDL and [NonSerialized] attribute problem

You seem to mixing & matching tools.  The VS.NET 'add web reference'
wizard only
works with XML web services, not remoting.

Remoting can handle everything you're trying, and the CLR-based
serialization
that's involved certainly pays attention to your use of the
NonSerialized
attribute.  But the WSDL that's returned for a remoted object is
different than
the WSDL that's returned for an XML web service.  The VS.NET add web
reference
wizard (and underlying wsdl.exe proxy generator) are simply not designed
for use
with remoting.

Remoting's proxy generated is called soapsuds.exe, and there is no
integrated
wizard in VS.NET that supports it.  You have to build/distributed your
own
assemblies (for example, assemblies with interfaces or other shared
types in
them), or use soapsuds.exe from the command line to generate client-side
shims
in the same manner as wsdl.exe is used for XML web services.

-Mike
DevelopMentor
http://staff.develop.com/woodring


>
> -----Original Message-----
> From: Moderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Simon Jenkins
> Sent: Thursday, July 17, 2003 6:34 AM
> To: [EMAIL PROTECTED]
>
> I am trying to remote and object over http channel using the SOAP
> formatter so that I can add a web reference to my remoted object
> allowing me to reference it from the compact framework.

Reply via email to