You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by robert lazarski <ro...@gmail.com> on 2006/05/06 01:42:31 UTC

Re: [Axis2] Problems getting wsdl from deployed services in Axis2 v1.0

Just put the WSDL inside the META-INF of the aar file. See this article for
an explanation of this and a few other common issues:

http://www.developer.com/open/article.php/3589126

HTH,
Robert
http://www.braziloutsource.com/

On 5/5/06, Sérgio Sousa <se...@infosistema.com> wrote:
>
> Hi,
>
> Can anyone tell me please how do I include a wsdl file in the aar archive?
> What name should this wsdl file have?
>
> Thanks.
>
> Sérgio Sousa
>

Re: [Axis2] Problems getting wsdl from deployed services in Axis2 v1.0

Posted by robert lazarski <ro...@gmail.com>.
Which security sample? The security sample I'm aware of that has
SecureService -modules/samples/src/sample/security/ - doesn't use
databinding. So AFAIK you can't link a wsdl under META-INF to a
services.xmlthat was _not_ created by wsdl2java. If you can that's
news to me.

What I think you are trying to do is use databinding on your wsdl, and then
place InflowSecurity and OutflowSecurity via the module security-axis2.mar
into your wsdl2java generated  services.xml .   If that's the case,  just
follow the sample after the messageReceiver part. Then you'll need to engage
the module as explained in the security how-to.

If that's not the case perhaps Ruchith can comment.

HTH,
Robert
http://www.braziloutsource.com/

On 5/5/06, Sérgio Sousa <Se...@infosistema.com> wrote:
>
> Thanks,
>
>
>
> The problem is that I've tried putting a wsdl file in the META-INF dir on
> the SercurityService (samples) and axis2 doesn't recognize it and sends
> always the same error (wsdl not found in META-INF.....)
>
> Sérgio Sousa
>
> -----Original Message-----
> From: "robert lazarski" <ro...@gmail.com>
> To: axis-user@ws.apache.org
> Date: Fri, 5 May 2006 20:42:31 -0300
> Subject: Re: [Axis2] Problems getting wsdl from deployed services in Axis2
> v1.0
>
>
>
> Just put the WSDL inside the META-INF of the aar file. See this article
> for an explanation of this and a few other common issues:
>
> http://www.developer.com/open/article.php/3589126
>
> HTH,
> Robert
> http://www.braziloutsource.com/
>
> On 5/5/06, Sérgio Sousa < sergio.sousa@infosistema.com> wrote:
> >
> > Hi,
> >
> > Can anyone tell me please how do I include a wsdl file in the aar
> > archive?
> > What name should this wsdl file have?
> >
> > Thanks.
> >
> > Sérgio Sousa
> >
>
>

Re: [Axis2] Problems getting wsdl from deployed services in Axis2 v1.0

Posted by Sérgio Sousa <Se...@infosistema.com>.
Thanks,



The problem is that I've tried putting a wsdl file in the META-INF dir on 
the SercurityService (samples) and axis2 doesn't recognize it and sends 
always the same error (wsdl not found in META-INF.....)

Sérgio Sousa


-----Original Message-----
From: "robert lazarski" <ro...@gmail.com>
To: axis-user@ws.apache.org
Date: Fri, 5 May 2006 20:42:31 -0300
Subject: Re: [Axis2] Problems getting wsdl from deployed services in Axis2 
v1.0

Just put the WSDL inside the META-INF of the aar file. See this article for 
an explanation of this and a few other common issues: 

http://www.developer.com/open/article.php/3589126

HTH,
Robert
http://www.braziloutsource.com/


On 5/5/06, Sérgio Sousa < sergio.sousa@infosistema.com> wrote:
Hi, 

Can anyone tell me please how do I include a wsdl file in the aar archive?
What name should this wsdl file have?

Thanks.

Sérgio Sousa