Hi Matt,

I don“t know if you solved your problem by now. In my case it worked when I put the parameter this way:

<parameter name="useOriginalwsdl">true</parameter>

And the structure of the .aar File is just like you described it at the beginning:

AddressBook-v1-0-0.aar
   META-INF/AddressBook-v1-0-0.wsdl
   META-INF/services.xml
   au/...../some.class

Hope this helps,

Benjamin



2006/10/30, Matthew Hannay <[EMAIL PROTECTED]>:
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>
> [email protected]
>
>                    cc
>              10/26/2006 09:45
>
>              AM
>               Subject
>                                        Re: Deploying
> Handwritten WSDL in
>                                        aar with
> Axis2
>              Please respond to
>
>              [EMAIL PROTECTED]
>
>                   he.org
>
>
>
>
>
>
>
>
>
>
>
> Matt,
>
> JIRA please, with your AAR/WSDL/Services.XML
>
> thanks,
> dims
>
> On 10/26/06, Paul Fremantle <[EMAIL PROTECTED] >
> wrote:
> > Matt
> >
> > I'm pretty surprised its not picking up the WSDL
> with that name. It
> > might be worth running (separately) WSDL2Java -ss
> -sd on your WSDL.
> > This generates a services.xml, and if you run ant
> generates an aar for
> > you. You can then compare your aar and
> services.xml with the generated
> > one and see if there are any differences.
> >
> > Paul
> >
> > On 10/26/06, Matthew Hannay
> <[EMAIL PROTECTED]> wrote:
> > > Deploying Handwritten WSDL in aar with Axis2
> > >
> > > I am trying to deploy a web service in axis2-1.0
> > >
> > > I generate the server code using the eclipse
> plugin.
> > >
> > > I then create a aar, The structure is as
> follows.
> > >
> > > AddressBook-v1-0-0.aar
> > >     META-INF/AddressBook-v1-0-0.wsdl
> > >     META-INF/services.xml
> > >     au/...../some.class
> > >
> > > In the Services xml the
> > > <serviceGroup>
> > >     <service name="AddressBook-v1-0-0">
> > > and
> > > In the WSDL the name="AddressBook-v1-0-0"
> > > All the names match up.
> > >
> > > When I deploy my application and put the
> following in
> > > the browser
> > >
>
http://localhost:8080/Services/AddressBook-v1-0-0?wsdl
> > > I recieve a generated WSDL.
> > >
> > > After googling I found some destructions at
> > >
>
http://www.developer.com/open/print.php/10930_3557741_2
> > > and followed them however renaming the wsdl to
> > > service.wsdl
> > > made no differance?
> > >
> > > Does any one know what I need to get the correct
> wsdl
> > > deployed
> > >
> > > Matt
> > >
> > >
> > >
> > >
> ____________________________________________________
> > > On Yahoo!7
> > > Fuel Price Watch: Find the cheapest petrol in
> your area
> > > http://au.maps.yahoo.com/fuelwatch/
> > >
> > >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Paul Fremantle
> > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> >
> > http://bloglines.com/blog/paulfremantle
> > [EMAIL PROTECTED]
> >
> > "Oxygenating the Web Service Platform",
> www.wso2.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for
> Web Service Developers)
>
>
---------------------------------------------------------------------
> 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]
>
>




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