Web Service Java serialisation exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Web Service Java serialisation exception

David Johnson-18
Hi,

I've tried to use the testSoap sevice from within the Framework Web  
Tools page.

I got:

Service dispatcher threw an exceptionRPC error (; nested exception is:
java.io.IOException: No serializer found for class  
sun.util.calendar.ZoneInfo in registry  
org.apache.axis.encoding.TypeMappingDelegate@1e210c2a)

So I checked to see if the nagoya server was still alive, nope....

So I wrote my own echo service on another tomcat instance and  
exercised it using SoapUI.

I then changed testSoap to call my own web service, guess what....

the same ZoneInfo error.

Any thoughts would be appreciated.

Regards

Dave Johnson
Reply | Threaded
Open this post in threaded view
|

Re: Web Service Java serialisation exception

Jacques Le Roux
Administrator
I have any ideas about your pb. If you want to test SOAP in OFBiz you could try opentaps-soap-java.zip at
http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=1379
If the ZoneInfo error appears we will have to look for changes since  rev. 620189

Jacques

Jacques
From: "David Johnson" <[hidden email]>

> Hi,
>
> I've tried to use the testSoap sevice from within the Framework Web  Tools page.
>
> I got:
>
> Service dispatcher threw an exceptionRPC error (; nested exception is:
> java.io.IOException: No serializer found for class  sun.util.calendar.ZoneInfo in registry
> org.apache.axis.encoding.TypeMappingDelegate@1e210c2a)
>
> So I checked to see if the nagoya server was still alive, nope....
>
> So I wrote my own echo service on another tomcat instance and  exercised it using SoapUI.
>
> I then changed testSoap to call my own web service, guess what....
>
> the same ZoneInfo error.
>
> Any thoughts would be appreciated.
>
> Regards
>
> Dave Johnson
>

Reply | Threaded
Open this post in threaded view
|

Re: Web Service Java serialisation exception

David Johnson-18
Hi Jaques,

Many thanks for the info I've taken a look and the test case does not  
use TimeZone also it's exercising OfBiz w/s not external ones.

I need to work out the best way to integrate with external sources  
with complex object graphs being returned. I think that I might have  
to write a
'java' service that wraps a call to the web service and then build the  
Map for the service to return.

Regards

Dave

On 29 May 2008, at 22:42, Jacques Le Roux wrote:

> I have any ideas about your pb. If you want to test SOAP in OFBiz  
> you could try opentaps-soap-java.zip at http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=1379
> If the ZoneInfo error appears we will have to look for changes  
> since  rev. 620189
>
> Jacques
>
> Jacques
> From: "David Johnson" <[hidden email]>
>> Hi,
>>
>> I've tried to use the testSoap sevice from within the Framework  
>> Web  Tools page.
>>
>> I got:
>>
>> Service dispatcher threw an exceptionRPC error (; nested exception  
>> is:
>> java.io.IOException: No serializer found for class  
>> sun.util.calendar.ZoneInfo in registry  
>> org.apache.axis.encoding.TypeMappingDelegate@1e210c2a)
>>
>> So I checked to see if the nagoya server was still alive, nope....
>>
>> So I wrote my own echo service on another tomcat instance and  
>> exercised it using SoapUI.
>>
>> I then changed testSoap to call my own web service, guess what....
>>
>> the same ZoneInfo error.
>>
>> Any thoughts would be appreciated.
>>
>> Regards
>>
>> Dave Johnson
>