Hi,

wsdl2ruby bombs for me. It look like it does not like message parts
where typing info is provided using "element=" versus "type=", but I
am not sure. I am using the stable release from http://rrr.jin.gr.jp/rwiki?cmd=view;name=soap4r

Any clue ?

Thanks in advance,

Yours,

    JeanHuguesRobert

=====================
F, [2004-10-25T12:50:48.664000 #3120] FATAL -- app: Detected an exception. Stopp
ing ... Type:  not found. (RuntimeError)
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:84:in `definedtype'

c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:63:in `collect_para
meter'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:61:in `collect'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:61:in `collect_para
meter'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:46:in `dump_method'

c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:36:in `dump'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:33:in `each'
c:/ruby/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
c:/ruby/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreator.rb:33:in `dump'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/driverCreator.rb:44:in `dump_porttype'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/driverCreator.rb:32:in `dump'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/driverCreator.rb:31:in `each'
c:/ruby/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
c:/ruby/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
c:/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/driverCreator.rb:31:in `dump'
wsdl2ruby.rb:199:in `create_driver'
wsdl2ruby.rb:197:in `open'
wsdl2ruby.rb:197:in `create_driver'
wsdl2ruby.rb:54:in `create_file'
wsdl2ruby.rb:45:in `run'
c:/ruby/lib/ruby/1.8/logger.rb:522:in `start'
wsdl2ruby.rb:236
I, [2004-10-25T12:50:48.664000 #3120]  INFO -- app: End of app. (status: -1)

=======================
<?xml version="1.0" encoding="utf-8"?>

<definitions
  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:s="http://www.w3.org/2001/XMLSchema"
  xmlns:s0="http://webservices.x.com/OutboundCall"
  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
  targetNamespace="http://webservices.x.com/OutboundCall"
  xmlns="http://schemas.xmlsoap.org/wsdl/">

  <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://webservices.x.com/OutboundCall">
    
      <s:element name="outboundCall">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="call" type="s0:OutboundCallRequest" />
          </s:sequence>
        </s:complexType>
      </s:element>
      
      <s:complexType name="OutboundCallRequest">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="outboundCallReference" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="userIdentification" type="s:string" />
        </s:sequence>
      </s:complexType>
      
      <s:element name="outboundCallResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="outboundCallResult" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      
      <s:element name="AuthenticationHeader" type="s0:AuthenticationHeader" />
      
      <s:complexType name="AuthenticationHeader">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="timestamp" type="s:string" />
         </s:sequence>
      </s:complexType>
      
     
    </s:schema>
    
  </types>
  
  <message name="outboundCallSoapIn">
    <part name="parameters" element="s0:outboundCall" />
  </message>
  
  <message name="outboundCallSoapOut">
    <part name="parameters" element="s0:outboundCallResponse" />
  </message>
  
  <message name="outboundCallAuthenticationHeader">
    <part name="AuthenticationHeader" type="s0:AuthenticationHeader" />
  </message>
  
  
  <portType name="OutboundCallSoap">
  
    <operation name="outboundCall">
      <documentation>Outbound Call service that accepts OutboundCallRequest as parameter.</documentation>
      <input message="s0:outboundCallSoapIn" />
      <output message="s0:outboundCallSoapOut" />
    </operation>
    
     
  </portType>
  
  <binding name="OutboundCallSoap" type="s0:OutboundCallSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    
    <operation name="outboundCall">
      <soap:operation soapAction="http://webservices.x.com/OutboundCall/outboundCall" style="document" />
      <input>
        <soap:body use="literal" />
        <soap:header message="s0:outboundCallAuthenticationHeader" part="AuthenticationHeader" use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
        <soap:header message="s0:outboundCallAuthenticationHeader" part="AuthenticationHeader" use="literal" />
      </output>
    </operation>
    
    
  </binding>

  <service name="OutboundCall">
    <port name="OutboundCallSoap" binding="s0:OutboundCallSoap">
      <soap:address location="http://localhost/OutboundCallService/OutboundCall.asmx" />
    </port>
  </service>

</definitions>


-------------------------------------------------------------------------
Web:  http://hdl.handle.net/1030.37/1.1
Phone: +33 (0) 4 92 27 74 17