dims,

I was wondering what the *.list files were for.

One thing there is a typo below I have Services.xml
it should be a small 's' services.xml

Matt

--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:

> Perfect! One additional thing. If you want to create
> your own WAR and
> deploy in an app server that does not explode the
> directories
> (basically servlet API's getRealPath does not return
> anything) then
> add your services to the services.list in the
> WEB-INF/services
> directory (same deal with modules as well).
> 
> thanks a ton Matt,
> -- dims
> 
> On 11/1/06, Matthew Hannay
> <[EMAIL PROTECTED]> wrote:
> > Now that I can get My hand written WSDL, I post
> this
> > reply as what to do, for all those having the same
> > problems.
> >
> > 1. Get the latest axis2 1.1 build (this works for
> the
> >    1-Nov-2006 nightly snapshot)
> >
> > 2. Structure of aar is to be as follows
> >     * MyService.aar
> >         /META-INF
> >             Services.xml
> >             service.wsdl
> >        /MyService.class
> >
> > 2. Naming
> >     * The axis2 java code that looks for a
> deployed
> >       WSDL first looks for a wsdl named
> service.wsdl
> >       if it cannot find it it then looks for a
> wsdl
> >       named MyService.wsdl if that is not found a
> >       wsdl will be generated.
> >
> > 3. Ensure that Your names matchup in the WSDL and
> >    services.xml
> >     * In the wsdl The service name
> >       <wsdl:service name="MyService"> 'MUST' be
> >     * The same as the name in the services.xml
> >       <serviceGroup>
> >         <service name="MyService">
> >         ....
> >         </service>
> >       </serviceGroup>
> >
> > 4. Ensure that the
> >  <parameter
> name="useOriginalwsdl">true</parameter>
> >    is set in the services.xml
> >
> > <serviceGroup>
> >   <service name="MyService">
> >     <parameter
> name="useOriginalwsdl">true</parameter>
> >      ....
> >   </service>
> > </serviceGroup>
> >
> > 4. To test Deploy the axis2.war to your favorite
> Java
> > server
> >
> >     Then in the
> <webappsroot>\axis2\WEB-INF\services
> >     copy your aar and it will be auto deployed
> >
> >     I found copying the log4J.jar to
> >         <webappsroot>\axis2\WEB-INF\lib\
> >     and modifying the
> >
> >
> <webappsroot>\axis2\WEB-INF\classes\log4j.properties
> >
> >     To set the logging levels to DEBUG usefull to
> work
> >     out what what is going on, I did this by
> modifying
> >
> >     the properties to log all axis packages not
> just
> >     enterprise.
> >
> >    #log4j.logger.org.apache.axis2.enterprise=FATAL
> >    log4j.logger.org.apache.axis2=DEBUG
> >
> >
> > If any thing is incorrect here please free to burn
> me
> > or add some more constructive comments.
> >
> > Matt
> >
> > --- Matthew Hannay <[EMAIL PROTECTED]>
> wrote:
> >
> > > OK I have the nightly snap shot jars in place.
> > >
> > > I have tried a number of things.
> > >
> > > renamed my wsdl to service.wsdl
> > > (this lives in the META-INF in the aar)
> > >
> > > Made sure the names matchup
> > > service.wsdl:
> > > ....<wsdl:service
> name="AddressBook_v1_0_0">.....
> > >
> > > services.xml:
> > >     <service name="AddressBook_v1_0_0"
> > > useOriginalwsdl="true">
> > >
> > > is the useOriginalwsdl="true" really required?
> > >
> > > Followed what
> > > http://issues.apache.org/jira/browse/AXIS2-350
> > > Says?
> > >
> > > and It still deploys the generated WSDL!!
> > >
> > > Does anyone have any clues?
> > >
> > > Matt
> > >
> > >
> > >
> > > --- Nirmit Desai <[EMAIL PROTECTED]> wrote:
> > >
> > > > Matt,
> > > >
> > > > I have seen this and solved in past. First
> thing
> > > you
> > > > need is the latest
> > > > nightly as this cannot be solved in 1.0
> > > >
> > > > Then, in your services.xml, add
> "useOriginalwsdl"
> > > > parameter and set it to
> > > > true. Create the aar just like you do, and you
> > > shud
> > > > get your own wsdl back.
> > > >
> > > > -Nirmit
> > > >
> > > >
> > > >
> > > >
> > >
> > > >
> > > >              "Davanum
> > >
> > > >
> > > >              Srinivas"
> > >
> > > >
> > > >              <[EMAIL PROTECTED]
> > >
> > > >                    To
> > > >              m>
> > > > axis-user@ws.apache.org
> > > >
> > >
> > > >                    cc
> > > >              10/26/2006 09:45
> > >
> > > >
> > > >              AM
> > >
> > > >               Subject
> > > >                                        Re:
> > > Deploying
> > > > Handwritten WSDL in
> > > >                                        aar
> with
> > > > Axis2
> > > >              Please respond to
> > >
> > > >
> > > >              [EMAIL PROTECTED]
> > >
> > > >
> > > >                   he.org
> > >
> > > >
> > > >
> > >
> > > >
> > > >
> > >
> > > >
> > > >
> > >
> > > >
> > > >
> 
=== message truncated ===




Send instant messages to your online friends http://au.messenger.yahoo.com 

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

Reply via email to