Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CEFE17C94 for ; Sun, 12 Jul 2015 00:00:59 +0000 (UTC) Received: (qmail 16756 invoked by uid 500); 12 Jul 2015 00:00:59 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 16616 invoked by uid 500); 12 Jul 2015 00:00:59 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 16606 invoked by uid 99); 12 Jul 2015 00:00:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2015 00:00:58 +0000 Date: Sun, 12 Jul 2015 00:00:58 +0000 (UTC) From: "Hiranya Jayathilaka (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AXIS2-5577) axis2 caches the wsdl file when accessed by http or https MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5577?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiranya Jayathilaka resolved AXIS2-5577. ---------------------------------------- Resolution: Not A Problem Fix Version/s: 1.7.0 Resolving as per the last comment > axis2 caches the wsdl file when accessed by http or https > ---------------------------------------------------------- > > Key: AXIS2-5577 > URL: https://issues.apache.org/jira/browse/AXIS2-5577 > Project: Axis2 > Issue Type: Bug > Environment: win7, jdk 1.7.09 axis2-1.6.2 > Reporter: yadong > Assignee: Shameera Rathnayaka > Fix For: 1.7.0 > > > I used the following command to generate the client code for my webservic= e,=20 > but I got the same code for http and https. > C:\share\axis2-1.6.2\bin>wsdl2java.bat -or --noBuildXML -p test.webservic= e -o . -uri https://localhost:8080/axis2/services/Version?wsdl > C:\share\axis2-1.6.2\bin>wsdl2java.bat -or --noBuildXML -p test.webservic= e -o . -uri http://localhost:8080/axis2/services/Version?wsdl > when I run the https:.....?wsdl first, > the http:......?wsdl will get the same output stub java files. > and the address is as following(https??why,): > ----------------generated source file for http and https =EF=BC=88they ar= e the same one=EF=BC=89 --------------------------- > /** > * Default Constructor > */ > public VersionStub(org.apache.axis2.context.ConfigurationContext conf= igurationContext) throws org.apache.axis2.AxisFault { > =20 > this(configurationContext,"https://localhost:8443/axi= s2/services/Version.VersionHttpsSoap12Endpoint/" ); > =20 > } > /** > * Default Constructor > */ > public VersionStub() throws org.apache.axis2.AxisFault { > =20 > this("https://localhost:8443/axis2/services/Version.V= ersionHttpsSoap12Endpoint/" ); > =20 > } > ------------- end of generated source file ---------------------- > and I found that the wsdl file is the same one, when I used the https or = http to access the same web services's wsdl -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org