Hello everyone!

I have a problem generating xmlbeans from my wsdl file. I have double checked
the wsdl file and can't see any problems with it, so I have no idea why
wsdl2Java fails. I hope someone can help identify the problem.
 
I am using the muse-1.0 release.
Attached are the wsdl file and the output of "ant generate".

Best regards,
Pablo

-- 
Pablo Javier Roca Mendez
Intel GmbH/Bruehl, Hermuelheimer Str. 8a, 50321 Bruehl, Germany
Tel.: +49-2232-209024
<?xml version="1.0"?>

<definitions name="VirtualHostResourceDefinition"
             targetNamespace="http://gpe.intel.com/mgmt/vm";
             xmlns="http://schemas.xmlsoap.org/wsdl/";
             xmlns:vm="http://gpe.intel.com/mgmt/vm";
             xmlns:vm-xs="http://gpe.intel.com/mgmt/vm";
             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="../spec/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="../spec/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="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>

    <import 
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"; 
            location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>

    <types>
        <schema elementFormDefault="qualified"
                targetNamespace="http://gpe.intel.com/mgmt/vm";
                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";
                
xmlns:ws-ext="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd"; 
                xmlns:vm-xs="http://gpe.intel.com/mgmt/vm"; >

            <xsd:import 
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd";
                        
schemaLocation="../spec/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="../spec/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="../spec/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="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
            <xsd:import 
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"; 
                        schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
            <xsd:import 
namespace="http://ws.apache.org/namespaces/muse/muws-ext-1.xsd"; 
                        schemaLocation="../wsdl/muws-ext-1.xsd"/>
            
<!--        <xsd:import namespace="http://gpe.intel.com/mgmt/vm/props"; -->
<!--                    schemaLocation="VirtualHost.xsd" /> -->

    <!-- enumerations definitions -->
    <xsd:simpleType name="VmStateEnum">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="Offline"/>
            <xsd:enumeration value="Online"/>
            <xsd:enumeration value="Standby"/>
            <xsd:enumeration value="Booting"/>
            <xsd:enumeration value="Pausing"/>
            <xsd:enumeration value="Resuming"/>
            <xsd:enumeration value="Storing"/>
            <xsd:enumeration value="Unknown"/>
            <xsd:enumeration value="Crashed"/>
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:simpleType name="VmCommandEnum">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="Start"/>
            <xsd:enumeration value="Stop"/>
            <xsd:enumeration value="Pause"/>
            <xsd:enumeration value="Resume"/>
            <xsd:enumeration value="Reboot"/>
            <xsd:enumeration value="None"/>
        </xsd:restriction>
    </xsd:simpleType>

    <!-- REQUESTS AND RESPONSES -->
    <xsd:element name="Start">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="StartResponse">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="StartFault">
        <xsd:complexType>
            <xsd:complexContent>
                <xsd:extension base="wsbf:BaseFaultType"/>
            </xsd:complexContent>
        </xsd:complexType>
    </xsd:element>
    
    <xsd:element name="Pause">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="PauseResponse">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="PauseFault">
        <xsd:complexType>
            <xsd:complexContent>
                <xsd:extension base="wsbf:BaseFaultType"/>
            </xsd:complexContent>
        </xsd:complexType>
    </xsd:element>
    
    <xsd:element name="Resume">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="ResumeResponse">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="ResumeFault">
        <xsd:complexType>
            <xsd:complexContent>
                <xsd:extension base="wsbf:BaseFaultType"/>
            </xsd:complexContent>
        </xsd:complexType>
    </xsd:element>
    
    <xsd:element name="Stop">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="StopResponse">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="StopFault">
        <xsd:complexType>
            <xsd:complexContent>
                <xsd:extension base="wsbf:BaseFaultType"/>
            </xsd:complexContent>
        </xsd:complexType>
    </xsd:element>
    
    <xsd:element name="GetState">
        <xsd:complexType/>
    </xsd:element>
    <xsd:element name="GetStateResponse" type="vm-xs:VmStateEnum"/>
    <xsd:element name="GetStateFault">
        <xsd:complexType>
            <xsd:complexContent>
                <xsd:extension base="wsbf:BaseFaultType"/>
            </xsd:complexContent>
        </xsd:complexType>
    </xsd:element>
    
    <!-- RESOURCE PROPERTIES -->
    <xsd:element name="CurrentState" type="vm-xs:VmStateEnum"/>
    <xsd:element name="PreviousState" type="vm-xs:VmStateEnum"/>
    <xsd:element name="LastCommand" type="vm-xs:VmCommandEnum"/>
    
            <!-- 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" /> *** -->
                        
                        <xsd:element ref="vm-xs:CurrentState" minOccurs="1" 
