My apologies in advance if I have missed something painfully obvious.

 

I need to send/receive a custom type with WSIF.  WSIFService allows you to supply a QName for the element and java.lang.Class for the class that the element maps to.  Where or how do you specify the serializer/deserializer?

 

Ironically enough, right now this works.  I am able to send the custom type to a web service and receive it back.

 

For reference, the binding is SOAP and I have overridden the SOAP provider to be Apache Axis. 

 

The “client” for the web service that uses the custom type is running in a servlet container which also runs the “server” portion of Axis.  (So the server processes SOAP requests via Axis and also makes SOAP requests to other web services using the Axis client).  In the server-config.wsdd for the Axis server portion, there is a typeMapping element for this custom type.  The only thing I can think of is somehow the Axis client (underneath WSIF) is finding that typeMapping and matching based on the QName and Class that I supplied to WSIF.

 

Any insight would be greatly appreciated.

 

Thanks.

Reply via email to