Theres a few caveats with the plug in:

1. Its 1.1 only
2. There are namespace mapping bugs (you have to get the CVS version, or
fix it yourself as I said here the other day)

However, if you want to use it, pop this in the maven.xml

  <preGoal name="java:compile">
  <attainGoal name="axis:compile" />
  </preGoal>

And this in the build.properties

maven.wsdl2java.namespaceMappings=http://14.17.3.219:9601/services/GetPosi
tionService=com.foo.bar.etc

Worked for me (well, it would have, but I need DataHandlers, and that's
not there till 1.2). 

Note that the doco on the plugin site as to the property name is is wrong
(and then its right later on)

Cheers

James


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: 14 January 2005 16:49
> To: [email protected]
> Subject: Re: issues with migrating over to maven (Axis)
> 
> > I?m having a code generating issue with the Axis plug-in.  
> I?m able to 
> > generate the code but all of the package names are incorrect.
> 
> Seems to me like you might get a better response from the 
> Axis mailing list, but here's what little I know (I didn't 
> set up our wsdl2java goal). 
> In our build, we didn't use the Maven plug-in, we used the 
> wsdl2java ant task provided with Axis.  We used <mapping 
> namespace="<url of server package name>" package="<our 
> package name>" />.  For example:
> 
>     <mapping namespace="http://util.gtdw.pci.com"; 
> package="com.pci.client.util" />
> 
> Myron
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to