necessary details are contained within jibx/binding.xml which you will need to 
look at
<arg value="-Ebindingfile"/>

 <arg value="jibx/binding.xml"/>

once you have those details you will need to configure the configuration 
attributes of the axis2-wsdl2code-maven-plugin as seen here

here is an example of a plugin execution to be used in your pom.xml
 <build>
        <plugins>
            <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                <version>1.4</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>wsdl2code</goal>
                        </goals>
                        <configuration>
                            <packageName>si.arnes.ozwizardlu.soap</packageName>
                            <wsdlFile>axis2/wsdl/OZWIZARD_LU.wsdl</wsdlFile>
                            <databindingName>jibx</databindingName>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

feel free to ping us...@maven.apache.org for implementation details

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




Date: Mon, 21 Feb 2011 16:39:04 +0100
Subject: Re: maven-wsdl2code-plugin problems
From: draper.ger...@gmail.com
To: java-user@axis.apache.org

Could you specify the error and the .POM file that you're using?
I've never tried to ise JIBX binding, but if I'm not wrong, the binding is 
specified with the "<databindingName>jibx</databindingName>". I don't know if 
it requires any specific dependency.


On Mon, Feb 21, 2011 at 4:31 PM, TomazM <tomaz.majerh...@arnes.si> wrote:

Is there any documentation about this plugin, I need documentation how to 
define flags for jibx binding.



If I run the example from site 
http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
 I get error:






Before I use ANT task:

<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">

 á á á á á á<classpath refid="axis2.lib.dir"/>

 á á á á á á<arg value="-uri"/>

 á á á á á á<arg file="axis2/wsdl/OZWIZARD_LU.wsdl"/>

 á á á á á á<arg value="-p"/>

 á á á á á á<arg value="si.arnes.ozwizardlu.soap"/>

 á á á á á á<arg value="-Ebindingfile"/>

 á á á á á á<arg value="jibx/binding.xml"/>

 á á á á á á<arg value="-d"/>

 á á á á á á<arg value="jibx"/>

 á á á á á á<arg value="-s"/>

 á á á á á á<arg value="-uw"/>

 á á á á á á<arg value="-S"/>

 á á á á á á<arg value="./src"/>

</java>



But I can't figure it out have to achieve the same effect, help needed.





Regards, Tomaz




---------------------------------------------------------------------

To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org

For additional commands, e-mail: java-user-h...@axis.apache.org


-- 
Gerard Draper Gil

                                          

Reply via email to