cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Inger (JIRA)" <>
Subject [jira] Created: (DOSGI-55) JAX-WS Frontend generating WSDL with no operations or types
Date Tue, 26 Jan 2010 17:40:34 GMT
JAX-WS Frontend generating WSDL with no operations or types

                 Key: DOSGI-55
             Project: CXF Distributed OSGi
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Matt Inger

I've setup a web service interface and implementation with the proper annotations (@WebService,
@WebMethod, @WebParam) and so forth, and deployed the dosgi singlebundle distribution into
spring dmServer 2.0.  When setup for the simple frontend with jaxb bindings, I get a somewhat
ok result, though the generated wsdl exceptions a message payload like this:


Obviously this is not optimal, so i decided to switch to JAX-WS, and added the appropriate
package imports in my manifest:

public interface WidgetService {
    void addWidget(@WebParam(name="widgetData") WidgetData widgetData);


and then set the front end to use jaxws:

  <osgi:service ref="WidgetWebService" interface="com.fiberlink.service.widget.web.api.WidgetWebService">
      <entry key="service.exported.interfaces" value="com.fiberlink.service.widget.web.api.WidgetWebService"
      <entry key="service.exported.configs" value="" />
      <entry key="" value="jaxws" />
      <entry key="" value="jaxb" />
      <entry key="" value="http://localhost:9090/widget" />

I would have expected a proper WSDL to be generated which wanted a payload like this:


However, what I got from the WSDL was this.  Posts I have googled on indicated there might
be something wrong with singlebundle distribution, but the links to the solution are expired,
and i've had no luck getting the multibundle distribution working.  Everytime I try to deploy
a webservice using the multi-bundle distro, it never ends up deploying anything on the requested
port #.  Same with the 1.2 SNAPSHOT version as well.  Seems I'm running into roadblocks everywhere.

<wsdl:definitions name="WidgetWebServiceService" targetNamespace=""
xmlns:ns1="" xmlns:soap=""
xmlns:tns="" xmlns:wsdl=""
  <wsdl:portType name="WidgetWebService">
  <wsdl:binding name="WidgetWebServiceServiceSoapBinding" type="tns:WidgetWebService">
    <soap:binding style="document" transport="" />
  <wsdl:service name="WidgetWebServiceService">
    <wsdl:port binding="tns:WidgetWebServiceServiceSoapBinding" name="WidgetWebServicePort">
      <soap:address location="http://localhost:9090/widget" />


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

View raw message