Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 93618 invoked from network); 17 Jul 2007 10:10:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2007 10:10:49 -0000 Received: (qmail 62437 invoked by uid 500); 17 Jul 2007 07:17:24 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 62421 invoked by uid 500); 17 Jul 2007 07:17:24 -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 62410 invoked by uid 99); 17 Jul 2007 07:17:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 00:17:23 -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 desmond.whewell@ericsson.com designates 193.180.251.62 as permitted sender) Received: from [193.180.251.62] (HELO mailgw4.ericsson.se) (193.180.251.62) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 00:17:20 -0700 Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id EEE0121BF1 for ; Tue, 17 Jul 2007 09:14:38 +0200 (CEST) X-AuditID: c1b4fb3e-b0034bb0000007e1-17-469c6c5ec66f Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id C993021BEE for ; Tue, 17 Jul 2007 09:14:38 +0200 (CEST) Received: from esealmw118.eemea.ericsson.se ([153.88.200.77]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Jul 2007 09:14:38 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: useOriginalwsdl again Date: Tue, 17 Jul 2007 09:12:52 +0200 Message-ID: <94BF386B051B5849BA84A45DDFC4E60A013727FD@esealmw118.eemea.ericsson.se> In-Reply-To: <469BAE7B.2060600@opensource.lk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: useOriginalwsdl again Thread-Index: AcfH0RXtFddgf0OdTnmrjMbuBYIFAAAb3xvw From: "Desmond Whewell (CV/ETL)" To: X-OriginalArrivalTime: 17 Jul 2007 07:14:38.0513 (UTC) FILETIME=[23120A10:01C7C842] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org They are indentical. I can tell that the two are related because at one = point the value of useOriginalwsdl was incorrect and I spotted that = problem during debug of the invoked service. What I'm unclear about is at what point is the wsld4jdefinition = parameter created. Does Axis2 create this in advance of the '?wsdl' = invocation, at start-up, say? Maybe that is where the problem lies? I = had the na=EFve idea that when useOriginalwsdl was set to 'true', Axis 2 = would simply stream the appropriate file in the response. Is the wsdl4j = stuff used to support port re-writing? -----Original Message----- From: Deepal Jayasinghe [mailto:deepal@opensource.lk]=20 Sent: 16 July 2007 18:44 To: axis-user@ws.apache.org Subject: Re: useOriginalwsdl again Did you check the wsdl service name and the service name in the = services.xml. Those two should be equal . Thanks Deepal Desmond Whewell (CV/ETL) wrote: > Axis2 1.2/Tomcat 5.5.9 > > I have put the following in my services.xml file, as suggested on this > list: > > true > name=3D"modifyUserWSDLPortAddress">true > > I want the server to supply the original WSDL file but allow it to=20 > modify the port address. The original WSDL file is in the META-INF=20 > directory. Despite this, it fails with an error in IE: > > - > Unable to generate WSDL 1.1 for this=20 > service > If you wish Axis2 to automatically generate the WSDL 1.1,=20 > then please +set useOriginalwsdl as false in your = services.xml > > > Which is a bit odd because I wasn't asking it to generate the WSDL. > > If I run in debug, it drops into: > > ... > public void printWSDL(OutputStream out, String requestIP, String > servicePath) throws AxisFault { > if (isUseUserWSDL()) { > Parameter wsld4jdefinition =3D=20 > getParameter(WSDLConstants.WSDL_4_J_DEFINITION); > if (wsld4jdefinition !=3D null) { ... > > It fails at this point because it can't get this parameter. Is this a=20 > parameter that I was supposed to add? If so, what value has it? > > Cheers, Des > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > =20 -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org