Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1302419063 for ; Tue, 5 Apr 2016 14:55:40 +0000 (UTC) Received: (qmail 95274 invoked by uid 500); 5 Apr 2016 14:55:39 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 95228 invoked by uid 500); 5 Apr 2016 14:55:39 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Delivered-To: moderator for dev@camel.apache.org Received: (qmail 62507 invoked by uid 99); 5 Apr 2016 14:47:10 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.007 X-Spam-Level: ** X-Spam-Status: No, score=2.007 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_MIME_MALF=0.01] autolearn=disabled Authentication-Results: spf=pass (sender IP is 170.252.43.199) smtp.mailfrom=accenture.com; camel.apache.org; dkim=none (message not signed) header.d=none;camel.apache.org; dmarc=bestguesspass action=none header.from=accenture.com; Received-SPF: Pass (protection.outlook.com: domain of accenture.com designates 170.252.43.199 as permitted sender) receiver=protection.outlook.com; client-ip=170.252.43.199; helo=AMRXE4004.accenture.com; From: To: Subject: Fw: How to process Multipart SOAP response Thread-Topic: How to process Multipart SOAP response Thread-Index: AQHRiocs8Mm2rVsr6k2u83PgPM96aJ97fWYs Date: Tue, 5 Apr 2016 14:46:25 +0000 Message-ID: <2cec5b90dde84dbd881668b3ebe93d32@BLUPR42MB145.048d.mgd.msft.net> References: <5689ab29189a48e2b5f6b9b27df64b32@BY2PR42MB151.048d.mgd.msft.net> In-Reply-To: <5689ab29189a48e2b5f6b9b27df64b32@BY2PR42MB151.048d.mgd.msft.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.119.195.30] X-MS-Office365-Filtering-Correlation-Id: e8ee1da0-ef3e-4f69-3bb4-08d35d612212 Content-Type: multipart/alternative; boundary="_000_2cec5b90dde84dbd881668b3ebe93d32BLUPR42MB145048dmgdmsft_" MIME-Version: 1.0 X-OrganizationHeadersPreserved: AMRXH4005.dir.svc.accenture.com X-CrossPremisesHeadersFiltered: AMRXE4004.dir.svc.accenture.com X-OrganizationHeadersPreserved: AMRXE4004.dir.svc.accenture.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:170.252.43.199;IPV:CAL;SCL:-1;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10019020)(2980300002)(438002)(164054003)(199003)(189002)(377454003)(586003)(102836003)(66066001)(54356999)(19580405001)(2876002)(11100500001)(575784001)(3900700001)(19580395003)(92566002)(76176999)(5001970100001)(3846002)(6806005)(16236675004)(50986999)(1096002)(5008740100001)(86146001)(450100001)(86362001)(110136002)(189998001)(8558605004)(106466001)(24736003)(1220700001)(5003600100002)(33646002)(15974865002)(106116001)(2351001)(19627405001)(10400500002)(76966002)(512934002)(19625215002)(87936001)(2900100001)(19619215002)(107886002)(5890100001)(86152002)(2906002)(6116002)(108616004)(2950100001)(5004730100002)(15975445007)(84326002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR08MB1458;H:AMRXE4004.accenture.com;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD032;1:k5cwzt6tDZ/pAYxsUy4D7Fa9+vE3ZsLo5cLE6Mr8owVtX6ZFGEA87ZW1XlU7MZFdZirRwhHIz85OdiMPd/C/ma0B+M7i1dhAWv6LqESMo8ps/7uzilMXs1QKNmCLlr0HVlNU0jpgE8iKZrVpKTSFNXdIUbCSn1qMWmMA+cg7i62y5wC6r/eOPv2TShC9NBmgM+3uYtZvmLvP5DkcE20BDWXFfZrdgMQDCnvS1Te+ag0kqgeivV2eSB/q/PxEKgggcSYOCf4mMWcz3aRlq7nbesQMPbBGtIAKY+6vu5RAXX44C0GOd58HiP7LGd7lj7P6WEdIzlzef7U25gdvD/A2RMa1am7ZheYj0HE7bf+Yi+RCnCzmsefY0z5YPZBZLZcE95hS7u5SbVNt+LTxHVukA9ByDhEmros6k9UK/IuFE3ot0jMUnBuqNZbeykw3CbkCeecA74n/gpf3pdlAJ4GB6YGPNkOLExdzDvqpXBi6JsfguI6Q5C6TbXA0+RWz3KOlT8Vha2i3kmUJUaz8x8P+4g== X-CrossPremisesHeadersPromoted: BY2FFO11FD032.protection.gbl X-CrossPremisesHeadersFiltered: BY2FFO11FD032.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BY2PR08MB1458;2:TOY6av1K87tbMP7DXy2ZfwJHoKcZQ/g80rAwlyI9u7sdR/jK1Cd9+rlbjN7VPHYT8GDcLGQzptb1FNQAiJeQboxjs0BMQhFxq2WMoiN4HhBAv4pSRUaYY/tQgbMYWcQ5CgPrj1rW/glytGnob39JhqM0pkZd89ftnj5s9hjdr+joJNWh/qihpjv9ePbxA2QS;3:lrKJKZQdndjJvxiAqsE6VQTN3AtBlZ/jLaWqo8W/QlVtAhN8fNVJ2MJbtYpZ/cgGZlU3p3SoC6GhkwXRqwX17l+sQtSsojTf+slSCa5lJLjAniZGazcFtda4a0CQjFBg+NS4zwjiVDVNOWBKUvkbjjZ4wjgWATxscVKYv/1XpWHihiont1y6IM+5JBYcu577ynvxDVTQ2oj7393P2On2/ztMaJTEb1U2qgT0Mol/cSkDwVENH3P7vn4cf9MhoN6OvGe3lp13N7jkNh2ZbgSpzg==;25:9sI3IcrrIIJ919PF6cjJ473J7itIK2QqYt/v/VSsEXz5bNBtHzeVMXvKkME3sViltMCvYoD/YEpftK/f/UMpzd22203NCO/C62SKfu5E9tnm+ec4D/RTbm82O6HwEkB91C0SXeJJDaxWqIx9bIYtzD/MaosWX5M9igfGaq9dn2wacMoQmEJ0J7qgX2pvg8bNJeP38VN+QX5esn3WJYZX27kF9MTjqMYwIZq1EPg81TS7U+rm1VewzkMpBBkpr6zpan0YJsAUqWtnWidilKjNAhE6e86o1y3qzAGr+BWa/YLDh50q2uLT50ZHUXiILuuZa3s0ZqYH9oxW8nrGsKbRm4LpItUVS/KjwjAKbQbibhg= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501002);SRVR:BY2PR08MB1458; X-Microsoft-Exchange-Diagnostics: 1;BY2PR08MB1458;20:HAEstwWfkqFqO1Cm3z1F4Dj3aofgVwpNyEB2gSirh66wu/xfYg1LV8CjSFdzjZKVzqtfUl3GahnZXu3/u0BRuXlLijt3fVWN2Hgzo85EdYWzglnBdqtBRKAAH/WQII5/1uD2DmBzMK48KLu9d0WsgrR+r2YLOgoJkYToe81Vo0VT4k/JcO66EWRUm4140X85jw4hjD2R7Bma+wIcC5A7SdrqC/sSOV6DRpE21/5Sfz+ZnzK45HN7eKhLl7igtGoDB9VYheX0NXjkHllrQkHgIvQnCV1qpdfZHTN4yCwkLLMP3lWWuARAc7uZiDMYfdxZZlRJROJ/FENcM5m9Jq2DNSDZkXFmopwbL1tRJ4WOp1d8XqRgU5M3+HQtJ53pL3Bs/11mM/4dierJCjr4ELDqQvYcuJuuc7Cc3AwIzaTTC0oywViRFdBsUwo4NmNJqlF8pnpGtGEKO03MTUslXw5V6WXlezKaS6z8EXtugakvbnDhh6DOp7JijR63nNtgrdlY X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(169223907730125); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(61425038)(601004)(2401047)(5005006)(13024025)(13013025)(13020025)(13023025)(8121501046)(10201501046)(3002001)(61426038)(61427038);SRVR:BY2PR08MB1458;BCL:0;PCL:0;RULEID:;SRVR:BY2PR08MB1458; X-Microsoft-Exchange-Diagnostics: 1;BY2PR08MB1458;4:bXJtZYitDzvxxcFlUCDohCGV//kHpD4yT0T0sgM8EGXozaXd55Q97T/wzfSUYCowsn5To1zH/9R/i8q9e64R7fSfHrifkPjGwDHVVXhdpnfwfXVrkF/4slIMTEI4av+K3tp/6RQXwBvNkwrpzLwFbyUJVCha2QbpcHzKYvreyN4vI1EafJfuzYHLlEvWJSi4HNWmjX82GonjJRzoNzbceCrB95UflxtbGMH0QKIQoZCdirAWI3JElhie7NlEADOPM0nzM/ymxM8BeNSc44/R8OqPG1F8jbwxDooSuUvtNoi7w8kg0tgkhRfJLrooFcXEJDH3ss809VcSoYYiPS9yDan9eqaVja21Ww7xI596NgdrGDoiXiZBFhVednQkpoS+gAFrWNf+tSnUl+44MM0Rm3ueEo2E+gUhDLpVQ2xcUIW1K+Pj9PKYsmW5CBPRUnMC6OqK7ffUkTfHK0p7x+oRVgwo0K4ygb6oRzmtqGIELh5Z98AU+uaGX29dj7o0AeFVT/S2G3BZARJUYi/HqNWnSQ1tqaNMM8XFTmPC8R3TZok= X-Forefront-PRVS: 0903DD1D85 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR08MB1458;23:UbLEWNkzx2Kss7mzOwN9Hf+fGxRa9BXr/gy0ITjgK?= =?us-ascii?Q?AJnxen2EgTFsJv44Im+Zkvt+uLK+l6U+iTwDr8PXG0qfF8w6HJsLvzbB/mYJ?= =?us-ascii?Q?QH9HAvGNvsr+llSiWUADCf7yQoST6a2yCabaxCwsvxcMfF9H7iuRvCb9Ndr+?= =?us-ascii?Q?OkjCrnGgH/W8mBC/hD7CKiDEgeAfeu6bMRubkw6labOxkh3xS72kUer5+T9N?= =?us-ascii?Q?U05k/bRohDeGnMlh44Hxfh9dEeHoXs8m04VXu0uyNYEaPPODLFm5UAqoRIMC?= =?us-ascii?Q?68qycL3hOFiJYJd50ANg1TAEwWM1TM6hPqElB/Sevy3H/MknFMsvFHOGL+6m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2lvrGJfyh6qHWD/CC28H4Fb5qlYSoUEIorEbL?= =?us-ascii?Q?RKC+VigyQRprLmn/qq0QHhfUd8FKjw+ADn3GmGJic0IfGtvV0SxzJZ6ha/XA?= =?us-ascii?Q?t/1H5x5ebmovLoUjKZy9GWoqX5o99NVBFiAGDnxeGZFBrzmbgr6ZNOzIh3aO?= =?us-ascii?Q?2DKBxwkHS/a2AzzoE6y9Tl8mD0JJe68xPhQF7954s5vIFy7Vcvd4Cxmj8Ilc?= =?us-ascii?Q?OXrUSK06rGOQz2A4wl50KuATEhJL0haaFH30tgnpSKPsIGbm34jfLvngfk5t?= =?us-ascii?Q?cMDUmAh68yEIw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR08MB1458;5:Rnx2XwLKBGs8v8pJ+BBUbmKrkTfdSYje5KiO/HW9osBffussonkWMvsR2JsyJZt+dmbSxIJId26euu4dYZiswNx//3Z1Q8RaiPDdhoCd3BU8ejlPB6RjIjuI1Z/RyTWnpgshO5NilWvj1lwl34xg7A==;24:JgVBmaHT/Lyv5K5irlhxJmne/s4cuKdPKCotMm7hD8HpZJwQA/3tAekLvqoFu/uAA1BaId+SX2FIh+kYhikzzxHVMSzeddxY7JUIfM5iYd4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: accenture.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 14:46:55.0771 (UTC) X-MS-Exchange-CrossTenant-Id: e0793d39-0939-496d-b129-198edd916feb X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e0793d39-0939-496d-b129-198edd916feb;Ip=[170.252.43.199];Helo=[AMRXE4004.accenture.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR08MB1458 --_000_2cec5b90dde84dbd881668b3ebe93d32BLUPR42MB145048dmgdmsft_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Team, Any response on this ? in the documentation of camel-SOAP, the example for multipart request & res= ponse states using serviceInterfaceStrategy. however the example is not cle= ar. ServiceInterfaceStrategy strat =3D new ServiceInterfaceStrategy(com.exampl= e.customerservice.multipart.MultiPartCustomerService.class, true); SoapJaxbDataFormat soapDataFormat =3D new SoapJaxbDataFormat("com.example.c= ustomerservice.multipart", strat); we are not able to find the definitio of this class- com.example.customerse= rvice.multipart.MultiPartCustomerService.class hence cant use this example to implement. Please help Thanks, Ekta ________________________________ From: Wadhwani, Ekta V. Sent: Wednesday, March 30, 2016 8:38 AM To: users@camel.apache.org Subject: How to process Multipart SOAP response Hi Camel team, Jboss Fuse Studio : Version: 8.1.0.GA Jdk version: 1.8.0_73 Using XML DSL No server involved. since i am yet trying to run camel context locally on d= ev studio I am trying to connect send and receive a SOAP request&response message to = a third party webservice(Oracle). I am succesfully able to send and receive. However i am not able to process= the soap response received since its a multipart messasge as follows: SOAP response 1st : ------=3D_Part_4694_423702238.1459343682692 Content-Type: application/xop+xml;charset=3DUTF-8;type=3D"text/xml" Content-Transfer-Encoding: 8bit Content-ID: <44e5cd34-e05d-41d2-8231-e3e23f2440a1> http:= //xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegratio= nService//ErpIntegrationService/uploadFileToUcmResponseurn:uuid:46417381-5e12-448d-968f-0e8e824a1828111837 ------=3D_Part_4694_423702238.1459343682692-- [ default-workqueue-3] route7 INFO SOAP = response 4th : ------=3D_Part_4706_434840889.1459343688908 Content-Type: application/xop+xml;charset=3DUTF-8;type=3D"text/xml" Content-Transfer-Encoding: 8bit Content-ID: http:= //xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegratio= nService//ErpIntegrationService/downloadESSJobExecutionDetailsResponseurn:uuid:82d7d264-ef7f-41da-8d51-79e940413b13zip<= /ns0:ContentType>ESS_L_157463G4S.Integration.UserAttachments157463.zip= ------=3D_Part_4706_434840889.1459343688908 Content-Transfer-Encoding: binary Content-ID: <51e0b71c-160b-4921-a8a7-8fe7f87ccc3b> PK=03=04=14=03=04=14157463.log?XKS?8=10??W?????=17?j=0FT=08L?=18 .. blah b= lah some binary content ------=3D_Part_4706_434840889.1459343688908-- I am using below XML DSL code: Basic ZzRzLmludGVncmF0aW9uLnVzZXI6RnVzaW9uQDEyMw=3D=3D ... Marshalling works fine since i can see my webservice call has been invoked = and response coming back. unmarshalling would obviously not work directly s= ince the message is not a pure soap msg but A multipart message I checked online for mime multipart data format however i do not see any ex= ample of xml DSL + i could not use it in my jboss dev studio since it does = not have this dataformat at all (dont know why) My objectives: 1. to be able to process/ fetch out the soap envelope part from this multip= art soap response using XML DSL 2. to be able to process the binary content of multipart message since that= is my attachment using XML DSL. Request you all to help. Badly stuck at this point Thanks, Ekta ________________________________ This message is for the designated recipient only and may contain privilege= d, proprietary, or otherwise confidential information. If you have received= it in error, please notify the sender immediately and delete the original.= Any other use of the e-mail by you is prohibited. Where allowed by local l= aw, electronic communications with Accenture and its affiliates, including = e-mail and instant messaging (including content), may be scanned by our sys= tems for the purposes of information security and assessment of internal co= mpliance with Accenture policy. ___________________________________________________________________________= ___________ www.accenture.com --_000_2cec5b90dde84dbd881668b3ebe93d32BLUPR42MB145048dmgdmsft_--