comp.lang.ada
 help / color / mirror / Atom feed
* Matreshka 0.7 wsdl2ada
@ 2015-11-10 16:31 juanalmajano
  2015-11-10 17:11 ` Pascal Obry
  2015-11-13  6:09 ` Vadim Godunko
  0 siblings, 2 replies; 3+ messages in thread
From: juanalmajano @ 2015-11-10 16:31 UTC (permalink / raw)



 I installed Matreshka 0.7 and I'm trying to prove the tool wsdl2ada , but I get an error:

raised PROGRAM_ERROR : wsdl-parsers.adb:871 explicit raise

Can anyone have any ideas?


Best regards,

Juan




file:


<?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:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/encodedTypes" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema targetNamespace="http://tempuri.org/encodedTypes">
      <s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
      <s:import namespace="http://schemas.xmlsoap.org/wsdl/" />
      <s:complexType name="ArrayOfTest">
        <s:complexContent mixed="false">
          <s:restriction base="soapenc:Array">
            <s:attribute d7p1:arrayType="s0:Test[]" ref="soapenc:arrayType" xmlns:d7p1="http://schemas.xmlsoap.org/wsdl/" />
          </s:restriction>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="Test">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="S" type="s:string" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </types>
  <message name="SayHelloWorldSoapIn" />
  <message name="SayHelloWorldSoapOut">
    <part name="SayHelloWorldResult" type="s0:ArrayOfTest" />
  </message>
  <portType name="HelloWorldSoap">
    <operation name="SayHelloWorld">
      <input message="tns:SayHelloWorldSoapIn" />
      <output message="tns:SayHelloWorldSoapOut" />
    </operation>
  </portType>
  <binding name="HelloWorldSoap" type="tns:HelloWorldSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="SayHelloWorld">
      <soap:operation soapAction="http://tempuri.org/SayHelloWorld" style="rpc" />
      <input>
        <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
        <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
  </binding>
  <binding name="HelloWorldSoap12" type="tns:HelloWorldSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="SayHelloWorld">
      <soap12:operation soapAction="http://tempuri.org/SayHelloWorld" soapActionRequired="true" style="rpc" />
      <input>
        <soap12:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://www.w3.org/2001/12/soap-encoding" />
      </input>
      <output>
        <soap12:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://www.w3.org/2001/12/soap-encoding" />
      </output>
    </operation>
  </binding>
  <service name="HelloWorld">
    <port name="HelloWorldSoap" binding="tns:HelloWorldSoap">
      <soap:address location="http://localhost/bugs/soap12/helloworld.asmx" />
    </port>
    <port name="HelloWorldSoap12" binding="tns:HelloWorldSoap12">
      <soap12:address location="http://localhost/bugs/soap12/helloworld.asmx" />
    </port>
  </service>
</definitions>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Matreshka 0.7 wsdl2ada
  2015-11-10 16:31 Matreshka 0.7 wsdl2ada juanalmajano
@ 2015-11-10 17:11 ` Pascal Obry
  2015-11-13  6:09 ` Vadim Godunko
  1 sibling, 0 replies; 3+ messages in thread
From: Pascal Obry @ 2015-11-10 17:11 UTC (permalink / raw)


Le mardi 10 novembre 2015 à 08:31 -0800, juanalmajano@gmail.com a
écrit :
>  I installed Matreshka 0.7 and I'm trying to prove the tool wsdl2ada
> , but I get an error:
> 
> raised PROGRAM_ERROR : wsdl-parsers.adb:871 explicit raise
> 
> Can anyone have any ideas?

d7p1 name-space is not defined? Not sure it is the issue or not.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Matreshka 0.7 wsdl2ada
  2015-11-10 16:31 Matreshka 0.7 wsdl2ada juanalmajano
  2015-11-10 17:11 ` Pascal Obry
@ 2015-11-13  6:09 ` Vadim Godunko
  1 sibling, 0 replies; 3+ messages in thread
From: Vadim Godunko @ 2015-11-13  6:09 UTC (permalink / raw)


On Tuesday, November 10, 2015 at 7:31:11 PM UTC+3, Juan ele wrote:
> I installed Matreshka 0.7 and I'm trying to prove the tool wsdl2ada , but I get an error:
> 
> raised PROGRAM_ERROR : wsdl-parsers.adb:871 explicit raise
> 
> Can anyone have any ideas?
> 
Matreshka's WSDL2Ada translator supports WSDL 2.0 only, but you are using WSDL 1.x.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-13  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 16:31 Matreshka 0.7 wsdl2ada juanalmajano
2015-11-10 17:11 ` Pascal Obry
2015-11-13  6:09 ` Vadim Godunko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox