On Thu, May 6, 2010 at 13:42, Kim, Ducheol <[email protected]> wrote: > > Thanks for all to reply about it. > > > > I found a article that is exactly same issue. > > ("\r\n" handled different by Axis and Axis2 ) > > https://issues.apache.org/jira/browse/WSCOMMONS-243 > > http://www.mail-archive.com/[email protected]/msg47820.html > > http://jira.codehaus.org/browse/WSTX-94 > > > > According above article, it could be resolve by setting property on wstx > library. > > I found that there are two way to fix it. > > 1. If I could set ‘WstxOutputProperties.P_OUTPUT_ESCAPE_CR’ property as > FALSE then ‘\r’ is removed from output soap message. > > ( According to 3rd article : http://jira.codehaus.org/browse/WSTX-94 ) > > 2. If I set value on property, it also resolve this issue. > > ( According to 2nd article , I could fix it by follow > https://issues.apache.org/jira/browse/WSCOMMONS-461 article. > > But I couldn’t find what property is need to set for it. ) > > > > Is there any possible step to enable above feature in axis2 ? >
With the next Axiom/Axis2 release, this will be possible. See: http://people.apache.org/~veithen/axiom/userguide/ch04.html#factory.properties > > Thanks > > Ducheol > > > > > > > > > > > > > > From: Martin Gainty [mailto:[email protected]] > Sent: Wednesday, May 05, 2010 1:39 AM > > To: [email protected] > Cc: [email protected] > Subject: RE: New line is appended on result > > > > whatever utilities..editors or StaxParsers you decide to work with must ALL > support the encoding you are currently implementing > i dont work with CJK charset here (thankfully) so i'll leave it up to those > engineers from the pacific rim to determine the correct encoding that will > work in your area of korea > > http://www.w3schools.com/XML/xml_encoding.asp > > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger > sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung > oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich > dem Austausch von Informationen und entfaltet keine rechtliche > Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen > wir keine Haftung fuer den Inhalt uebernehmen. > > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire informez > l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci > est interdite. Ce message sert à l'information seulement et n'aura pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > ________________________________ > > To: [email protected] > CC: [email protected]; [email protected] > Subject: RE: New line is appended on result > From: [email protected] > Date: Tue, 4 May 2010 11:43:57 -0400 > > > Mr. Ducheol > > Sorry to hear solution suggested not worked. > > In my case this problem occurred in my binary attachment where CR was added > for certain sized binary attachment. I think your problem is some thing > more structural & may be easy. CR is appended to every XML element pair. > > Please backtrack where in library those xml elements are created. > > Regards > Yogesh Dhake > > > "Kim, Ducheol" <[email protected]> 05/04/2010 07:31 AM > > Please respond to > [email protected] > > To > > "[email protected]" <[email protected]> > > cc > > "[email protected]" <[email protected]> > > Subject > > RE: New line is appended on result > > > > > Hi Yogesh. > > Thanks to answer my question. > > I test it again after change axiom library, but same issue happen. > > Below is environment we use. > > WAS : jBoss-4.0.2 > Axis2 : Axis2-1.3 ( Some error message is displayed during deploy axis2 if we > use current axis2 version. So I choose minor version. ) > WS Method : JAX-RPC > Input Parameter : String array > Output Parameter : String ( XML typed ) > > We use all in/out value as string, and it store XML-formatted string. > > If I copy/paste result message to Ultra-Edit, I could see some extra > character. ( printed as ‘?’ ) > If I copy/paste result message to Eclipse, there are extra lines per each > line. > > Is there any other reason to make this problem ? > > Thanks. > Ducheol > > > > From: [email protected] [mailto:[email protected]] > Sent: Saturday, May 01, 2010 2:21 AM > To: [email protected] > Cc: [email protected] > Subject: Re: New line is appended on result > > > Hi > > I think I experience similar problem due to WSCOMMONS-328. Extra CR was > added in my attachments > > Try changing to Axiom lib's 1.2.8 > > Could your check > https://issues.apache.org/jira/browse/WSCOMMONS-328 > > Let me know if you need more details. I have very detailed explanation of > this issue. > > Best luck. > > Regards > Yogesh Dhake > > "Kim, Ducheol" <[email protected]> > > 04/29/2010 09:53 AM > > Please respond to > [email protected] > > > > To > > "[email protected]" <[email protected]> > > cc > > Subject > > New line is appended on result > > > > > > Hi all. > > These days I am upgrading SOAP Engine from jBossWS ( actually made from > axis1.1 ) to axis2(axis2-1.3). > > I follow the instruction written in eclipse wiki page. > (http://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html > ) > > All of them work fine except one thing. > > It seems that ‘\n’ is appended on preexist new line. > So if I see a result on some tools I can’t found any difference. > But if I copy&paste result message to editing tool( ex: UltraEdit ) > One line is appended. > Ex ) > Before : > <Root> > <AAAA>CCCC</AAAA> > <BBBBB>DDDD</BBBB> > </Root> > > After: > <Root> > > <AAAA>CCCC</AAAA> > > <BBBBB>DDDD</BBBB> > > </Root> > > Anyone have a experience like it? > What’s a solution about it. > > Thanks > Ducheol > > > > > > > > > > > DUCHEOL.KIM/ SENIOR SOFTWARE ENGINEER > T:02.3459.2318/C.P:018.233.7939/F:568.8432 > [email protected] > > > > 24/7 Real Media, Inc. A WPP Company > 4F Poongsung Building 51-12 Banpo-4-Dong,Seocho-Gu > Seoul 137-802, South Korea > > > > > > > WWW.247REALMEDIA.COM > > >THE SCIENCE OF DIGITAL MARKETING > > > > > > > ________________________________ > > This transmittal and any attachments may contain confidential, privileged or > sensitive information and is solely for the use of the intended recipient. If > you are not the intended recipient, you are hereby notified that you have > received this transmittal and any attachments in error and any review, > dissemination, distribution or copying thereof is strictly prohibited. If you > have received this transmittal and any attachments in error please notify the > sender and immediately destroy the message and all its attachments. Any > opinions herein expressed may be those of the author and not necessarily of > Mizuho Corporate Bank, Ltd., Mizuho Corporate Bank (USA), Mizuho Securities > USA Inc. or any other affiliates of Mizuho Financial Group ("Mizuho"). Mizuho > accepts no responsibility for the accuracy or completeness of any information > herein contained. > E-Mail received by or sent from officer of Mizuho Securities USA Inc. (which > is a registered U.S. broker-dealer and the entity through which Mizuho > generally conducts its investment banking, capital markets, and securities > business in the United States) is electronically archived and recorded and is > subject to review and monitoring by and/or disclosure to persons other than > the recipient, including (but not limited to) Mizuho Securities USA Inc. > supervisory personnel. Such communications may be produced to regulatory > authorities or others with legal rights to the information. > If you have any questions, or if you no longer wish to receive e-mail in > accordance with Japanese Act on Regulation of the Transmission of Specified > Electronic Mail, please contact the sender of this e-mail. > お問い合わせまたは特定電子メール法に 基づく送信停止のご要望等は、本電子メールの送信者にその旨ご連絡ください。 > > ________________________________ > > Hotmail is redefining busy with tools for the New Busy. Get more from your > inbox. See how. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
