Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99C1BDCBD for ; Wed, 26 Sep 2012 17:06:54 +0000 (UTC) Received: (qmail 73715 invoked by uid 500); 26 Sep 2012 17:06:53 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 73698 invoked by uid 500); 26 Sep 2012 17:06:53 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 73688 invoked by uid 99); 26 Sep 2012 17:06:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 17:06:53 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FSL_RCVD_USER,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of frankmisa@hotmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 17:06:48 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TGv48-0007sv-2P for user@ofbiz.apache.org; Wed, 26 Sep 2012 10:06:28 -0700 Date: Wed, 26 Sep 2012 10:06:28 -0700 (PDT) From: fmisa To: user@ofbiz.apache.org Message-ID: <1348679188065-4636478.post@n4.nabble.com> Subject: Better control of SOAP response XML and WSDL definitions - examples ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi OfBiz Gurus... OfBiz does a great job of auto-generating WSDL definitions for exported/externalized services. However, the resulting XML is difficult for me to map on my client end. Instead of doing back-flips on the client - I'd like to simplify the SOAP Service response XML being generated by OfBiz. Can anyone here - direct me to examples, tutorials etc. that describe the following ? I've searched and cannot find references to what I would think is a common scenario.... For example - if I've defined a service like this: Test Service I'd like the auto-generated WSDL to support/define - a response XML that takes this approach: With WSDL - That Supports/Defines this... StringValue 123 Instead of List of Maps or List of Serialized objects - which the framework seems to default to: My past attempts have yielded these responses - that I find very cumbersome to work with on the client side.... Any thoughts, suggestions - would be much appreciated ! Thanks Frank aced000573720029636f6d2e74656e6564612e6f6662697a2e74657374696e672e54657374526573756c744f626a65637400000000000000010200034c00097465737444617461317400124c6a6176612f6c616e672f537472696e673b4c000974657374446174613271007e00014c000974657374446174613371007e00017870740001317400013274000133 aced000573720029636f6d2e74656e6564612e6f6662697a2e74657374696e672e54657374526573756c744f626a65637400000000000000010200034c00097465737444617461317400124c6a6176612f6c616e672f537472696e673b4c000974657374446174613271007e00014c000974657374446174613371007e00017870740001617400016274000163 aced000573720029636f6d2e74656e6564612e6f6662697a2e74657374696e672e54657374526573756c744f626a65637400000000000000010200034c00097465737444617461317400124c6a6176612f6c616e672f537472696e673b4c000974657374446174613271007e00014c000974657374446174613371007e00017870740001417400014274000143 -- View this message in context: http://ofbiz.135035.n4.nabble.com/Better-control-of-SOAP-response-XML-and-WSDL-definitions-examples-tp4636478.html Sent from the OFBiz - User mailing list archive at Nabble.com.