Hi,
This is cool and we are glad to accept such enahancements :) Here is
what you should do.

1. Create a patch - this is quite easy to do in svn - if you are in
windows with tortoise SVN client, right click on the axis2 source
folder and say create patch. For the linux command line client I guess
the command would be svn diff.

2. Create a Jira (say "Improvements to XMLBeans codegen") and attach
the patch file. There is an agreement that says you are allowing
Apache to use it. Dont forget to say yes :)  Commiters can apply the
patch only if you say yes to that agreement.

This should do it. Then we can look at the code and apply the patch
and add the new bit of fuctionality to the codebase

Ajith

On 2/3/07, Alistair Young <[EMAIL PROTECTED]> wrote:
Hi there,

I needed xsdconfig support when using XMLBeans data binding during
building from WSDL, so I've added it to Axis2 1.1.1.

Is it possible to distribute it for approval?

I've modified the classes:

org.apache.axis2.xmlbeans.CodeGenerationUtility
org.apache.axis2.wsdl.codegen.CodeGenConfiguration
org.apache.axis2.wsdl.codegen.CodegenConfigLoader
org.apache.axis2.util.CommandLineOptionConstants.WSDL2JavaConstants
org.apache.axis2.wsdl.util.WSDL2JavaOptionsValidator

and added a new class:

org.apache.axis2.wsdl.util.XSDConfig

I've added two new options for wsdl2java:

-xc FULL_PATH_TO_XSDCONFIG_FILE
-xsdconfig FULL_PATH_TO_XSDCONFIG_FILE

At the moment I just support:

Axis2BindingConfig::lookupJavanameForQName

as the package name mapping native to XMLBeans clashes with:

Axis2BindingConfig::lookupPackageForNamespace

Alistair



--
mov eax,1
mov ebx,0
int 80h



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




--
Ajith Ranabahu

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

Reply via email to