Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 96165 invoked from network); 12 May 2006 16:17:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 May 2006 16:17:43 -0000 Received: (qmail 62465 invoked by uid 500); 12 May 2006 16:17:34 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 62259 invoked by uid 500); 12 May 2006 16:17:34 -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 62248 invoked by uid 99); 12 May 2006 16:17:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 09:17:33 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [131.239.47.43] (HELO eagle2.mro.com) (131.239.47.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 09:17:31 -0700 Received: from mta1.mro.com (mta1.mro.com [172.22.1.9]) by eagle2.mro.com (Postfix) with ESMTP id F3A8917909 for ; Fri, 12 May 2006 12:17:06 -0400 (EDT) Subject: [Axis2] Providing custom WSDL To: axis-user@ws.apache.org X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 Message-ID: From: Junaid.Bhatra@mro.com Date: Fri, 12 May 2006 12:17:01 -0400 X-MIMETrack: Serialize by Router on MTA1/MRO(Release 6.5.4|March 27, 2005) at 05/12/2006 12:17:05 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I'm deploying my Web Service using the RawXMLINOutMessageReceiver and providing my own WSDL in the META-INF folder. However the WSDL that is returned from the ?wsdl URL is different than the original one, specifically the and portions are changed. What is the rationale behind this? I can see that 2 additional bindings have been added, SOAP12 as well as REST. However I see a couple of problems: 1) The element specifies a namespace even though it is a doc/literal binding. This is disallowed explicitly by the WS-I Basic Profile 1.1 http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Namespaces_for_soapbind_Elements 2) The bigger issue though is the endpoint addresses. I'm integrating Axis2 webapp within my larger application (EAR) and would like to use a different webapp context than 'axis2'. However the endpoint addresses in the generated WSDL have axis2 hard-coded in them & are of the form http://machine:80/axis2/services/MyService even though my Web Service is deployed at a different URL and the original WSDL that I provided had the correct endpoint address http://machine:80/mywebapp/services/MyService - Junaid