You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Ho, Wen Yue" <We...@tdsecurities.com> on 2007/01/30 23:30:34 UTC

[AXIS2] Error when executing Java2WSDL

Hi,

I've got the following error when executing Java2WSDL using AXIS2
CodeGen wizard (eclipse plugin):

"an error occurred while completing process
-java.lang.reflect.InvocationTargetException"

Please kindly assist.

Thanks in advance,
wen


********************
NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is 
intended only for the use of the addressees and is confidential. 
If you are not an intended recipient or responsible for delivering 
the message to an intended recipient, any review, disclosure, 
conversion to hard copy, dissemination, reproduction or other use 
of any part of this communication is strictly prohibited, as is the 
taking or omitting of any action in reliance upon this communication. 
If you receive this communication in error or without authorization 
please notify us immediately by return e-mail or otherwise and 
permanently delete the entire communication from any computer, 
disk drive, or other storage medium.

If the above disclaimer is not properly readable, it can be found at 
www.td.com/legal
                                                           
AVERTISSEMENT DE CONFIDENTIALITE                   
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement 
aux destinataires susmentionnés,  est confidentiel.  Si vous 
n’êtes pas le destinataire prévu ou un agent responsable de la 
livraison de ce courriel, tout examen, divulgation, copie, impression, 
reproduction, distribution, ou autre utilisation d’une partie de ce 
courriel est strictement interdit de même que toute intervention ou 
abstraction à cet égard.  Si vous avez reçu ce message par erreur ou 
sans autorisation, veuillez en aviser immédiatement l’expéditeur par 
retour de courriel ou par un autre moyen et supprimer immédiatement 
cette communication entière de tout système électronique.

Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous 
pouvez le consulter à www.td.com/francais/legale

Re: [AXIS2] Error when executing Java2WSDL

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Wen ;

Can you please create a JIRA and attach your Java file.

Thanks
Deepal

>Hi,
>
>I've got the following error when executing Java2WSDL using AXIS2
>CodeGen wizard (eclipse plugin):
>
>"an error occurred while completing process
>-java.lang.reflect.InvocationTargetException"
>
>Please kindly assist.
>
>Thanks in advance,
>wen
>
>
>********************
>NOTICE OF CONFIDENTIALITY
>This communication including any information transmitted with it is 
>intended only for the use of the addressees and is confidential. 
>If you are not an intended recipient or responsible for delivering 
>the message to an intended recipient, any review, disclosure, 
>conversion to hard copy, dissemination, reproduction or other use 
>of any part of this communication is strictly prohibited, as is the 
>taking or omitting of any action in reliance upon this communication. 
>If you receive this communication in error or without authorization 
>please notify us immediately by return e-mail or otherwise and 
>permanently delete the entire communication from any computer, 
>disk drive, or other storage medium.
>
>If the above disclaimer is not properly readable, it can be found at 
>www.td.com/legal
>                                                           
>AVERTISSEMENT DE CONFIDENTIALITE                   
>Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement 
>aux destinataires susmentionnés,  est confidentiel.  Si vous 
>n’êtes pas le destinataire prévu ou un agent responsable de la 
>livraison de ce courriel, tout examen, divulgation, copie, impression, 
>reproduction, distribution, ou autre utilisation d’une partie de ce 
>courriel est strictement interdit de même que toute intervention ou 
>abstraction à cet égard.  Si vous avez reçu ce message par erreur ou 
>sans autorisation, veuillez en aviser immédiatement l’expéditeur par 
>retour de courriel ou par un autre moyen et supprimer immédiatement 
>cette communication entière de tout système électronique.
>
>Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous 
>pouvez le consulter à www.td.com/francais/legale
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Problem installing/running CodeGen Eclipse plugin

Posted by Tom Preston <to...@va.gov>.
I am having the same problem when trying to run the codegen plugin.

I don't have the given <ECLIPSE_WORKSPACE>/.metadata/.log 
directory structure under my current Eclipse 
install (which is 3.2.0).

Tom Preston




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Problem installing/running CodeGen Eclipse plugin

Posted by Lahiru Sandakith <sa...@gmail.com>.
Hi Mike,

If you can attach the <ECLIPSE_WORKSPACE>/.metadata/.log
and all the files that you have under
<ECLIPSE_WORKSPACE>/.metadata/.plugins/Axis2_Codegen_Wizard
It would be vary valuable for nailing down what was happen in your case

Thanks

Lahiru Sandakith.


