Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 45168 invoked from network); 21 Oct 2009 12:18:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 12:18:07 -0000 Received: (qmail 1911 invoked by uid 500); 21 Oct 2009 12:18:06 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1805 invoked by uid 500); 21 Oct 2009 12:18:06 -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 1796 invoked by uid 99); 21 Oct 2009 12:18:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 12:18:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 12:17:55 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N0a8E-0002IZ-MC for axis-dev@ws.apache.org; Wed, 21 Oct 2009 05:17:34 -0700 Message-ID: <25991362.post@talk.nabble.com> Date: Wed, 21 Oct 2009 05:17:34 -0700 (PDT) From: SivaKumarl To: axis-dev@ws.apache.org Subject: Re: Generating mutiple port names while generating WSDL using Axis2 Code generator eclipse plugin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sivakumarl@naradaproducts.com References: <25987803.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Chinmoy, Thanks for your reply,what i understand is for security reasons it generates different portname, i have one by default which port name it will takes. Cheers -------- Siva kumar Chinmoy Chakraborty wrote: > > Once I aksed this question and below is the answer I got from a developer: > > *Since Axis2 1.4 we have the concept of dispatching request to the > endpoints > not just to the service. The reason is that security scenarios could be > configured on a endpoint level and hence we need to know the exact > endpoint > a request is headed to in order to apply the security scenario > accordingly.* > *This is the reason you see the unique addresses for each endpoint and it > takes the form serviceName.endpointName.* > > In your case "http://localhost:8080/axis2/services/HelloWorld" should > work. > > Chinmoy > > On Wed, Oct 21, 2009 at 1:05 PM, SivaKumarl > wrote: > >> >> Hi friends, >> I am little bit cofusing the way WSDL is generating by Axis2 >> code >> generator eclipse plugin, here it is generating three ports , kindly >> explain >> me why this is happening and how this port name will be use, please find >> the >> below sample xml code >> >> >> > xmlns:ns1="http://org.apache.axis2/xsd" >> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" >> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" >> xmlns:xsd="http://test.ycs.com" >> xmlns:xs="http://www.w3.org/2001/XMLSchema >> " >> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" >> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" >> targetNamespace="http://test.ycs.com"> >> >> > elementFormDefault="qualified" targetNamespace="http://test.ycs.com"> >> >> >> >> > nillable="true" >> type="xs:string"/> >> >> >> >> >> >> >> > nillable="true" type="xs:string"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > wsaw:Action="urn:hello"/> >> > wsaw:Action="urn:helloResponse"/> >> >> >> > type="xsd:HelloWorldPortType"> >> > style="document"/> >> >> >> >> >> >> >> >> >> >> >> > type="xsd:HelloWorldPortType"> >> > style="document"/> >> >> >> >> >> >> >> >> >> >> >> > type="xsd:HelloWorldPortType"> >> >> >> >> >> >> >> >> >> >> >> >> >> > binding="xsd:HelloWorldSoap11Binding"> >> > location="http://localhost:8080/axis2/services/HelloWorld"/> >> >> > binding="xsd:HelloWorldSoap12Binding"> >> > location="http://localhost:8080/axis2/services/HelloWorld"/> >> >> > binding="xsd:HelloWorldHttpBinding"> >> > location="http://localhost:8080/axis2/services/HelloWorld"/> >> >> >> >> >> In above xml there are three portnames >> HelloWorldHttpSoap11Endpoint,HelloWorldHttpSoap12Endpoint and >> HelloWorldHttpEndpoint. >> >> Which port name will use by default. >> >> Thanks in Advance. >> Siva >> >> -- >> View this message in context: >> http://www.nabble.com/Generating-mutiple-port-names-while-generating-WSDL-using-Axis2-Code-generator-eclipse-plugin-tp25987803p25987803.html >> Sent from the Axis - Dev mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Generating-mutiple-port-names-while-generating-WSDL-using-Axis2-Code-generator-eclipse-plugin-tp25987803p25991362.html Sent from the Axis - Dev mailing list archive at Nabble.com.