Hi,
i've got a question regarding to the implementation of the
QueryResourceProperties-Operation with Apache WSRF.
I have defined a WSResourcePorttype, wich includes the
QueryResourceProperties-Operation. The PortType is associated with the
QueryExpressionDialect of my Resource.
If I try to generate the Service-Stubs, I always get the following error:
"....
PortType implements the operations from
the
{http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.wsdl}QueryResourceProperties
portType but does not define the following required
properties:
[{http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd}QueryExpressionDialect]
..."
There must be something wrong with the wsrp:QueryExpressionDialect, but i
can't find the problem.
My wsdl-Types section looks like that:
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsrf-rp=
"http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd"
targetNamespace="http://bpc.ibm.com/WSResourceFacade">
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"
schemaLocation="../spec/wsa/WS-Addressing-2004_08_10.xsd"/>
<xsd:include schemaLocation="WS-ResourceProperties-1_2-Draft_05.xsd"/>
<xsd:element name="ProcessStatus" type="xsd:string"/>
<xsd:element name="ResourceID" type="xsd:string"/>
<xsd:element name="ExpressionDialect"
type="wsrf-rp:QueryExpressionDialect"/>
<xsd:element name="ProcessResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:ResourceID"/>
<xsd:element ref="tns:ProcessStatus"/>
<xsd:element ref="tns:ExpressionDialect"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetResource_CS" type="xsd:string"/>
<xsd:element name="GetResource_EPR" type="wsa:EndpointReferenceType"/>
</xsd:schema>
</wsdl:types>
My PortType looks like that:
<wsdl:portType name="WSResourceFacadePortType"
wsrf-rp:ResourceProperties="tns:ProcessResourceProperties"
wsrf-rp:QueryExpressionDialect="tns:ExpressionDialect">
...
<wsdl:operation name="QueryResourceProperties">
<wsdl:input name="QueryResourcePropertiesRequest"
message="wsrf-rpw:QueryResourcePropertiesRequest" />
<wsdl:output name="QueryResourcePropertiesResponse"
message="wsrf-rpw:QueryResourcePropertiesResponse" />
<wsdl:fault name="ResourceUnknownFault"
message="wsrf-rpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrf-rpw:InvalidResourcePropertyQNameFault" />
<wsdl:fault name="UnknownQueryExpressionDialectFault"
message="wsrf-rpw:UnknownQueryExpressionDialectFault" />
<wsdl:fault name="InvalidQueryExpressionFault"
message="wsrf-rpw:InvalidQueryExpressionFault" />
<wsdl:fault name="QueryEvaluationErrorFault"
message="wsrf-rpw:QueryEvaluationErrorFault" />
</wsdl:operation>
</wsdl:portType>
The WSRF-RP Spec unfortunatly didn't shows an example of an portType, wich
supports the QueryResourceProperties-Operation.
Please, can anyone help?
Thanks in advance
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]