Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-07

mailing list archive - huge gap

13 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ian Godman
to Graeme Geldenhuys

Hi

I am trying to get Lazarus to connect to a Java based web service. The web service is in Java because its on an existing webserver and will provide information and services etc from that site.

I am using Apache CXF and Jersey for the web services. With Jersey I have a working restful webservice, with CXF I have been able to build the service but not the client.

I have used WST to generate the classes from the WSDL which appears to work well.

However when I try to run the client I get the following exception:

Project webservice raised exception class 'EserviceConfigException' with message invalid parameter: 'AProtocolData'

Searching Google I found that the solution was to add soap_formatterto my uses which I have done but still get the same error.

I have changed to use the wst_CreateInstance_HelloWorldEasy (always start with 'hello world' :-) ) and teh invalid parameter error goes away to be replaced with

Project webservice raised exception class 'EXMLReadError' with message: in 'stream:' (line 1 pos 145): root element is missing

The HelloWorld web service is a simple as it can get (almost) being a service with a single action. Call hello method with a string and it return the string 'hello ' + the string you supplied.

I have attached the WDSL to this email used to generate the classes for Lazarus.

I have tried so many options I am now completely confused and absolutely certian I am doing it wrong.

The code I have got to now is:

  FPC_RegisterHTTP_Transport();
  try
    service := wst_CreateInstance_HelloWorldEasy();
    WriteLn( service.hello('fred') );
  finally
  end;

I know this is not right and reasonable sure I may have been closer to a solution some hours ago but now have no faith in my understanding.

Any assistance very much appreciated.

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.wsdl
Type: application/x-wsdl
Size: 2178 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120719/b3167d3c/attachment.bin>

Reply by email

Unknown author
to Ian Godman
Ian Godman wrote 27 lines
Hi I am trying to get Lazarus to connect to a Java based web service. The web service is in Java because its on an existing webserver and will provide information and services etc from that site. I am using Apache CXF and Jersey for the web services. With Jersey I have a working restful webservice, with CXF I have been able to build the service but not the client. I have used WST to generate the classes from the WSDL which appears to work well. However when I try to run the client I get the following exception: Project webservice raised exception class 'EserviceConfigException' with message invalid parameter: 'AProtocolData' Searching Google I found that the solution was to add soap_formatterto my uses which I have done but still get the same error. I have changed to use the wst_CreateInstance_HelloWorldEasy (always start with 'hello world' :-) ) and teh invalid parameter error goes away to be replaced with Project webservice raised exception class 'EXMLReadError' with message: in 'stream:' (line 1 pos 145): root element is missing

Can you post the response from the server ?

You can make the response visible on the console by adding the logger_extension unit to your uses clause.

Michael.

Reply by email

Ian Godman
to Unknown author
Show quoted text 46 lines
On Thu, 19 Jul 2012, Ian Godman wrote: > Hi > > I am trying to get Lazarus to connect to a Java based web service. The > web service is in Java because its on an existing webserver and will > provide information and services etc from that site. > > I am using Apache CXF and Jersey for the web services. With Jersey I > have a working restful webservice, with CXF I have been able to build > the service but not the client. > > I have used WST to generate the classes from the WSDL which appears to > work well. > > However when I try to run the client I get the following exception: > > Project webservice raised exception class 'EserviceConfigException' with > message invalid parameter: 'AProtocolData' > > Searching Google I found that the solution was to add soap_formatterto > my uses which I have done but still get the same error. > > I have changed to use the wst_CreateInstance_HelloWorldEasy (always > start with 'hello world' :-) ) and teh invalid parameter error goes away > to be replaced with > > Project webservice raised exception class 'EXMLReadError' with message: > in 'stream:' (line 1 pos 145): root element is missing Can you post the response from the server ? You can make the response visible on the console by adding the logger_extension unit to your uses clause. Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

The service is not being called, Lazarus code is failing before the request is made so there is no server response.

