[xgws-user] XSUL Dynamic Invoker Problem with .NET

Aleksander Slominski aslom_at_cs.indiana.edu
Thu, 09 Nov 2006 12:03:57 -0500


Andre P. wrote:
> Hello Alek!!
> I'm not a .NET developer, but I'm working with interoperability
> between different frameworks, and that's why I'm developing simple web
> services in every one of the frameworks! So, I figured out something
> (by also analysing the WSDL of some .NET WS from xmethods.net
> <http://xmethods.net>). When the field is of type "string", the .NET
> autogenerates the wsdl and the minOccurs field is set to 0
> automatically (maybe a bug, who knows :).
>
> Well, i think that the XSUL is using this value of minOccurs for the
> inclusion (or not) of the fields in the Dynamic Invoker. That's why
> I'm not able to invoke the service, unless I include manually
> inputMessage.addElement(ns, "param").addChild("value") (thanks to your
> tip!). My question is, wouldn't be better to use the maxOccurs as a
> parameter to include the fields in the Dyn Inv. ? This would make the
> Dynamic Invoker much more flexible, including a bigger number of
> "supported" services (in my point of view, just a sugesttion! :)
hi Andre,

good idea! but to make it work it would be necessary also to put default
value in all optional elements so if user did not modify them it has
correct value. i will see to implement it in next release.

http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=247

thanks,

alek


-- 
The best way to predict the future is to invent it - Alan Kay