Thanks Sal for your answer.

I preferred to reference the remote files to not need to download them.
But since I had quite a number of difficulties with namespaces I will
stick to the template ;)

regards,
wol.


Sal Campana wrote:

> Wolfgang Schreiner wrote:
>
>> hi,
>>
>> After using WSRF I decided to move on to MUSE. I added the same
>> modifications I did to the WSRF-WSDL to the MUSE-WSDL (see below) and
>> got the following error:
>> \build.xml:54: org.apache.ws.resource.InvalidWsrfWsdlException: Unable
>> to locate
>> the ResourceProperties document element with QName
>> {http://docs.oasis-open.org/
>> wsdm/2004/12/muws/wsdm-muws-part2.xsd}RelationshipsProperties
>> The build also fails with the same error message if I just try to build
>> the plain template WSDL after renaming it.
>> Hope you can help me
>> regards,
>>
>> wol.
>>
>> <?xml version="1.0"?>
>>
>> <definitions name="MedicalImageConverterDefinition"
>>    targetNamespace="http://gemss.par.univie.ac.at/service/converter";
>>    xmlns="http://schemas.xmlsoap.org/wsdl/";
>>    xmlns:tns="http://gemss.par.univie.ac.at/service/converter";
>>    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>>  
>> xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd";
>>
>>  
>> xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl";
>>
>>  
>> xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl";
>>
>>  
>> xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl";
>>
>>  
>> xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl";
>>
>>    xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex";
>>    xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
>>
>>    <import
>>      
>> namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl";
>>
>>      
>> location="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl";
>>
>> />
>>
>>    <import
>>      
>> namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl";
>>
>>      
>> location="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl";
>>
>> />
>>
>> <!--
>>    <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex";
>>        location="../spec/wsx/WS-MetadataExchange-2004_09.wsdl" />
>> -->
>>
>>    <import
>>      
>> namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl";
>>
>>      
>> location="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl";
>>
>> />
>>
>>    <import
>>      
>> namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl";
>>
>>      
>> location="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl";
>>
>> />
>>
>>    <types>
>>        <schema elementFormDefault="qualified"
>>          
>> targetNamespace="http://gemss.par.univie.ac.at/service/converter";
>>            xmlns="http://www.w3.org/2001/XMLSchema";
>>            xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>          
>> xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd";
>>
>>          
>> xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd";
>>
>>          
>> xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
>>
>>          
>> xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
>>
>>          
>> xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";>
>>
>>
>>            <xsd:import
>>              
>> namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd";
>>
>>              
>> schemaLocation="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd";
>>
>> />
>>
>>            <xsd:import
>>              
>> namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd";
>>
>>              
>> schemaLocation="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd";
>>
>> />
>>
>>            <xsd:import
>>              
>> namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
>>
>>              
>> schemaLocation="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
>>
>> />
>>
>>            <xsd:import
>>              
>> namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
>>
>>              
>> schemaLocation="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
>>
>> />
>>
>>            <xsd:import
>>              
>> namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
>>
>>              
>> schemaLocation="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
>>
>> />
>>
>>            <!-- *** Add an element definition here for each of your
>> custom resource properties *** -->
>>            <!-- *** e.g.: <element name="MyProperty" type="xsd:string"
>> /> *** -->
>>
>>            <!-- Resource Properties Document Schema -->
>>            <element name="ResourceProperties">
>>                <complexType>
>>                    <sequence>
>>
>>                        <!-- *** If you wish to implement the
>> wsrl:ScheduledResourceTermination portType,
>>                            uncomment the below two lines *** -->
>>                        <element ref="wsrl:CurrentTime" />
>>                        <element ref="wsrl:TerminationTime" />
>>
>>                        <!-- *** If you wish to implement the
>> wsnt:NotificationProducer portType,
>>                            uncomment the below three lines *** -->
>>                        <element ref="wsnt:Topic"
>> maxOccurs="unbounded" />
>>                        <element ref="wsnt:FixedTopicSet" />
>>                        <element ref="wsnt:TopicExpressionDialects"
>>                            maxOccurs="unbounded" />
>>
>>                        <!-- *** The ResourceId property is _required_
>> by the MUWS spec *** -->
>>                        <element ref="muws-p1-xs:ResourceId" />
>>
>>                        <!-- *** If you wish to implement the MUWS
>> ManageabilityCharacteristics capability,
>>                            uncomment the below line *** -->
>>                        <element
>>                            ref="muws-p1-xs:ManageabilityCapability"
>> minOccurs="0"
>>                            maxOccurs="unbounded" />
>>
>>                        <!-- *** If you wish to implement the MUWS
>> CorrelatableProperties capability,
>>                            uncomment the below line *** -->
>>                        <element ref="muws-p1-xs:CorrelatableProperties"
>>                            minOccurs="0" maxOccurs="unbounded" />
>>
>>                        <!-- *** If you wish to implement the MUWS
>> Description capability,
>>                            uncomment the below three lines *** -->
>>                        <element ref="muws-p2-xs:Caption" minOccurs="0"
>>                            maxOccurs="unbounded" />
>>                        <element ref="muws-p2-xs:Description"
>>                            minOccurs="0" maxOccurs="unbounded" />
>>                        <element ref="muws-p2-xs:Version"
>> minOccurs="0" />
>>
>>                        <!-- *** If you wish to implement the MUWS
>> OperationalStatus capability,
>>                            uncomment the below line *** -->
>>                        <element ref="muws-p2-xs:OperationalStatus" />
>>
>>                        <!-- *** If you wish to implement the MUWS
>> Metrics capability,
>>                            uncomment the below line *** -->
>>                        <element ref="muws-p2-xs:CurrentTime" />
>>
>>                        <!-- *** If you wish to implement the MUWS
>> Relationships capability,
>>                            uncomment the below line *** -->
>>                        <element ref="muws-p2-xs:Relationship"
>>                            minOccurs="0" maxOccurs="unbounded" />
>>
>>                        <!-- *** Add an element ref here for each of the
>> custom resource property elements you defined above *** -->
>>                        <!-- *** e.g.: <element ref="tns:MyProperty" />
>> (NOTE: default is minOccurs="1" and maxOccurs="1") *** -->
>>                        <!-- ***   or: <element
>> ref="tns:MyOtherProperty" minOccurs="0" maxOccurs="unbounded" /> *** -->
>>
>>                        <!-- *** Uncomment the below any element if you
>> want to permit resource property elements
>>                            with arbitrary names (not generally
>> recommended) *** -->
>>                        <!--
>>                            <any minOccurs="0" maxOccurs="unbounded"
>> namespace="##other" processContents="lax"/>
>>                        -->
>>
>>                    </sequence>
>>                </complexType>
>>            </element>
>>
>>            <!-- *** Add element definitions for custom
>> request/response/fault types here *** -->
>>            <element name="DICOMFile">
>>                <complexType>
>>                    <xsd:sequence>
>>                        <xsd:element type="base64Binary"
>>                            name="fileData" />
>>                    </xsd:sequence>
>>                </complexType>
>>            </element>
>>
>>            <element name="AnalyzeFile">
>>                <complexType>
>>                    <xsd:sequence>
>>                        <xsd:element type="base64Binary"
>> name="hdrData" />
>>                        <xsd:element type="base64Binary"
>> name="imgData" />
>>                    </xsd:sequence>
>>                </complexType>
>>            </element>
>>
>>            <element name="ConversionFault">
>>                <complexType>
>>                    <complexContent>
>>                        <extension base="wsbf:BaseFaultType" />
>>                    </complexContent>
>>                </complexType>
>>            </element>
>>
>>        </schema>
>>    </types>
>>
>>
>>    <!-- *** Add message definitions for custom request/response/fault
>> types here *** -->
>>    <message name="Analyze2DICOMRequest">
>>        <part name="Analyze2DICOMRequest" element="tns:AnalyzeFile" />
>>    </message>
>>
>>    <message name="Analyze2DICOMResponse">
>>        <part name="Analyze2DICOMResponse" element="tns:DICOMFile" />
>>    </message>
>>
>>    <message name="DICOM2AnalyzeRequest">
>>        <part name="DICOM2AnalyzeRequest" element="tns:DICOMFile" />
>>    </message>
>>
>>    <message name="DICOM2AnalyzeResponse">
>>        <part name="DICOM2AnalyzeResponse" element="tns:AnalyzeFile" />
>>    </message>
>>
>>    <message name="ConversionFault">
>>        <part name="ConversionFault" element="tns:ConversionFault" />
>>    </message>
>>
>>
>>
>>    <portType name="MedicalImageConverterPortType"
>>        wsrp:ResourceProperties="tns:ResourceProperties">
>>
>>        <operation name="GetResourceProperty">
>>            <input name="GetResourcePropertyRequest"
>>                message="wsrpw:GetResourcePropertyRequest" />
>>            <output name="GetResourcePropertyResponse"
>>                message="wsrpw:GetResourcePropertyResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsrpw:ResourceUnknownFault" />
>>            <fault name="InvalidResourcePropertyQNameFault"
>>                message="wsrpw:InvalidResourcePropertyQNameFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRP
>> GetMultipleResourceProperties portType,
>>            uncomment the below operation block *** -->
>>        <operation name="GetMultipleResourceProperties">
>>            <input name="GetMultipleResourcePropertiesRequest"
>>                message="wsrpw:GetMultipleResourcePropertiesRequest" />
>>            <output name="GetMultipleResourcePropertiesResponse"
>>                message="wsrpw:GetMultipleResourcePropertiesResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsrpw:ResourceUnknownFault" />
>>            <fault name="InvalidResourcePropertyQNameFault"
>>                message="wsrpw:InvalidResourcePropertyQNameFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRP SetResourceProperties
>> portType,
>>            uncomment the below operation block *** -->
>>        <operation name="SetResourceProperties">
>>            <input name="SetResourcePropertiesRequest"
>>                message="wsrpw:SetResourcePropertiesRequest" />
>>            <output name="SetResourcePropertiesResponse"
>>                message="wsrpw:SetResourcePropertiesResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsrpw:ResourceUnknownFault" />
>>            <fault name="InvalidResourcePropertyQNameFault"
>>                message="wsrpw:InvalidResourcePropertyQNameFault" />
>>            <fault
>>                name="InvalidSetResourcePropertiesRequestContentFault"
>>              
>> message="wsrpw:InvalidSetResourcePropertiesRequestContentFault" />
>>            <fault name="UnableToModifyResourcePropertyFault"
>>                message="wsrpw:UnableToModifyResourcePropertyFault" />
>>            <fault name="SetResourcePropertyRequestFailedFault"
>>                message="wsrpw:SetResourcePropertyRequestFailedFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRP
>> QueryResourceProperties portType,
>>            uncomment the below operation block *** -->
>>        <operation name="QueryResourceProperties">
>>            <input name="QueryResourcePropertiesRequest"
>>                message="wsrpw:QueryResourcePropertiesRequest" />
>>            <output name="QueryResourcePropertiesResponse"
>>                message="wsrpw:QueryResourcePropertiesResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsrpw:ResourceUnknownFault" />
>>            <fault name="InvalidResourcePropertyQNameFault"
>>                message="wsrpw:InvalidResourcePropertyQNameFault" />
>>            <fault name="UnknownQueryExpressionDialectFault"
>>                message="wsrpw:UnknownQueryExpressionDialectFault" />
>>            <fault name="InvalidQueryExpressionFault"
>>                message="wsrpw:InvalidQueryExpressionFault" />
>>            <fault name="QueryEvaluationErrorFault"
>>                message="wsrpw:QueryEvaluationErrorFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRL
>> ImmediateResourceTermination portType,
>>            uncomment the below operation block *** -->
>>        <operation name="Destroy">
>>            <input message="wsrlw:DestroyRequest" />
>>            <output message="wsrlw:DestroyResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsrlw:ResourceUnknownFault" />
>>            <fault name="ResourceNotDestroyedFault"
>>                message="wsrlw:ResourceNotDestroyedFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRL
>> ScheduledResourceTermination portType,
>>            uncomment the below operation block *** -->
>>        <operation name="SetTerminationTime">
>>            <input message="wsrlw:SetTerminationTimeRequest" />
>>            <output message="wsrlw:SetTerminationTimeResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsrlw:ResourceUnknownFault" />
>>            <fault name="UnableToSetTerminationTimeFault"
>>                message="wsrlw:UnableToSetTerminationTimeFault" />
>>            <fault name="TerminationTimeChangeRejectedFault"
>>                message="wsrlw:TerminationTimeChangeRejectedFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSNT NotificationProducer
>> portType,
>>            uncomment the below two operation blocks *** -->
>>        <operation name="Subscribe">
>>            <input message="wsntw:SubscribeRequest" />
>>            <output message="wsntw:SubscribeResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsntw:ResourceUnknownFault" />
>>            <fault name="SubscribeCreationFailedFault"
>>                message="wsntw:SubscribeCreationFailedFault" />
>>            <fault name="TopicPathDialectUnknownFault"
>>                message="wsntw:TopicPathDialectUnknownFault" />
>>        </operation>
>>
>>        <operation name="GetCurrentMessage">
>>            <input message="wsntw:GetCurrentMessageRequest" />
>>            <output message="wsntw:GetCurrentMessageResponse" />
>>            <fault name="ResourceUnknownFault"
>>                message="wsntw:ResourceUnknownFault" />
>>            <fault name="InvalidTopicExpressionFault"
>>                message="wsntw:InvalidTopicExpressionFault" />
>>            <fault name="TopicNotSupportedFault"
>>                message="wsntw:TopicNotSupportedFault" />
>>            <fault name="NoCurrentMessageOnTopicFault"
>>                message="wsntw:NoCurrentMessageOnTopicFault" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSNT NotificationConsumer
>> portType,
>>            uncomment the below two operation blocks *** -->
>>        <operation name="Notify">
>>            <input name="Notify" message="wsntw:Notify" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the MUWS
>> QueryRelationshipsByType operation,
>>            uncomment the below operation block *** -->
>>        <operation name="QueryRelationshipsByType">
>>            <input
>>                message="muws-p2-wsdl:QueryRelationshipsByTypeRequest" />
>>            <output
>>               
>> message="muws-p2-wsdl:QueryRelationshipsByTypeResponse" />
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WS-MetadataExchange
>> MetadataExchange portType,
>>            uncomment the below operation block *** -->
>>        <!--
>>            <operation name="GetMetadata" >
>>            <input message="mex:GetMetadataMsg"
>>          
>> wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Request";
>>
>> />
>>            <output message="mex:GetMetadataResponseMsg"
>>          
>> wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Response";
>>
>> />
>>            </operation>
>>            <operation name="Get" >
>>            <input message="mex:GetMsg"
>>          
>> wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/Get/Request"; />
>>            <output message="mex:GetResponseMsg"
>>          
>> wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/Get/Response"; />
>>            </operation>
>>        -->
>>        <!-- *** Add an operation block here for each of your custom
>> operations *** -->
>>        <operation name="convertAnalyze2DICOM">
>>            <input name="Analyze2DICOMRequest"
>>                message="tns:Analyze2DICOMRequest" />
>>            <output name="Analyze2DICOMResponse"
>>                message="tns:Analyze2DICOMResponse" />
>>            <fault name="ConversionFault"
>> message="tns:ConversionFault" />
>>        </operation>
>>
>>        <operation name="convertDICOM2Analyze">
>>            <input name="DICOM2AnalyzeRequest"
>>                message="tns:DICOM2AnalyzeRequest" />
>>            <output name="DICOM2AnalyzeResponse"
>>                message="tns:DICOM2AnalyzeResponse" />
>>            <fault name="ConversionFault"
>> message="tns:ConversionFault" />
>>        </operation>
>>
>>    </portType>
>>
>>    <binding name="MedicalImageConverterSoapHttpBinding"
>>        type="tns:MedicalImageConverterPortType">
>>
>>        <soap:binding style="document"
>>            transport="http://schemas.xmlsoap.org/soap/http"; />
>>
>>        <operation name="GetResourceProperty">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="InvalidResourcePropertyQNameFault">
>>                <soap:fault name="InvalidResourcePropertyQNameFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRP
>> GetMultipleResourceProperties portType,
>>            uncomment the below operation block *** -->
>>        <operation name="GetMultipleResourceProperties">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="InvalidResourcePropertyQNameFault">
>>                <soap:fault name="InvalidResourcePropertyQNameFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRP SetResourceProperties
>> portType,
>>            uncomment the below operation block *** -->
>>        <operation name="SetResourceProperties">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="InvalidResourcePropertyQNameFault">
>>                <soap:fault name="InvalidResourcePropertyQNameFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="UnableToModifyResourcePropertyFault">
>>                <soap:fault name="UnableToModifyResourcePropertyFault"
>>                    use="literal" />
>>            </fault>
>>            <fault
>>                name="InvalidSetResourcePropertiesRequestContentFault">
>>                <soap:fault
>>                   
>> name="InvalidSetResourcePropertiesRequestContentFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="SetResourcePropertyRequestFailedFault">
>>                <soap:fault name="SetResourcePropertyRequestFailedFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRP
>> QueryResourceProperties portType,
>>            uncomment the below operation block *** -->
>>        <operation name="QueryResourceProperties">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="InvalidResourcePropertyQNameFault">
>>                <soap:fault name="InvalidResourcePropertyQNameFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="UnknownQueryExpressionDialectFault">
>>                <soap:fault name="UnknownQueryExpressionDialectFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="InvalidQueryExpressionFault">
>>                <soap:fault name="InvalidQueryExpressionFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="QueryEvaluationErrorFault">
>>                <soap:fault name="QueryEvaluationErrorFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRL
>> ImmediateResourceTermination portType,
>>            uncomment the below operation block *** -->
>>        <operation name="Destroy">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="ResourceNotDestroyedFault">
>>                <soap:fault name="ResourceNotDestroyedFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSRL
>> ScheduledResourceTermination portType,
>>            uncomment the below operation block *** -->
>>        <operation name="SetTerminationTime">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="UnableToSetTerminationTimeFault">
>>                <soap:fault name="UnableToSetTerminationTimeFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="TerminationTimeChangeRejectedFault">
>>                <soap:fault name="TerminationTimeChangeRejectedFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSNT NotificationProducer
>> portType,
>>            uncomment the below two operation blocks *** -->
>>        <operation name="Subscribe">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="SubscribeCreationFailedFault">
>>                <soap:fault name="SubscribeCreationFailedFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="TopicPathDialectUnknownFault">
>>                <soap:fault name="TopicPathDialectUnknownFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>        <operation name="GetCurrentMessage">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ResourceUnknownFault">
>>                <soap:fault name="ResourceUnknownFault" use="literal" />
>>            </fault>
>>            <fault name="InvalidTopicExpressionFault">
>>                <soap:fault name="InvalidTopicExpressionFault"
>>                    use="literal" />
>>            </fault>
>>            <fault name="TopicNotSupportedFault">
>>                <soap:fault name="TopicNotSupportedFault"
>> use="literal" />
>>            </fault>
>>            <fault name="NoCurrentMessageOnTopicFault">
>>                <soap:fault name="NoCurrentMessageOnTopicFault"
>>                    use="literal" />
>>            </fault>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WSNT NotificationConsumer
>> portType,
>>            uncomment the below two operation blocks *** -->
>>        <operation name="Notify">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the MUWS
>> QueryRelationshipsByType operation,
>>            uncomment the below operation block *** -->
>>        <operation name="QueryRelationshipsByType">
>>            <soap:operation style="document" />
>>            <input>
>>                <soap:body use="literal" />
>>            </input>
>>            <output>
>>                <soap:body use="literal" />
>>            </output>
>>        </operation>
>>
>>        <!-- *** If you wish to implement the WS-MetadataExchange
>> MetadataExchange portType,
>>            uncomment the below operation block *** -->
>>        <!--
>>            <operation name="GetMetadata" >
>>            <soap:operation style="document"/>
>>            <input>
>>            <soap:body use="literal"/>
>>            </input>
>>            <output>
>>            <soap:body use="literal"/>
>>            </output>
>>            </operation>
>>            <operation name="Get" >
>>            <soap:operation style="document"/>
>>            <input>
>>            <soap:body use="literal"/>
>>            </input>
>>            <output>
>>            <soap:body use="literal"/>
>>            </output>
>>            </operation>
>>        -->
>>
>>        <!-- *** Add an operation block here for each of your custom
>> operations *** -->
>>
>>        <operation name="convertAnalyze2DICOM">
>>            <soap:operation
>>              
>> soapAction="http://gemss.par.univie.ac.at/service/converter/convertAnalyze2DICOM";
>>
>> />
>>            <input name="Analyze2DICOMRequest">
>>                <soap:body use="literal" />
>>            </input>
>>            <output name="Analyze2DICOMResponse">
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ConversionFault">
>>                <soap:fault
>>                  
>> namespace="http://gemss.par.univie.ac.at/service/converter";
>>                    use="literal" name="ConversionFault" />
>>            </fault>
>>        </operation>
>>        <operation name="convertDICOM2Analyze">
>>            <soap:operation
>>              
>> soapAction="http://gemss.par.univie.ac.at/service/converter/convertDICOM2Analyze";
>>
>> />
>>            <input name="DICOM2AnalyzeRequest">
>>                <soap:body use="literal" />
>>            </input>
>>            <output name="DICOM2AnalyzeResponse">
>>                <soap:body use="literal" />
>>            </output>
>>            <fault name="ConversionFault">
>>                <soap:fault
>>                  
>> namespace="http://gemss.par.univie.ac.at/service/converter";
>>                    use="literal" name="ConversionFault" />
>>            </fault>
>>        </operation>
>>    </binding>
>>
>>    <service name="MedicalImageConverterService">
>>        <!-- Note: the port name becomes the service name in the wsdd
>> generated by Wsdl2Java -->
>>        <!-- *** Change the port name and the soap:address location
>> below to reflect the desired endpoint URL *** -->
>>        <port name="MedicalImageConverterPort"
>>            binding="tns:MedicalImageConverterSoapHttpBinding">
>>            <soap:address
>>              
>> location="http://localhost:8080/muse/services/MedicalImageConverterPort";
>> />
>>        </port>
>>    </service>
>>
>> </definitions>
>>
>>
>>  
>>
> Wolfgang,
>
> There is an issue with the specs out on the web..Take a look at
> http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl and
> http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd....
>
> The wsdl file has the portType defined as:
>
> <portType name="Relationships"     
> wsrf-rp:ResourceProperties="muws-p2-xs:RelationshipsProperties">
>
> The xsd has the element defined as:
>
> <xs:element name="RelationshipProperties"             
> type="muws-p2-xs:RelationshipPropertiesType"/>
>
> We validate you have the correct stuff in your wsdl compared to the
> wsdls you are importing....
>
> We had fixed this discrepancy in our copies of the wsd/xsd based on
> what the next spec version will have....
>
> So rule of thumb...use our included xsd and wsdl files...
>
> p.s. Thx though, you helped me uncover a bug we had just introduced
> which went unnoticed...I need to repost the dists today...
>
> -S
>
>

Reply via email to