incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nolan, Edell" <Edell.No...@iona.com>
Subject RE: Found 0 types defined in the typemap
Date Fri, 27 Jul 2007 12:46:45 GMT
The wsdl only has primitive types so there will be nothing in the
typemap. So its fine.

Edell. 

-----Original Message-----
From: Lukas Zapletal [mailto:lukas.zapletal@gmail.com] 
Sent: 27 July 2007 12:52
To: yoko-dev@incubator.apache.org
Subject: Found 0 types defined in the typemap

Hello,

I am trying to write Provider callable via Yoko binding. I have a
question about typemaps. The CXF container logs this:

INFO: Found 0 types defined in the typemap

Is this a problem? What are these typemaps for? My WSDL is:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://schemas.apache.org/yoko/idl/calc"
xmlns:corba="http://schemas.apache.org/yoko/bindings/corba"
xmlns:tns="http://schemas.apache.org/yoko/idl/calc"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <corba:typeMapping
targetNamespace="http://schemas.apache.org/yoko/idl/calc/typemap" />
  <wsdl:types>
    <xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
targetNamespace="http://schemas.apache.org/yoko/idl/calc"
xmlns="http://schemas.apache.org/yoko/idl/calc"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="add">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="x" type="xs:double">
            </xs:element>
            <xs:element name="y" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="addResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="sub">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="x" type="xs:double">
            </xs:element>
            <xs:element name="y" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="subResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="mul">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="x" type="xs:double">
            </xs:element>
            <xs:element name="y" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="mulResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="div">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="x" type="xs:double">
            </xs:element>
            <xs:element name="y" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="divResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="xs:double">
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
  </wsdl:types>
  <wsdl:message name="mul">
    <wsdl:part name="inparameter" element="tns:mul">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="add">
    <wsdl:part name="inparameter" element="tns:add">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="div">
    <wsdl:part name="inparameter" element="tns:div">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="divResponse">
    <wsdl:part name="outparameter" element="tns:divResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="subResponse">
    <wsdl:part name="outparameter" element="tns:subResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="addResponse">
    <wsdl:part name="outparameter" element="tns:addResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="mulResponse">
    <wsdl:part name="outparameter" element="tns:mulResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="sub">
    <wsdl:part name="inparameter" element="tns:sub">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="com.pikeelectronic.calc.Calculator">
    <wsdl:operation name="add">
      <wsdl:input name="addRequest" message="tns:add">
    </wsdl:input>
      <wsdl:output name="addResponse" message="tns:addResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="sub">
      <wsdl:input name="subRequest" message="tns:sub">
    </wsdl:input>
      <wsdl:output name="subResponse" message="tns:subResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="mul">
      <wsdl:input name="mulRequest" message="tns:mul">
    </wsdl:input>
      <wsdl:output name="mulResponse" message="tns:mulResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="div">
      <wsdl:input name="divRequest" message="tns:div">
    </wsdl:input>
      <wsdl:output name="divResponse" message="tns:divResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="com.pikeelectronic.calc.CalculatorCORBABinding"
type="tns:com.pikeelectronic.calc.Calculator">
    <corba:binding
repositoryID="IDL:com/pikeelectronic/calc/Calculator:1.0" />
    <wsdl:operation name="add">
      <corba:operation name="add">
        <corba:param mode="in" name="x" idltype="corba:double" />
        <corba:param mode="in" name="y" idltype="corba:double" />
        <corba:return name="return" idltype="corba:double" />
      </corba:operation>
      <wsdl:input name="addRequest">
      </wsdl:input>
      <wsdl:output name="addResponse">
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="sub">
      <corba:operation name="sub">
        <corba:param mode="in" name="x" idltype="corba:double" />
        <corba:param mode="in" name="y" idltype="corba:double" />
        <corba:return name="return" idltype="corba:double" />
      </corba:operation>
      <wsdl:input name="subRequest">
      </wsdl:input>
      <wsdl:output name="subResponse">
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="mul">
      <corba:operation name="mul">
        <corba:param mode="in" name="x" idltype="corba:double" />
        <corba:param mode="in" name="y" idltype="corba:double" />
        <corba:return name="return" idltype="corba:double" />
      </corba:operation>
      <wsdl:input name="mulRequest">
      </wsdl:input>
      <wsdl:output name="mulResponse">
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="div">
      <corba:operation name="div">
        <corba:param mode="in" name="x" idltype="corba:double" />
        <corba:param mode="in" name="y" idltype="corba:double" />
        <corba:return name="return" idltype="corba:double" />
      </corba:operation>
      <wsdl:input name="divRequest">
      </wsdl:input>
      <wsdl:output name="divResponse">
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="com.pikeelectronic.calc.CalculatorCORBAService">
    <wsdl:port name="com.pikeelectronic.calc.CalculatorCORBAPort"
binding="tns:com.pikeelectronic.calc.CalculatorCORBABinding">
      <corba:address location="corbaloc::localhost:40000/calc" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

--
Lukas Zapletal
http://lukas.zapletalovi.com

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Mime
View raw message