Hello i'm having something that i dont understand.

I created some OSGI services and configured them to be exposed has
webServices with DOSGI. Everything works fine within eclipse.

After this i packaged an OSGI platform with the same bundles that i use
within eclipse, the same options. When i start the OSGI platform, the
generation WSDL are not the same as within eclipse, the most part is
missing.

I really cant figure out what is happening.

I just annotated the interface and classes using @WebService.

I tried to use the @WebMethod on the service's method, but the WSDL is not
affected by the changes.

Apparently, nothin shows up within the logs.

Does somebody have any idea to fix this?


Here are the generated WSDL :

from the OSGI platform :


<wsdl:definitions name="IStoreServiceService"
targetNamespace="http://services.entities.core.ilium.xsc/";><wsdl:portType
name="IStoreService">
  </wsdl:portType><wsdl:binding name="IStoreServiceServiceSoapBinding"
type="tns:IStoreService"><soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/></wsdl:binding><wsdl:service
name="IStoreServiceService"><wsdl:port
binding="tns:IStoreServiceServiceSoapBinding"
name="IStoreServicePort"><soap:address
location="http://192.168.1.117:9293/ilium/store2/"/></wsdl:port></wsdl:service></wsdl:definitions>


and here from eclipse:

<wsdl:definitions name="IStoreServiceService"
targetNamespace="http://services.entities.core.ilium.xsc/";><wsdl:types><xs:schema
attributeFormDefault="unqualified" elementFormDefault="unqualified"
targetNamespace="http://services.entities.core.ilium.xsc/";><xs:complexType
name="store"><xs:sequence><xs:element minOccurs="0" name="address"
type="tns:address"/><xs:element minOccurs="0" name="code"
type="xs:string"/><xs:element minOccurs="0" name="company"
type="xs:string"/><xs:element minOccurs="0" name="creationDate"
type="xs:long"/><xs:element minOccurs="0" name="franchise"
type="xs:string"/><xs:element minOccurs="0" name="geography"
type="tns:geography"/><xs:element minOccurs="0" name="identifier"
type="xs:string"/><xs:element minOccurs="0" name="label"
type="xs:string"/></xs:sequence></xs:complexType><xs:complexType
name="address"><xs:sequence><xs:element minOccurs="0" name="cityId"
type="xs:string"/><xs:element minOccurs="0" name="cityName"
type="xs:string"/><xs:element minOccurs="0" name="countryName"
type="xs:string"/><xs:element minOccurs="0" name="departmentNumber"
type="xs:long"/><xs:element minOccurs="0" name="postalCode"
type="xs:long"/><xs:element minOccurs="0" name="streetName"
type="xs:string"/><xs:element minOccurs="0" name="streetNumber"
type="xs:string"/></xs:sequence></xs:complexType><xs:complexType
name="geography"><xs:sequence><xs:element name="altitude"
type="xs:double"/><xs:element name="latitude" type="xs:double"/><xs:element
name="longitude"
type="xs:double"/></xs:sequence></xs:complexType><xs:complexType
name="baseLookupCriterion"><xs:sequence><xs:element minOccurs="0"
name="criterionName" type="xs:string"/><xs:element minOccurs="0"
name="criterionValue" type="xs:string"/><xs:element minOccurs="0"
name="type"
type="tns:iLookupType"/></xs:sequence></xs:complexType><xs:simpleType
name="iLookupType"><xs:restriction base="xs:string"><xs:enumeration
value="Equal"/><xs:enumeration value="Inferior"/><xs:enumeration
value="Superior"/></xs:restriction></xs:simpleType><xs:complexType
final="#all" name="baseLookupCriterionArray"><xs:sequence><xs:element
maxOccurs="unbounded" minOccurs="0" name="item" nillable="true"
type="tns:baseLookupCriterion"/></xs:sequence></xs:complexType><xs:complexType
final="#all" name="storeArray"><xs:sequence><xs:element
maxOccurs="unbounded" minOccurs="0" name="item" nillable="true"
type="tns:store"/></xs:sequence></xs:complexType><xs:element
name="IdentifiableNotFoundException"
type="tns:IdentifiableNotFoundException"/><xs:complexType
name="IdentifiableNotFoundException"><xs:sequence/></xs:complexType><xs:element
name="RegistrationException"
type="tns:RegistrationException"/><xs:complexType
name="RegistrationException"><xs:sequence/></xs:complexType></xs:schema></wsdl:types><wsdl:message
name="getStore"><wsdl:part name="storeId" type="xsd:string">
    </wsdl:part></wsdl:message><wsdl:message
