That seems very promising, thanks! You have any tips on how to use the XmlStreamReader? Preferably, I'd just stick it into a DOM-based structure.

Thanks again!

Davanum Srinivas wrote:
There are several more options :) Trying to start with the ones you
can maintain w/o too much effort.

Next on the list, You can get an XMLStreamReader from the ADBBean
using getPullParser, you can check the generated code for the QName
(search for MY_QNAME), use that as the parameter for getPullParser().
This returns the stax  javax.xml.stream.XMLStreamReader which you can
use to do whatever you want.

Example:
XMLStreamReader reader = myBean.getPullParser(myBean.MY_QNAME);

-- dims

On 10/9/06, Jake Goulding <[EMAIL PROTECTED]> wrote:
I assume that there is no middle ground? Some way of getting the raw
version provided by -d and the functions from the databinding? Or can I
not have my cake and eat it too?

Thanks!

Davanum Srinivas wrote:
> The second option is to run wsdl2java with "-d none" which does not
> generate any databinding at all and you have complete control. So you
> will have to construct the request by hand and you get full control
> over the response as well.
>
> -- dims
>
> On 10/9/06, Jake Goulding <[EMAIL PROTECTED]> wrote:
>> Well, I don't control the WSDL (Microsoft Sharepoint). I could modify
>> the WSDL by hand, and make it different from the actual WSDL, but that
>> seems kind of nasty, but I can do it if need be. Any other options?
>>
>> Thanks!
>>
>> Davanum Srinivas wrote:
>> > Typically, we ask you to specify that as xsd:any and the codegen
>> > creates an OMElement as the method param or java bean param which you
>> > can then use to get your data.
>> >
>> > Is it possible for you to do this?
>> >
>> > -- dims
>> >
>> > On 10/9/06, Jake Goulding <[EMAIL PROTECTED]> wrote:
>> >> I'd like to get the raw XML node representing a part of my returned
>> >> message. It looks like getOMElement() should be the right thing to
>> call,
>> >> but I'm not sure what to pass it.
>> >>
>> >> Can anyone tell me if this is the right thing to be looking at,
>> and if
>> >> so, how to use it?
>> >>
>> >> --
>> >>
>> >> JAKE GOULDING
>> >> Software Engineer
>> >> [EMAIL PROTECTED]
>> >>
>> >> Viví­simo [Search Done Right™]
>> >> 1710 Murray Avenue
>> >> Pittsburgh, PA 15217 USA
>> >> tel: +1.412.422.2499 x105
>> >> fax: +1.412.422.2495
>> >> vivisimo.com      clusty.com
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>>
>> JAKE GOULDING
>> Software Engineer
>> [EMAIL PROTECTED]
>>
>> Viví­simo [Search Done Right™]
>> 1710 Murray Avenue
>> Pittsburgh, PA 15217 USA
>> tel: +1.412.422.2499 x105
>> fax: +1.412.422.2495
>> vivisimo.com      clusty.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

--

JAKE GOULDING
Software Engineer
[EMAIL PROTECTED]

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com


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





--

JAKE GOULDING
Software Engineer
[EMAIL PROTECTED]

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com


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

Reply via email to