Loading ...
Sorry, an error occurred while loading the content.

Help using SOAP::Lite

Expand Messages
  • Octavian Rasnita
    Hi, I need to create a SOAP::Lite client in perl and I don t have specifications for doing this in this language. I do have an example in C# though. Can you
    Message 1 of 6 , Jul 3, 2006
    • 0 Attachment
      Hi,

      I need to create a SOAP::Lite client in perl and I don't have specifications
      for doing this in this language.

      I do have an example in C# though. Can you help me with the smallest code
      you can that can help me as a sample of making the following program in
      perl?

      Thank you very much.

      using System;
      using System.Web.Services;

      namespace TestSiteWs
      {
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
      {
      /// <summary>
      /// The main entry point for the application.
      /// </summary>
      [STAThread]
      static void Main(string[] args)
      {
      //Test Level2
      Console.Write("Symbol:");
      string symbol=Console.ReadLine();
      Console.Write("Market:");
      string market=Console.ReadLine();
      ro.site.www.SiteWebService ws= new ro.site.www.SiteWebService();
      ro.site.www.TypeLevel2 level2= null;
      try
      {
      level2=ws.Level2(symbol,market);
      Console.WriteLine("TimeStamp:{0}",level2.LastTopTime.ToString("G"));
      Console.WriteLine("BVol\tBPrice\tAPrice\tAVol");
      if(level2 != null)
      {
      Console.WriteLine(level2.B1Vol + "\t" + level2.B1Price + "\t" +
      level2.A1Price + "\t" + level2.A1Vol);
      Console.WriteLine(level2.B2Vol + "\t" + level2.B2Price + "\t" +
      level2.A2Price + "\t" + level2.A2Vol);
      Console.WriteLine(level2.B3Vol + "\t" + level2.B3Price + "\t" +
      level2.A3Price + "\t" + level2.A3Vol);
      Console.WriteLine(level2.B4Vol + "\t" + level2.B4Price + "\t" +
      level2.A4Price + "\t" + level2.A4Vol);
      Console.WriteLine(level2.B5Vol + "\t" + level2.B5Price + "\t" +
      level2.A5Price + "\t" + level2.A5Vol);
      }
      }
      catch(Exception ex)
      {
      Console.Write(ex.Message);
      }

      Console.ReadLine();
      }
      }
      }

      If it helps, here is the WSDL file which can be used for making this client:

      <?xml version="1.0" encoding="utf-8"?>
      <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="www.bvb.ro"
      xmlns:s1="http://www.bvb.ro/" xmlns:s="http://www.w3.org/2001/XMLSchema"
      xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
      xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
      targetNamespace="www.bvb.ro" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Real
      time data from Bucharest Stock Exchange</wsdl:documentation>
      <wsdl:types>
      <s:schema elementFormDefault="qualified" targetNamespace="www.bvb.ro">
      <s:import namespace="http://www.bvb.ro/" />
      <s:element name="Level1">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="symbol"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="market"
      type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:element name="Level1Response">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Level1Result"
      type="s1:TypeLevel1" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:element name="Level2">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="symbol"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="market"
      type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:element name="Level2Response">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Level2Result"
      type="s1:TypeLevel2" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:element name="Indices">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="code"
      type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:element name="IndicesResponse">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="IndicesResult"
      type="tns:ArrayOfTypeIndices" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfTypeIndices">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded" name="TypeIndices"
      nillable="true" type="s1:TypeIndices" />
      </s:sequence>
      </s:complexType>
      <s:element name="TopIssues">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="noIssues"
      type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="market"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="criteria"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="order"
      type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:element name="TopIssuesResponse">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="TopIssuesResult"
      type="tns:ArrayOfTypeTopIssues" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfTypeTopIssues">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded"
      name="TypeTopIssues" nillable="true" type="s1:TypeTopIssues" />
      </s:sequence>
      </s:complexType>
      <s:element name="ExchangeStatistics">
      <s:complexType />
      </s:element>
      <s:element name="ExchangeStatisticsResponse">
      <s:complexType>
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1"
      name="ExchangeStatisticsResult" type="tns:ArrayOfTypeExchangeStatistics" />
      </s:sequence>
      </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfTypeExchangeStatistics">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded"
      name="TypeExchangeStatistics" nillable="true"
      type="s1:TypeExchangeStatistics" />
      </s:sequence>
      </s:complexType>
      <s:element name="TypeLevel1" nillable="true" type="s1:TypeLevel1" />
      <s:element name="TypeLevel2" nillable="true" type="s1:TypeLevel2" />
      <s:element name="ArrayOfTypeIndices" nillable="true"
      type="tns:ArrayOfTypeIndices" />
      <s:element name="ArrayOfTypeTopIssues" nillable="true"
      type="tns:ArrayOfTypeTopIssues" />
      <s:element name="ArrayOfTypeExchangeStatistics" nillable="true"
      type="tns:ArrayOfTypeExchangeStatistics" />
      </s:schema>
      <s:schema elementFormDefault="qualified"
      targetNamespace="http://www.bvb.ro/">
      <s:complexType name="TypeLevel1">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbolcode"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Marketcode"
      type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="LastTradeTime"
      type="s:dateTime" />
      <s:element minOccurs="1" maxOccurs="1" name="Openprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Closeprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Value"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Volume" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Trades" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Lowpricecurrent"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Highpricecurrent"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Avgprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1"
      name="NetChgFromOfficialPrice" type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1"
      name="PrcChgFromOfficialPrice" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="ReferencePrice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="PotentialOpenVol"
      type="s:long" />
      <s:element minOccurs="1" maxOccurs="1" name="PotentialOpenPrice"
      type="s:decimal" />
      <s:element minOccurs="0" maxOccurs="1" name="SymbolStatus"
      type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="LastBestTime"
      type="s:dateTime" />
      <s:element minOccurs="1" maxOccurs="1" name="BestBidVol"
      type="s:long" />
      <s:element minOccurs="1" maxOccurs="1" name="BestBidPrice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="BestAskVol"
      type="s:long" />
      <s:element minOccurs="1" maxOccurs="1" name="BestAskPrice"
      type="s:decimal" />
      </s:sequence>
      </s:complexType>
      <s:complexType name="TypeLevel2">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbolcode"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Marketcode"
      type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="LastTradeTime"
      type="s:dateTime" />
      <s:element minOccurs="1" maxOccurs="1" name="Openprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Closeprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Value"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Volume" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Trades" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Lowpricecurrent"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Highpricecurrent"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Avgprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1"
      name="NetChgFromOfficialPrice" type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1"
      name="PrcChgFromOfficialPrice" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="ReferencePrice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="PotentialOpenVol"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="PotentialOpenPrice"
      type="s:decimal" />
      <s:element minOccurs="0" maxOccurs="1" name="SymbolStatus"
      type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="LastTopTime"
      type="s:dateTime" />
      <s:element minOccurs="1" maxOccurs="1" name="B1Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="B1Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="B2Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="B2Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="B3Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="B3Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="B4Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="B4Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="B5Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="B5Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="A1Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="A1Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="A2Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="A2Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="A3Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="A3Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="A4Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="A4Vol"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="A5Price"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="A5Vol"
      type="s:double" />
      </s:sequence>
      </s:complexType>
      <s:complexType name="TypeIndices">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string"
      />
      <s:element minOccurs="1" maxOccurs="1" name="LastUpdateTime"
      type="s:dateTime" />
      <s:element minOccurs="1" maxOccurs="1" name="OpenValue"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="CurrentValue"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="LowValue"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="HighValue"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="NetChange"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="PrcChange"
      type="s:double" />
      </s:sequence>
      </s:complexType>
      <s:complexType name="TypeTopIssues">
      <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbolcode"
      type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Marketcode"
      type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="LastTradeTime"
      type="s:dateTime" />
      <s:element minOccurs="1" maxOccurs="1" name="Closeprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Value"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Volume" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Trades" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Lowpricecurrent"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Highpricecurrent"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="Avgprice"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1"
      name="NetChgFromOfficialPrice" type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1"
      name="PrcChgFromOfficialPrice" type="s:double" />
      </s:sequence>
      </s:complexType>
      <s:complexType name="TypeExchangeStatistics">
      <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="LastSession"
      type="s:dateTime" />
      <s:element minOccurs="0" maxOccurs="1" name="Marketcode"
      type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Volume" type="s:long"
      />
      <s:element minOccurs="1" maxOccurs="1" name="Value"
      type="s:decimal" />
      <s:element minOccurs="1" maxOccurs="1" name="ValueUSD"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="ValueEUR"
      type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Trades" type="s:long"
      />
      </s:sequence>
      </s:complexType>
      </s:schema>
      </wsdl:types>
      <wsdl:message name="Level1SoapIn">
      <wsdl:part name="parameters" element="tns:Level1" />
      </wsdl:message>
      <wsdl:message name="Level1SoapOut">
      <wsdl:part name="parameters" element="tns:Level1Response" />
      </wsdl:message>
      <wsdl:message name="Level2SoapIn">
      <wsdl:part name="parameters" element="tns:Level2" />
      </wsdl:message>
      <wsdl:message name="Level2SoapOut">
      <wsdl:part name="parameters" element="tns:Level2Response" />
      </wsdl:message>
      <wsdl:message name="IndicesSoapIn">
      <wsdl:part name="parameters" element="tns:Indices" />
      </wsdl:message>
      <wsdl:message name="IndicesSoapOut">
      <wsdl:part name="parameters" element="tns:IndicesResponse" />
      </wsdl:message>
      <wsdl:message name="TopIssuesSoapIn">
      <wsdl:part name="parameters" element="tns:TopIssues" />
      </wsdl:message>
      <wsdl:message name="TopIssuesSoapOut">
      <wsdl:part name="parameters" element="tns:TopIssuesResponse" />
      </wsdl:message>
      <wsdl:message name="ExchangeStatisticsSoapIn">
      <wsdl:part name="parameters" element="tns:ExchangeStatistics" />
      </wsdl:message>
      <wsdl:message name="ExchangeStatisticsSoapOut">
      <wsdl:part name="parameters" element="tns:ExchangeStatisticsResponse" />
      </wsdl:message>
      <wsdl:message name="Level1HttpGetIn">
      <wsdl:part name="symbol" type="s:string" />
      <wsdl:part name="market" type="s:string" />
      </wsdl:message>
      <wsdl:message name="Level1HttpGetOut">
      <wsdl:part name="Body" element="tns:TypeLevel1" />
      </wsdl:message>
      <wsdl:message name="Level2HttpGetIn">
      <wsdl:part name="symbol" type="s:string" />
      <wsdl:part name="market" type="s:string" />
      </wsdl:message>
      <wsdl:message name="Level2HttpGetOut">
      <wsdl:part name="Body" element="tns:TypeLevel2" />
      </wsdl:message>
      <wsdl:message name="IndicesHttpGetIn">
      <wsdl:part name="code" type="s:string" />
      </wsdl:message>
      <wsdl:message name="IndicesHttpGetOut">
      <wsdl:part name="Body" element="tns:ArrayOfTypeIndices" />
      </wsdl:message>
      <wsdl:message name="TopIssuesHttpGetIn">
      <wsdl:part name="noIssues" type="s:string" />
      <wsdl:part name="market" type="s:string" />
      <wsdl:part name="criteria" type="s:string" />
      <wsdl:part name="order" type="s:string" />
      </wsdl:message>
      <wsdl:message name="TopIssuesHttpGetOut">
      <wsdl:part name="Body" element="tns:ArrayOfTypeTopIssues" />
      </wsdl:message>
      <wsdl:message name="ExchangeStatisticsHttpGetIn" />
      <wsdl:message name="ExchangeStatisticsHttpGetOut">
      <wsdl:part name="Body" element="tns:ArrayOfTypeExchangeStatistics" />
      </wsdl:message>
      <wsdl:message name="Level1HttpPostIn">
      <wsdl:part name="symbol" type="s:string" />
      <wsdl:part name="market" type="s:string" />
      </wsdl:message>
      <wsdl:message name="Level1HttpPostOut">
      <wsdl:part name="Body" element="tns:TypeLevel1" />
      </wsdl:message>
      <wsdl:message name="Level2HttpPostIn">
      <wsdl:part name="symbol" type="s:string" />
      <wsdl:part name="market" type="s:string" />
      </wsdl:message>
      <wsdl:message name="Level2HttpPostOut">
      <wsdl:part name="Body" element="tns:TypeLevel2" />
      </wsdl:message>
      <wsdl:message name="IndicesHttpPostIn">
      <wsdl:part name="code" type="s:string" />
      </wsdl:message>
      <wsdl:message name="IndicesHttpPostOut">
      <wsdl:part name="Body" element="tns:ArrayOfTypeIndices" />
      </wsdl:message>
      <wsdl:message name="TopIssuesHttpPostIn">
      <wsdl:part name="noIssues" type="s:string" />
      <wsdl:part name="market" type="s:string" />
      <wsdl:part name="criteria" type="s:string" />
      <wsdl:part name="order" type="s:string" />
      </wsdl:message>
      <wsdl:message name="TopIssuesHttpPostOut">
      <wsdl:part name="Body" element="tns:ArrayOfTypeTopIssues" />
      </wsdl:message>
      <wsdl:message name="ExchangeStatisticsHttpPostIn" />
      <wsdl:message name="ExchangeStatisticsHttpPostOut">
      <wsdl:part name="Body" element="tns:ArrayOfTypeExchangeStatistics" />
      </wsdl:message>
      <wsdl:portType name="BSE_x0020_Web_x0020_ServiceSoap">
      <wsdl:operation name="Level1">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Level I
      Data</wsdl:documentation>
      <wsdl:input message="tns:Level1SoapIn" />
      <wsdl:output message="tns:Level1SoapOut" />
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Level II
      Data</wsdl:documentation>
      <wsdl:input message="tns:Level2SoapIn" />
      <wsdl:output message="tns:Level2SoapOut" />
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Exchange
      indices</wsdl:documentation>
      <wsdl:input message="tns:IndicesSoapIn" />
      <wsdl:output message="tns:IndicesSoapOut" />
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Top
      issues for last session</wsdl:documentation>
      <wsdl:input message="tns:TopIssuesSoapIn" />
      <wsdl:output message="tns:TopIssuesSoapOut" />
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Statistics for last
      session</wsdl:documentation>
      <wsdl:input message="tns:ExchangeStatisticsSoapIn" />
      <wsdl:output message="tns:ExchangeStatisticsSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:portType name="BSE_x0020_Web_x0020_ServiceHttpGet">
      <wsdl:operation name="Level1">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Level I
      Data</wsdl:documentation>
      <wsdl:input message="tns:Level1HttpGetIn" />
      <wsdl:output message="tns:Level1HttpGetOut" />
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Level II
      Data</wsdl:documentation>
      <wsdl:input message="tns:Level2HttpGetIn" />
      <wsdl:output message="tns:Level2HttpGetOut" />
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Exchange
      indices</wsdl:documentation>
      <wsdl:input message="tns:IndicesHttpGetIn" />
      <wsdl:output message="tns:IndicesHttpGetOut" />
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Top
      issues for last session</wsdl:documentation>
      <wsdl:input message="tns:TopIssuesHttpGetIn" />
      <wsdl:output message="tns:TopIssuesHttpGetOut" />
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Statistics for last
      session</wsdl:documentation>
      <wsdl:input message="tns:ExchangeStatisticsHttpGetIn" />
      <wsdl:output message="tns:ExchangeStatisticsHttpGetOut" />
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:portType name="BSE_x0020_Web_x0020_ServiceHttpPost">
      <wsdl:operation name="Level1">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Level I
      Data</wsdl:documentation>
      <wsdl:input message="tns:Level1HttpPostIn" />
      <wsdl:output message="tns:Level1HttpPostOut" />
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Level II
      Data</wsdl:documentation>
      <wsdl:input message="tns:Level2HttpPostIn" />
      <wsdl:output message="tns:Level2HttpPostOut" />
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Exchange
      indices</wsdl:documentation>
      <wsdl:input message="tns:IndicesHttpPostIn" />
      <wsdl:output message="tns:IndicesHttpPostOut" />
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Top
      issues for last session</wsdl:documentation>
      <wsdl:input message="tns:TopIssuesHttpPostIn" />
      <wsdl:output message="tns:TopIssuesHttpPostOut" />
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <wsdl:documentation
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Statistics for last
      session</wsdl:documentation>
      <wsdl:input message="tns:ExchangeStatisticsHttpPostIn" />
      <wsdl:output message="tns:ExchangeStatisticsHttpPostOut" />
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="BSE_x0020_Web_x0020_ServiceSoap"
      type="tns:BSE_x0020_Web_x0020_ServiceSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
      <wsdl:operation name="Level1">
      <soap:operation soapAction="www.bvb.ro/Level1" style="document" />
      <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <soap:operation soapAction="www.bvb.ro/Level2" style="document" />
      <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <soap:operation soapAction="www.bvb.ro/Indices" style="document" />
      <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <soap:operation soapAction="www.bvb.ro/TopIssues" style="document" />
      <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <soap:operation soapAction="www.bvb.ro/ExchangeStatistics"
      style="document" />
      <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="BSE_x0020_Web_x0020_ServiceSoap12"
      type="tns:BSE_x0020_Web_x0020_ServiceSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
      <wsdl:operation name="Level1">
      <soap12:operation soapAction="www.bvb.ro/Level1" style="document" />
      <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <soap12:operation soapAction="www.bvb.ro/Level2" style="document" />
      <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <soap12:operation soapAction="www.bvb.ro/Indices" style="document" />
      <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <soap12:operation soapAction="www.bvb.ro/TopIssues" style="document"
      />
      <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <soap12:operation soapAction="www.bvb.ro/ExchangeStatistics"
      style="document" />
      <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="BSE_x0020_Web_x0020_ServiceHttpGet"
      type="tns:BSE_x0020_Web_x0020_ServiceHttpGet">
      <http:binding verb="GET" />
      <wsdl:operation name="Level1">
      <http:operation location="/Level1" />
      <wsdl:input>
      <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <http:operation location="/Level2" />
      <wsdl:input>
      <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <http:operation location="/Indices" />
      <wsdl:input>
      <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <http:operation location="/TopIssues" />
      <wsdl:input>
      <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <http:operation location="/ExchangeStatistics" />
      <wsdl:input>
      <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="BSE_x0020_Web_x0020_ServiceHttpPost"
      type="tns:BSE_x0020_Web_x0020_ServiceHttpPost">
      <http:binding verb="POST" />
      <wsdl:operation name="Level1">
      <http:operation location="/Level1" />
      <wsdl:input>
      <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Level2">
      <http:operation location="/Level2" />
      <wsdl:input>
      <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="Indices">
      <http:operation location="/Indices" />
      <wsdl:input>
      <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="TopIssues">
      <http:operation location="/TopIssues" />
      <wsdl:input>
      <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ExchangeStatistics">
      <http:operation location="/ExchangeStatistics" />
      <wsdl:input>
      <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="BSE_x0020_Web_x0020_Service">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Real
      time data from Bucharest Stock Exchange</wsdl:documentation>
      <wsdl:port name="BSE_x0020_Web_x0020_ServiceSoap"
      binding="tns:BSE_x0020_Web_x0020_ServiceSoap">
      <soap:address location="http://www.rasd.ro/bsews/intraday.asmx" />
      </wsdl:port>
      <wsdl:port name="BSE_x0020_Web_x0020_ServiceSoap12"
      binding="tns:BSE_x0020_Web_x0020_ServiceSoap12">
      <soap12:address location="http://www.rasd.ro/bsews/intraday.asmx" />
      </wsdl:port>
      <wsdl:port name="BSE_x0020_Web_x0020_ServiceHttpGet"
      binding="tns:BSE_x0020_Web_x0020_ServiceHttpGet">
      <http:address location="http://www.rasd.ro/bsews/intraday.asmx" />
      </wsdl:port>
      <wsdl:port name="BSE_x0020_Web_x0020_ServiceHttpPost"
      binding="tns:BSE_x0020_Web_x0020_ServiceHttpPost">
      <http:address location="http://www.rasd.ro/bsews/intraday.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>


      Teddy
    • Octavian Rasnita
      From: theorem21 ... specifications for doing this in this language. ... code you can that can help me as a sample of making the
      Message 2 of 6 , Jul 3, 2006
      • 0 Attachment
        From: "theorem21" <bryant.eadon@...>

        --- In soaplite@yahoogroups.com, "Octavian Rasnita" <orasnita@...> wrote:
        >
        > I need to create a SOAP::Lite client in perl and I don't have
        specifications for doing this in this language.
        >
        > I do have an example in C# though. Can you help me with the smallest
        code you can that can help me as a sample of making the following
        program in perl?
        **************************

        I'll reword your question to what I think you're really asking ...

        "I don't know how to do this, here's my WSDL and code in C#, do it for
        me in Perl."

        Without "specifications" or it's brethren -- "requirements" you can't
        build anything efficiently, let alone farm it out to someone. I
        suppose you mean something else.

        Regardless, take a look at the perl documentation for this module :
        http://search.cpan.org/~byrne/SOAP-Lite-0.67/lib/OldDocs/SOAP/Lite.pm

        Hi,

        Thanks for helping me.

        I have already read the SOAP::Lite POD documentation and I have already read
        some pages from soaplite.com site. They helped me to learn a little how to
        create a SOAP client in perl if I also have the code for the SOAP server
        which is also in perl.

        The problem is that I don't know what I need to use as uri() because I don't
        know which is the namespace that I need to use.

        I have tried using the same name as the method's name and a few other
        strings, but without success.

        The guys that made the server could give me some examples in C# or Java, but
        nobody uses perl for this.... and I think I start to understand why...

        Teddy
      • gayathri athreya
        Hi, Here is a small sample code. This code was originally in Java and I had to rewrite it in perl. It takes a while to actually understand how SOAP works but
        Message 3 of 6 , Jul 3, 2006
        • 0 Attachment
          Hi,
               Here is a small sample code. This code was originally in Java and I had to rewrite it in perl. It takes a while to actually understand how SOAP works but once you do, the language is not a barrier, the perl module is just as efficient and easy as java or C#. It is done exactly like the way you do it in java, only the function names are different. Please refer to www.perl.com for articles on SOAP, they were of immense help to me. Hope this helps.

          ##########
          use SOAP::Lite;
          use SOAP::Lite +trace => [qw(debug)];

          my $ENDPOINT = 'http://your url';
              my $lucas = new SOAP::Lite(endpoint => $ENDPOINT, proxy => $ENDPOINT);
                      $lucas->transport->timeout(600);
                      my @params = (
                                     SOAP::Data->type('int')->name('numberTerms')->value(20),
                                     SOAP::Data->type('boolean')->name('showWeights')->value(0),
                                     SOAP::Data->type('int')->name('format')->value(0));
                      my $response = $lucas->call('yourFunction' => @params)->result;
          #############

          Octavian Rasnita <orasnita@...> wrote:
          From: "theorem21" <bryant.eadon@ csfb.com>

          --- In soaplite@yahoogroup s.com, "Octavian Rasnita" <orasnita@.. .> wrote:
          >
          > I need to create a SOAP::Lite client in perl and I don't have
          specifications for doing this in this language.
          >
          > I do have an example in C# though. Can you help me with the smallest
          code you can that can help me as a sample of making the following
          program in perl?
          ************ ********* *****

          I'll reword your question to what I think you're really asking ...

          "I don't know how to do this, here's my WSDL and code in C#, do it for
          me in Perl."

          Without "specifications" or it's brethren -- "requirements" you can't
          build anything efficiently, let alone farm it out to someone. I
          suppose you mean something else.

          Regardless, take a look at the perl documentation for this module :
          http://search. cpan.org/ ~byrne/SOAP- Lite-0.67/ lib/OldDocs/ SOAP/Lite. pm

          Hi,

          Thanks for helping me.

          I have already read the SOAP::Lite POD documentation and I have already read
          some pages from soaplite.com site. They helped me to learn a little how to
          create a SOAP client in perl if I also have the code for the SOAP server
          which is also in perl.

          The problem is that I don't know what I need to use as uri() because I don't
          know which is the namespace that I need to use.

          I have tried using the same name as the method's name and a few other
          strings, but without success.

          The guys that made the server could give me some examples in C# or Java, but
          nobody uses perl for this.... and I think I start to understand why...

          Teddy




          ******"We shape the pot but it's the emptiness which holds whatever we want".******


          Yahoo! India Answers: Share what you know. Learn something new Click here
          Catch all the FIFA World Cup 2006 action on Yahoo! India Click here

        • Octavian Rasnita
          Hi, Thank you for that code. I have tried the following: use SOAP::Lite; use SOAP::Lite +trace = [qw(debug)]; my $url = http://... ; my $ENDPOINT = $url; my
          Message 4 of 6 , Jul 3, 2006
          • 0 Attachment
            Hi,

            Thank you for that code.

            I have tried the following:

            use SOAP::Lite;
            use SOAP::Lite +trace => [qw(debug)];

            my $url = "http://...";

            my $ENDPOINT = $url;
            my $lucas = new SOAP::Lite(endpoint => $ENDPOINT, proxy => $ENDPOINT, ns =>
            'www.bvb.ro/Level2');

            $lucas->transport->timeout(600);

            my @params = (
            SOAP::Data->type('string')->name('symbol')->value('SIF5'),
            SOAP::Data->type('string')->name('market')->value('REGS'));

            my $response = $lucas->call('Level2' => @params)->result;
            __END__

            I have seen that the program sends the following HTTP header which is not
            correct:

            SOAPAction: "www.bvb.ro/Level2#Level2"

            The correct header should be:

            SOAPAction: "www.bvb.ro/Level2"

            (without #Level2)

            What can I do to make it send the correct header?

            Thank you.

            Teddy

            ----- Original Message -----
            From: "gayathri athreya" <satanssidekick5@...>

            > Hi,
            > Here is a small sample code. This code was originally in Java and I
            had to rewrite it in perl. It takes a while to actually understand how SOAP
            works but once you do, the language is not a barrier, the perl module is
            just as efficient and easy as java or C#. It is done exactly like the way
            you do it in java, only the function names are different. Please refer to
            www.perl.com for articles on SOAP, they were of immense help to me. Hope
            this helps.
            >
          • rahed
            ... www.bvb.ro/Level2#Level2 Part before # is uri and part after is a called method. SOAPAction http header can be set by an on_action method:
            Message 5 of 6 , Jul 4, 2006
            • 0 Attachment
              "Octavian Rasnita" <orasnita@...> writes:

              > I have seen that the program sends the following HTTP header which is not
              > correct:
              >
              > SOAPAction: "www.bvb.ro/Level2#Level2"
              >
              > The correct header should be:
              >
              > SOAPAction: "www.bvb.ro/Level2"
              >
              > (without #Level2)
              >
              > What can I do to make it send the correct header?
              >



              www.bvb.ro/Level2#Level2
              Part before # is uri and part after is a called method.

              SOAPAction http header can be set by an on_action method:
              $soap->on_action(sub {'www.bvb.ro/Level2'});

              --
              Radek
            • Octavian Rasnita
              Thank you. I have managed to send the correct header but the XML body is not correct. I have also read that I need to make some changes in order to make the
              Message 6 of 6 , Jul 4, 2006
              • 0 Attachment
                Thank you. I have managed to send the correct header but the XML body is not
                correct.
                I have also read that I need to make some changes in order to make the
                SOAP::Lite client work with a .net server (because it is a .net server
                running under IIS), and I have tried changing many things, but the body sent
                is very different than the server needs.

                Here is the SOAP 1.1 and 1.2 requests and responses that should be used.
                Is it possible to do it using SOAP::Lite?
                (with any of them)

                SOAP 1.1

                The following is a sample SOAP 1.1 request and response. The placeholders
                shown need to be replaced with actual values.
                POST /bsews/intraday.asmx HTTP/1.1
                Host: www.rasd.ro
                Content-Type: text/xml; charset=utf-8
                Content-Length: length
                SOAPAction: "www.bvb.ro/Level2"

                <?xml version="1.0" encoding="utf-8"?>
                <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
                <soap:Body>
                <Level2 xmlns="www.bvb.ro">
                <symbol>string</symbol>
                <market>string</market>
                </Level2>
                </soap:Body>
                </soap:Envelope>
                HTTP/1.1 200 OK
                Content-Type: text/xml; charset=utf-8
                Content-Length: length

                <?xml version="1.0" encoding="utf-8"?>
                <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
                <soap:Body>
                <Level2Response xmlns="www.bvb.ro">
                <Level2Result>
                <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
                <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
                <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime>
                <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice>
                <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice>
                <Value xmlns="http://www.bvb.ro/">decimal</Value>
                <Volume xmlns="http://www.bvb.ro/">long</Volume>
                <Trades xmlns="http://www.bvb.ro/">long</Trades>
                <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent>
                <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent>
                <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice>
                <NetChgFromOfficialPrice
                xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice>
                <PrcChgFromOfficialPrice
                xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice>
                <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice>
                <PotentialOpenVol xmlns="http://www.bvb.ro/">decimal</PotentialOpenVol>
                <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice>
                <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus>
                <LastTopTime xmlns="http://www.bvb.ro/">dateTime</LastTopTime>
                <B1Price xmlns="http://www.bvb.ro/">decimal</B1Price>
                <B1Vol xmlns="http://www.bvb.ro/">double</B1Vol>
                <B2Price xmlns="http://www.bvb.ro/">decimal</B2Price>
                <B2Vol xmlns="http://www.bvb.ro/">double</B2Vol>
                <B3Price xmlns="http://www.bvb.ro/">decimal</B3Price>
                <B3Vol xmlns="http://www.bvb.ro/">double</B3Vol>
                <B4Price xmlns="http://www.bvb.ro/">decimal</B4Price>
                <B4Vol xmlns="http://www.bvb.ro/">double</B4Vol>
                <B5Price xmlns="http://www.bvb.ro/">decimal</B5Price>
                <B5Vol xmlns="http://www.bvb.ro/">double</B5Vol>
                <A1Price xmlns="http://www.bvb.ro/">decimal</A1Price>
                <A1Vol xmlns="http://www.bvb.ro/">double</A1Vol>
                <A2Price xmlns="http://www.bvb.ro/">decimal</A2Price>
                <A2Vol xmlns="http://www.bvb.ro/">double</A2Vol>
                <A3Price xmlns="http://www.bvb.ro/">decimal</A3Price>
                <A3Vol xmlns="http://www.bvb.ro/">double</A3Vol>
                <A4Price xmlns="http://www.bvb.ro/">decimal</A4Price>
                <A4Vol xmlns="http://www.bvb.ro/">double</A4Vol>
                <A5Price xmlns="http://www.bvb.ro/">decimal</A5Price>
                <A5Vol xmlns="http://www.bvb.ro/">double</A5Vol>
                </Level2Result>
                </Level2Response>
                </soap:Body>
                </soap:Envelope>

                SOAP 1.2

                The following is a sample SOAP 1.2 request and response. The placeholders
                shown need to be replaced with actual values.
                POST /bsews/intraday.asmx HTTP/1.1
                Host: www.rasd.ro
                Content-Type: application/soap+xml; charset=utf-8
                Content-Length: length

                <?xml version="1.0" encoding="utf-8"?>
                <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
                <soap12:Body>
                <Level2 xmlns="www.bvb.ro">
                <symbol>string</symbol>
                <market>string</market>
                </Level2>
                </soap12:Body>
                </soap12:Envelope>
                HTTP/1.1 200 OK
                Content-Type: application/soap+xml; charset=utf-8
                Content-Length: length

                <?xml version="1.0" encoding="utf-8"?>
                <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
                <soap12:Body>
                <Level2Response xmlns="www.bvb.ro">
                <Level2Result>
                <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
                <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
                <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime>
                <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice>
                <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice>
                <Value xmlns="http://www.bvb.ro/">decimal</Value>
                <Volume xmlns="http://www.bvb.ro/">long</Volume>
                <Trades xmlns="http://www.bvb.ro/">long</Trades>
                <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent>
                <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent>
                <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice>
                <NetChgFromOfficialPrice
                xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice>
                <PrcChgFromOfficialPrice
                xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice>
                <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice>
                <PotentialOpenVol xmlns="http://www.bvb.ro/">decimal</PotentialOpenVol>
                <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice>
                <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus>
                <LastTopTime xmlns="http://www.bvb.ro/">dateTime</LastTopTime>
                <B1Price xmlns="http://www.bvb.ro/">decimal</B1Price>
                <B1Vol xmlns="http://www.bvb.ro/">double</B1Vol>
                <B2Price xmlns="http://www.bvb.ro/">decimal</B2Price>
                <B2Vol xmlns="http://www.bvb.ro/">double</B2Vol>
                <B3Price xmlns="http://www.bvb.ro/">decimal</B3Price>
                <B3Vol xmlns="http://www.bvb.ro/">double</B3Vol>
                <B4Price xmlns="http://www.bvb.ro/">decimal</B4Price>
                <B4Vol xmlns="http://www.bvb.ro/">double</B4Vol>
                <B5Price xmlns="http://www.bvb.ro/">decimal</B5Price>
                <B5Vol xmlns="http://www.bvb.ro/">double</B5Vol>
                <A1Price xmlns="http://www.bvb.ro/">decimal</A1Price>
                <A1Vol xmlns="http://www.bvb.ro/">double</A1Vol>
                <A2Price xmlns="http://www.bvb.ro/">decimal</A2Price>
                <A2Vol xmlns="http://www.bvb.ro/">double</A2Vol>
                <A3Price xmlns="http://www.bvb.ro/">decimal</A3Price>
                <A3Vol xmlns="http://www.bvb.ro/">double</A3Vol>
                <A4Price xmlns="http://www.bvb.ro/">decimal</A4Price>
                <A4Vol xmlns="http://www.bvb.ro/">double</A4Vol>
                <A5Price xmlns="http://www.bvb.ro/">decimal</A5Price>
                <A5Vol xmlns="http://www.bvb.ro/">double</A5Vol>
                </Level2Result>
                </Level2Response>
                </soap12:Body>
                </soap12:Envelope>





                Teddy

                ----- Original Message -----
                From: "rahed" <rahed@...>
                To: "Octavian Rasnita" <orasnita@...>
                Cc: "gayathri athreya" <satanssidekick5@...>; "theorem21"
                <bryant.eadon@...>; <soaplite@yahoogroups.com>
                Sent: Tuesday, July 04, 2006 12:59 PM
                Subject: Re: [soaplite] Re: Help using SOAP::Lite


                > "Octavian Rasnita" <orasnita@...> writes:
                >
                > > I have seen that the program sends the following HTTP header which is
                not
                > > correct:
                > >
                > > SOAPAction: "www.bvb.ro/Level2#Level2"
                > >
                > > The correct header should be:
                > >
                > > SOAPAction: "www.bvb.ro/Level2"
                > >
                > > (without #Level2)
                > >
                > > What can I do to make it send the correct header?
                > >
                >
                >
                >
                > www.bvb.ro/Level2#Level2
                > Part before # is uri and part after is a called method.
                >
                > SOAPAction http header can be set by an on_action method:
                > $soap->on_action(sub {'www.bvb.ro/Level2'});
                >
                > --
                > Radek
              Your message has been successfully submitted and would be delivered to recipients shortly.