dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]error installing dotgnu (DGEE)


From: Gopal V
Subject: Re: [DotGNU]error installing dotgnu (DGEE)
Date: Wed, 14 May 2003 23:27:57 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Chris Smith wrote:
> 
> > > 3) it gave an an error that pointers cannot be in case values,
> > > in dgee-*/smgr/htmlTemplate.c line 371
> >
> > Curious ...
> 
> This _was_ a bug that has been fixed:
> htmlTemplate.c: revision 1.4
> date: 2003/04/22 13:08:55;  author: csmith;  state: Exp;  lines: +2 -2
> Cast NULL to (int32) when checking value

Wha... couldn't that have been an if/else ?

> are various shell scripts and tools that read them - they could be in a 
> config file, but then it gets very complicated to process.

Why ? ... let's all

if test -z $DGEE_HOME ; then \
        . @prefix@/share/dgeeenv.sh \
;fi

in all the scripts ? (and fill-in the details about dgeeenv.sh using
configure ?) ie dgeestart.in and all that ?
        
> Was that the default CVS tree or the dgee-0.1.5 branch (the bleeding edge)?

default CVS tree ...

> [Incidentally the URL/URI bit is grabbed from the namespace of the declared 
> webservice, which is not correct - the namespace of the webservice is not 
> necessarily related to where it is running....]

That's ok .. because the generated file is editable ... But still I think
we can do better than that , especially generating the correct names for
methods using the [WebMethod] value rather than the C# name of the method 
:-)

Does any Reflection newbies want to tackle such a user app  ? (should be
easy , fun & interesting).

> One of the things that we will be doing is creating some tools to allow c# 
> client generation from a dgmx source, so client code can be generated for 
> remote webservices regardless of the language the webservice is written in - 
> this approach will work with python webservices.

Bah ! Python does not need client stubs ! ...

import xmlrpclib
server = xmlrpclib.Server("http://localhost/wstest.dgmx";);
print server.MyMethod("0wn3r");

should work just fine :-)

What I might really like are web interfaces to this ... ie using 
HTML Forms for entry of parameters of C# methods :-) 

http://localhost/wstest.dgmx?protocol=html
http://localhost/wstest.dgmx?protocol=soap
http://localhost/wstest.dgmx?protocol=xmlrpc

Etc ... and allow format decoding that way ?

> Watchout for the new dgee release coming soon, with lovey admin features...

GUI or Web ?.

Gopal
-- 
The difference between insanity and genius is measured by success


reply via email to

[Prev in Thread] Current Thread [Next in Thread]