Ian

Reply by email

Unknown author
to Ian Godman
Ian Godman wrote 50 lines
On 19/07/12 14:28, wrote: > > > On Thu, 19 Jul 2012, Ian Godman wrote: > >> Hi >> >> I am trying to get Lazarus to connect to a Java based web service. The >> web service is in Java because its on an existing webserver and will >> provide information and services etc from that site. >> >> I am using Apache CXF and Jersey for the web services. With Jersey I >> have a working restful webservice, with CXF I have been able to build >> the service but not the client. >> >> I have used WST to generate the classes from the WSDL which appears to >> work well. >> >> However when I try to run the client I get the following exception: >> >> Project webservice raised exception class 'EserviceConfigException' with >> message invalid parameter: 'AProtocolData' >> >> Searching Google I found that the solution was to add soap_formatterto >> my uses which I have done but still get the same error. >> >> I have changed to use the wst_CreateInstance_HelloWorldEasy (always >> start with 'hello world' :-) ) and teh invalid parameter error goes away >> to be replaced with >> >> Project webservice raised exception class 'EXMLReadError' with message: >> in 'stream:' (line 1 pos 145): root element is missing > > Can you post the response from the server ? > > You can make the response visible on the console by adding the > logger_extension > unit to your uses clause. > > Michael. > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > The service is not being called, Lazarus code is failing before the request is made so there is no server response.

Well, you get a read error.
Reading is normally done only when you get a response.

Did you specify an end point (address) when you create the service ?

Michael.

Reply by email

Marcos Douglas
to Ian Godman: Hi I am trying to get Lazarus to connect to a Java based web service. The web service is…
Ian Godman wrote 54 lines
Hi I am trying to get Lazarus to connect to a Java based web service. The web service is in Java because its on an existing webserver and will provide information and services etc from that site. I am using Apache CXF and Jersey for the web services. With Jersey I have a working restful webservice, with CXF I have been able to build the service but not the client. I have used WST to generate the classes from the WSDL which appears to work well. However when I try to run the client I get the following exception: Project webservice raised exception class 'EserviceConfigException' with message invalid parameter: 'AProtocolData' Searching Google I found that the solution was to add soap_formatterto my uses which I have done but still get the same error. I have changed to use the wst_CreateInstance_HelloWorldEasy (always start with 'hello world' :-) ) and teh invalid parameter error goes away to be replaced with Project webservice raised exception class 'EXMLReadError' with message: in 'stream:' (line 1 pos 145): root element is missing The HelloWorld web service is a simple as it can get (almost) being a service with a single action. Call hello method with a string and it return the string 'hello ' + the string you supplied. I have attached the WDSL to this email used to generate the classes for Lazarus. I have tried so many options I am now completely confused and absolutely certian I am doing it wrong. The code I have got to now is: FPC_RegisterHTTP_Transport(); try service := wst_CreateInstance_HelloWorldEasy(); WriteLn( service.hello('fred') ); finally end; I know this is not right and reasonable sure I may have been closer to a solution some hours ago but now have no faith in my understanding. Any assistance very much appreciated. Ian

