axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhima santosh <santosh.bh...@gmail.com>
Subject Re: How to get xml string of axis2 object
Date Tue, 02 Aug 2011 10:13:49 GMT
SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();

        OMElement crmAuthenticationTokenOMElement = factory
                .createOMElement(new QName(
                        "serviceUrl",
                        "serviceName"));

On Tue, Aug 2, 2011 at 3:41 PM, Denise Wu <wadienil@gmail.com> wrote:

> Hi Swapna,
>
> I need for that to get the OMElement from the object. Axis2 offers the
> getOMElement(parentQName, factory) method.
> My question is how to know the parameters 'parentQName' and 'factory'
> values needed in my case.
>
> Thank you for your help,
>
>
> On Tue, Aug 2, 2011 at 10:38 AM, swapna soni <ssoni@nisum.com> wrote:
> > Hi Denise,
> >
> >  If it is OMElement, you can just say obj.toString().
> >
> > Thanks,
> > Swapna Soni.
> >
> > -----Original Message-----
> > From: Denise Wu [mailto:wadienil@gmail.com]
> > Sent: Tuesday, August 02, 2011 3:01 PM
> > To: java-dev@axis.apache.org
> > Subject: Re: How to get xml string of axis2 object
> >
> > Yes, but that's not my question.
> > My question is about converting an axis2 object into its xml
> representation.
> >
> >
> >
> > On Tue, Aug 2, 2011 at 10:28 AM, bhima santosh <santosh.bhima@gmail.com>
> > wrote:
> >>
> >> checkout testskillshome.com for xml to string conversion
> >>
> >> On Tue, Aug 2, 2011 at 2:56 PM, Denise Wu <wadienil@gmail.com> wrote:
> >>>
> >>> Hi,
> >>>
> >>> How to convert the input object of a webservice method into its xml
> >>> string representation?
> >>> Thank you,
> >>>
> >>> Denise.
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >>> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>>
> >>
> >>
> >
> >
> >
> > --
> > Wadienil.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
>
>
> --
> Wadienil.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

Mime
View raw message