It's actually the JAXB objects I generated with CXF for my webservices.
Those should be JAXB2 elements.  They are the elements I return from my
webservice to a connected client.

On 9/20/07, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
>
> What kind of object do you send ? IIRC it has to be a DOM element or a
> JAXB2 pojo so that JAXB2 can marshal it to xml.
>
> On 9/20/07, Ryan Moquin <[EMAIL PROTECTED]> wrote:
> > I'm having some trouble when attempting to publish a notification.  When
> I
> > do, I get this error:
> >
> > ERROR - WSNComponent                   - Error processing exchange
> InOnly[
> >   id: ID:192.168.1.2-11520deb240-28:0
> >   status: Active
> >   role: provider
> >   endpoint: Broker
> >   in: null
> > ]
> > java.lang.IllegalArgumentException: source parameter must not be null
> >         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(
> > AbstractUnmarshallerImpl.java:98)
> >         at org.apache.servicemix.wsn.component.WSNEndpoint.process(
> > WSNEndpoint.java:128)
> >         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(
> > AsyncBaseLifeCycle.java:538)
> >         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(
> > AsyncBaseLifeCycle.java:490)
> >
> > My code that causes this is:
> >
> > private void sendNotification(Object notification) {
> >     try {
> >       if(wsnBroker == null)
> >         createWsnBroker();
> >       wsnBroker.notify("notificationTopic", notification);
> >     } catch (Exception e) {
> >       e.printStackTrace();
> >     }
> >   }
> >
> >
> > I've looked and my notification object isn't null, is there something
> called
> > source somewhere that I need to set?
> >
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>

Reply via email to