I'am using the wsdlRessource attribute.

>From what I see in the code the following bloack has
been added to the process function :
            String query = request.getQueryString();
            if (query != null &&
query.trim().equalsIgnoreCase("wsdl")) {
                String uri = request.getRequestURI();
                if (!uri.endsWith("/")) {
                    uri += "/";
                }
                uri += "main.wsdl";
                response.sendRedirect(uri);
                return;
            }
            String path = request.getPathInfo();
            if (path.startsWith("/")) {
                path = path.substring(1);
            }
            if (path.endsWith(".wsdl")) {
                Definition def = (Definition)
endpoint.getWsdls().get(path);
                generateWSDL(response, def);
                return;
            }

What this does is if we have a ?WSDL request, it
redirects to <endpoint>/main.wsl.  I can understand
this however the last condition that test if the
request ends with .wsdl is never called and so
generateWSDL is never called either.  Anyone knows why
this has been added ?

--- "Gerdes, Mike" <[EMAIL PROTECTED]> wrote:

> 
> If you find something please let me know so that I
> might get also forward. I think there is an option
> wsdl-resource for the http component, but I haven't
> tried it out today. But tomorrow is a new day and
> then I will take a look at it.
> 
> Good luck
> 
> -----Ursprüngliche Nachricht-----
> Von: Eric Dofonsou [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 26. April 2006 16:16
> An: [email protected]
> Betreff: Re: AW: AW: AW: HTTPS support ?
> 
> 
> 
> Humm indeed you are right, i've already used this in
> the past and it worked maybe something else change I
> will have a look at it.
> 
> --- "Gerdes, Mike" <[EMAIL PROTECTED]> wrote:
> 
> >
> > oh I see :) So that is something different from
> what
> > I thought. I have tested the https with the
> > sopa-binding example and there was the jsr181
> > component that generated the wsdl file.
> > I get the same message as you, when I use the http
> > component alone. There needs to be some kind of
> > option in the configuration of the http, where you
> > can set the wsdl. At least that is my
> understanding
> > and also the point where I am standing now in my
> > experiments with web services.
> > But I will check the soap-binding example again
> with
> > the https connector and try to find out how to
> give
> > a wsdl document to the http server.
> >
> > That means actually I have no real help to offer
> and
> > that I am stuck at the same point. BTW you will
> get
> > that message also without https and just plain
> http.
> > At least that is behaviour in my case.
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Eric Dofonsou [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 26. April 2006 15:59
> > An: [email protected]
> > Betreff: Re: AW: AW: HTTPS support ?
> >
> >
> >
> > Okay guys here is what I get when i try to access
> > the
> > wsdl :
> >
> > HTTP ERROR: 404
> >
> > No wsdl is available for this service
> >
> > RequestURI=/Service/main.wsdl
> >
> > Powered by Jetty://
> > I will check my config and run in debug to see if
> I
> > have everything properly configured.
> >
> > --- "Gerdes, Mike" <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > yes, I have accessed the wsdl with
> > > https://localhost:8192/Service/?wsdl But I will
> > > check it again, maybe I overlooked something
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Eric Dofonsou [mailto:[EMAIL PROTECTED]
> > > Gesendet: Mittwoch, 26. April 2006 15:34
> > > An: [email protected]
> > > Betreff: Re: AW: HTTPS support ?
> > >
> > >
> > >
> > > how do you input the URL :
> > > <endpoint url>?WSDL
> > > ex : https://localhost:8192/Service/?wsdl
> > >
> > > --- "Gerdes, Mike" <[EMAIL PROTECTED]>
> wrote:
> > >
> > > >
> > > > hm strange, actually accessing the wsdl was my
> > > main
> > > > testing case..so for me it worked and I
> haven't
> > > > encountered that problem
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Eric Dofonsou
> [mailto:[EMAIL PROTECTED]
> > > > Gesendet: Mittwoch, 26. April 2006 14:32
> > > > An: [email protected]
> > > > Betreff: Re: HTTPS support ?
> > > >
> > > >
> > > >
> > > > Back on this,
> > > > i've neen doing some perliminary test and so
> it
> > > > seems
> > > > to be working fine.  However i've releaized
> that
> > I
> > > > no
> > > > longer can access the WSDL (via the ?WSDL on
> the
> > > end
> > > > point URL).
> > > >
> > > > Is this a known issues is anybody working on
> it,
> > I
> > > > can
> > > > take a look at it ?
> > > >
> > > > --- Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > I have cheded in the https support.
> > > > > It should work, however the unit test fails
> > but
> > > i
> > > > > think this is due to
> > > > > an outdated certificate.
> > > > > Please, report any problems..
> > > > >
> > > > > Cheers
> > > > > Guillaume Nodet
> > > > >
> > > > > On 4/25/06, Eric Dofonsou
> > <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > >
> > > > > > Hello Guillaume,
> > > > > >
> > > > > > The following function ismissing from the
> > > > > SoapHelper
> > > > > > object :
> > > > > > public MessageExchange
> > > > createExchange(SoapMessage
> > > > > > message)
> > > > > >
> > > > > > Can you just send me the code snipet ?
> > > > > >
> > > > > >
> > > > > > --- Guillaume Nodet <[EMAIL PROTECTED]>
> > wrote:
> > > > > >
> > > > > > > Sure. Take a look at
> > > > > > >
> > > >
> https://issues.apache.org/activemq/browse/SM-372
> > > > > > >
> > > > > > > Cheers,
> > > > > > > Guillaume Nodet
> > > > > > >
> > > > > > > On 4/24/06, Eric Dofonsou
> > > > <[EMAIL PROTECTED]>
> > > > > > > wrote:
> > > > > > > > Is there a way yo get the code so I
> can
> > > test
> > > > > it on
> > > > > > > my
> > > > > > > > side and provide some feedback if I
> have
> > > any
> > > > ?
> > > > > > > >
> > > > > > > > --- Guillaume Nodet <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > > > >
> > > > > > > > > There is a patch pending that I need
> > to
> > > > > review
> > > > > > > and
> > > > > > > > > commit...
> > > > > > > > > This should be done this week.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > > Guillaume Nodet
> > > > > > > > >
> > > > > > > > > On 4/24/06, Eric Dofonsou
> > > > > <[EMAIL PROTECTED]>
> > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Hello guys,
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to