On 1/31/07, Mike Ferraro <mi...@harvard.edu> wrote:
>
> I downloaded the latest CodeGen plug-in, unzipped the Axis2_...
> directory and copied it into the Eclipse plug-in directory, started
> Eclipse, and tried to start the CodeGen wizard using the New -> Other...
> -> Axis2 Wizards -> Axis2 Code Generator.  The wizard fails to start and
> Eclipse gives me a message stating that the Axis2_CodeGen_Wizard was
> unable to load the class
> org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.
>
> I double checked the installation instructions, but they are pretty
> simple so I don't think that I missed a step.  I'm using Eclipse 3.2
> with JDK 1.4.2.  Anyone have any ideas?
>
> Thanks,
> Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Regards
Lahiru Sandakith

Problem installing/running CodeGen Eclipse plugin

Posted by Mike Ferraro <mi...@harvard.edu>.
I downloaded the latest CodeGen plug-in, unzipped the Axis2_...
directory and copied it into the Eclipse plug-in directory, started
Eclipse, and tried to start the CodeGen wizard using the New -> Other...
-> Axis2 Wizards -> Axis2 Code Generator.  The wizard fails to start and
Eclipse gives me a message stating that the Axis2_CodeGen_Wizard was
unable to load the class
org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.

I double checked the installation instructions, but they are pretty
simple so I don't think that I missed a step.  I'm using Eclipse 3.2
with JDK 1.4.2.  Anyone have any ideas?

Thanks,
Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS2] Error when executing Java2WSDL

Posted by Lahiru Sandakith <sa...@gmail.com>.
Hi Wen,

http://ws.apache.org/axis2/tools/1_1/eclipse/wsdl2java-plugin.html#operation2
Please make sure that you have included all the dependent classes/jars in
the page2 of the wizards.

Thanks

Lahiru Sandakith.

On 1/31/07, W.Y. Ho <ye...@yahoo.ca> wrote:
>
> It's a Java2WSDL, Not WSDL2Java, it supposed to generate a WSDL file. It
> starts from service implementation class.
> BTW, I downloaded 1.1.1 already and still got the same error.
>
> Thanks,
> wen
>
> *Anne Thomas Manes <at...@gmail.com>* wrote:
>
> Are you certain that the WSDL is valid?
> Keep in mind that Axis2 does not support rpc/encoded.
> Also, please make sure you are using Axis2 1.1.1.
>
> Anne
>
> On 1/30/07, Ho, Wen Yue wrote:
> > Hi,
> >
> > I've got the following error when executing Java2WSDL using AXIS2
> > CodeGen wizard (eclipse plugin):
> >
> > "an error occurred while completing process
> > -java.lang.reflect.InvocationTargetException"
> >
> > Please kindly assist.
> >
> > Thanks in advance,
> > wen
> >
> >
> > ********************
> > NOTICE OF CONFIDENTIALITY
> > This communication including any information transmitted with it is
> > intended only for the use of the addressees and is confidential.
> > If you are not an intended recipient or responsible for delivering
> > the message to an intended recipient, any review, disclosure,
> > conversion to hard copy, dissemination, reproduction or other use
> > of any part of this communication is strictly prohibited, as is the
> > taking or omitting of any action in reliance upon this communication.
> > If you receive this communication in error or without authorization
> > please notify us immediately by return e-mail or otherwise and
> > permanently delete the entire communication from any computer,
> > disk drive, or other storage medium.
> >
> > If the above disclaimer is not properly readable, it can be found at
> > www.td.com/legal
> >
> > AVERTISSEMENT DE CONFIDENTIALITE
> > Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
> > aux destinataires susmentionnés, est confidentiel. Si vous
> > n'êtes pas le destinataire prévu ou un agent responsable de la
> > livraison de ce courriel, tout examen, divulgation, copie, impression,
> > reproduction, distribution, ou autre utilisation d'une partie de ce
> > courriel est strictement interdit de même que toute intervention ou
> > abstraction à cet égard. Si vous avez reçu ce message par erreur ou
> > sans autorisation, veuillez en aviser immédiatement l'expéditeur par
> > retour de courriel ou par un autre moyen et supprimer immédiatement
> > cette communication entière de tout système électronique.
> >
> > Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
> > pouvez le consulter à www.td.com/francais/legale
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ------------------------------
> Now you can have a huge leap forward in email:* get the new Yahoo! Mail.*<http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca>
>
>


-- 
Regards
Lahiru Sandakith

Re: [AXIS2] Error when executing Java2WSDL

