Sure, will do.

thanks,
nandana

On Mon, Oct 20, 2008 at 9:29 PM, R J Scheuerle Jr <[EMAIL PROTECTED]> wrote:

> Please don't do a forceExpand.
>
> The point of the OMSourcedElement is to improve performance by preventing a
> forceExpand.
>
> Can you write an axiom unit test which demonstrates the problem. Perhaps
> you will recognize a solution after writing the testcase.
>
> Thanks,
>
>
> Rich Scheuerle
> IBM Web Services
> Apache Axis2 ([EMAIL PROTECTED])
> 512-838-5115 (IBM TL 678-5115)
> [image: Inactive hide details for "Nandana Mihindukulasooriya"
> <[EMAIL PROTECTED]>]"Nandana Mihindukulasooriya" <
> [EMAIL PROTECTED]>
>
>
>
>     *"Nandana Mihindukulasooriya" <[EMAIL PROTECTED]>*
>
>             10/20/2008 09:00 AM
>             Please respond to
>             [email protected]
>
>
> To
>
> [email protected]
> cc
>
>
> Subject
>
> [AXIOM] Attaching OMSourcedElementImpl as a child
>
> Hi Devs,
>       I have a service which does JSON to SOAP conversion. Service code is
> follows.
>
>        MessageContext outMsgCtx =
>
> MessageContext.getCurrentMessageContext().getOperationContext().getMessageContext(WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
>
> outMsgCtx.setProperty(Constants.Configuration.MESSAGE_TYPE,"text/xml");
>        //System.out.println(param.toString());
>        return param;
>
> Param element is an OMSourcedElementImpl with a JSONDataSource. The problem
> occurs when attaching this element to the response envelope in the message
> receiver. In the setComplete method when deattaching we make the data
> source
> null without expanding it. This doesn't cause a problem when we really
> removing the element but when we adding this as a child to another document
> this causes a problem. Shall we forceExpand() to solve this problem or is
> there a better solution ?
>
> thanks,
> nandana
>
>

Reply via email to