[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsrp-comment] EventPayload Type in spec does not match WSDL
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" <alexey.zavizionov@gmail.com> 09/27/2007 12:54 PM To wsrp-comment@lists.oasis-open.org cc "Roman Pedchenko" <roman.pedchenko@exoplatform.com.ua> 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 <nlipke@bea.com> > > 09/12/2007 12:26 PM > > To > wsrp-comment@lists.oasis-open.org > > 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: wsrp-comment-subscribe@lists.oasis-open.org Unsubscribe: wsrp-comment-unsubscribe@lists.oasis-open.org List help: wsrp-comment-help@lists.oasis-open.org 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]