Re: [Jolie-devel] wsdl2jolie patches
A service-oriented programming language.
Brought to you by:
fmontesi
From: Matthias D. W. <mwa...@ya...> - 2013-11-22 13:37:21
|
So what do you think about this patch? Cheers, Matthias Matthias Dieter Wallnöfer schrieb: > Sorry :-), > > Matthias > > Claudio Guidi schrieb: >> Hi All, >> >> I think that in this particular case we could assume that an element >> like: >> >> <s:element name="GetWeatherInformation"><s:complexType/></s:element> >> >> could be considered as a void in Jolie. >> >> >> >> -------------------------------------------------------------- >> Claudio Guidi Ph.D. >> italianaSoftware s.r.l. >> via Coralli, 66 - 40026 Imola (BO), Italy >> http://www.italianasoftware.com/ >> http://www.jolie-lang.org <http://www.jolie-lang.org/> >> Phone: +39 0542 788201 >> Mobile: +39 347 0694065 >> Fax: +39 0542 628048 >> -------------------------------------------------------------- >> >> Nota di riservatezza: Il presente messaggio, corredato dei relativi >> allegati, contiene informazioni da considerarsi strettamente >> riservate, ed è destinato esclusivamente al destinatario sopra >> indicato, il quale è l'unico autorizzato ad usarlo, copiarlo e, sotto >> la propria responsabilità,diffonderlo. Chiunque ricevesse questo >> messaggio per errore o comunque lo leggesse senza esserne legittimato >> è avvertito che trattenerlo, copiarlo,divulgarlo, distribuirlo a >> persone diverse dal destinatario è severamente proibito, ed è pregato >> di rinviarlo immediatamente al mittente distruggendone l'originale. >> >> Grazie per la collaborazione. >> >> >> 2013/11/20 Fabrizio Montesi <fam...@gm... >> <mailto:fam...@gm...>> >> >> Hi Matthias, >> yes, the problem is that complex types in general go out of the >> types >> supported by Jolie (since they are not structured, afaik). >> However, we >> can certainly work out some cases that we can support in our types. >> For example, an empty complex type corresponds to a void as you >> point >> out. >> >> When we are dealing with an unsupported type (as you encountered) we >> should throw an exception though... it's better than outputting >> something incorrect. >> Or, even better, when we find out something that we do not know >> how to >> deal with we should print "undefined" as type. >> >> Could I see your modification? >> >> Cheers, >> Fabrizio. >> >> On Wed, Nov 20, 2013 at 12:36 PM, Matthias Dieter Wallnöfer >> <mwa...@ya... <mailto:mwa...@ya...>> wrote: >> > Hi Fabrizio, >> > >> > when dealing with another webservice I ran into some issues using >> > wsdl2jolie. >> > >> > Address: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL >> > >> > - At the moment the tool suppresses undefined complex types. >> This does not >> > work out with the SOAP call "GetWeatherInformation()" - since >> then it is >> > missing its input argument datatype >> > - When the same call is run by other methods (eg. HTTP) it has >> some kind of >> > empty input type associated. At the moment the tool prints a >> declaration >> > like: >> >> >> >> GetWeatherInformation()(ArrayOfWeatherDescription) >> > >> > which is denied by Jolie. With a slight change I get a "void" >> type: >> >> >> >> GetWeatherInformation(void)(ArrayOfWeatherDescription) >> > >> > >> > Cheers, >> > Matthias >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech >> innovation. >> Intel(R) Software Adrenaline delivers strategic insight and >> game-changing >> conversations that shape the rapidly evolving mobile landscape. >> Sign up now. >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Jolie-devel mailing list >> Jol...@li... >> <mailto:Jol...@li...> >> https://lists.sourceforge.net/lists/listinfo/jolie-devel >> >> > > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > > > _______________________________________________ > Jolie-devel mailing list > Jol...@li... > https://lists.sourceforge.net/lists/listinfo/jolie-devel |