I used Synapse to work with a WebService made in PHP (I just know is PHP, but I don't have the code).

Using POST, XML and Synapse everything worked.
The WebService is simple and just have 3 methods so, in that case Synapse worked very well.

Marcos Douglas

Reply by email

Ian Godman
to Unknown author: Well, you get a read error. Reading is normally done only when you get a response. Did…

I have been able to test my web service with SOAPUI and it responds without error, giving it the parameter 'George' I get:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<ns1:helloResponse xmlns:ns1="http://example.org/"> <ns1:return>Hello George</ns1:return>
</ns1:helloResponse>
</soap:Body>
</soap:Envelope>

How ever when I run in Lazarus i get the following

The logs written by the web service indicate that it is receiving the request and processing it correctly - the log out put is the same as that seen when successfully calling the service from SOAPUI.

I have used WST to generate the classes from the same WSDL as used with SOAPUI.

Any ideas ?

Ian

Show quoted text 71 lines
On Thu, 19 Jul 2012, Ian Godman wrote: > > On 19/07/12 14:28, wrote: >> >> >> On Thu, 19 Jul 2012, Ian Godman wrote: >> >>> Hi >>> >>> I am trying to get Lazarus to connect to a Java based web service. The >>> web service is in Java because its on an existing webserver and will >>> provide information and services etc from that site. >>> >>> I am using Apache CXF and Jersey for the web services. With Jersey I >>> have a working restful webservice, with CXF I have been able to build >>> the service but not the client. >>> >>> I have used WST to generate the classes from the WSDL which appears to >>> work well. >>> >>> However when I try to run the client I get the following exception: >>> >>> Project webservice raised exception class 'EserviceConfigException' >>> with >>> message invalid parameter: 'AProtocolData' >>> >>> Searching Google I found that the solution was to add soap_formatterto >>> my uses which I have done but still get the same error. >>> >>> I have changed to use the wst_CreateInstance_HelloWorldEasy (always >>> start with 'hello world' :-) ) and teh invalid parameter error goes >>> away >>> to be replaced with >>> >>> Project webservice raised exception class 'EXMLReadError' with >>> message: >>> in 'stream:' (line 1 pos 145): root element is missing >> >> Can you post the response from the server ? >> >> You can make the response visible on the console by adding the >> logger_extension >> unit to your uses clause. >> >> Michael. >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > The service is not being called, Lazarus code is failing before the > request is made so there is no server response. Well, you get a read error. Reading is normally done only when you get a response. Did you specify an end point (address) when you create the service ? Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120725/5f9aca02/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: hdhjjjcb.png
Type: image/png
Size: 30034 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120725/5f9aca02/attachment-0001.png>

Reply by email

Unknown author
to Ian Godman
Ian Godman wrote 29 lines
I have been able to test my web service with SOAPUI and it responds without error, giving it the parameter 'George' I get: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns1:helloResponse xmlns:ns1="http://example.org/"> <ns1:return>Hello George</ns1:return> </ns1:helloResponse> </soap:Body> </soap:Envelope> How ever when I run in Lazarus i get the following The logs written by the web service indicate that it is receiving the request and processing it correctly - the log out put is the same as that seen when successfully calling the service from SOAPUI. I have used WST to generate the classes from the same WSDL as used with SOAPUI. Any ideas ? >>>> >>>> Project webservice raised exception class 'EXMLReadError' with >>>> message: >>>> in 'stream:' (line 1 pos 145): root element is missing

The line indicates that there is something missing in the response.

Is the webservice somehow publicly available so someone else can test ?

Michael.

Reply by email

Ian Godman
to Unknown author
Show quoted text 46 lines
On Wed, 25 Jul 2012, Ian Godman wrote: > I have been able to test my web service with SOAPUI and it responds > without error, giving it the parameter 'George' I get: > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <ns1:helloResponse xmlns:ns1="http://example.org/"> > <ns1:return>Hello George</ns1:return> > </ns1:helloResponse> > </soap:Body> > </soap:Envelope> > > How ever when I run in Lazarus i get the following > > > > The logs written by the web service indicate that it is receiving the > request and processing it correctly - the log out put is the same as > that seen when successfully calling the service from SOAPUI. > > I have used WST to generate the classes from the same WSDL as used with > SOAPUI. > > > Any ideas ? >>>>> >>>>> Project webservice raised exception class 'EXMLReadError' with >>>>> message: >>>>> in 'stream:' (line 1 pos 145): root element is missing The line indicates that there is something missing in the response. Is the webservice somehow publicly available so someone else can test ? Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Not available to the public as its only on my machine.

I dont think there is anything missing in the response as SOAPUI does not complain and it looks good to me.

