I just need an example of how to send any bit of XML through a web
service as a generic payload.

I come from a Microsoft background and this is the technique used in
that world, now I fully understand that the 2 worlds are like
opposites but when I saw the generated code I thought I'd give it a
crack.

On 8/24/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote:
>
>
> On 8/24/07, Eben Bruyns <[EMAIL PROTECTED]> wrote:
> > I've tried both ways.
>
> For codegen can you try with the wsdl2java with adb with a nighly build?
>
> > I've created an xml document that I read into an OMDOMDocument and
> > grabbed the documentElement from that.
>
> I can't unders tand  why you want to do this.
> you can create an OMElement using OMAbstractFactory.getOMFactory()
>
> and set attributes and element using it.
>
> if you can send me the schema part for that element I'll write a sample for
> you.
>
> Amila.
>
> > Is there a trick I'm missing?
> >
> > On 8/24/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote:
> > > how are you going to access the web service?
> > > with generated code or directly using the Service client interface?
> > >
> > > Amila.
> > >
> > >
> > > On 8/24/07, Eben Bruyns <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Guys,
> > > >
> > > > I'm currently struggling with getting a web service client to make a
> > > > call that contains an xs:anytype node.
> > > >
> > > > I can see the node being populated when I serialize the object I pass
> > > > into the method call.
> > > >
> > > > I get an exception with this message:
> > > >
> > > > "Parser has already reached end of the document. No siblings found""
> > > >
> > > > I am using Axis2 1.2 with the eclipse
> > > > wtp-all-in-one-sdk-R-2.0-200706260303-win32.zip
> toolset.
> > > >
> > > > I'm also running on the latest Sun JVM
> > > >
> > > > java version "1.6.0_02"
> > > > Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
> > > > Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
> > > >
> > > > I have not been able to find anything via a google search regarding
> > > > this error message, any help would be much appreciated.
> > > >
> > > > Regards,
> > > >
> > > > Eben Bruyns
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Amila Suriarachchi,
> > > WSO2 Inc.
> >
> >
> > --
> > .E
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.


-- 
.E

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to