Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94417 invoked from network); 16 Nov 2004 05:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Nov 2004 05:18:40 -0000 Received: (qmail 36927 invoked by uid 500); 16 Nov 2004 05:18:38 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 36899 invoked by uid 500); 16 Nov 2004 05:18:38 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 36884 invoked by uid 99); 16 Nov 2004 05:18:38 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 15 Nov 2004 21:18:34 -0800 Received: (qmail 94364 invoked by uid 1845); 16 Nov 2004 05:18:29 -0000 Date: 16 Nov 2004 05:18:29 -0000 Message-ID: <20041116051829.94363.qmail@minotaur.apache.org> From: gawor@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/java/test/wsdl/qnameser PlanService.java QNameSerTestCase.java build.xml extension.wsdl server-deploy.wsdd X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N gawor 2004/11/15 21:18:29 Added: java/test/wsdl/qnameser PlanService.java QNameSerTestCase.java build.xml extension.wsdl server-deploy.wsdd Log: qname serialization tests Revision Changes Path 1.1 ws-axis/java/test/wsdl/qnameser/PlanService.java Index: PlanService.java =================================================================== package test.wsdl.qnameser; import javax.xml.namespace.QName; import java.rmi.RemoteException; public class PlanService { public static final QName Q_1 = new QName("http://foo", "1"); public static final QName Q_2 = new QName("http://tempuri.org/", "2"); public static final QName Q_3 = new QName("", "3"); public GetPlanResponse getPlan(QName parameters) throws RemoteException { String localName = parameters.getLocalPart(); String namespace = null; if (localName.equals(Q_1.getLocalPart())) { namespace = Q_1.getNamespaceURI(); } else if (localName.equals(Q_2.getLocalPart())) { namespace = Q_2.getNamespaceURI(); } else if (localName.equals(Q_3.getLocalPart())) { namespace = Q_3.getNamespaceURI(); } else { throw new RemoteException("invalid localname:" + localName); } if (!parameters.getNamespaceURI().equals(namespace)) { throw new RemoteException("Expected: " + namespace + " but got: " + parameters.getNamespaceURI()); } return new GetPlanResponse(); } public GetMPlanResponse getMPlan(GetMPlan in) throws RemoteException { QName [] list = in.getList(); for (int i=0;i ]> &properties; &paths; &taskdefs; &taskdefs_post_compile; &targets; 1.1 ws-axis/java/test/wsdl/qnameser/extension.wsdl Index: extension.wsdl =================================================================== 1.1 ws-axis/java/test/wsdl/qnameser/server-deploy.wsdd Index: server-deploy.wsdd ===================================================================