Is anyone able to help? :-(
-----Original Message----- From: Shahbaz Hafeez [mailto:[EMAIL PROTECTED] Sent: 09 May 2006 11:52 To: Maven Users List Subject: Problem using Maven 2 Axistools wsdl2java (namespaceToPackage) Hi there, I seem to have run into a problem using the axistools wsdl2java to generate source from a WSDL file, specifically with the namespaceToPackage tag. Here's a snippet from my pom.xml: ... <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>axistools-maven-plugin</artifactId> <version>1.0</version> <dependencies> <dependency> <groupId>axis</groupId> <artifactId>axis</artifactId> <version>1.2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>axis</groupId> <artifactId>axis-jaxrpc</artifactId> <version>1.2</version> <scope>provided</scope> </dependency> </dependencies> <configuration> <namespaceToPackage>"http://localhost:8080/openmkssrw/services/SRW"=urn: uk.ac.soton.itinnovation.modules.services.srw.stubs</namespaceToPackage> </configuration> <executions> <execution> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> When I try 'mvn generate-sources' from the prompt it fails with the following error: "Error: Unable to parse first argument for option -N" Is anyone able to help? I need to map a specific namespace to a package and there is no documentation on the format of this option. I've tried various combinations of declaring this and non have worked. Any ideas? Thanks in advance, Shahbaz --- Shahbaz Hafeez IT Innovation Centre 2 Venture Road Chilworth Science Park Southampton, SO16 7NP, UK Tel: +44 23 8076 0834 Fax: +44 23 8076 0833 mailto:[EMAIL PROTECTED] http://www.it-innovation.soton.ac.uk <http://www.it-innovation.soton.ac.uk/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
