You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Michael Mattox (JIRA)" <ji...@apache.org> on 2007/06/18 15:05:33 UTC
[jira] Closed: (SM-961) Cannot retrieve WSDL from http su
[ https://issues.apache.org/activemq/browse/SM-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Mattox closed SM-961.
-----------------------------
Resolution: Cannot Reproduce
I got it working, not sure what was causing it not to work.
> 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: HEP@2411500[d=true,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/servicemix-users@geronimo.apache.org/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.