The debugger says:

An unhandled exception occurred at $080E278D :
EXMLReadError : In 'stream:' (line 1 pos 1): Illegal at document level $080E278D
$080E269A
$080E24BA
$080E2277
$080E712B
$080E72FA
$080E6F8A
$080E3222
$080E9151
$080E91AA
$080833DD TSOAPCALLMAKER__MAKECALL, line 239 of
./include/soap_formatter.pas
$080B2B0F TBASEPROXY__MAKECALL, line 269 of ./include/service_intf.pas $08082660 THELLOWORLDPORTTYPE_PROXY__HELLO, line 63 of hello_proxy.pas $08048207 main, line 29 of webservice.lWeb Services Toolkit

Would be nice if I knew what was illegal at the document level. The XML I get back is as above the raw response is as follows:

HTTP/1.1 200 OK
Date: Wed, 25 Jul 2012 03:38:23 BST
Server: Mule Core/3.3.0
X-MULE_SESSION:
rO0ABXNyACNvcmcubXVsZS5zZXNzaW9uLkRlZmF1bHRNdWxlU2Vzc2lvbi7rdtEW7GGKAwAEWgAFdmFsaWRMAA1mbG93Q29uc3RydWN0dAAmTG9yZy9tdWxlL2FwaS9jb25zdHJ1Y3QvRmxvd0NvbnN0cnVjdDtMAAJpZHQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAD3NlY3VyaXR5Q29udGV4dHQAJ0xvcmcvbXVsZS9hcGkvc2VjdXJpdHkvU2VjdXJpdHlDb250ZXh0O3hwAXB0ACQ2MzQyYjU4ZS1kNjY2LTExZTEtOWRmYS1iOTFmY2RkY2U0ZTBwc3IAJWphdmEudXRpbC5Db2xsZWN0aW9ucyRTeW5jaHJvbml6ZWRNYXAbc/kJS0s5ewMAAkwAAW10AA9MamF2YS91dGlsL01hcDtMAAVtdXRleHQAEkxqYXZhL2xhbmcvT2JqZWN0O3hwc3IAJG9yZy5tdWxlLnV0aWwuQ2FzZUluc2Vuc2l0aXZlSGFzaE1hcJ3R2e9nRc4AAwAAeHB3DD9AAAAAAAAQAAAAAHhxAH4ACXh4

http.method: POST
Content-Type: text/xml; charset=UTF-8
X-MULE_ENCODING: UTF-8
Transfer-Encoding: chunked
Connection: close

<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:helloResponse xmlns:ns1="http://example.org/"><ns1:return>Hello
George</ns1:return></ns1:helloResponse></soap:Body></soap:Envelope>

Reply by email

Unknown author
to Ian Godman
Ian Godman wrote 13 lines
X-MULE_SESSION: rO0ABXNyACNvcmcubXVsZS5zZXNzaW9uLkRlZmF1bHRNdWxlU2Vzc2lvbi7rdtEW7GGKAwAEWgAFdmFsaWRMAA1mbG93Q29uc3RydWN0dAAmTG9yZy9tdWxlL2FwaS9jb25zdHJ1Y3QvRmxvd0NvbnN0cnVjdDtMAAJpZHQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAD3NlY3VyaXR5Q29udGV4dHQAJ0xvcmcvbXVsZS9hcGkvc2VjdXJpdHkvU2VjdXJpdHlDb250ZXh0O3hwAXB0ACQ2MzQyYjU4ZS1kNjY2LTExZTEtOWRmYS1iOTFmY2RkY2U0ZTBwc3IAJWphdmEudXRpbC5Db2xsZWN0aW9ucyRTeW5jaHJvbml6ZWRNYXAbc/kJS0s5ewMAAkwAAW10AA9MamF2YS91dGlsL01hcDtMAAVtdXRleHQAEkxqYXZhL2xhbmcvT2JqZWN0O3hwc3IAJG9yZy5tdWxlLnV0aWwuQ2FzZUluc2Vuc2l0aXZlSGFzaE1hcJ3R2e9nRc4AAwAAeHB3DD9AAAAAAAAQAAAAAHhxAH4ACXh4 http.method: POST Content-Type: text/xml; charset=UTF-8 X-MULE_ENCODING: UTF-8 Transfer-Encoding: chunked Connection: close <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:helloResponse xmlns:ns1="http://example.org/"><ns1:return>Hello George</ns1:return></ns1:helloResponse></soap:Body></soap:Envelope>

