Hi,

I had the same problem and apparently was because I had operations
with the same name but different number or type of parameters as 
allowed in Java.

I have a question: When I extend a class, shouldn't the wsdl use the "extension 
base" 
or "restriction base" characteristic from xml, should it? 
It's because I have few classes that extend from another and 
I have a huge document because those attributes appear again and again.

And other little problem I get is that the wsdl omits java attributes if they 
don't 
have a get...() or is..() method and also if I have a method started with get, 
it extracts
the name of the method for creating an attribute.

The last thing is that xml nillable attribute doesn't appear sometimes for 
java attributes even if I initialize that attribute in the declaration with a 
null value.
Like this

public class configuration {
  private Date end =null;

  public Date getEnd(){
    return end;
  }

  public void setEnd(Date _end){
    end = new Date(_end.getTime());
  }
}

<xs:element name="configuration" type="ax29:configuration"/>
   <xs:complexType name="configuration">
 <xs:sequence>
  <xs:element name="end" type="xs:dateTime"/>
 </xs:sequence>
    </xs:complexType>

Thanks

Jorge Fernández










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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>* 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ------------------------------
> 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
>  \
> > 
> 
 
                
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

Reply via email to