That fixed it. FYI - if you are running this test in Eclipse, you'll have to update all of the referenced projects so that they rely on these versions as well, otherwise they will cause the 1.0-SNAPSHOT versions to be loaded earlier on the classpath.
> -----Original Message----- > From: Guillaume Nodet [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 01, 2005 4:29 PM > To: [email protected] > Subject: Re: [servicemix-user] Using HttpSoapInOutBinding > > > Could you edit the project.xml file in the servicemix-wsnotification > directory and change lines 193-202 > by the following ones. It seems that xfire latest snapshots > broke the demo. > > <dependency> > <groupId>xfire</groupId> > <artifactId>xfire-all</artifactId> > <version>1.0-20051129.225317</version> > </dependency> > <dependency> > <groupId>xfire</groupId> > <artifactId>xfire-jaxws</artifactId> > <version>1.0-20051130.145319</version> > </dependency> > > Guillaume > > > [EMAIL PROTECTED] wrote: > > >When running the JbiHttpNotificationTest I am encountering > the following > >error: > > > >org.codehaus.xfire.fault.XFireFault: Could not unmarshall type. > >javax.xml.bind.UnmarshalException > > - with linked exception: > >[javax.xml.bind.UnmarshalException: unexpected element > >(uri:"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotif > ication-1.2-dra > >ft-01.xsd", local:"ConsumerReference"). Expected elements are > ><{http://schemas.xmlsoap.org/ws/2003/03/addressing}Action>,<{ > http://schemas. > >xmlsoap.org/ws/2003/03/addressing}EndpointReference>,<{http:/ > /schemas.xmlsoa > >p.org/ws/2003/03/addressing}FaultTo>,<{http://schemas.xmlsoap > .org/ws/2003/03 > >/addressing}From>,<{http://schemas.xmlsoap.org/ws/2003/03/add > ressing}Message > >ID>,<{http://schemas.xmlsoap.org/ws/2003/03/addressing}Recipi > ent>,<{http://s > >chemas.xmlsoap.org/ws/2003/03/addressing}RelatesTo>,<{http:// > schemas.xmlsoap > >.org/ws/2003/03/addressing}ReplyTo>,<{http://schemas.xmlsoap. > org/ws/2003/03/ > >addressing}To>] > > at > >com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStrea > >mException(UnmarshallerImpl.java:395) > > > >The contents of wsn-subscribe.xml are as follows, but it appears that > >"wsnt:ConsumerReference" isn't a valid node according to the schema: > > > ><?xml version="1.0"?> > ><wsnt:Subscribe > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" > > > >xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Bas > eNotification-1 > >.2-draft-01.xsd" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > >xsi:schemaLocation="http://docs.oasis-open.org/wsn/2004/06/ws > n-WS-BaseNotifi > >cation-1.2-draft-01.xsd > >http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotificatio n-1.2-draft-01. >xsd > http://schemas.xmlsoap.org/ws/2002/12/policy >http://schemas.xmlsoap org/ws/2002/12/policy > >http://schemas.xmlsoap.org/ws/2003/03/addressing >http://schemas.xmlsoap.org/ws/2003/03/addressing"> > > <wsnt:ConsumerReference xmlns:ncex="http://www.consumer.org/RefProp"> > <wsa:ServiceName xmlns:sm="http://jaxws.components.servicemix.org/"> > sm:Consumer > </wsa:ServiceName> > </wsnt:ConsumerReference> > <wsnt:TopicExpression >dialect="http://www.ibm.com/xmlns/stdwip/web-services/WSTopics/TopicExpress i >on/simple"> > npex:SomeTopic</wsnt:TopicExpression> > <wsnt:UseNotify>true</wsnt:UseNotify> > ><wsnt:InitialTerminationTime>2003-12-25T00:00:00.00000Z</wsnt:InitialTermin a >tionTime> ></wsnt:Subscribe> > >/jonathan > > > >
