The problem is that I'm not trying to access directly to the webservice, I'm trying to retrieve wsdl through Service Mix...
I'm trying to access to a web service in a remote machine via service mix, but still didn't succeed :( But still, thanks for your help. João Simas -----Original Message----- From: Alex Boisvert [mailto:[EMAIL PROTECTED] Sent: terça-feira, 18 de Julho de 2006 23:36 To: [email protected] Subject: Re: Problems retrieving wsdl For what it's worth, I found that adding a trailing slash "/" at the end of the URL worked for me. e.g., if my WSDL had soap:address="http://localhost:8080/foo", sending to "http://localhost:8080/foo/" works alex Philip Dodds wrote: > We are currently looking at this :) > > P > > On 7/18/06, Joao Simas <[EMAIL PROTECTED]> wrote: >> >> Hello. >> >> I've created a http service unit that is used like a proxy to a >> webservice: >> >> (xbean.xml) >> <?xml version="1.0"?> >> <beans xmlns:http="http://servicemix.apache.org/http/1.0" >> xmlns:exns="http://www.example.pt/example"> >> >> <http:endpoint service=" exns:TestConsumer" >> endpoint="TestConsumerEndpoint" >> targetService=" >> exns:TestProvider" targetEndpoint="TestProviderEndpoint" >> role="consumer" soap="true" locationURI=" >> http://localhost:4044/ " >> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" /> >> >> <http:endpoint service="exns:TestProvider" >> endpoint="TestProviderEndpoint" role="provider" >> locationURI=" >> http://localhost:2050/WebSite1/Service.asmx/HelloWorld" >> soap="true" wsdlResource="url: >> http://localhost:2050/WebSite1/Service.asmx?wsdl" /> >> >> I launch the service mix without errors (wsdl is retrieved). Then I >> launch >> the browser and go to >> http://localhost:4044/?wsdl (like in described in >> http://servicemix.org/site/servicemix-http.html) >> and instead of retrieving the wsdl I get this: >> >> HTTP ERROR: 404 >> >> NOT_FOUND >> >> RequestURI=/main.wsdl >> >> Powered by Jetty:// >> >> Can anyone help me? Thanks! >> >> >> João Simas >> >
