The Axis1 client will execute as before; the Axis2 service will be
faster.
Whether you perceive a difference depends on where you experience
the
performance bottleneck.
Anne
On 7/5/06, Nicolas Urien
<[EMAIL PROTECTED]> wrote:
>
>
> Thanks Anne,
this is more clear for me now.
>
> So I am in the
situation where my Axis1 client talks to an Axis2 service.
>
> So
my next question is
> :
> - In this specific situation, do I loose
Axis2 performance advantages
> compared to Axis1?Is it the same on the
client (axis1 client) and server
> side (Axis2 service
side)?
>
> I really appreciate your help,
>
>
>
----- Original Message ----
> From: Anne Thomas Manes
<[EMAIL PROTECTED]>
> To: axis-user@ws.apache.org; Nicolas Urien
<[EMAIL PROTECTED]>
> Sent: Wednesday, July 5, 2006 3:13:29
PM
> Subject: Re: Unreachable code with WSDL2Java
>
> Just
to clarify -- a Java2WSDL tool is independent of any SOAP stack.
> So
you could use the Axis1 Java2WSDL tool to generate a WSDL for
>
Axis2.
>
> The same is not true of a WSDL2Java tool. These tools
are tied to a
> specific SOAP stack. So if you use the Axis1 WSDL2Java
tool to
> generate a client stub, then the client must use the Axis1
runtime.
> Likewise, if you use the Axis2 WSDL2Java tool to generate a
client
> stub, then the client must use the Axis2
runtime.
>
> But SOAP stacks are interoperable. So you can use an
Axis1 client to
> talk to an Axis2 service.
>
> Hope that's
clear.
>
> Anne
>
> On 7/5/06, Nicolas Urien
<[EMAIL PROTECTED]> wrote:
> >
> >
> >
Hi Anne,
> >
> > Just to be sure we understand each
other.....
> >
> >
> > "You cannot use the Axis1
WSDL2Java tool to generate an Axis2 service."
> >
> > Right
now, I have deployed an axis2 AAR archive file (automatic 1.0 build
>
> generation of axis2).
> > Now my problem is to have correct
generated stubs for the client (a
> separate
> > java
application) of this AAR axis2 web service.
> >
> > I could
generate these client stubs by using Axis1 WSDL2Java tool but not
> >
Axis2 WSDL2Java. Then my client can invoke and receive operations fine
>
from
> > mu AAR axis2 web service.
> >
> > Is there
still anything wrong?
> >
> > thanks for your help,
>
>
> >
> >
> > ----- Original Message
----
> > From: Anne Thomas Manes <[EMAIL PROTECTED]>
>
> To: axis-user@ws.apache.org; Nicolas Urien
<[EMAIL PROTECTED]>
> > Sent: Tuesday, July 4, 2006
10:34:53 PM
> > Subject: Re: Unreachable code with WSDL2Java
>
>
> > 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]
> >
> >
>
>
>
>
---------------------------------------------------------------------
>
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]