If you want Axis2 to generate your WSDL for you, then I strongly
suggest that you upgrade to the latest nightly build. The 1.0 build
has lot of WSDL generation bugs.

Alternatively, you can use the Axis1 Java2WSDL tool to generate a
WSDL; then use the Axis2 WSDL2Java tool to generate your Axis2 webapp.

You cannot use the Axis1 WSDL2Java tool to generate an Axis2 service.

Anne

On 7/4/06, Nicolas Urien <[EMAIL PROTECTED]> wrote:


Sorry there were mistypes in my previous post.....



I didn't use Java2WSDL but instead let the axis2 webapp (release 1.0 as war
distribution) on my container generate it automatically.

Indeed, I could fix the problem by using WSDL2Java  tool from Axis1.


I still have those 2 questions though:

- do I still benefit of all axis2 features, especially regarding performance
(on both server and client side)?

- isn't there a way to make this WSDL2Java tool from Axis2 work?


Thanks a million for your help and knowledge,



----- Original Message ----
From: Anne Thomas Manes <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org; Nicolas Urien <[EMAIL PROTECTED]>
Sent: Tuesday, July 4, 2006 6:04:08 PM
Subject: Re: Unreachable code with WSDL2Java


Your WSDL has errors. I assume you generated the WSDL using Java2WSDL.
If you do so, make sure you use the latest build. Or you could use the
Java2WSDL tool from Axis1 (assuming that you want just a SOAP 1.1
binding).

Anne

On 7/4/06, Nicolas Urien <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Just in case it would be an issue with my WSDL file (my aar archive is
> WebServiceAncre.aar) :
>
> Thanks for help.
>
>
>
> - <wsdl:definitions
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";;
> xmlns:axis2="http://ws.apache.org/axis2";;
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";;
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";;
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";;
> xmlns:ns0="http://bean.dao.acces.ancre.acoss.fr/xsd";;
> xmlns:ns1="http://ws.dao.acces.ancre.acoss.fr/xsd";;
> xmlns:ns3="http://util.java/xsd";; xmlns:ns2="http://sql.java/xsd";;
> xmlns:xs="http://www.w3.org/2001/XMLSchema";;
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";;
> targetNamespace="http://ws.apache.org/axis2";;>
>
>
> - <wsdl:types>
>
>
> - <xs:schema xmlns:stn_4="http://sql.java/xsd";;
> xmlns:stn_2="http://bean.dao.acces.ancre.acoss.fr/xsd";;
>
targetNamespace="http://bean.dao.acces.ancre.acoss.fr/xsd";;
> elementFormDefault="unqualified"
attributeFormDefault="unqualified">
>
>
>   <xs:import namespace="http://sql.java/xsd";; />
>
>   <xs:element type="stn_2:CompteAncreBean" name="CompteAncreBean" />
>
> - <xs:complexType name="CompteAncreBean">
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="siret" />
>
>   <xs:element type="xs:string" name="siren" />
>
>   <xs:element type="xs:string" name="noUr" />
>
>   <xs:element type="xs:int" name="noIntCpt" />
>
>   <xs:element type="xs:string" name="noExtCpte" />
>
>   <xs:element type="xs:int" name="categorie" />
>
>   <xs:element type="xs:int" name="sousCategorie" />
>
>   <xs:element type="xs:int" name="etatCpte" />
>
>   <xs:element type="stn_4:Date" name="dateEtatCpte" />
>
>   <xs:element type="xs:string" name="telephone" />
>
>   <xs:element type="xs:string" name="qualite" />
>
>   <xs:element type="xs:string" name="denomination1" />
>
>   <xs:element type="xs:string" name="denomination2" />
>
>   <xs:element type="xs:string" name="noNni" />
>
>   <xs:element type="xs:int" name="effectifNational" />
>
>   <xs:element type="xs:string" name="typeSiret" />
>
>   <xs:element type="xs:string" name="codeNaf" />
>
>   <xs:element type="xs:boolean" name="presentdcl" />
>
>   <xs:element type="xs:string" name="localisation" />
>
>   <xs:element type="stn_4:Date" name="dateMaj" />
>
>   <xs:element type="stn_2:AdresseCompteAncreBean"
name="addresseCompte" />
>
>   <xs:element type="stn_2:AdresseCompteAncreBean"
name="addresseSiretCompte"
> />
>   </xs:sequence>
>   </xs:complexType>
>
>   <xs:element type="stn_2:AdresseCompteAncreBean"
> name="AdresseCompteAncreBean" />
>
> - <xs:complexType name="AdresseCompteAncreBean">
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="complAdr" />
>
>   <xs:element type="xs:string" name="noVoie" />
>
>   <xs:element type="xs:string" name="lettreNoAdr" />
>
>   <xs:element type="xs:string" name="codeNatureVoie" />
>
>   <xs:element type="xs:string" name="nomVoie" />
>
>   <xs:element type="xs:string" name="commune" />
>
>   <xs:element type="xs:string" name="noDpt" />
>
>   <xs:element type="xs:string" name="noCommune" />
>
>   <xs:element type="xs:string" name="bureauDistributeur" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:schema>
>
> - <xs:schema xmlns:stn_6="http://util.java/xsd";;
> xmlns:ns="http://ws.dao.acces.ancre.acoss.fr/xsd";;
> xmlns:stn_7="http://bean.dao.acces.ancre.acoss.fr/xsd";;
> targetNamespace="http://ws.dao.acces.ancre.acoss.fr/xsd";;
> elementFormDefault="unqualified"
attributeFormDefault="unqualified">
>
>
>   <xs:import namespace="http://util.java/xsd";; />
>
>   <xs:import
> namespace="http://bean.dao.acces.ancre.acoss.fr/xsd";; />
>
> - <xs:element name="countByNni">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNniResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumCpteExterne">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumCpteExterneResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumCpteInterne">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumCpteInterneResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumCpteInterneAndNumOrga">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>
>   <xs:element type="xs:string" name="param1" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element
> name="countByNumCpteInterneAndNumOrgaResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumTel">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByNumTelResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByRaisonSocialeAndDept">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>
>   <xs:element type="xs:string" name="param1" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByRaisonSocialeAndDeptResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countByRaisonSocialeAndVille">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>
>   <xs:element type="xs:string" name="param1" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element
name="countByRaisonSocialeAndVilleResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySiren">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndCodePostal">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>
>   <xs:element type="xs:string" name="param1" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndCodePostalResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndDept">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>
>   <xs:element type="xs:string" name="param1" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndDeptResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndNumOrga">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:string" name="param0" />
>
>   <xs:element type="xs:string" name="param1" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndNumOrgaResponse">
>
>
> - <xs:complexType>
>
>
> - <xs:sequence>
>
>
>   <xs:element type="xs:int" name="return" />
>   </xs:sequence>
>   </xs:complexType>
>   </xs:element>
>
> - <xs:element name="countBySirenAndVille...
>
> [Message clipped]

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




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

Reply via email to