mabroukONnet wrote:
>
> Hi dear Bogdan
> >----(^_^)----<
> i think i founded the cause,
> In fact, when i try to access wsdl of my resource from axis2 interface,
> i get one DataRetrievalEception(Illegal character in path ...).
> so, i tried to change the name of my file.war wich contains space between
> words(i eliminate spaces). finally it works :-P
> i can access to my wsdl from axis interface.
> and in my client i get the truely error or fault wich is:
> The schema has no property with the name
> '{http://docs.oasis-open.org/wsn/bw-2/NotificationProducer}FixedTopicSet
> :-P
> (i have an exception and i'm happy , strange!!) ---> now, i can see my
> problem.
>
> if you have a quick response for this task, i'll be gracefull...
> meanwhile, i'll not drink coffee :*) no no no
> i'll find if there are resolution of similar problem:computer-user:.
>
> thanks.
>
There are 2 solutions depending on what you are trying to do. If your
resource is a notification producer, then you need to define the following
in your [ResourceName].rmd file (under web-inf/classes/wsdl)
<wsrmd:Property name="wsnt:FixedTopicSet" modifiability="read-only"
mutability="constant" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"/>
<wsrmd:Property name="wst:TopicSet" modifiability="read-only"
mutability="mutable" xmlns:wst="http://docs.oasis-open.org/wsn/t-1"/>
<wsrmd:Property name="wsnt:TopicExpression" modifiability="read-only"
mutability="mutable" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"/>
<wsrmd:Property name="wsnt:TopicExpressionDialect" modifiability="read-only"
mutability="mutable" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"/>
with wsrmd namespace being defined as
xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1" in the rmd file.
If you are not using notifications, then you need to find in your wsdl where
the properties of your resource are defined and remove these 4 lines:
<xsd:element ref="wsnt:FixedTopicSet"/>
<xsd:element minOccurs="0" ref="wst:TopicSet"/>
<xsd:element maxOccurs="unbounded" minOccurs="0"
ref="wsnt:TopicExpression"/>
<xsd:element maxOccurs="unbounded" minOccurs="0"
eef="wsnt:TopicExpressionDialect"/>
--
View this message in context:
http://www.nabble.com/MissingResourceException-tf3927432.html#a11142018
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]