Bottom up web service generator and custom serializers [message #153309] |
Thu, 22 December 2005 14:17 |
Eclipse User |
|
|
|
Originally posted by: abdullah.kauchali.someplace.com
Is there a way for the generator to create the custom bean serializers for
the objects
returned by my web service?
I can create bottom up web services where simple types are involved; but
the moment
a method returns (or accepts) my domain object (bean), Axis complains that
there
is no serializer for my domain class:
"No serializer found for class abc.MyDomainClass in registry
org.apache.axis.encoding.TypeMappingDelegate@9505f"
Any help will be greatly appreciated!
Kind regards
Abdullah
|
|
|
Re: Bottom up web service generator and custom serializers [message #154016 is a reply to message #153309] |
Wed, 28 December 2005 04:43 |
Eclipse User |
|
|
|
Originally posted by: jazeltine.sbcglobal.net
"Abdullah Kauchali" <abdullah.kauchali@someplace.com> wrote in
news:doechn$ee7$1@utils.eclipse.org:
> Is there a way for the generator to create the custom bean serializers
> for the objects
> returned by my web service?
>
> I can create bottom up web services where simple types are involved;
> but the moment
> a method returns (or accepts) my domain object (bean), Axis complains
> that there
> is no serializer for my domain class:
>
> "No serializer found for class abc.MyDomainClass in registry
> org.apache.axis.encoding.TypeMappingDelegate@9505f"
>
> Any help will be greatly appreciated!
>
> Kind regards
>
> Abdullah
>
>
>
The only way I have found to do this (so far) is to manually edit the
generated WSDL file to correct it and add the <types> entry for your
bean(s). You can then generate the client code from the WSDL.
Jim
|
|
|
Re: Bottom up web service generator and custom serializers [message #154417 is a reply to message #154016] |
Sun, 01 January 2006 23:54 |
Eclipse User |
|
|
|
Originally posted by: abdullah.kauchali.someplace.com
"Jim Azeltine" <jazeltine@sbcglobal.net> wrote in message
> The only way I have found to do this (so far) is to manually edit the
> generated WSDL file to correct it and add the <types> entry for your
> bean(s). You can then generate the client code from the WSDL.
Hi Jim,
Thanks for that tip. I'll give it a try.
IMHO, I think the WTP eclipse team should really have a look at the
simplicity of creating web services that's in Microsoft Visual Studio.NET
(2003, 2005). I mean, when are we going to have it as easy as that in
Java????! How difficult is it to have Java tools to simply create the
/complete/ web service end-to-end? I really don't want to see WSDL. :(
Ah well ....
|
|
|
Powered by
FUDForum. Page generated in 0.02579 seconds