if you are asking if my classes are loaded from same location, yes i'm
sure. i know such things happen all the time but i'm pretty
experienced with java

but, if you are asking for the environment (other libraries) it's
another story. this application runs a ibm filenet client and hence
includes lots of websphere jars. some of them conflict with cxf jars.
i cleaned up the classpath as far as i can. at least my app starts up
and runs now without exceptions

but to be sure, i ran Java2WS within my application with same
arguments and it created a correct wsdl file. quite strange isnt't it
? below is the code piece. attached are java2ws output and auto
generated wsdl files

                String[] args = new String[] {
                                "-verbose", "-wsdl",
                                "-d", "C:\\raft",
                                "-frontend", "jaxws",
                                "-databinding", "jaxb",
                                "-servicename", "TellcomWebService",
                                "-address", 
"http://10.0.0.10:8080/TellcomWeb/TellcomWebService";,
                                "ebit.tellcom.service.web.TellcomWebService"
                };
                JavaToWS.main(args);

regards,
r a f t

On Tue, Dec 2, 2008 at 8:33 PM, Benson Margulies <[EMAIL PROTECTED]> wrote:
> You don't have any endpoint features (such as data binding
> customizations) that would explain a discrepancy.
>
> So I'm left wondering if you are perfectly sure that the classpath is
> the same in the two cases.
>
>
> On Tue, Dec 2, 2008 at 1:26 PM, raft <[EMAIL PROTECTED]> wrote:
>>
>> hi,
>>
>> i'm not sure i correctly understand the notion here. what exacty do you mean
>> by service factory options/settings ? are they the one defined at endpoint ?
>> my endpoint definition, interface and implementation is below. once again if
>> required i can send my data types too
>>
>>        <jaxws:endpoint
>>                id="tellcomWebService"
>>                implementor="#webService"
>>                address="/TellcomWebService" >
>>
>>                <jaxws:features>
>>                     <bean class="org.apache.cxf.feature.LoggingFeature"/>
>>                </jaxws:features>
>>
>>                <jaxws:properties>
>>                        <entry key="schema-validation-enabled" value="false" 
>> />
>>                </jaxws:properties>
>>
>>         </jaxws:endpoint>
>>
>> this is my endpoint interface:
>>
>> @WebService(targetNamespace = TellcomWebService.NAME_SPACE)
>> public interface TellcomWebService {
>>        public static final String NAME_SPACE =
>> "http://web.service.tellcom.ebit.aas/";;
>>
>>        /** returns a list of documents for given musteriNo */
>>        public DocumentListDto getDocuments(@WebParam(name="musteriNo") String
>> musteriNo) throws Exception;
>>
>>        // just for testing
>>        public String echo(String message) throws Exception;
>> }
>>
>> and this is the implementation, in a different package:
>>
>> @WebService(name="TellcomWebService",
>>                endpointInterface = 
>> "ebit.tellcom.service.web.TellcomWebService",
>>                targetNamespace = TellcomWebService.NAME_SPACE )
>> public class TellcomWebServiceImpl implements TellcomWebService {
>>
>> // methods are omited
>> }
>>
>> r a f t
>>
>>
>> Hakan,
>>
>> The ?wsdl generator is 'configured' by the sum of all your @nnotations
>> plus whatever options you supply to the service factory. Generally, a
>> discrepancy of this kind results from service factory options, since
>> the @nnotations are equally visible to the tools and the dynamic
>> runtime.
>>
>> Have you posted your service endpoint configuration?
>>
>> --benson
>>
>>
>> --
>> View this message in context: 
>> http://www.nabble.com/configuring-the-WSDL-generator-at-serviceUrl-wsdl-tp20703988p20798085.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
>
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions 
name="TellcomWebServiceImplService" 
targetNamespace="http://web.service.tellcom.ebit.aas/"; 
xmlns:ns1="http://cxf.apache.org/bindings/xformat"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://web.service.tellcom.ebit.aas/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <wsdl:types>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" 
targetNamespace="http://web.service.tellcom.ebit.aas/"; 
xmlns:tns="http://web.service.tellcom.ebit.aas/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<xsd:element name="echo" type="tns:echo" />
<xsd:complexType name="echo">
<xsd:sequence>
<xsd:element minOccurs="0" name="arg0" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="echoResponse" type="tns:echoResponse" />
<xsd:complexType name="echoResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getDocuments" type="tns:getDocuments" />

<xsd:complexType name="getDocuments">
<xsd:sequence>
<xsd:element minOccurs="0" name="musteriNo" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getDocumentsResponse" type="tns:getDocumentsResponse" />
<xsd:complexType name="getDocumentsResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:documentListDto" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
  </wsdl:types>
  <wsdl:message name="echoResponse">
    <wsdl:part element="tns:echoResponse" name="parameters">

    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="echo">
    <wsdl:part element="tns:echo" name="parameters">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getDocumentsResponse">
    <wsdl:part element="tns:getDocumentsResponse" name="parameters">
    </wsdl:part>

  </wsdl:message>
  <wsdl:message name="getDocuments">
    <wsdl:part element="tns:getDocuments" name="parameters">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="TellcomWebService">
    <wsdl:operation name="echo">
      <wsdl:input message="tns:echo" name="echo">
    </wsdl:input>

      <wsdl:output message="tns:echoResponse" name="echoResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getDocuments">
      <wsdl:input message="tns:getDocuments" name="getDocuments">
    </wsdl:input>
      <wsdl:output message="tns:getDocumentsResponse" 
