You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kim, Ducheol" <du...@247realmedia.com> on 2010/05/04 13:30:27 UTC
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: Yogesh.Dhake@mizuhocbus.com [mailto:Yogesh.Dhake@mizuhocbus.com]
Sent: Saturday, May 01, 2010 2:21 AM
To: java-user@axis.apache.org
Cc: axis-user@ws.apache.org
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" <du...@247realmedia.com>
04/29/2010 09:53 AM
Please respond to
java-user@axis.apache.org
To
"axis-user@ws.apache.org" <ax...@ws.apache.org>
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
ducheol.kim@247realmedia.com
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.
お問い合わせまたは特定電子メール法に 基づく送信停止のご要望等は、本電子メールの送信者にその旨ご連絡ください。
Re: New line is appended on result
Posted by Andreas Veithen <an...@gmail.com>.
On Thu, May 6, 2010 at 13:42, Kim, Ducheol <du...@247realmedia.com> 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/axis-user@ws.apache.org/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:mgainty@hotmail.com]
> Sent: Wednesday, May 05, 2010 1:39 AM
>
> To: java-user@axis.apache.org
> Cc: axis-user@ws.apache.org
> 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: java-user@axis.apache.org
> CC: axis-user@ws.apache.org; java-user@axis.apache.org
> Subject: RE: New line is appended on result
> From: Yogesh.Dhake@mizuhocbus.com
> 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" <du...@247realmedia.com> 05/04/2010 07:31 AM
>
> Please respond to
> java-user@axis.apache.org
>
> To
>
> "java-user@axis.apache.org" <ja...@axis.apache.org>
>
> cc
>
> "axis-user@ws.apache.org" <ax...@ws.apache.org>
>
> 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: Yogesh.Dhake@mizuhocbus.com [mailto:Yogesh.Dhake@mizuhocbus.com]
> Sent: Saturday, May 01, 2010 2:21 AM
> To: java-user@axis.apache.org
> Cc: axis-user@ws.apache.org
> 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" <du...@247realmedia.com>
>
> 04/29/2010 09:53 AM
>
> Please respond to
> java-user@axis.apache.org
>
>
>
> To
>
> "axis-user@ws.apache.org" <ax...@ws.apache.org>
>
> 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
> ducheol.kim@247realmedia.com
>
>
>
> 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: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: New line is appended on result
Posted by "Kim, Ducheol" <du...@247realmedia.com>.
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/axis-user@ws.apache.org/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 ?
Thanks
Ducheol
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Wednesday, May 05, 2010 1:39 AM
To: java-user@axis.apache.org
Cc: axis-user@ws.apache.org
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: java-user@axis.apache.org
CC: axis-user@ws.apache.org; java-user@axis.apache.org
Subject: RE: New line is appended on result
From: Yogesh.Dhake@mizuhocbus.com
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" <du...@247realmedia.com> 05/04/2010 07:31 AM
Please respond to
java-user@axis.apache.org
To
"java-user@axis.apache.org" <ja...@axis.apache.org>
cc
"axis-user@ws.apache.org" <ax...@ws.apache.org>
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: Yogesh.Dhake@mizuhocbus.com [mailto:Yogesh.Dhake@mizuhocbus.com]
Sent: Saturday, May 01, 2010 2:21 AM
To: java-user@axis.apache.org
Cc: axis-user@ws.apache.org
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" <du...@247realmedia.com>
04/29/2010 09:53 AM
Please respond to
java-user@axis.apache.org
To
"axis-user@ws.apache.org" <ax...@ws.apache.org>
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
ducheol.kim@247realmedia.com
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.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2>
RE: New line is appended on result
Posted by Martin Gainty <mg...@hotmail.com>.
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: java-user@axis.apache.org
CC: axis-user@ws.apache.org; java-user@axis.apache.org
Subject: RE: New line is appended on result
From: Yogesh.Dhake@mizuhocbus.com
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"
<du...@247realmedia.com>
05/04/2010 07:31 AM
Please respond to
java-user@axis.apache.org
To
"java-user@axis.apache.org"
<ja...@axis.apache.org>
cc
"axis-user@ws.apache.org"
<ax...@ws.apache.org>
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: Yogesh.Dhake@mizuhocbus.com
[mailto:Yogesh.Dhake@mizuhocbus.com]
Sent: Saturday, May 01, 2010 2:21 AM
To: java-user@axis.apache.org
Cc: axis-user@ws.apache.org
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" <du...@247realmedia.com>
04/29/2010 09:53 AM
Please respond to
java-user@axis.apache.org
To
"axis-user@ws.apache.org"
<ax...@ws.apache.org>
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
ducheol.kim@247realmedia.com
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.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
RE: New line is appended on result
Posted by Yo...@mizuhocbus.com.
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" <du...@247realmedia.com>
05/04/2010 07:31 AM
Please respond to
java-user@axis.apache.org
To
"java-user@axis.apache.org" <ja...@axis.apache.org>
cc
"axis-user@ws.apache.org" <ax...@ws.apache.org>
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: Yogesh.Dhake@mizuhocbus.com [mailto:Yogesh.Dhake@mizuhocbus.com]
Sent: Saturday, May 01, 2010 2:21 AM
To: java-user@axis.apache.org
Cc: axis-user@ws.apache.org
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" <du...@247realmedia.com>
04/29/2010 09:53 AM
Please respond to
java-user@axis.apache.org
To
"axis-user@ws.apache.org" <ax...@ws.apache.org>
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
ducheol.kim@247realmedia.com
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.
??????????????ー??????????????????????
ー?????????????????