Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 5521 invoked from network); 8 Aug 2007 06:24:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 06:24:51 -0000 Received: (qmail 27096 invoked by uid 500); 8 Aug 2007 06:24:50 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 27084 invoked by uid 500); 8 Aug 2007 06:24:50 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 27073 invoked by uid 99); 8 Aug 2007 06:24:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 23:24:50 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Aug 2007 06:24:39 +0000 Received: (qmail 47093 invoked from network); 8 Aug 2007 06:24:15 -0000 Received: from 123.231.23.58 (HELO ?10.100.1.198?) (123.231.23.58) by relay03.pair.com with SMTP; 8 Aug 2007 06:24:15 -0000 X-pair-Authenticated: 123.231.23.58 Message-ID: <46B95C85.3020104@wso2.com> Date: Wed, 08 Aug 2007 11:32:45 +0530 From: Sanjaya Ratnaweera User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: [Axis2/C]: SOAP request with line breaks fails References: <489947c0708061421q7db61fc1i4e0b2c8bab8d2271@mail.gmail.com> <46B7CF5C.2000403@wso2.com> <489947c0708061957n75176374k8a4890484957dd6e@mail.gmail.com> <1186484413.32094.5.camel@localhost> <489947c0708071205j1d171ec5w6994499f8f5455fb@mail.gmail.com> In-Reply-To: <489947c0708071205j1d171ec5w6994499f8f5455fb@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------070708070006090202030306" X-Virus-Checked: Checked by ClamAV on apache.org --------------070708070006090202030306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 2>&1 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* > 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 > 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) > > > > > > jordan > sircharles.gif1234 > > > > > > > > > > ==> while this fails (formatted SOAP msg with line breaks) > > > > > > > > xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:xsd=" > > > http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > harry > > > del1.jpg > > > checksum > > > > > > > > > > > > > > > ==>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: > axis-c-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: > > axis-c-user-help@ws.apache.org > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > > --------------070708070006090202030306 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 2>&1

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 <manjula@wso2.com> 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 <samisa@wso2.com> 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:Header><soapenv:Body><RemoveFile><Owner>jordan</Owner><FileName> sircharles.gif</FileName><FileID>1234</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:Owner>harry</n1:Owner>
>         >       <n1:FileName>del1.jpg </n1:FileName>
>         >       <n1:FileID>checksum</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: axis-c-user-unsubscribe@ws.apache.org
>         For additional commands, e-mail:
>         axis-c-user-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org



--------------070708070006090202030306--