Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 32753 invoked from network); 20 Jul 2007 21:52:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jul 2007 21:52:06 -0000 Received: (qmail 26537 invoked by uid 500); 20 Jul 2007 21:51:58 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 26120 invoked by uid 500); 20 Jul 2007 21:51:57 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 26109 invoked by uid 99); 20 Jul 2007 21:51:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 14:51:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of atmanes@gmail.com designates 209.85.132.246 as permitted sender) Received: from [209.85.132.246] (HELO an-out-0708.google.com) (209.85.132.246) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 14:51:54 -0700 Received: by an-out-0708.google.com with SMTP id c17so209469anc for ; Fri, 20 Jul 2007 14:51:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hln27J7uOTJkvZwkeqxuRjcb5yAPfOM062KtyFGViTq6YsY1Ns3IEosUMh25DCWO25FVVQ/0sSG9MY9Cydy+ptot4Uxe3SkWUn/39ez7VgczZhjAKa4imeDfrtoQt6PM2ZzZ0hsmuGS9J4hHncW3VsdKeQ8daK/7tBQaM32PK34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j2iQtm9tN1J1RMKfMDT6D2Efa+oezu2fIP20MoS6qJ3ugdsrhMo6iubX/p9jXtTLVOXq3UMcHKA82gNBldqFN5vJkAcGjz3dAikQOFavIywH7IWP6+Tr8TKy8KoTMUvvm1aJVVEFzGME54V2noVD3B9xdQDWoP/S4QoAxKYDN6M= Received: by 10.100.139.12 with SMTP id m12mr456392and.1184968293659; Fri, 20 Jul 2007 14:51:33 -0700 (PDT) Received: by 10.100.154.4 with HTTP; Fri, 20 Jul 2007 14:51:33 -0700 (PDT) Message-ID: Date: Fri, 20 Jul 2007 17:51:33 -0400 From: "Anne Thomas Manes" To: axis-user@ws.apache.org Subject: Re: issues moving to axis2 from axis 1.4 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org There are definitely problems with the WSDL. First, you are using to import .xsd files: You need to move these imports to the schema and use , e.g., (I don't see the "urn:trackinfo.lite.soap.mdiapps.peoiws5" namespace declared or referenced in the WSDL or schema, so you really don't need to import it, though.) On the other hand, you do declare and reference the "cvg" namespace (xmlns:cvg="urn:data.soap.mdiapps.peoiws5"), but you don't import it. You need to add an for this namespace. Anne On 7/20/07, Steve Kruse wrote: > > > > > Can someone tell me if they see any issues with the wsdl below. I'm using > it for axis 1.4 and it works fine, but for axis2 I keep getting a cast > issue? I am not sure if it is an xmlbeans issue or a wsdl issue. > > > > > > > xmlns:apachesoap="http://xml.apache.org/xml-soap" > > xmlns:impl="urn:soap.mdiapps.peoiws5" > > xmlns:cvg="urn:data.soap.mdiapps.peoiws5" > > xmlns:ce="urn:exception.soap.mdiapps.peoiws5" > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > namespace="urn:trackinfo.lite.soap.mdiapps.peoiws5" > location="./xsd/lite/lite-track-info.xsd"/> > > location="./xsd/exception.xsd"/> > > > > > > > elementFormDefault="qualified" > > targetNamespace="urn:soap.mdiapps.peoiws5" > > xmlns="http://www.w3.org/2001/XMLSchema"> > > > > > > > > type="cvg:InfoObjectEventBeanHolder"/> > > > > > > > > name="handleTrackInfoLiteEventResponse"> > > > > > > > > > > > > type="cvg:InfoObjectEventBeansHolder" /> > > > > > > > > name="handleTrackInfoLiteEventsResponse"> > > > > > > > > type="ce:ServiceUnavailableException"/> > > > > > > > > > > element="impl:handleTrackInfoLiteEventsResponse" > name="parameters" /> > > > > > > element="impl:handleTrackInfoLiteEventResponse" > name="parameters"/> > > > > > > name="parameters" /> > > > > > > > > > > > > name="parameters"/> > > > > > > > > > > > > > > > > message="impl:handleTrackInfoLiteEventRequest" > name="handleTrackInfoLiteEventRequest"/> > > message="impl:handleTrackInfoLiteEventResponse" > name="handleTrackInfoLiteEventResponse"/> > > name="CommunicationException"/> > > message="impl:ServiceUnavailableException" > name="ServiceUnavailableException"/> > > > > > > message="impl:handleTrackInfoLiteEventsRequest" > name="handleTrackInfoLiteEventsRequest" /> > > message="impl:handleTrackInfoLiteEventsResponse" > name="handleTrackInfoLiteEventsResponse" /> > > name="CommunicationException" /> > > message="impl:ServiceUnavailableException" > name="ServiceUnavailableException" /> > > > > > > > > type="impl:TrackLiteDataHandlerWS"> > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > name="handleTrackInfoLiteEventRequest"> > > > > > > name="handleTrackInfoLiteEventResponse"> > > > > > > > > use="literal"/> > > > > > > use="literal"/> > > > > > [Message clipped] --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org