OK this is strange. I wonder if this was a hot deployment issue with the container. I just tried it and it did not work, but I bounced the container and now it is working. I had deployed many versions of the same bundle before I did not get any errors. Thanks for your help.
-Dennis On 7/29/10 9:14 AM, "Daniel Kulp" <[email protected]> wrote: > On Friday 23 July 2010 5:02:44 pm devaughn wrote: >> I attached the project that I am using to test something out. I am >> deploying this in servicemix 4.2 from fuse source, it may be a container >> issue. > > I just took the jar and deployed it into a clean Apache ServiceMix 4.2.0 > install and pointed my browser at: > > http://localhost:8181/cxf/clearTool?wsdl > > and it retrieved the wsdl just fine. (default port for classpath:META- > INF/cxf/osgi/cxf-extension-osgi.xml in SMX would be 8181) > > That said, it looks like the publishedEndpointUrl thing isn't being honored as > the wsdl has http://localhost:8181/cxf/clearTool for the soap:address. Not > sure what is going on there. > > Dan > > > >> >> -Dennis >> >> On 7/23/10 12:44 PM, "Daniel Kulp" <[email protected]> wrote: >>> On Friday 23 July 2010 2:27:19 pm devaughn wrote: >>>> Anyone have any ideas on this? Not sure if I am just misunderstanding >>>> how I should be able to access it or if there is a configuration issue >>>> or perhaps a container issue. >>> >>> Any chance you could create a test case? I tried a very simple thing >>> here and it seemed OK, but my setup could be completely different than >>> yours. >>> >>> Dan >>> >>>> -Dennis >>>> >>>> On 7/22/10 10:18 AM, "Dennis Vaughn" <[email protected]> wrote: >>>>> Yes I have the wsdlLocation set and cxf recognizes that because I can >>>>> invoke the service. I just can not access the wsdl like >>>>> http://localhost:8080/service?wsdl >>>>> >>>>> -Dennis >>>>> >>>>> On 7/22/10 9:37 AM, "Johan Edstrom" <[email protected]> wrote: >>>>>> Did you try wsdlLocation=classpath:mywsld.wsdl >>>>>> >>>>>> On Jul 22, 2010, at 10:18 AM, devaughn wrote: >>>>>>> I have a class annotated with WebServiceProvider and I am providing a >>>>>>> wsdl in the jar and have it mapped appropriately according to >>>>>>> endpoint and service names in my bean.xml. I can invoke the service >>>>>>> without issue, but I can¹t seem to retrieve the wsdl when it is >>>>>>> deployed. If I do not specifcy the wsdl then it generates a wsdl >>>>>>> according to the methods in the provider, which is invoke, but if I >>>>>>> define one I am not able to retrieve it. I am running cxf 2.2.6 in >>>>>>> a servicemix 4.2 container. Any thoughts? >>>>>>> >>>>>>> -Dennis >>>>>> >>>>>> Johan Edstrom >>>>>> >>>>>> [email protected] >>>>>> >>>>>> They that can give up essential liberty to purchase a little temporary >>>>>> safety, >>>>>> deserve neither liberty nor safety. >>>>>> >>>>>> Benjamin Franklin, Historical Review of Pennsylvania, 1759