Posted by "W.Y. Ho" <ye...@yahoo.ca>.
It's a Java2WSDL, Not WSDL2Java, it supposed to generate a WSDL file. It starts from service implementation class.
BTW, I downloaded 1.1.1 already and still got the same error.

Thanks,
wen

Anne Thomas Manes <at...@gmail.com> wrote: Are you certain that the WSDL is valid?
Keep in mind that Axis2 does not support rpc/encoded.
Also, please make sure you are using Axis2 1.1.1.

Anne

On 1/30/07, Ho, Wen Yue  wrote:
> Hi,
>
> I've got the following error when executing Java2WSDL using AXIS2
> CodeGen wizard (eclipse plugin):
>
> "an error occurred while completing process
> -java.lang.reflect.InvocationTargetException"
>
> Please kindly assist.
>
> Thanks in advance,
> wen
>
>
> ********************
> NOTICE OF CONFIDENTIALITY
> This communication including any information transmitted with it is
> intended only for the use of the addressees and is confidential.
> If you are not an intended recipient or responsible for delivering
> the message to an intended recipient, any review, disclosure,
> conversion to hard copy, dissemination, reproduction or other use
> of any part of this communication is strictly prohibited, as is the
> taking or omitting of any action in reliance upon this communication.
> If you receive this communication in error or without authorization
> please notify us immediately by return e-mail or otherwise and
> permanently delete the entire communication from any computer,
> disk drive, or other storage medium.
>
> If the above disclaimer is not properly readable, it can be found at
> www.td.com/legal
>
> AVERTISSEMENT DE CONFIDENTIALITE
> Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
> aux destinataires susmentionnés,  est confidentiel.  Si vous
> n'êtes pas le destinataire prévu ou un agent responsable de la
> livraison de ce courriel, tout examen, divulgation, copie, impression,
> reproduction, distribution, ou autre utilisation d'une partie de ce
> courriel est strictement interdit de même que toute intervention ou
> abstraction à cet égard.  Si vous avez reçu ce message par erreur ou
> sans autorisation, veuillez en aviser immédiatement l'expéditeur par
> retour de courriel ou par un autre moyen et supprimer immédiatement
> cette communication entière de tout système électronique.
>
> Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
> pouvez le consulter à www.td.com/francais/legale
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



 		
---------------------------------
Now you can have a huge leap forward in email: get the new Yahoo! Mail. 

Re: [AXIS2] Error when executing Java2WSDL

Posted by Anne Thomas Manes <at...@gmail.com>.
Are you certain that the WSDL is valid?
Keep in mind that Axis2 does not support rpc/encoded.
Also, please make sure you are using Axis2 1.1.1.

Anne

On 1/30/07, Ho, Wen Yue <We...@tdsecurities.com> wrote:
> Hi,
>
> I've got the following error when executing Java2WSDL using AXIS2
> CodeGen wizard (eclipse plugin):
>
> "an error occurred while completing process
> -java.lang.reflect.InvocationTargetException"
>
> Please kindly assist.
>
> Thanks in advance,
> wen
>
>
> ********************
> NOTICE OF CONFIDENTIALITY
> This communication including any information transmitted with it is
> intended only for the use of the addressees and is confidential.
> If you are not an intended recipient or responsible for delivering
> the message to an intended recipient, any review, disclosure,
> conversion to hard copy, dissemination, reproduction or other use
> of any part of this communication is strictly prohibited, as is the
> taking or omitting of any action in reliance upon this communication.
> If you receive this communication in error or without authorization
> please notify us immediately by return e-mail or otherwise and
> permanently delete the entire communication from any computer,
> disk drive, or other storage medium.
>
> If the above disclaimer is not properly readable, it can be found at
> www.td.com/legal
>
> AVERTISSEMENT DE CONFIDENTIALITE
> Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
> aux destinataires susmentionnés,  est confidentiel.  Si vous
> n'êtes pas le destinataire prévu ou un agent responsable de la
> livraison de ce courriel, tout examen, divulgation, copie, impression,
> reproduction, distribution, ou autre utilisation d'une partie de ce
> courriel est strictement interdit de même que toute intervention ou
> abstraction à cet égard.  Si vous avez reçu ce message par erreur ou
> sans autorisation, veuillez en aviser immédiatement l'expéditeur par
> retour de courriel ou par un autre moyen et supprimer immédiatement
> cette communication entière de tout système électronique.
>
> Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
> pouvez le consulter à www.td.com/francais/legale
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org