Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 23428 invoked from network); 7 Aug 2007 02:58:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 02:58:24 -0000 Received: (qmail 50892 invoked by uid 500); 7 Aug 2007 02:58:23 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 50622 invoked by uid 500); 7 Aug 2007 02:58:22 -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 50611 invoked by uid 99); 7 Aug 2007 02:58:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 19:58:22 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aswathsn@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 02:58:12 +0000 Received: by py-out-1112.google.com with SMTP id a25so2762858pyi for ; Mon, 06 Aug 2007 19:57:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EQwTTS3+Btsed4elO5VwvbAP8xeEgRZ2hyUB1hhW8voDqtgOJGp1muXPjtdEKGpa7+X+Bhx7MHX95D8kLkvNxxS54mpizYgYMWg+lGoYF11SMnndJYbtI96oxMkccmWgvyF9A0Yjx07dAJ6TKg7sRy76VUX/Q7Siv1JxFydDZb0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nXgXvWzEJ9QCQBJ2bN9dhYbvBLqAh5UlLYPCDQMF5wFvTJKwkCdVNDsrX7p1ERqATEE6YYsPzEGQSBeQVk3bvC0SSJ5+3wGT1OQOwVjmrSVkBXCTnaRshJWrj2pO/xDVSiT0XKK0nqjVhBMHP2qDoFNgjJqR51SCDix7KWah7DI= Received: by 10.142.191.2 with SMTP id o2mr279195wff.1186455471424; Mon, 06 Aug 2007 19:57:51 -0700 (PDT) Received: by 10.142.73.16 with HTTP; Mon, 6 Aug 2007 19:57:51 -0700 (PDT) Message-ID: <489947c0708061957n75176374k8a4890484957dd6e@mail.gmail.com> Date: Mon, 6 Aug 2007 22:57:51 -0400 From: "Subra A Narayanan" To: "Apache AXIS C User List" Subject: Re: [Axis2/C]: SOAP request with line breaks fails In-Reply-To: <46B7CF5C.2000403@wso2.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9926_20191765.1186455471381" References: <489947c0708061421q7db61fc1i4e0b2c8bab8d2271@mail.gmail.com> <46B7CF5C.2000403@wso2.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9926_20191765.1186455471381 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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.gif > 1234 > > > > > > ==> 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 > > ------=_Part_9926_20191765.1186455471381 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_9926_20191765.1186455471381--