You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Ian Kallen <iank@covalent.net>" <ia...@covalent.net> on 2001/06/12 20:30:05 UTC

SOAP and struts

Working on an architecture that has the business logic of the model running on
an external subsystem that is accessed by SOAP, we found that the SOAP client
doesn't want to serialize the ActionForm subclassed beans (not sure where in the
reflection voodoo it's choking yet).  Anybody else used the Apache SOAP
implementation's BeanSerializer with struts?  I'd be interested in how the
systems interacted :)

cheers,
-Ian

--
Ian Kallen <ia...@covalent.net> | AIM: iankallen


Re: SOAP and struts

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Tue, 12 Jun 2001, Ian Kallen <ia...@covalent.net> wrote:

> 
> Working on an architecture that has the business logic of the model
> running on an external subsystem that is accessed by SOAP, we found
> that the SOAP client doesn't want to serialize the ActionForm
> subclassed beans (not sure where in the reflection voodoo it's choking
> yet).  Anybody else used the Apache SOAP implementation's
> BeanSerializer with struts?  I'd be interested in how the systems
> interacted :)
> 

Hmm, I haven't looked at the BeanSerializer code, but I'd bet that it's
choking on the two ActionForm instance variables (references to the
ActionServlet and MultipartRequestHandler associated with this
request) that are not themselves Serializable.  I'm going to change them
to transient so that the beans should be able to be serialized (as long as
all your other instance variables are Serializable).

> cheers,
> -Ian
> 

Craig


> --
> Ian Kallen <ia...@covalent.net> | AIM: iankallen
> 
>