Groups > IBM > WebSphere Integration Developer > Re: java.io.NotSerializableException




java.io.NotSerializableException

java.io.NotSerializableException
Mon, 31 Mar 2008 08:27:45 EDT
Hi,<br />
<br />
For reference:<br />
WID version - 6.0.1.2 FixPack 9<br />
WPS version - 6.0.1.6<br />
WAS version - 6.0.2.19<br />
<br />
All modules, mediation modules and extrenal web service applications have been
deployed on the same WWPS instance. As of now, the mediation modules also run on
the WPS itself. I am using the embedded WPS within WID.<br />
<br />
I have the following scenario:<br />
<br />
1. There is a module which has a BPEL component.<br />
2. There is also a mediation module which invokes calls to external web
services. The reason I have this is that I need to manipulate SOAP header when
the external web service is invoked.<br />
3. The mediation module has been exported with an SCA Binding.<br />
4. The module has an import of this SCA binding.<br />
<br />
As part of the BPEL component, multiple calls are made to the mediation module
passing in parameters and getting responses back.<br />
<br />
The first call - say login - is working fine and returns with a response. The
second call - say perform - takes in the arguments and is supposed to return a
complex object which has an unbounded array of another complex type in it. It is
this invocation that fails. The failure seems to be in the module and not the
external service since it is able to respond back with results (i have put
TcpMon and I can see results flowing back). The Mediation module also works
finde when I test it with the external web service.<br />
<br />
Can anyone please let me know what could be possibly going wrong?<br />
<br />
Post Reply
Re: java.io.NotSerializableException
Mon, 31 Mar 2008 10:58:27 -040
This is probably related to the WSDL definition of the 'unbounded array of 
complexTypes'.. Can you post that snippet? Also, the exception trace for the 
NotSerializable would help.

-- 
Dan Zrobok -Technical Architect - Perficient
WID/WPS/WESB Blog: http://blog.danzrobok.com


<dwforums@us.ibm.com> wrote in message 
news:2016157872.1206966495604.JavaMail.wassrvr@ltsgwas009.sby.ibm.com...
> Hi,<br />
> <br />
> For reference:<br />
> WID version - 6.0.1.2 FixPack 9<br />
> WPS version - 6.0.1.6<br />
> WAS version - 6.0.2.19<br />
> <br />
> All modules, mediation modules and extrenal web service applications have 
> been deployed on the same WWPS instance. As of now, the mediation modules 
> also run on the WPS itself. I am using the embedded WPS within WID.<br
/>
> <br />
> I have the following scenario:<br />
> <br />
> 1. There is a module which has a BPEL component.<br />
> 2. There is also a mediation module which invokes calls to external web 
> services. The reason I have this is that I need to manipulate SOAP header 
> when the external web service is invoked.<br />
> 3. The mediation module has been exported with an SCA Binding.<br />
> 4. The module has an import of this SCA binding.<br />
> <br />
> As part of the BPEL component, multiple calls are made to the mediation 
> module passing in parameters and getting responses back.<br />
> <br />
> The first call - say login - is working fine and returns with a response. 
> The second call - say perform - takes in the arguments and is supposed to 
> return a complex object which has an unbounded array of another complex 
> type in it. It is this invocation that fails. The failure seems to be in 
> the module and not the external service since it is able to respond back 
> with results (i have put TcpMon and I can see results flowing back). The 
> Mediation module also works finde when I test it with the external web 
> service.<br />
> <br />
> Can anyone please let me know what could be possibly going wrong?<br
/>
> <br />
> Thanks in advance. 

Post Reply
about | contact