Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 10393 invoked from network); 31 Oct 2007 15:49:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 15:49:26 -0000 Received: (qmail 32936 invoked by uid 500); 31 Oct 2007 15:49:11 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 32530 invoked by uid 500); 31 Oct 2007 15:49:10 -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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 32519 invoked by uid 99); 31 Oct 2007 15:49:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 08:49:10 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 15:49:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98E78714159 for ; Wed, 31 Oct 2007 08:48:50 -0700 (PDT) Message-ID: <6659390.1193845730612.JavaMail.jira@brutus> Date: Wed, 31 Oct 2007 08:48:50 -0700 (PDT) From: "Lahiru Sandakith (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2-3315) Compile error in generated JUnit In-Reply-To: <27023338.1193768511092.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lahiru Sandakith reassigned AXIS2-3315: --------------------------------------- Assignee: Amila Chinthaka Suriarachchi Amila , can you please look in to this, Assigning to you. > Compile error in generated JUnit > -------------------------------- > > Key: AXIS2-3315 > URL: https://issues.apache.org/jira/browse/AXIS2-3315 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.3 > Environment: Windows XP > Reporter: Kathy Chan > Assignee: Amila Chinthaka Suriarachchi > > Using Axis2 v1.3, when I issue the following: > wsdl2java -uri Persondetails.wsdl -t > to generate JUnit testcase for client,I got a PersondetailsTest.java generated with compile error: > public void testStartgetPersonDetails() throws java.lang.Exception{ > wtp.PersondetailsStub stub = new wtp.PersondetailsStub(); > > stub.startgetPersonDetails( > , > new tempCallbackN1000C() > ); > > } > Note that there's a "," with no field in the call to stub.startgetPersonDetails. > Here's the Persondetails.wsdl used: > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" > xmlns:ns0="http://wtp/xsd" > xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" > xmlns:ns1="http://org.apache.axis2/xsd" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > targetNamespace="http://wtp"> > > Please Type your service description here > > > attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://wtp/xsd"> > > > > type="xs:string" /> > > > > > > > type="xs:string" /> > type="xs:int" /> > type="ns:Address" /> > type="xs:string" /> > type="xs:string" /> > type="xs:string" /> > > > > > > > type="xs:string" /> > type="xs:string" /> > type="xs:string" /> > type="xs:string" /> > type="xs:string" /> > type="xs:string" /> > type="xs:string" /> > > > > > > > > > > > > > > xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" > message="axis2:getPersonDetailsMessage" > wsaw:Action="urn:getPersonDetails" /> > > > > xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" > message="axis2:setPersonDetailsMessage" > wsaw:Action="urn:setPersonDetails" /> > > > type="axis2:PersondetailsPortType"> > style="document" /> > > style="document" /> > > > > > > > > > style="document" /> > > > > > > type="axis2:PersondetailsPortType"> > style="document" /> > > style="document" /> > > > > > > > > > style="document" /> > > > > > > type="axis2:PersondetailsPortType"> > > > > > > > > > > > > > > > > > > > binding="axis2:PersondetailsSOAP11Binding"> > location="http://9.26.187.24:8080/p1/services/Persondetails" /> > > binding="axis2:PersondetailsSOAP12Binding"> > location="http://localhost:8080/p1/services/Persondetails" /> > > binding="axis2:PersondetailsHttpBinding"> > location="http://localhost:8080/p1/services/Persondetails" /> > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org