I miss the following at the start:

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

But normally this should not hurt.

The error means that there is an illegal character at the start of the returned stream. This error is raised by the XMLRead routines. It is then masked by a WST error (which, I think, is a design error of WST).

I suspect the illegal character is a BOM marker (I had similar experiences in the past). If so, you should configure your server not to return a BOM Marker. Maybe SOAPUI can handle it, but XMLRead probably can't.

(although, I managed to crash Java webservices by sending a BOM Marker in a request...)

Michael.

Reply by email

Ian Godman
to Ian Godman: The service is not being called, Lazarus code is failing before the request is made so…

Hi

I have been having an issue with a "Hello World" web service.

The first issue was Lazarus throwing an error when processing the response. This was chased down to chunking. Having disabled the chunking on the web-service no error is thrown. The trouble is now there are no results either!

I have generated the Lazarus code using the Web Service Toolkit and importing the WDSL (attached).

My code that makes use of the generated classes is:

program webservice;
{$mode objfpc}{$H+}

uses

  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes,
  { you can add units after this }
  hello, hello_proxy, soap_formatter, logger_extension,
  fpc_http_protocol;
{$R *.res}
var
  service : HelloWorldPortType;
  serviceText : hello_Type ;
  responce : helloResponse ;
begin
  FPC_RegisterHTTP_Transport();
  Register_hello_ServiceMetadata();
  WriteLn('Web Services Toolkit');
  WriteLn();
  service := wst_CreateInstance_HelloWorldPortType();
  serviceText:= hello_Type.create();
  serviceText.arg0:='fred_test';
  WriteLn( 'making service request' );
  responce:=service.hello(serviceText);
  if (responce=nil) then
     WriteLn( 'have NO service responce' )
  else
      WriteLn( 'have service responce' );
end.

The web service is written in Java and has a single string parameter which is returned appended to the text "Hello ".

Example retuned (taken using SOAPUI)

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<ns1:helloResponse xmlns:ns1="http://example.org/"> <ns1:return>Hello George</ns1:return>
</ns1:helloResponse>
</soap:Body>
</soap:Envelope>

With the chunking enabled I get an error referring to an unexpected character before the '<' which suggests to me that the response is being processed. But when the chunking is removed I no longer get the error and the response is null.

Any ideas ?

I dont want to have to use C !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.wsdl
Type: application/x-wsdl
Size: 2234 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120806/dfa5b2c1/attachment.bin>

Reply by email

Unknown author
to Ian Godman

Hi,

In the generated hello.pas, try changing 'literal' to 'document' in the following calls:

   mm.SetOperationCustomData(
     sUNIT_NAME,
     'HelloWorldPortType',
     'hello',
     'FORMAT_Input_EncodingStyle',
     'literal'
   );
   mm.SetOperationCustomData(
     sUNIT_NAME,
     'HelloWorldPortType',
     'hello',
     'FORMAT_OutputEncodingStyle',
     'literal'
   );

Michael.