name="getStoreResponse"><wsdl:part name="return" type="tns:store">
    </wsdl:part></wsdl:message><wsdl:message name="registerStore"><wsdl:part
name="store" type="tns:store">
    </wsdl:part><wsdl:part name="force" type="xsd:boolean">
    </wsdl:part></wsdl:message><wsdl:message
name="RegistrationException"><wsdl:part element="tns:RegistrationException"
name="RegistrationException">
    </wsdl:part></wsdl:message><wsdl:message
name="IdentifiableNotFoundException"><wsdl:part
element="tns:IdentifiableNotFoundException"
name="IdentifiableNotFoundException">
    </wsdl:part></wsdl:message><wsdl:message
name="lookupStoresResponse"><wsdl:part name="return" type="tns:storeArray">
    </wsdl:part></wsdl:message><wsdl:message name="lookupStores"><wsdl:part
name="criterias" type="tns:baseLookupCriterionArray">
    </wsdl:part></wsdl:message><wsdl:message name="update"><wsdl:part
name="store" type="tns:store">
    </wsdl:part></wsdl:message><wsdl:message name="updateResponse">
  </wsdl:message><wsdl:message name="registerStoreResponse"><wsdl:part
name="return" type="xsd:string">
    </wsdl:part></wsdl:message><wsdl:portType
name="IStoreService"><wsdl:operation name="update"><wsdl:input
message="tns:update" name="update">
    </wsdl:input><wsdl:output message="tns:updateResponse"
name="updateResponse">
    </wsdl:output><wsdl:fault message="tns:IdentifiableNotFoundException"
name="IdentifiableNotFoundException">
    </wsdl:fault></wsdl:operation><wsdl:operation
name="registerStore"><wsdl:input message="tns:registerStore"
name="registerStore">
    </wsdl:input><wsdl:output message="tns:registerStoreResponse"
name="registerStoreResponse">
    </wsdl:output><wsdl:fault message="tns:RegistrationException"
name="RegistrationException">
    </wsdl:fault></wsdl:operation><wsdl:operation
name="getStore"><wsdl:input message="tns:getStore" name="getStore">
    </wsdl:input><wsdl:output message="tns:getStoreResponse"
name="getStoreResponse">
    </wsdl:output><wsdl:fault message="tns:IdentifiableNotFoundException"
name="IdentifiableNotFoundException">
    </wsdl:fault></wsdl:operation><wsdl:operation
name="lookupStores"><wsdl:input message="tns:lookupStores"
name="lookupStores">
    </wsdl:input><wsdl:output message="tns:lookupStoresResponse"
name="lookupStoresResponse">
    </wsdl:output></wsdl:operation></wsdl:portType><wsdl:binding
name="IStoreServiceServiceSoapBinding"
type="tns:IStoreService"><soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation
name="update"><soap:operation soapAction="" style="rpc"/><wsdl:input
name="update"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:input><wsdl:output name="updateResponse"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:output><wsdl:fault
name="IdentifiableNotFoundException"><soap:fault
name="IdentifiableNotFoundException"
use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation
name="registerStore"><soap:operation soapAction="" style="rpc"/><wsdl:input
name="registerStore"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:input><wsdl:output
name="registerStoreResponse"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:output><wsdl:fault
name="RegistrationException"><soap:fault name="RegistrationException"
use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation
name="getStore"><soap:operation soapAction="" style="rpc"/><wsdl:input
name="getStore"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:input><wsdl:output name="getStoreResponse"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:output><wsdl:fault
name="IdentifiableNotFoundException"><soap:fault
name="IdentifiableNotFoundException"
use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation
name="lookupStores"><soap:operation soapAction="" style="rpc"/><wsdl:input
name="lookupStores"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:input><wsdl:output
name="lookupStoresResponse"><soap:body
namespace="http://services.entities.core.ilium.xsc/";
use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service
name="IStoreServiceService"><wsdl:port
binding="tns:IStoreServiceServiceSoapBinding"
name="IStoreServicePort"><soap:address
location="http://192.168.1.117:9292/ilium/store/"/></wsdl:port></wsdl:service></wsdl:definitions>


--
View this message in context: 
http://cxf.547215.n5.nabble.com/DOSGI-wsdl-issues-tp4389781p4389781.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to