>From where to dowloaded?
If i try it from site 
http://mvnrepository.com/artifact/org.apache.axis2/axis2-wsdl2code-maven-plugin
I just get jar(from where to get pom?), if I run your command I get the error 
that is missing pom.

This plugin is very confusing and very strange to work with, no documentation 
on axis2 site, even more strange errors.

Is there any alternative to generate java code from wsdl with jibx binding 
capability?

Regards


S, Martin Gainty piše:
> download the wsdl2code plugin to NewFolder
> 
> cd /NewFolder
> mvn -e -X compile
> if any errors fix them and re run mvn -e -X compile until the compile is 
> error free
> 
> mvn -e -X package
> head pom.xml
> note the assignments for groupId,artifactId,version which i call 
> $groupId,$artifactId,$version
> 
> mvn -e -X install:install-file -DgroupId=$groupId -DartifactId=$artifactId 
> -Dversion=$version -Dfile=pom.xml -Dpackage=pom
> mvn -e -X install:install-file -DgroupId=$groupId -DartifactId=$artifactId 
> -Dversion=$version -Dfile=pom.xml -Dpackage=jar
> 
> verify $user.home/$groupId/$artifactId/$version has correct jar (open with 
> 7zip and ensure there are class files)
> if the jar is incomplete manually copy the target jar to home folder e.g.
> cp /NewFolder/target/*.jar 
> $user_home/.m2/repository/$groupId/$artifactId/$version/*.jar
> 
> this implementation is maven specific you need to reroute this thread to 
> [email protected]
> Martin Gainty
> ______________________________________________
> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
> Vertraulichkeitanmerkung/Note de déni et de confidentialité
>  
> Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy 
> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és 
> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen
> megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet 
> tartalma miatt.
> 
> 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: Tue, 22 Feb 2011 14:39:21 +0100
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: axis2-wsdl2code-maven-plugin
> 
> You miss understand, I know JIBX and I'm using for a long time, the problem 
> is about maven-plugin, because there is no good documentation and also
> wrong one on Apache page 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html.
>  
> If I try the example(mavem build) from this page I get error:
>  
> [ERROR] No plugin found for prefix 'wsdl2code' in the current project and in 
> the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available
> from the repositories [local (C:\Documents and 
> Settings\Tomaz\.m2\repository), central (http://repo1.maven.org/maven2)] -> 
> [Help 1]
>  
> Regards
>  
> S, Krishantha Manjula Rathnayaka piše:
>>  
>> Hi Tomaz,
>> http://jibx.sourceforge.net/bindcomp.html
>>  
>> Kind Regards,
>>  
>> Krishantha
>> 
>> On Mon, Feb 21, 2011 at 9:00 PM, TomazM <[email protected] 
>> <mailto:[email protected]>> 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: [email protected] 
>> <mailto:[email protected]>
>>     For additional commands, e-mail: [email protected] 
>> <mailto:[email protected]>
>> 
>> 
>> 
>> 
>> -- 
>> Krishantha Manjula Rathnayake
>> Department of Computer Engineering
>> Faculty of Engineering 
>> University of Peradeniya.
>> 
>>  
>> 
>  
> 
> 
> --------------------------------------------------------------------- To 
> unsubscribe, e-mail: [email protected] For additional
> commands, e-mail: [email protected]

<<attachment: tomaz_majerhold.vcf>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to