Anne please,
check this Servizio.wsdl, let me know if it is correct.
I changed style in document.
I attachment the file ;)
If you can tell me what classes are generated after the command:
org.apache.axis2.wsdl.WSDL2Java -uri C:\Servizio.wsdl -o c:\ -ss -sd -d 
xmlbeans.
Thanks
---------- Initial Header -----------

>From      : "Anne Thomas Manes" [EMAIL PROTECTED]
To          : axis-dev@ws.apache.org
Cc          :
Date      : Tue, 27 Jun 2006 13:02:07 -0400
Subject : Re: Migration Axis 1 to Axis 2







> Sorry -- was not complete in my last answer. If you change it to rpc style,
> then you must also add namespace attributes to the <soap:body> definitions,
> e.g.,:
>
> <soap:body use="literal" namespace="
> http://www.fabiorosolino.com/Servizio.xsd1"/>
>
> Anne
>
> On 6/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Anne,
> > I modified Servizio.wsdl as you suggested but the question is,
> > 1) why it work fine (style document) with axis 1.2?
> > 2) after the change in rpc style i'm still not able to do a service that
> > work!!! :(
> > I use Tomcat 5.5 as container either with axis 1.2 or with axis 2 on
> > windows.
> > There will be something wrong in this configuration?
> > mmm, I just made performace analysis with Jmeter on this services
> > developed in axis 1.2, I wish to develop same service in axis 2.0 to
> > compare performance with axis 2.
> > Someone help me :( :)
> > Thanks
> > ---------- Initial Header -----------
> >
> > From      : "Anne Thomas Manes" [EMAIL PROTECTED]
> > To          : axis-dev@ws.apache.org
> > Cc          :
> > Date      : Tue, 27 Jun 2006 08:59:50 -0400
> > Subject : Re: Migration Axis 1 to Axis 2
> >
> >
> >
> >
> >
> >
> >
> > > Fabio,
> > >
> > > There are errors in your WSDL. You must fix them before you can get
> > Axis2 to
> > > work.
> > >
> > > You've defined the service as document style, but your message parts
> > > reference types rather than elements. (A document style service MUST
> > > reference elements; and RPC style service MUST reference types.) Either
> > > convert the style to RPC or define the "res" and "n" parts as elements
> > in
> > > your schema and reference them rather than the types.
> > >
> > > I suggest you follow the "wrapped" document style convention. See
> > >
> > http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.htmlfor
> > > guidance.
> > >
> > > Anne
> > >
> > > On 6/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I have a wsdl genereted by SOA Editor.
> > > > I'm able to develop a service in Axis 1.2 from this WSDL, but i'm not
> > able
> > > > to develop a service with Axis 2 v1.0.
> > > > Someome can send me send me a service developed using my WSDL in Axis
> > 2.
> > > > In attachment the Servizio.wsdl (Servizio means Service in italian ;))
> > > > Thanks Fabio
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
>

Attachment: Servizio.wsdl
Description: Binary data

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

Reply via email to