The usual cause is that at the time the http SU is started, the target endpoint is not activated or does not have any wsdl description. SU are started in the order they are listed in the SA jbi descriptor. So make sure the right order is used, and that your target endpoint has a WSDL description.
On 3/17/07, Bruce Snyder <[EMAIL PROTECTED]> wrote:
On 3/16/07, Maxim Y. Tebenev <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > When I'm sending request to ESB for WSDL ( http://localhost:8192/myep?wsdl), > I get 404 error. > > Also I've found following code in ConsumerProcessor.java: > > if (query != null && query.trim().equalsIgnoreCase("wsdl")) { > String uri = request.getRequestURI(); > if (!uri.endsWith("/")) { > uri += "/"; > } > uri += "main.wsdl"; > response.sendRedirect(uri); > return; > } > > It seems, that ServiceMix redirects (302) user to mail.wsdl page which > doesn't exists in my configuration. So, how to configure well HTTP consumer > endpoint to allow wsdl responding? The redirect is just fine. Usually a 404 indicates that the SU is misconfigured somehow. Can you post the xbean.xml for the servicemix-http SU as well as the WSDL for the servicemix-jsr181 SU? Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor - http://castor.org/
-- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/