maxOccurs="1"/>
                        <xsd:element ref="vm-xs:PreviousState" minOccurs="1" 
maxOccurs="1"/>
                        <xsd:element ref="vm-xs:LastCommand" minOccurs="1" 
maxOccurs="1"/>

                        <!-- *** 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>

        </schema>
    </types>
    
    <!-- *** Add message definitions for custom request/response/fault types 
here *** -->         
    
    <message name="StartRequest">
        <part name="document" element="vm-xs:Start"/>
    </message>
    <message name="StartResponse">
        <part name="document" element="vm-xs:StartResponse"/>
    </message>
    <message name="StartFaultMessage">
        <part name="document" element="vm-xs:StartFault"/>
    </message>

    <message name="PauseRequest">
        <part name="document" element="vm-xs:Pause"/>
    </message>
    <message name="PauseResponse">
        <part name="document" element="vm-xs:PauseResponse"/>
    </message>
    <message name="PauseFaultMessage">
        <part name="document" element="vm-xs:PauseFault"/>
    </message>

    <message name="ResumeRequest">
        <part name="document" element="vm-xs:Resume"/>
    </message>
    <message name="ResumeResponse">
        <part name="document" element="vm-xs:ResumeResponse"/>
    </message>
    <message name="ResumeFaultMessage">
        <part name="document" element="vm-xs:ResumeFault"/>
    </message>

    <message name="StopRequest">
        <part name="document" element="vm-xs:Stop"/>
    </message>
    <message name="StopResponse">
        <part name="document" element="vm-xs:StopResponse"/>
    </message>
    <message name="StopFaultMessage">
        <part name="document" element="vm-xs:StopFault"/>
    </message>

    <message name="GetStateRequest">
        <part name="document" element="vm-xs:GetState"/>
    </message>
    <message name="GetStateResponse">
        <part name="document" element="vm-xs:GetStateResponse"/>
    </message>
    <message name="GetStateFaultMessage">
        <part name="document" element="vm-xs:GetStateFault"/>
    </message>

    <portType name="VirtualHostPortType" 
wsrp:ResourceProperties="vm: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="Start">
            <input name="StartRequest" message="vm:StartRequest"/>
            <output name="StartResponse" message="vm:StartResponse"/>
            <fault name="StartFault" message="vm:StartFaultMessage" />
        </operation>


        <!-- *** Create -->
        <operation name="Create">
            <input name="CreateRequest" message="vm:CreateRequest"/>
            <output name="CreateResponse" message="vm:CreateResponse" />
            <fault name="ResourceUnknownFault" 
message="wsrpw:ResourceUnknownFault" />
            <fault name="InvalidResourceProperties" 
message="vm:InvalidResourceProperties"/>
        </operation>

        
        <operation name="Pause">
            <input name="PauseRequest" message="vm:PauseRequest"/>
            <output name="PauseResponse" message="vm:PauseResponse"/>
            <fault name="PauseFault" message="vm:PauseFaultMessage" />
        </operation>
        
        <operation name="Resume">
            <input name="ResumeRequest" message="vm:ResumeRequest"/>
            <output name="ResumeResponse" message="vm:ResumeResponse"/>
            <fault name="ResumeFault" message="vm:ResumeFaultMessage" />
        </operation>
        
        <operation name="Stop">
            <input name="StopRequest" message="vm:StopRequest"/>
            <output name="StopResponse" message="vm:StopResponse"/>
            <fault name="StopFault" message="vm:StopFaultMessage" />
        </operation>

        <operation name="GetState">
            <input name="GetStateRequest" message="vm:GetStateRequest"/>
            <output name="GetStateResponse" message="vm:GetStateResponse"/>
            <fault name="GetStateFault" message="vm:GetStateFaultMessage" />
        </operation>

   </portType>

   <binding name="VirtualHostSoapHttpBinding" type="vm:VirtualHostPortType">

      <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="Start">
          <soap:operation style="document"/>
          <input>
              <soap:body use="literal"/>
          </input>
          <output>
              <soap:body use="literal"/>
          </output>
          <fault name="StartFault">
              <soap:fault name="StartFault" use="literal"/>
          </fault>
      </operation>
      
      <operation name="Pause">
          <soap:operation style="document"/>
          <input>
              <soap:body use="literal"/>
          </input>
          <output>
              <soap:body use="literal"/>
          </output>
          <fault name="PauseFault">
              <soap:fault name="PauseFault" use="literal"/>
          </fault>
      </operation>
      
      <operation name="Resume">
          <soap:operation style="document"/>
          <input>
              <soap:body use="literal"/>
          </input>
          <output>
              <soap:body use="literal"/>
          </output>
          <fault name="ResumeFault">
              <soap:fault name="ResumeFault" use="literal"/>
          </fault>
      </operation>
      
      <operation name="Stop">
          <soap:operation style="document"/>
          <input>
              <soap:body use="literal"/>
          </input>
          <output>
              <soap:body use="literal"/>
          </output>
          <fault name="StopFault">
              <soap:fault name="StopFault" use="literal"/>
          </fault>
      </operation>
      
      <operation name="GetState">
          <soap:operation style="document"/>
          <input>
              <soap:body use="literal"/>
          </input>
          <output>
              <soap:body use="literal"/>
          </output>
          <fault name="GetStateFault">
              <soap:fault name="GetStateFault" use="literal"/>
          </fault>
      </operation>
      
   </binding>

   <service name="VirtualHostService">
      <!-- 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="vm" binding="vm:VirtualHostSoapHttpBinding">