Ian Godman wrote 75 lines
Hi I have been having an issue with a "Hello World" web service. The first issue was Lazarus throwing an error when processing the response. This was chased down to chunking. Having disabled the chunking on the web-service no error is thrown. The trouble is now there are no results either! I have generated the Lazarus code using the Web Service Toolkit and importing the WDSL (attached). My code that makes use of the generated classes is: program webservice; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, { you can add units after this } hello, hello_proxy, soap_formatter, logger_extension, fpc_http_protocol; {$R *.res} var service : HelloWorldPortType; serviceText : hello_Type ; responce : helloResponse ; begin FPC_RegisterHTTP_Transport(); Register_hello_ServiceMetadata(); WriteLn('Web Services Toolkit'); WriteLn(); service := wst_CreateInstance_HelloWorldPortType(); serviceText:= hello_Type.create(); serviceText.arg0:='fred_test'; WriteLn( 'making service request' ); responce:=service.hello(serviceText); if (responce=nil) then WriteLn( 'have NO service responce' ) else WriteLn( 'have service responce' ); end. The web service is written in Java and has a single string parameter which is returned appended to the text "Hello ". Example retuned (taken using SOAPUI) <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns1:helloResponse xmlns:ns1="http://example.org/"> <ns1:return>Hello George</ns1:return> </ns1:helloResponse> </soap:Body> </soap:Envelope> With the chunking enabled I get an error referring to an unexpected character before the '<' which suggests to me that the response is being processed. But when the chunking is removed I no longer get the error and the response is null. Any ideas ? I dont want to have to use C !

Reply by email

Ian Godman
to Unknown author

Tried that get the following:

Show quoted text 107 lines
Hi, In the generated hello.pas, try changing 'literal' to 'document' in the following calls: mm.SetOperationCustomData( sUNIT_NAME, 'HelloWorldPortType', 'hello', 'FORMAT_Input_EncodingStyle', 'literal' ); mm.SetOperationCustomData( sUNIT_NAME, 'HelloWorldPortType', 'hello', 'FORMAT_OutputEncodingStyle', 'literal' ); Michael. On Mon, 6 Aug 2012, Ian Godman wrote: > Hi > > I have been having an issue with a "Hello World" web service. > > The first issue was Lazarus throwing an error when processing the > response. This was chased down to chunking. Having disabled the > chunking on the web-service no error is thrown. The trouble is now there > are no results either! > > I have generated the Lazarus code using the Web Service Toolkit and > importing the WDSL (attached). > > My code that makes use of the generated classes is: > > > program webservice; > > {$mode objfpc}{$H+} > > uses > {$IFDEF UNIX}{$IFDEF UseCThreads} > cthreads, > {$ENDIF}{$ENDIF} > Classes, > { you can add units after this } > hello, hello_proxy, soap_formatter, logger_extension, > fpc_http_protocol; > > {$R *.res} > var > service : HelloWorldPortType; > serviceText : hello_Type ; > responce : helloResponse ; > begin > FPC_RegisterHTTP_Transport(); > Register_hello_ServiceMetadata(); > WriteLn('Web Services Toolkit'); > WriteLn(); > service := wst_CreateInstance_HelloWorldPortType(); > serviceText:= hello_Type.create(); > serviceText.arg0:='fred_test'; > > WriteLn( 'making service request' ); > responce:=service.hello(serviceText); > if (responce=nil) then > WriteLn( 'have NO service responce' ) > else > WriteLn( 'have service responce' ); > end. > > > The web service is written in Java and has a single string parameter > which is returned appended to the text "Hello ". > > Example retuned (taken using SOAPUI) > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <ns1:helloResponse xmlns:ns1="http://example.org/"> > <ns1:return>Hello George</ns1:return> > </ns1:helloResponse> > </soap:Body> > </soap:Envelope> > > With the chunking enabled I get an error referring to an unexpected > character before the '<' which suggests to me that the response is being > processed. But when the chunking is removed I no longer get the error > and the response is null. > > Any ideas ? > > I dont want to have to use C ! > > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120806/b5f0a3cf/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: bbefdeha.png
Type: image/png
Size: 29208 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120806/b5f0a3cf/attachment-0001.png>

Reply by email