[Lazarus] Web Service Toolkit issue

Ian Godman ian at gravytrain.co.uk
Wed Aug 8 17:39:51 CEST 2012


I have upgraded from SVN and get the same results :-(

Ian

On 08/08/12 12:24, michael.vancanneyt at wisa.be wrote:
>
>
> On Wed, 8 Aug 2012, Ian Godman wrote:
>
>> I am using the Web Service Tool kit and have problems with "Hello
>> World".
>>
>> By tracing in debug mode I have found the following:
>>
>>    SOAP Envelope is being received - saved the by adding the line:
>>    rsps.SaveToFile('ians.saved');
>>    at line 239 of soap_formater.pas.
>>
>>    This gives:
>>
>>    <soap:Envelope
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>>      <soap:Body>
>>        <ns1:helloResponse xmlns:ns1="http://example.org/">
>>          <ns1:return>Hello fred_test</ns1:return>
>>        </ns1:helloResponse>
>>      </soap:Body>
>>    </soap:Envelope>
>>
>>
>>    In base_soap_formater around line 1550 it is looking for the
>>    "helloResponce" in the scope "http://example.org/" so it should find
>>    that scope is "ns1" but it does not find  it.
>>
>>    At line 1552 nmspcSH = the empty string.
>>
>>    At line 1574 strNodeName = 'helloResponse'  and findNode return nil
>>    so we have no result !
>>
>> I am using version 0.5 of the WST which is the newest I can find though
>> from 2007!
>
> Well, that is VERY old. This probably explains the problems you are
> experiencing !
>
> Last change date is 2012-07-19 2012-01-10
>
> You can upgrade from SVN:
> https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/wst/trunk
>
> If you do, do not forget to re-generate the sources from the wsdl.
>
> Michael.
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list