Mick, have you tried creating output from genInterface and Axis and
compared the two? If not, could I ask you do this? I'm curious about
this issue...

I actually got interested in this a bit and used JAD to decompile the
Oracle classes to see what exactly is going on. Here's my analysis:

wsa.jar - GenInterface.class, nothing useful
wsa.jar - WSATask.class, nothing useful
wsa.jar - Processor.class, calls Util.class to do the genInterface work:
       if(modeName.equals("genInterface"))
       {
           URL wsdlLocation = getWSDLLocation(baseDir, options);
           (new Util()).createInterface(wsdlLocation,
getArgumentWithNameCheck(options, "serviceName"), null,
getFile(options, "mappingFileName", true), getDir(options, "output"),
getCustomTypeMappings(options), getArgument(options, "classpath"),
null, getPackageName(options), getArgument(options,
"valueTypePackagePrefix"), getGenInterfaceConfig(options));
       } else ...

wsa.jar - Util.class, calls SEIG to do the real work:
   public File createInterface(String implClass, String classPath,
File outputDir, boolean writeToPackageDirectory)
       throws IllegalArgumentException, ClassNotFoundException
   {
       ServiceEndpointInterfaceGenerator generator = new
ServiceEndpointInterfaceGenerator(outputDir);
       generator.setLogger(WSACore.getLogger());
       return generator.generateSEI(implClass, "_Interface",
classPath, writeToPackageDirectory);
   }

wsclient.jar - ServiceEndpointInterfaceGenerator.class, does all the
work of the genInterface task

So arguably, you could probably install/deploy the wsa.jar and
wsclient.jar and create a small Maven2 plugin that would set up the
parameters etc, and call the SEIG.generateSEI() method directly.

Looking at the decompiled code, it seems relatively straight-forward.
But if the output is identical or similar to that produced by Axis, I
don't think its worth the effort.

Wayne

On 6/12/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
Does anyone know the difference between the 2 wsdl -> java code generators?
JDeveloper (IDE) wants to use genInterface, yet there seems to be no
plugin's for it in Maven. Now Axis does have a plugin that works well in
Maven. Wondering if I can just use Axis instead of genInterface?

--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


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

Reply via email to