Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 9941 invoked from network); 16 Oct 2004 21:13:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Oct 2004 21:13:26 -0000 Received: (qmail 96815 invoked by uid 500); 16 Oct 2004 21:13:21 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 96771 invoked by uid 500); 16 Oct 2004 21:13:20 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 96762 invoked by uid 99); 16 Oct 2004 21:13:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 16 Oct 2004 14:13:20 -0700 Received: (qmail 20276 invoked from network); 16 Oct 2004 21:15:19 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 16 Oct 2004 21:15:19 -0000 Message-ID: <1750183434.1097961319937.JavaMail.apache@nagoya> Date: Sat, 16 Oct 2004 14:15:19 -0700 (PDT) From: axis-dev@ws.apache.org To: axis-dev@ws.apache.org Subject: [jira] Closed: (AXIS-1116) [doc/lit] RPCElement doesn't process a response message of wrapped style Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: The following issue has been closed. Resolver: Ias Date: Sat, 16 Oct 2004 2:14 PM This issue was already resolved since I successfully demonstrated the service with the WSDL included in JSR-172 spec with Axis J2ME and Axis 1.2 last year. Please open another issue for your problem. Your cases with WSDLs would be appreciated. In addition, Axis J2ME can be a choice for you as I tested it on Nokia 6230 phone. --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/AXIS-1116 Here is an overview of the issue: --------------------------------------------------------------------- Key: AXIS-1116 Summary: [doc/lit] RPCElement doesn't process a response message of wrapped style Type: Bug Status: Closed Resolution: FIXED Project: Axis Components: Serialization/Deserialization Fix Fors: current (nightly) Versions: current (nightly) Assignee: Ias Reporter: Ias Created: Sun, 2 Nov 2003 8:51 AM Updated: Sat, 16 Oct 2004 2:14 PM Environment: Operating System: All Platform: All Description: Suppose the following WSDL is given, ... ... "addGroups" operation is detected as "wrapper style", and its server- config.wsdd is ... ... In this case, a request SOAP message is OK: Group1 Group2 Group3 However, the current axis returns a response message like true This is obviously wrong since wrapped style is document style as well. WS-I Basic Profile 1.0 also points out this situation wit more clarity: WSDL 1.1 is not completely clear what, in document-literal style bindings, the child element of soap:Body is. R2712 A document-literal binding MUST be represented on the wire as a MESSAGE with a soap:Body whose child element is an instance of the global element declaration referenced by the corresponding wsdl:message part. (from http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile- 1.0a.htm#refinement35113376 ) Actually axis client and server work O.K. because they both assume "Response" postfix even though they communicate under wrapped style. I found this trouble when I made my J2ME web services client, which uses only "doc/literal" according to JSR-172 spec. In order to improve the interoperability of axis based on "doc/literal", some changes to RPCElement are necessary. (See the attached patch.) With the modification, axis replys to the previous request example like true Note: the automatically generated WSDL by "service?wsdl" is still not compliant with the above correction. I'll look into that, and your idea and help are welcome. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira