Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 97315 invoked from network); 2 May 2005 20:17:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 May 2005 20:17:39 -0000 Received: (qmail 3879 invoked by uid 500); 2 May 2005 20:18:53 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 3803 invoked by uid 500); 2 May 2005 20:18:52 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 3707 invoked by uid 99); 2 May 2005 20:18:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 02 May 2005 13:18:50 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 134FA312 for ; Mon, 2 May 2005 22:17:14 +0200 (CEST) Message-ID: <1369332851.1115065034016.JavaMail.jira@ajax.apache.org> Date: Mon, 2 May 2005 22:17:14 +0200 (CEST) From: "Jeremiah Johnson (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Resolved: (BEEHIVE-572) RPC literal generates invalid message with extra namsapces In-Reply-To: <204032852.1114620994080.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-572?page=all ] Jeremiah Johnson resolved BEEHIVE-572: -------------------------------------- Assign To: Jeremiah Johnson (was: daryoush mehrtash) Resolution: Fixed Resolving for Daryoush because he doesn't have full Jira rights, yet. > RPC literal generates invalid message with extra namsapces > ---------------------------------------------------------- > > Key: BEEHIVE-572 > URL: http://issues.apache.org/jira/browse/BEEHIVE-572 > Project: Beehive > Type: Bug > Reporter: daryoush mehrtash > Assignee: Jeremiah Johnson > > THe response message to > http://localhost:8080/wsm-samplesWS/web/complex/RpcLiteralSample.jws?method=createAddressInBody > generates: > > - > > - > > 0 > - > > Kirkland > - > > 425 > 555 > 1234 > > - > > WA > > NE Points Drive > 10230 > 98008 > > > > > The message is wrong. Below is the text from email send to me by Anne Thomas Manes > Daryoush, > The and elements should be unqualified (in no namespace). I can't tell you what namespaces the child elements of are supposed to be in without seeing the schema. > According to the WS-I Basic Profile (which is the only definitive source of information for RPC/Literal), namespaces follow the following rules: > The child element of the SOAP body (the autogenerated wrapper element > -- in this case ) is in the namespace specified in the definition in the WSDL binding: > > > > Since this element is unqualified in both your examples, I assume that you neglected to specify a namespace in your WSDL binding. (You should, though.) > The children of this wrapper element (the autogenerated parameter > elements) are in *no* namespace. These elements aren't defined in the WSDL -- only their types are defined: > > > > > The children of will be in the namespace(s) as defined by the schema that defines the out_param_body type (ns1). If you specified elementFormDefault="qualified", and you define all the children within that namespace, then the children of will be in the ns1 namespace. But, if the children are defined in separate schemas, then they will be in different namespaces. > For example, if the schema looks something like this: > > > > > > ... > > > then each child element will be in the appropriately referenced namespace. > Anne -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira