Cannot retrieve WSDL from http su
---------------------------------

                 Key: SM-961
                 URL: https://issues.apache.org/activemq/browse/SM-961
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-http
    Affects Versions: 3.1.1
         Environment: JDK 1.5, Windows XP, xfire
            Reporter: Michael Mattox
         Attachments: BookService.wsdl

I set up an http consumer & provider to pass through to an external webservice 
created with xfire & running under tomcat.  WSDL is attached, and here is my 
xbean.xml:

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
           xmlns:test="http://xfire.codehaus.org";>

<http:endpoint service="test:BookService"
               endpoint="bookServiceProviderEndpoint"
               role="provider" 
               soapVersion="1.1"
               soap="true"
               
locationURI="http://127.0.0.1:8080/test-business-service/services/BookService";
               />

<http:endpoint service="test:BookService"
               endpoint="bookServiceConsumerEndpoint"
               targetService="test:BookService"
               targetEndpoint="bookServiceProviderEndpoint"
               role="consumer" 
               locationURI="http://0.0.0.0:8192/BookService/";
               defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; 
               soapVersion="1.1"
               soap="true"
               />
               
</beans>

When I request the WSDL with the URL http://ics030126:8192/BookService/?wsdl I 
get:

HTTP ERROR: 404
Unable to find requested resource
RequestURI=/BookService/main.wsdl
Powered by Jetty://

Interesting is that it rewrites the URL to be /BookService/main.wsdl.  That's 
not what I asked for.  In the logs I see:

10:42:00,453 | DEBUG | btpool0-1  | HttpComponent            | 
e.servicemix.soap.SoapEndpoint  276 | Retrieving proxied endpoint definition
10:42:00,469 | DEBUG | btpool0-1  | HttpComponent            | 
icemix.common.DefaultComponent   79 | Querying service description for 
ServiceEndpoint[service={http://xfire.codehaus.org}BookService,endpoint=bookServiceProviderEndpoint]
10:42:00,469 | DEBUG | btpool0-1  | HttpComponent            | 
icemix.common.DefaultComponent   87 | No description found for 
{http://xfire.codehaus.org}BookService:bookServiceProviderEndpoint
10:42:00,578 | DEBUG | btpool0-0 - Acceptor0 SelectChannelConnector @ 
0.0.0.0:8192 | JettyContextManager      | ntextManager$ThreadPoolWrapper  441 | 
Dispatching job: [EMAIL PROTECTED],io=1,w=true,b=0|0]

This looks like it's just able to find the service for my endpoint.

I've tried lots of variations in the xbean.xml based on the suggestions of the 
mailing list:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg09064.html

but I still cannot get the WSDL.  Two other people have confirmed the same 
problem, so I assume it's a bug.  I can provide more information if required.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to