Next in thread → Next in month →

Re: [wsrp-comment] EventPayload Type in spec does not match WSDL

From
Alexey Zavizionov <>
Date
2007-09-30T21:54:52+00:00
ID
Thread
Re: [wsrp-comment] EventPayload Type in spec does not match WSDL
Hi, Rich Thompson

So, souds like that is Axis trouble.., isn't it?

Btw, where I can found archive of dev email list?

Regards,
Alexey

On 9/28/07, Rich Thompson <> wrote:
>
>
> By the way; the dev email list is the better place to ask such questions.
>
> I'm pretty sure the problem you are running into is that the Axis stack
> doesn't know how to serialize a Java Object into XML. As a result, it
> reflects the any as a "org.apache.axis.message.MessageElement" object and
> leaves the serialize/deserialize task to the developer.
>
> Rich Thompson
> OASIS WSRP TC Chair
> IBM T.J. Watson Research Center / Hawthorne, NY
>
>
>
>  *"Alexey Zavizionov" <>*
>
> 09/27/2007 12:54 PM
>   To
>   cc
> "Roman Pedchenko" <>  Subject
> Re: [wsrp-comment] EventPayload Type in spec does not match WSDL
>
>
>
>
>
>
> I have expired problem with create EventPayload on Producer.
>
> My code is:
> For UpdateResponse I creating array of Events:
> (new UpdateResponse()).setEvents( here array of Event() );
> Creating payload:
>     EventPayload value = new EventPayload();
>     value.set_any(new Object());  <== here problem!!!
> Creating event:
>     Event newEvent = new Event();
>     newEvent.setName(new QName(""));
>     newEvent.setPayload(value);
>
> But in the spec described Object type for any:
> 6.1.21 EventPayload Type
> [R] Object any
> 6.1.22 Event Type
> [R] QName           name
> [O] QName           type
> [O] EventPayload payload
> [O] Extension       extensions[]
>
> Why is it?
>
> Can anyone help me?
>
> PS: For generation code I use Axis1 1.4
>
> Thanks,
> Alexey
>
> > This was modeled after what we did for Property where the base type is
> also "any", but
> > people found it convenient, for commonly expected types, to have an
> alternative
> > representative.
> >
> > Perhaps additional description along the lines of what we have in
> Property would be helpful ...
> >
> > Rich
> > ----- Forwarded by Rich Thompson/Watson/IBM on 09/20/2007 11:03 AM -----
> > Nathan E Lipke <>
> >
> > 09/12/2007 12:26 PM
> >
> > To
> >       
> >
> > Subject
> >       [wsrp-comment] EventPayload Type in spec does not match WSDL
> >
> >
> > The "namedStringArray" needs to be defined and the "any" value should be
> > optional.
>
> This publicly archived list offers a means to provide input to the
> OASIS Web Services for Remote Portlets (WSRP) TC.
>
> In order to verify user consent to the Feedback License terms and
> to minimize spam in the list archive, subscription is required
> before posting.
>
> Subscribe: 
> Unsubscribe: 
> List help: 
> List archive: http://lists.oasis-open.org/archives/wsrp-comment/
> Feedback License: http://www.oasis-open.org/who/ipr/feedback_license.pdf
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> Committee: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsrp
>
>
>
Next in thread → Next in month →