step achieved with success :,( port maps to the correct properties, and resource properties maps to some property elements wich contains the four properties listed before, and all is ok on description files. :-| what can i do? is there another check?
mabroukONnet Bogdan Solomon wrote: > > Well the next thing to check would be if the port maps to the correct > properties. Your port definition should have something like this: > > <wsdl:portType name=PortType" > wsrf-rp:ResourceProperties="tns:ResourceProperties"> > > Make sure your wsrf-rp:ResourceProperties maps to the > NotificationProducerRP definition. > > > mabroukONnet wrote: >> >> hi >> I hope i don't disturb. >> >> well, i looked in my wsdl files and i found definitions of the four >> properties: >> >> <xsd:element name="NotificationProducerRP"> >> <xsd:complexType> >> <xsd:sequence> >> <xsd:element maxOccurs="unbounded" minOccurs="0" >> ref="wsnt:TopicExpression"/> >> <xsd:element maxOccurs="1" minOccurs="0" ref="wsnt:FixedTopicSet"/> >> <xsd:element maxOccurs="unbounded" minOccurs="0" >> ref="wsnt:TopicExpressionDialect"/> >> <xsd:element maxOccurs="1" minOccurs="0" ref="wstop:TopicSet"/> >> </xsd:sequence> >> </xsd:complexType> >> </xsd:element> >> >> note: on the capability of wich uri is >> "http://docs.oasis-open.org/wsn/bw-2/NotificationProducer", the java >> capability class is a personalized class (MyNotificationProducer and not >> the SimpleNotificationProducer of muse). >> so i have in the generated classes MyNotificationProducer(interface and >> class) the following : >> *the definition of uri on the interface: >> String NAMESPACE_URI = >> "http://docs.oasis-open.org/wsn/bw-2/NotificationProducer"; >> *definition of properties on cthe implementation class: >> private static final QName[] _PROPERTIES = new QName[] >> { >> new QName(NAMESPACE_URI, "FixedTopicSet", PREFIX), >> new QName(NAMESPACE_URI, "TopicExpressionDialect", PREFIX), >> new QName(NAMESPACE_URI, "TopicExpression", PREFIX), >> new QName(NAMESPACE_URI, "TopicSet", PREFIX) >> }; >> >> may i would change something... >> this is the exception: >> The schema has no property with the name >> '{http://docs.oasis-open.org/wsn/bw-2/NotificationProducer}FixedTopicSet' >> any idea? >> >> >> Bogdan Solomon wrote: >>> >>> >>> mabroukONnet wrote: >>>> >>>> hi again and forever, >>>> if you mean by using notification implementing the "ToDo" notification >>>> and subscription manager classes: >>>> i don't still write code. >>>> but in terms of my project requirements i'll use notifications (and >>>> this resource as producer). >>>> >>>> in any case, i verified that the file.rmd contains all properties you >>>> listed, i have alawayes the exception :-P >>>> >>>> mabroukONnet >>>> >>> >>> Ok, looked again over the Muse source code, the map that is populated >>> (and later looked into, for the property) is actually initialized from >>> the wsdl file. So you need to make sure that your wsdl properties >>> section defines the four properties I listed before. You also need to >>> make sure that they use "ref:" in order to define them. >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/MissingResourceException-tf3927432.html#a11178002 Sent from the Muse User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