name="getDocumentsResponse">
    </wsdl:output>
    </wsdl:operation>

  </wsdl:portType>
  <wsdl:binding name="TellcomWebServiceImplServiceSoapBinding" 
type="tns:TellcomWebService">
    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"; />
    <wsdl:operation name="echo">
      <soap:operation soapAction="" style="document" />
      <wsdl:input name="echo">
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output name="echoResponse">

        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getDocuments">
      <soap:operation soapAction="" style="document" />
      <wsdl:input name="getDocuments">
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output name="getDocumentsResponse">

        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="TellcomWebServiceImplService">
    <wsdl:port binding="tns:TellcomWebServiceImplServiceSoapBinding" 
name="TellcomWebServicePort">
      <soap:address 
location="http://localhost:8080/TellcomWeb/TellcomWebService"; />
    </wsdl:port>
  </wsdl:service>

</wsdl:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="TellcomWebService" 
targetNamespace="http://web.service.tellcom.ebit.aas/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:tns="http://web.service.tellcom.ebit.aas/";>
  <wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns="http://web.service.tellcom.ebit.aas/"; 
attributeFormDefault="unqualified" elementFormDefault="unqualified" 
targetNamespace="http://web.service.tellcom.ebit.aas/";>
<xs:element name="document" type="tns:documentDto"/>
<xs:element name="document-list" type="tns:documentListDto"/>
<xs:element name="property-binary" type="tns:propertyBinaryDto"/>
<xs:element name="property-boolean" type="tns:propertyBooleanDto"/>
<xs:element name="property-date" type="tns:propertyDateDto"/>
<xs:element name="property-double" type="tns:property-double"/>
<xs:element name="property-id" nillable="true" type="xs:anyType"/>
<xs:element name="property-integer" type="tns:propertyIntegerDto"/>
<xs:element name="property-list" type="tns:propertyListDto"/>
<xs:element name="property-string" type="tns:propertyStringDto"/>
<xs:complexType name="documentListDto">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="document" 
type="tns:documentDto"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="documentDto">
<xs:sequence>
<xs:element name="type" type="xs:string"/>
<xs:element name="id" type="xs:string"/>
<xs:element minOccurs="0" name="url" type="xs:string"/>
<xs:element minOccurs="0" name="property-list" type="tns:propertyListDto"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="propertyListDto">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="property-id" type="tns:propertyIdDto"/>
<xs:element name="property-string" type="tns:propertyStringDto"/>
<xs:element name="property-boolean" type="tns:propertyBooleanDto"/>
<xs:element name="property-integer" type="tns:propertyIntegerDto"/>
<xs:element name="property-double" type="tns:property-double"/>
<xs:element name="property-date" type="tns:propertyDateDto"/>
<xs:element name="property-binary" type="tns:propertyBinaryDto"/>
<xs:element name="property-id-list" type="tns:propertyIdListDto"/>
<xs:element name="property-string-list" type="tns:propertyStringListDto"/>
<xs:element name="property-boolean-list" type="tns:propertyBooleanListDto"/>
<xs:element name="property-integer-list" type="tns:propertyIntegerListDto"/>
<xs:element name="property-double-list" type="tns:propertyDoubleListDto"/>
<xs:element name="property-date-list" type="tns:propertyDateListDto"/>
<xs:element name="property-binary-list" type="tns:propertyBinaryListDto"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="propertyIdDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType abstract="true" name="property">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="propertyStringDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyBooleanDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:boolean"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyIntegerDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:int"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="property-double">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:double"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyDateDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:dateTime"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyBinaryDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:base64Binary"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyIdListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyStringListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyBooleanListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyIntegerListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyDoubleListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" type="xs:double"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyDateListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" 
type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="propertyBinaryListDto">
<xs:complexContent>
<xs:extension base="tns:property">
<xs:sequence>
<xs:element minOccurs="0" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value" 
type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="echo" type="tns:echo"/>
<xs:complexType name="echo">
<xs:sequence>
<xs:element minOccurs="0" name="arg0" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="echoResponse" type="tns:echoResponse"/>
<xs:complexType name="echoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getDocuments" type="tns:getDocuments"/>
<xs:complexType name="getDocuments">
<xs:sequence>
<xs:element minOccurs="0" name="musteriNo" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getDocumentsResponse" type="tns:getDocumentsResponse"/>
<xs:complexType name="getDocumentsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:documentListDto"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
  </wsdl:types>
  <wsdl:message name="echoResponse">
    <wsdl:part name="parameters" element="tns:echoResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="echo">
    <wsdl:part name="parameters" element="tns:echo">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getDocumentsResponse">
    <wsdl:part name="parameters" element="tns:getDocumentsResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getDocuments">
    <wsdl:part name="parameters" element="tns:getDocuments">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="TellcomWebService">
    <wsdl:operation name="echo">
      <wsdl:input name="echo" message="tns:echo">
    </wsdl:input>
      <wsdl:output name="echoResponse" message="tns:echoResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getDocuments">
      <wsdl:input name="getDocuments" message="tns:getDocuments">
    </wsdl:input>
      <wsdl:output name="getDocumentsResponse" 
message="tns:getDocumentsResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="TellcomWebServiceServiceSoapBinding" 
type="tns:TellcomWebService">
    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="echo">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="echo">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="echoResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getDocuments">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="getDocuments">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getDocumentsResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="TellcomWebService">
    <wsdl:port name="TellcomWebServicePort" 
binding="tns:TellcomWebServiceServiceSoapBinding">
      <soap:address 
location="http://10.0.0.10:8080/TellcomWeb/TellcomWebService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Reply via email to