Hi all,
  I have the following wsdl file (attachment #1). I have the following
in my pom.xml:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
    <artifactId>axistools-maven-plugin</artifactId>
    <configuration>
    <urls>
      <url>http://localhost:8081/dvdstore/HelloWorldService?wsdl</url>
    </urls>
    <packageSpace>com.company.wsdl</packageSpace>
    <serverSide>false</serverSide>
    <testCases>false</testCases>
    <verbose>true</verbose>
    <debug>true</debug>
    <subPackageByFileName>true</subPackageByFileName>
</configuration>
<executions><execution><goals><goal>wsdl2java</goal></goals></execution></executions></plugin>

Every time (even when I execute mvn clean package) the axistools plugin
refuses to generate sources with:

[INFO] [axistools:wsdl2java {execution: default}]
[INFO] about to add compile source root
[INFO] Nothing to generate. All WSDL files are up to date.

maven2 uses org.codehaus.mojo:axistools-maven-plugin:maven-plugin:1.0

Thanks,
Martin Vysny

ps: sorry if I am asking something well-known - I was unable to find
answer neither by google nor by browsing the
http://archive.mojo.codehaus.org/user/ archive - when you search for a
mail the mail body fails to display with "We were unable to match your
request to a message in the archive."
<definitions name='HelloWorldWSService' targetNamespace='http://huhu.net' 
xmlns='http://schemas.xmlsoap.org/wsdl/' 
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://huhu.net' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
 <types>
  <schema elementFormDefault='qualified' targetNamespace='http://huhu.net' 
xmlns='http://www.w3.org/2001/XMLSchema' 
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' 
xmlns:tns='http://huhu.net' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
   <complexType name='sayHello'>
    <sequence>
     <element name='String_1' nillable='true' type='string'/>
    </sequence>
   </complexType>
   <complexType name='sayHelloResponse'>
    <sequence>
     <element name='result' nillable='true' type='string'/>
    </sequence>
   </complexType>
   <element name='sayHello' type='tns:sayHello'/>
   <element name='sayHelloResponse' type='tns:sayHelloResponse'/>
  </schema>
 </types>
 <message name='HelloWorld_sayHelloResponse'>
  <part element='tns:sayHelloResponse' name='result'/>
 </message>
 <message name='HelloWorld_sayHello'>
  <part element='tns:sayHello' name='parameters'/>
 </message>
 <portType name='HelloWorld'>
  <operation name='sayHello'>
   <input message='tns:HelloWorld_sayHello'/>
   <output message='tns:HelloWorld_sayHelloResponse'/>
  </operation>
 </portType>
 <binding name='HelloWorldBinding' type='tns:HelloWorld'>
  <soap:binding style='document' 
transport='http://schemas.xmlsoap.org/soap/http'/>
  <operation name='sayHello'>
   <soap:operation soapAction=''/>
   <input>
    <soap:body use='literal'/>
   </input>
   <output>
    <soap:body use='literal'/>
   </output>
  </operation>
 </binding>
 <service name='HelloWorldWSService'>
  <port binding='tns:HelloWorldBinding' name='HelloWorldPort'>
   <soap:address location='http://mvy:8080/dvdstore/HelloWorldService'/>
  </port>
 </service>
</definitions>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to