>Hi
>
[quoted text clipped - 29 lines]
>
>Thanks in advance, Benny
That would defeat the purpose of web services. WSDL is meant to be a
binding contract. You think through them and plan them carefully, and
do not alter them without careful planning.
The whole point to interoperability is that someone calling your web
services needs to be able to validate the data going in and coming
back against some kind of schema. If that schema changes often,
you've got problems that won't be solved by implementing web services.
If you really want to make SOA folks cringe, just receive and return a
single string that is just one big wad of XML.. Who knows what they
will pass in... anyone's guess what comes out... good luck with that.
This is why I don't do Java anymore, these kind of solutions folks
pull out of their arse.
Howard - 24 Aug 2007 05:08 GMT
>>Hi
>>
[quoted text clipped - 44 lines]
>This is why I don't do Java anymore, these kind of solutions folks
>pull out of their arse.
I realize that is somewhat insulting so let me say that last line was
not intended for you specifically.
But don't try to combine polymorphism with web services. Web service
calls are stateless, and conceptually should be separated as far as
possible from generall OOP theory as possible. Yes you use classes,
but regarding your web service contract you shouldn't be thinking
about inheritance or polymorphic solutions to problems.
Silvio Bierman - 24 Aug 2007 10:35 GMT
>> Hi
>>
[quoted text clipped - 44 lines]
> This is why I don't do Java anymore, these kind of solutions folks
> pull out of their arse.
While I agree that making the contract dynamic defeats the purpose of a
web service I fail to see why this is in any way related to Java?
Silvio Bierman
Howard - 24 Aug 2007 22:39 GMT
All the Java developers I ever worked with seemed to get mired down
into bizarre approaches to solutions without ever putting forth effort
to explore the simplest thing that works. Those who abandoned Java in
favor of C# or other languages seem to have a lot less headupthearse
syndrome.