<!--       <port name="VirtualHostPort" 
binding="vm:VirtualHostSoapHttpBinding"> -->
<!--          <soap:address 
location="http://localhost:8080/mgmt/VirtualHostPort"; /> -->
         <soap:address location="http://localhost:8080/mgmt/vm"; />
      </port>
   </service>

</definitions>
Buildfile: build.xml

init:
     [echo] Using webapp dir: /work/tomcat/webapps/muse

generate:
    [mkdir] Created dir: /work/tomcat/webapps/muse/_tmp_
     [copy] Copying 1 file to /work/tomcat/webapps/muse/_tmp_
[wsdl2Java] Processing WSDL file 
"/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl"...
[wsdl2Java] Retrieving document at 
'/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl'.
[wsdl2Java] Retrieving document at 
'../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl', relative to 
'file:/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl'.
[wsdl2Java] Retrieving document at 
'../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl', relative to 
'file:/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl'.
[wsdl2Java] Retrieving document at 
'../spec/wsx/WS-MetadataExchange-2004_09.wsdl', relative to 
'file:/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl'.
[wsdl2Java] Retrieving document at 
'../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl', relative to 
'file:/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl'.
[wsdl2Java] Retrieving document at 
'../wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl', relative to 
'file:/work/tomcat/webapps/muse/spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl'.
[wsdl2Java] Retrieving document at 
'../wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl', relative to 
'file:/work/tomcat/webapps/muse/spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl'.
[wsdl2Java] Retrieving document at '../spec/wsdm/MUWS-Part2-1_0.wsdl', relative 
to 'file:/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl'.
[wsdl2Java] Generating XMLBeans for WSDL file 
"/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl"...
[wsdl2Java] Loading wsdl file /work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl
[wsdl2Java] Processing 1 schema(s) in 
/work/tomcat/webapps/muse/_tmp_/VirtualHost.wsdl
[wsdl2Java] Processing WSRF WSDL port "vm"...
[wsdl2Java] java.util.NoSuchElementException
[wsdl2Java]     at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
[wsdl2Java]     at java.util.HashMap$ValueIterator.next(HashMap.java:817)
[wsdl2Java]     at 
org.apache.ws.util.OperationInfo.<init>(OperationInfo.java:120)
[wsdl2Java]     at 
org.apache.ws.resource.tool.GenerationUtils.getOperationInfoMap(GenerationUtils.java:61)
[wsdl2Java]     at 
org.apache.ws.resource.tool.Wsdl2Java.buildServiceProperties(Wsdl2Java.java:286)
[wsdl2Java]     at 
org.apache.ws.notification.tool.WsnWsdl2Java.buildServiceProperties(WsnWsdl2Java.java:89)
[wsdl2Java]     at 
org.apache.ws.muws.tool.MuwsWsdl2Java.buildServiceProperties(MuwsWsdl2Java.java:81)
[wsdl2Java]     at 
org.apache.ws.resource.tool.Wsdl2Java.processTemplates(Wsdl2Java.java:808)
[wsdl2Java]     at 
org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(Wsdl2Java.java:902)
[wsdl2Java]     at 
org.apache.ws.resource.tool.Wsdl2Java.generate(Wsdl2Java.java:180)
[wsdl2Java]     at 
org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:228)
[wsdl2Java]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wsdl2Java]     at org.apache.tools.ant.Task.perform(Task.java:364)
[wsdl2Java]     at org.apache.tools.ant.Target.execute(Target.java:341)
[wsdl2Java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wsdl2Java]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[wsdl2Java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[wsdl2Java]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[wsdl2Java]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[wsdl2Java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[wsdl2Java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[wsdl2Java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[wsdl2Java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
   [delete] Deleting directory /work/tomcat/webapps/muse/_tmp_

BUILD SUCCESSFUL
Total time: 7 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to