MTOM not caching attachments with POJO web service (OutOfMemoryError as a result)

2011-12-20 Thread Ognjen Blagojevic
Hi, I developed sample POJO web service (code-first, WSDL is generated by Axis2), and enabled MTOM and caching in services.xml descriptor. However, I get OutOfMemoryError on the server side. Logging revealed that parameter "cacheAttachments" stated in service.xml descriptor is not taken into

[solved] Re: MTOM not caching attachments with POJO web service (OutOfMemoryError as a result)

2011-12-20 Thread Ognjen Blagojevic
On 20.12.2011 13:14, Ognjen Blagojevic wrote: true d:\__AXIS2_MTOM_TEMP2 4000 Colleage just found what was the problem. Those parameters should go to axis2.xml (as described in the docs) and not to services.xml (as I wrongly assumed). D'oh! Thank you, Anja. -Ognjen ---

Axis2 Skeleton not found?

2011-12-20 Thread athom
I created a service for axis2 and implemented a service skeleton and a MessageReceiver for that service. When i now want to call that service from a client, the Receiver on the server receives the call but in this code of the skeleton: |public void invokeBusinessLogic( org.apache.axis

Re: Axis2 Skeleton not found?

2011-12-20 Thread Deepal Jayasinghe
Can you check whether the correct message receiver is listed on your services.xml ? Deepal On 12/20/2011 9:28 AM, athom wrote: > > I created a service for axis2 and implemented a service skeleton and a > MessageReceiver for that service. > > When i now want to call that service from a client, the