Hello Dennis,

Please find attached are the bindings. Thanks for your help.

ihsan

Dennis Sosnoski yazm?s,:
Hi Ihsan,

Sounds like a bug. Can you send me (directly, not on the list) the
generated binding(s) so I can see what's going on?

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Ihsan Demir wrote:
Hello,

When I try to generate the wsdl from java, I get the following errors:

generate-wsdl:
     [echo] Running Jibx2Wsdl tool
     [java] Starting from service classes:
     [java]  com......SubscriptionServicesImpl
     [java] Output to directory /ws/schema
     [java] Errors in generated binding:
[java] Error: 'extends' mapping not usable as schema extension base; on mapping element at (line 8, col 182, in binding.xml) [java] Error: No handling defined for name on concrete mapping reference; on structure element at (line 9, col 93, in binding.xml)

The binding.xml isgenerated by Jibx2Wdsl in the first place, why does it complain on its own generated binding file?

ihsan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

<binding xmlns:tns="http://coolrings.telenity.com/services"; name="binding" package="com.telenity.canvas.coolringsvideo.ws.test.impl" force-classes="true" add-constructors="true">
  <namespace uri="http://coolrings.telenity.com/services"; default="elements" prefix="ns1"/>
  <namespace uri="http://coolrings.telenity.com/services/SubscriptionServicesImpl"; prefix="ns2"/>
  <mapping class="com.telenity.canvas.coolringsvideo.ws.test.impl.SubscriberBaseImpl" name="subscriberBaseImpl">
    <value style="element" name="baseName" get-method="getBaseName" set-method="setBaseName" usage="optional"/>
  </mapping>
  <mapping extends="com.telenity.canvas.coolringsvideo.ws.test.impl.SubscriberBaseImpl" class="com.telenity.canvas.coolringsvideo.ws.test.impl.SubscriberImpl" name="subscriberImpl">
    <structure map-as="com.telenity.canvas.coolringsvideo.ws.test.impl.SubscriberBaseImpl"/>
    <value style="element" name="soyad" get-method="getSoyad" set-method="setSoyad" usage="optional"/>
  </mapping>
  <mapping abstract="true" type-name="tns:subscriber" class="com.telenity.canvas.coolringsvideo.ws.test.Subscriber">
    <value style="element" name="soyad" get-method="getSoyad" set-method="setSoyad" usage="optional"/>
    <value style="element" name="baseName" get-method="getBaseName" set-method="setBaseName" usage="optional"/>
  </mapping>
</binding>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns="http://coolrings.telenity.com/services"; 
elementFormDefault="qualified" 
targetNamespace="http://coolrings.telenity.com/services";>
  <xsd:complexType name="subscriber">
    <xsd:annotation>
      <xsd:documentation>User : ihsand CVS Id : $Id$ Date : Aug 30, 2007 Time : 
6:09:43 PM</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element type="xsd:string" name="soyad" minOccurs="0"/>
      <xsd:element type="xsd:string" name="baseName" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="subscriberImpl">
    <xsd:annotation>
      <xsd:documentation>User : ihsand CVS Id : $Id$ Date : Aug 30, 2007 Time : 
6:10:21 PM</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="tns:subscriberBaseImpl"/>
        <xsd:element type="xsd:string" name="soyad" minOccurs="0"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="subscriberBaseImpl">
    <xsd:annotation>
      <xsd:documentation>User : ihsand CVS Id : $Id$ Date : Aug 30, 2007 Time : 
6:11:00 PM</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element type="xsd:string" name="baseName" minOccurs="0"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
<wsdl:definitions 
xmlns:sns="http://coolrings.telenity.com/services/SubscriptionServicesImpl"; 
xmlns:tns="http://telenity.com/canvas/coolringsvideo/ws/test/services/SubscriptionServicesImpl";
 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
targetNamespace="http://telenity.com/canvas/coolringsvideo/ws/test/services/SubscriptionServicesImpl";>
  <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns="http://coolrings.telenity.com/services/SubscriptionServicesImpl"; 
xmlns:ns1="http://coolrings.telenity.com/services"; 
elementFormDefault="qualified" 
targetNamespace="http://coolrings.telenity.com/services/SubscriptionServicesImpl";>
      <xsd:import namespace="http://coolrings.telenity.com/services"; 
schemaLocation="services.xsd"/>
      <xsd:element name="find">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element type="xsd:string" name="name" minOccurs="0"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="findResponse">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element type="ns1:subscriber" name="subscriber" minOccurs="0"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="findMessage">
    <wsdl:part name="part" element="sns:find"/>
  </wsdl:message>
  <wsdl:message name="findResponseMessage">
    <wsdl:part name="part" element="sns:findResponse"/>
  </wsdl:message>
  <wsdl:portType name="SubscriptionServicesImplPortType">
    <wsdl:documentation>User : ihsand CVS Id : $Id$ Date : Aug 30, 2007 Time : 
6:14:54 PM</wsdl:documentation>
    <wsdl:operation name="find">
      <wsdl:input message="tns:findMessage"/>
      <wsdl:output message="tns:findResponseMessage"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="SubscriptionServicesImplBinding" 
type="tns:SubscriptionServicesImplPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
    <wsdl:operation name="find">
      <soap:operation soapAction="urn:find"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="SubscriptionServicesImpl">
    <wsdl:port name="SubscriptionServicesImplPort" 
binding="tns:SubscriptionServicesImplBinding">
      <soap:address 
location="http://localhost:8080/axis2/services/SubscriptionServicesImpl"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to