supply parameters for
sun.jnu.encoding file.encoding env.LC_TYPE Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung 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. From: [email protected] To: [email protected] Date: Fri, 28 May 2010 10:33:10 +0000 Subject: Axis2 SOAP message isn't formatted. Hi All. These days I update our service using axis2. ( We used axis1 before.) After that some people inform that API service doesn’t work. I check why it is happened and found that some client parse soap message manually without any xml library, and axis2 return SOAP message without any indent. ( They remove some SOAP related message by regular expression and it depend using new line. ) Before use axis2 ) <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <MethodName> <result>…..</result> </ MethodName > </soapenv:Body> </soapenv:Envelope> After use axis2 ) <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:MethodName xmlns:ns1="XXXXXX"><result>…..</result></ns1: MethodName></soapenv:Body></soapenv:Envelope> Does any one know how can I formatted response SOAP message like above? I use axis2-1.3 and our web service implemented using JAX-RPC. I always appreciate many people help me about axis2 issue. 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 _________________________________________________________________ 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
