Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 52683 invoked from network); 6 Apr 2004 14:22:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Apr 2004 14:22:55 -0000 Received: (qmail 10173 invoked by uid 500); 6 Apr 2004 14:22:27 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 10159 invoked by uid 500); 6 Apr 2004 14:22:27 -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: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 10142 invoked from network); 6 Apr 2004 14:22:26 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by daedalus.apache.org with SMTP; 6 Apr 2004 14:22:26 -0000 Received: from imag.fr (fangio.imag.fr [129.88.103.32]) by imag.imag.fr (8.12.10/8.12.10) with ESMTP id i36EMP8Z015600 for ; Tue, 6 Apr 2004 16:22:25 +0200 (CEST) Message-ID: <4072BD21.1050207@imag.fr> Date: Tue, 06 Apr 2004 16:22:25 +0200 From: Ricardo De la Rosa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: fr-fr, fr MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Using serviceFactory.createService() - Cannot find service: {urn:xmltoday-delayed-services}TravelAgency Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-Information: Please contact the ISP for more information X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi friends !!! I am writing an application using jax-rpc: I am trying to call a webservice. The code of the client is: ___________________________________ URL urlWsdl = new URL("http://localhost:8080/axis/services/urn:xmltoday-delayed-services?wsdl"); String nameSpaceUri = "urn:xmltoday-delayed-services"; String serviceName = "TravelAgency"; String portName = "TravelAgency"; ServiceFactory serviceFactory = ServiceFactory.newInstance(); javax.xml.rpc.Service service = serviceFactory.createService(urlWsdl, new QName(nameSpaceUri, serviceName) ); TravelAgencyInterface myProxy = (TravelAgencyInterface) service.getPort(new QName(nameSpaceUri, portName), TravelAgencyInterface.class ); _______________________ And , when the program execute the instruction serviceFactory.createService(... ) the error is : samples.fede.GetQuote:addPerson: Exception >>javax.xml.rpc.ServiceException<< samples.fede.GetQuote:addPerson: Message >>Error processing WSDL document: javax.xml.rpc.ServiceException: Error processing WSDL document: javax.xml.rpc.ServiceException: Cannot find service: {urn:xmltoday-delayed-services}TravelAgency<< What can I do ? Any help is well received !! In advance thanks, Ricardo DE LA ROSA IMAG - Grenoble - France PD: The WSDL is in the following page. ____________________________________ One part of the WSDL is: ..... ...... ..... ...... ........ ....