Re: [Axis2/C]: SOAP request with line breaks fails
Samisa, Its still the same case. Request with line breaks fails, without the line breaks works fine. I started the simple axis server with gdb. I didnt get a backtrace at all. See the text below [EMAIL PROTECTED] bin]# gdb ./axis2_http_server GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as x86_64-unknown-linux-gnu...Using host libthread_db library /lib64/tls/libthread_db.so.1. (gdb) run -p 80 Starting program: /usr/local/axis2c/bin/axis2_http_server -p 80 AXIS2C_HOME is not set - log is written to . dir Started Simple Axis2 HTTP Server ... Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. (gdb) bt No stack. (gdb) This is my dev set up: 64 bit Linux Axis2/C - server Ruby Client Subra On 8/12/07, Subra A Narayanan [EMAIL PROTECTED] wrote: Thanks Samisa..I will run axis http server with gdb and send u the trace. On 8/9/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Samisa Abeysinghe wrote: Subra A Narayanan wrote: Hey Samisa, It still doesn't work. Anything else that I can do to solve this problem? I tested it on my machine, with newlines in the payload, and it works with the latest svn. I tested with a PHP client and echo service. You seem to have tested with SOAP 1.1 in place. I am not sure if this is related to SOAP version. I tested with SOAP 1.2, I will test with SOAP 1.1 and let you know. I tested with SOAP 1.1 as well, and it seems to work fine with the latest svn when there are newlines in the payload. To help solve the problem, what you can do is to run Axis2/C server with gdb and send us the back trace of the crash point. Thanks, Samisa... -- Samisa Abeysinghe : a href=http://wso2.org/projects/wsf/c;WSO2 Web Services Framework/C - Open source C library for providing and consuming Web services/a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Subra A Narayanan wrote: Samisa, Its still the same case. Request with line breaks fails, without the line breaks works fine. I started the simple axis server with gdb. I didnt get a backtrace at all. See the text below hmmm. Looking at the gdb output, I cannot think of any possible reason why it is crashing. Would it be possible for you to send me the exact payload send by the client, including http headers (you can capture this using tcpmon Java tool) and send it to the list, so that I could try and replay it with the server and see what is going wrong on my machine. Also, I hope that you are using the latest svn head, if not, i plan to post an RC1 of 1.1 release today, so that you can try with that. Thanks, Samisa... [EMAIL PROTECTED] bin]# gdb ./axis2_http_server GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as x86_64-unknown-linux-gnu...Using host libthread_db library /lib64/tls/libthread_db.so.1. (gdb) run -p 80 Starting program: /usr/local/axis2c/bin/axis2_http_server -p 80 AXIS2C_HOME is not set - log is written to . dir Started Simple Axis2 HTTP Server ... Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. (gdb) bt No stack. (gdb) This is my dev set up: 64 bit Linux Axis2/C - server Ruby Client Subra On 8/12/07, * Subra A Narayanan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks Samisa..I will run axis http server with gdb and send u the trace. On 8/9/07, *Samisa Abeysinghe * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Samisa Abeysinghe wrote: Subra A Narayanan wrote: Hey Samisa, It still doesn't work. Anything else that I can do to solve this problem? I tested it on my machine, with newlines in the payload, and it works with the latest svn. I tested with a PHP client and echo service. You seem to have tested with SOAP 1.1 in place. I am not sure if this is related to SOAP version. I tested with SOAP 1.2, I will test with SOAP 1.1 and let you know. I tested with SOAP 1.1 as well, and it seems to work fine with the latest svn when there are newlines in the payload. To help solve the problem, what you can do is to run Axis2/C server with gdb and send us the back trace of the crash point. Thanks, Samisa... -- Samisa Abeysinghe : a href=http://wso2.org/projects/wsf/c;WSO2 Web Services Framework/C - Open source C library for providing and consuming Web services/a - To unsubscribe, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Samisa Abeysinghe : WSO2 WSF/C http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Thanks Samisa..I will run axis http server with gdb and send u the trace. On 8/9/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Samisa Abeysinghe wrote: Subra A Narayanan wrote: Hey Samisa, It still doesn't work. Anything else that I can do to solve this problem? I tested it on my machine, with newlines in the payload, and it works with the latest svn. I tested with a PHP client and echo service. You seem to have tested with SOAP 1.1 in place. I am not sure if this is related to SOAP version. I tested with SOAP 1.2, I will test with SOAP 1.1 and let you know. I tested with SOAP 1.1 as well, and it seems to work fine with the latest svn when there are newlines in the payload. To help solve the problem, what you can do is to run Axis2/C server with gdb and send us the back trace of the crash point. Thanks, Samisa... -- Samisa Abeysinghe : a href=http://wso2.org/projects/wsf/c;WSO2 Web Services Framework/C - Open source C library for providing and consuming Web services/a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Samisa Abeysinghe wrote: Subra A Narayanan wrote: Hey Samisa, It still doesn't work. Anything else that I can do to solve this problem? I tested it on my machine, with newlines in the payload, and it works with the latest svn. I tested with a PHP client and echo service. You seem to have tested with SOAP 1.1 in place. I am not sure if this is related to SOAP version. I tested with SOAP 1.2, I will test with SOAP 1.1 and let you know. I tested with SOAP 1.1 as well, and it seems to work fine with the latest svn when there are newlines in the payload. To help solve the problem, what you can do is to run Axis2/C server with gdb and send us the back trace of the crash point. Thanks, Samisa... -- Samisa Abeysinghe : a href=http://wso2.org/projects/wsf/c;WSO2 Web Services Framework/C - Open source C library for providing and consuming Web services/a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Subra A Narayanan wrote: Hey Manjula, I checked out the latest source code from svn and built it. But when I try to build the samples, I get an error. Since there is no configue.sh file in the samples directory, I had to run the build.sh script file. It dies half way through. This is the error I get ... ... checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes ./configure: line 20467: syntax error near unexpected token `LIBXML2,' ./configure: line 20467: `PKG_CHECK_MODULES(LIBXML2, libxml-2.0)' make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. Hi Subra, Can you please send your output to a file when you run build sh and attach it. ./build.sh out 21 Because these details are not enough to identify the problem :-( Anyway you need following packages to build axis2/c Autoconf 2.59 or higher Automake 1.9 or higher Aclocal 1.9 or higher libtool 1.9 or higher libxml2-dev zlib1g-dev pkg-config Thanks ~sanjaya I would like to mention that when I tried building axis2/c from source, it complained about pkg-config version should be atleast 0.20 and I had 0.19. So I downloaded, built and installed pkg-config 0.22 version. It was installed in the /usr/local/bin directory as compared to version 0.19 which was installed in /usr/bin directory. Thanks for the help! Subra On 8/7/07, *Manjula Peiris* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi subra, This is a bug in Axis2/C 1.0. But it has been fixed after 1.0 and in the current svn trunk it is working. -Manjula. On Mon, 2007-08-06 at 22:57 -0400, Subra A Narayanan wrote: Hey Samisa, I am using Axis2/C 1.0, source distribution on Linux. I compiled the source with the apache http module. Thanks for your follow-up abt my earlier issue. I will respond to that email separately so that someone following that thread will also benefit. Thanks again for ur quick response! Subra On 8/6/07, Samisa Abeysinghe [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: What version of Axis2/C you are using? We had a problem like this, but if I remember right we have fixed it. BTW, have you been able to solve the service compilation problem that you discussed in the other thread? Samisa... Subra A Narayanan wrote: Hello everyone, I found an interesting issue today and was wondering if someone else has seen tha same issue before. I am using Axis2/C on Linux. I have a web service running. When the client tries calling the web service using SOAP, the web service works if there are no line breaks in the SOAP request. If there are any line breaks, the server just crashes. So for eg == This works (SOAP msg with no line breaks) soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header/soapenv:Headersoapenv:BodyRemoveFileOwnerjordan/OwnerFileName sircharles.gif/FileNameFileID1234/FileID/RemoveFile/soapenv:Body/soapenv:Envelope == while this fails (formatted SOAP msg with line breaks) env:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; env:Header/env:Header env:Body n1:RemoveFile xmlns:n1= http://www.xyz.com/2007/07/ n1:Ownerharry/n1:Owner n1:FileNamedel1.jpg /n1:FileName n1:FileIDchecksum/n1:FileID /n1:RemoveFile /env:Body /env:Envelope ==This is what I see in the axis2.log file [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(217) Checking for operation using SOAP message body's first child's local name : RemoveFile [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(226) Operation found using SOAP message body's first child's local name [Mon Aug 6 13:59:22 2007]
Re: [Axis2/C]: SOAP request with line breaks fails
Hey Manjula, I got the latest source code from svn and built it. I am still getting an error when there are line breaks in the incoming SOAP request. I did an svn update and this is what it tells me: [devwsserver:~/axis2c-svn/c]$ svn update At revision 563913. Was the bug fixed in the above mentioned revision or some other revision. The server just hangs up when the request is received. Sanjaya, I installed the latest version of pkg-config and that solved my build issues. Thanks!! Subra On 8/8/07, Sanjaya Ratnaweera [EMAIL PROTECTED] wrote: Subra A Narayanan wrote: Hey Manjula, I checked out the latest source code from svn and built it. But when I try to build the samples, I get an error. Since there is no configue.sh file in the samples directory, I had to run the build.shscript file. It dies half way through. This is the error I get ... ... checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes ./configure: line 20467: syntax error near unexpected token `LIBXML2,' ./configure: line 20467: `PKG_CHECK_MODULES(LIBXML2, libxml-2.0)' make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. Hi Subra, Can you please send your output to a file when you run build sh and attach it. ./build.sh out 21 Because these details are not enough to identify the problem :-( Anyway you need following packages to build axis2/c Autoconf 2.59 or higher Automake 1.9 or higher Aclocal 1.9 or higher libtool 1.9 or higher libxml2-dev zlib1g-dev pkg-config Thanks ~sanjaya I would like to mention that when I tried building axis2/c from source, it complained about pkg-config version should be atleast 0.20 and I had 0.19. So I downloaded, built and installed pkg-config 0.22 version. It was installed in the /usr/local/bin directory as compared to version 0.19which was installed in /usr/bin directory. Thanks for the help! Subra On 8/7/07, Manjula Peiris [EMAIL PROTECTED] wrote: Hi subra, This is a bug in Axis2/C 1.0. But it has been fixed after 1.0 and in the current svn trunk it is working. -Manjula. On Mon, 2007-08-06 at 22:57 -0400, Subra A Narayanan wrote: Hey Samisa, I am using Axis2/C 1.0, source distribution on Linux. I compiled the source with the apache http module. Thanks for your follow-up abt my earlier issue. I will respond to that email separately so that someone following that thread will also benefit. Thanks again for ur quick response! Subra On 8/6/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: What version of Axis2/C you are using? We had a problem like this, but if I remember right we have fixed it. BTW, have you been able to solve the service compilation problem that you discussed in the other thread? Samisa... Subra A Narayanan wrote: Hello everyone, I found an interesting issue today and was wondering if someone else has seen tha same issue before. I am using Axis2/C on Linux. I have a web service running. When the client tries calling the web service using SOAP, the web service works if there are no line breaks in the SOAP request. If there are any line breaks, the server just crashes. So for eg == This works (SOAP msg with no line breaks) soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header/soapenv:Headersoapenv:BodyRemoveFileOwnerjordan/OwnerFileName sircharles.gif/FileNameFileID1234/FileID/RemoveFile/soapenv:Body/soapenv:Envelope == while this fails (formatted SOAP msg with line breaks) env:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; env:Header/env:Header env:Body n1:RemoveFile xmlns:n1= http://www.xyz.com/2007/07/ n1:Ownerharry/n1:Owner n1:FileNamedel1.jpg /n1:FileName n1:FileIDchecksum/n1:FileID /n1:RemoveFile /env:Body /env:Envelope ==This is what I see in the axis2.log file [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug]
Re: [Axis2/C]: SOAP request with line breaks fails
Subra A Narayanan wrote: Hey Manjula, I got the latest source code from svn and built it. I am still getting an error when there are line breaks in the incoming SOAP request. I did an svn update and this is what it tells me: [devwsserver:~/axis2c-svn/c]$ svn update At revision 563913. This revision should be fine, the problem is solved before this revision. Just try to clean up the whole system (make distclean) and build from scratch and try. Samisa... -- Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Samisa, Where should I run the distclean from? I mean which folder? My original installation was in /usr/local/axis2c. I deleted the whole axis2c folder and built everything from scratch today. Do you think I still need to run distclean and will that solve my problem? Pls let me know. Thanks so much. On 8/8/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Subra A Narayanan wrote: Hey Manjula, I got the latest source code from svn and built it. I am still getting an error when there are line breaks in the incoming SOAP request. I did an svn update and this is what it tells me: [devwsserver:~/axis2c-svn/c]$ svn update At revision 563913. This revision should be fine, the problem is solved before this revision. Just try to clean up the whole system (make distclean) and build from scratch and try. Samisa... -- Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Subra A Narayanan wrote: Hey Manjula, I checked out the latest source code from svn and built it. But when I try to build the samples, I get an error. Since there is no configue.sh file in the samples directory, I had to run the build.sh script file. It dies half way through. This is the error I get ... ... checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes ./configure: line 20467: syntax error near unexpected token `LIBXML2,' ./configure: line 20467: `PKG_CHECK_MODULES(LIBXML2, libxml-2.0)' make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. Hi Subra, What's the operating system you're working on? You have to install pkg-config to run PKG_CHECK_MODULES. Try installing it? Thanks ~sanjaya I would like to mention that when I tried building axis2/c from source, it complained about pkg-config version should be atleast 0.20 and I had 0.19. So I downloaded, built and installed pkg-config 0.22 version. It was installed in the /usr/local/bin directory as compared to version 0.19 which was installed in /usr/bin directory. Thanks for the help! Subra On 8/7/07, *Manjula Peiris* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi subra, This is a bug in Axis2/C 1.0. But it has been fixed after 1.0 and in the current svn trunk it is working. -Manjula. On Mon, 2007-08-06 at 22:57 -0400, Subra A Narayanan wrote: Hey Samisa, I am using Axis2/C 1.0, source distribution on Linux. I compiled the source with the apache http module. Thanks for your follow-up abt my earlier issue. I will respond to that email separately so that someone following that thread will also benefit. Thanks again for ur quick response! Subra On 8/6/07, Samisa Abeysinghe [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: What version of Axis2/C you are using? We had a problem like this, but if I remember right we have fixed it. BTW, have you been able to solve the service compilation problem that you discussed in the other thread? Samisa... Subra A Narayanan wrote: Hello everyone, I found an interesting issue today and was wondering if someone else has seen tha same issue before. I am using Axis2/C on Linux. I have a web service running. When the client tries calling the web service using SOAP, the web service works if there are no line breaks in the SOAP request. If there are any line breaks, the server just crashes. So for eg == This works (SOAP msg with no line breaks) soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header/soapenv:Headersoapenv:BodyRemoveFileOwnerjordan/OwnerFileName sircharles.gif/FileNameFileID1234/FileID/RemoveFile/soapenv:Body/soapenv:Envelope == while this fails (formatted SOAP msg with line breaks) env:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; env:Header/env:Header env:Body n1:RemoveFile xmlns:n1= http://www.xyz.com/2007/07/ n1:Ownerharry/n1:Owner n1:FileNamedel1.jpg /n1:FileName n1:FileIDchecksum/n1:FileID /n1:RemoveFile /env:Body /env:Envelope ==This is what I see in the axis2.log file [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(217) Checking for operation using SOAP message body's first child's local name : RemoveFile [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(226) Operation found using SOAP message body's first child's local name [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler addressing_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler
Re: [Axis2/C]: SOAP request with line breaks fails
What version of Axis2/C you are using? We had a problem like this, but if I remember right we have fixed it. BTW, have you been able to solve the service compilation problem that you discussed in the other thread? Samisa... Subra A Narayanan wrote: Hello everyone, I found an interesting issue today and was wondering if someone else has seen tha same issue before. I am using Axis2/C on Linux. I have a web service running. When the client tries calling the web service using SOAP, the web service works if there are no line breaks in the SOAP request. If there are any line breaks, the server just crashes. So for eg == This works (SOAP msg with no line breaks) soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/;soapenv:Header/soapenv:Headersoapenv:BodyRemoveFileOwnerjordan/OwnerFileNamesircharles.gif/FileNameFileID1234/FileID/RemoveFile/soapenv:Body/soapenv:Envelope == while this fails (formatted SOAP msg with line breaks) env:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; env:Header/env:Header env:Body n1:RemoveFile xmlns:n1=http://www.xyz.com/2007/07/ n1:Ownerharry/n1:Owner n1:FileNamedel1.jpg/n1:FileName n1:FileIDchecksum/n1:FileID /n1:RemoveFile /env:Body /env:Envelope ==This is what I see in the axis2.log file [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(217) Checking for operation using SOAP message body's first child's local name : RemoveFile [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(226) Operation found using SOAP message body's first child's local name [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler addressing_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_action_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase PostDispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler context_handler within the phase PostDispatch [Mon Aug 6 13:59:22 2007] [debug] class_loader.c(135) Object loaded successfully [Mon Aug 6 13:59:23 2007] [info] Starting log with log level 5 == so basically the server restarts after the class_loader.c(135) Object loaded successfully step. The client code was written in Ruby. I dont know how I can tell Ruby not to insert line breaks. But have you guys seen this issue before? Do you know a solution to this problem? TIA Subra -- Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2/C]: SOAP request with line breaks fails
Hey Samisa, I am using Axis2/C 1.0, source distribution on Linux. I compiled the source with the apache http module. Thanks for your follow-up abt my earlier issue. I will respond to that email separately so that someone following that thread will also benefit. Thanks again for ur quick response! Subra On 8/6/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: What version of Axis2/C you are using? We had a problem like this, but if I remember right we have fixed it. BTW, have you been able to solve the service compilation problem that you discussed in the other thread? Samisa... Subra A Narayanan wrote: Hello everyone, I found an interesting issue today and was wondering if someone else has seen tha same issue before. I am using Axis2/C on Linux. I have a web service running. When the client tries calling the web service using SOAP, the web service works if there are no line breaks in the SOAP request. If there are any line breaks, the server just crashes. So for eg == This works (SOAP msg with no line breaks) soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/ soapenv:Header/soapenv:Headersoapenv:BodyRemoveFileOwnerjordan/OwnerFileName sircharles.gif /FileNameFileID1234/FileID/RemoveFile/soapenv:Body/soapenv:Envelope == while this fails (formatted SOAP msg with line breaks) env:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; env:Header/env:Header env:Body n1:RemoveFile xmlns:n1=http://www.xyz.com/2007/07/ n1:Ownerharry/n1:Owner n1:FileNamedel1.jpg/n1:FileName n1:FileIDchecksum/n1:FileID /n1:RemoveFile /env:Body /env:Envelope ==This is what I see in the axis2.log file [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(217) Checking for operation using SOAP message body's first child's local name : RemoveFile [Mon Aug 6 13:59:22 2007] [debug] soap_body_disp.c(226) Operation found using SOAP message body's first child's local name [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler addressing_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler soap_action_based_dispatcher within the phase Dispatch [Mon Aug 6 13:59:22 2007] [debug] engine.c(571) Invoking phase PostDispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch [Mon Aug 6 13:59:22 2007] [debug] phase.c(195) Invoke the handler context_handler within the phase PostDispatch [Mon Aug 6 13:59:22 2007] [debug] class_loader.c(135) Object loaded successfully [Mon Aug 6 13:59:23 2007] [info] Starting log with log level 5 == so basically the server restarts after the class_loader.c(135) Object loaded successfully step. The client code was written in Ruby. I dont know how I can tell Ruby not to insert line breaks. But have you guys seen this issue before? Do you know a solution to this problem? TIA Subra -- Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]