Hi,

I declare the QueryExpressionDialect property in wsdl as following:

        <xsd:schema elementFormDefault="qualified"
targetNamespace="http://ws.apache.org/muse/test/simple";>
            <xsd:element name="MyProperty" type="xsd:string"/>
            <xsd:element name="WsResourceProperties">
                <xsd:complexType>
                    <xsd:sequence>
                                                <!--
                        <xsd:element maxOccurs="unbounded" minOccurs="0"
ref="wsrf-rp:QueryExpressionDialect"/>
                                                -->
                        <xsd:element maxOccurs="unbounded" minOccurs="0"
ref="tns:MyProperty"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:schema>

After I run client, I get the error msg of 'NoCapability
ForProperty' from server. The trace information from server as following:

16:58:58,562 ERROR [STDERR] java.lang.IllegalStateException: [ID =
'NoCapability
ForProperty'] There is no capability that defines the property
{http://docs.oasi
s-open.org/wsrf/rp-2}QueryExpressionDialect. If you have a capability that
is su
pposed to define this property, make sure the name is returned as part of
WsReso
urceCapability.getPropertyNames().
16:58:58,562 ERROR [STDERR]     at
org.apache.muse.ws.resource.properties.impl.S
impleResourcePropertyCollection.validateSchema(Unknown Source)
16:58:58,562 ERROR [STDERR]     at
org.apache.muse.ws.resource.impl.SimpleWsReso
urce.initialize(SimpleWsResource.java:227)

Can anyone tell me what's wrong?

Thanks.

Sara


-- 
View this message in context: 
http://www.nabble.com/about-wsrf-rpQueryExpressionDialect-capability-tp23168896p23168896.html
Sent from the Muse - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to