Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 19278 invoked from network); 8 Feb 2008 23:52:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2008 23:52:41 -0000 Received: (qmail 44557 invoked by uid 500); 8 Feb 2008 23:52:32 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 44517 invoked by uid 500); 8 Feb 2008 23:52:32 -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 44502 invoked by uid 99); 8 Feb 2008 23:52:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 15:52:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davanum@gmail.com designates 209.85.128.188 as permitted sender) Received: from [209.85.128.188] (HELO fk-out-0910.google.com) (209.85.128.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 23:52:00 +0000 Received: by fk-out-0910.google.com with SMTP id f40so3785308fka.0 for ; Fri, 08 Feb 2008 15:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=beuvYRXdymkiwSD51RsH1jLqQIuZKixSBdNvrquk9v4=; b=bA3dBqKH1thrR437/F6n3OWm76lMWSDhVTzBgUg+fFIe68J37gvLvKKvek3KeUgTC3bSYIzHMzdWZAxTQc++m89WPJWBn25k0GGb2g5Xnev7O2JGRQQ5jn40djEdimg6xLnc/6L/6trFB5nJJLPnSl5j6MU/VbWiv6eNKOMKwAI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=HzOJ51ldPBkBfLN89MCxlBok5LKak1fw8Uf7oQtdm6LK4EimMinm36Q3L68nnFW8YkLNWO01tRwvKyItBwD+XDJZ/myQAw7drlWBUB5DrBC8u5PQDsafPYUQi5+7OfWdymuwBz/c/doyuXTyiZsjzLqrXGETJw5oVYgE+n3JVtg= Received: by 10.82.112.3 with SMTP id k3mr24126557buc.31.1202514725410; Fri, 08 Feb 2008 15:52:05 -0800 (PST) Received: from ?192.168.2.102? ( [66.31.152.180]) by mx.google.com with ESMTPS id q9sm17336539gve.10.2008.02.08.15.52.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 Feb 2008 15:52:04 -0800 (PST) Message-ID: <47ACEAEF.7080702@gmail.com> Date: Fri, 08 Feb 2008 18:51:11 -0500 From: Davanum Srinivas User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] Generating WSDL for JAXWS artifacts References: <47A795D8.1030108@gmail.com> <9efb15600802070337u3beff6c9vdc4f80e1bba9a083@mail.gmail.com> <15338287.post@talk.nabble.com> <15365436.post@talk.nabble.com> In-Reply-To: <15365436.post@talk.nabble.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roy, Great!!! now we are officially cooking :) - -- dims Roy Wood wrote: | Lahiru, Dims, | | Just to follow-up with some more info on this (I'll add this to the JIRA | as well). I've been able to successfully test some of the already existing | tests in jaxws (i.e. AddNumbersService, AddNumbersHandlerService, etc) using | our custom deployer. | | - Fixed a problem with EndpointDescription.createAxisServiceName where the | AxisService name was being generated incorrectly | | - Add a 'serviceName' attribute to each WebService annotation in the test | samples so that the invocation will find the service that is specified by | service name in the wsdl | | - New class in jaxws/framework called JAXWSDeployer | - This is similar to the POJODeployer but I'm phasing out use of | annogen and all functionality that fills | in the AxisService (i.e. Utils.fillAxisService) | | - Modified jaxws/test-resources axis2.xml to use our own deployer | 'JAXWSDeployer' | | - Change jaxws/server/EndpointController.getEndpointDescription to throw | exception if it can't find the Endpoint | | - Change jaxws/pom.xml to copy files to 'wars' directory instead of | 'services'. | | - TODO: Change JAXWSDeployer to not call 'createServiceDescription' if its | not the impl. class | This would be caught anyway, but no reason to try processing something that | we know will fail...ALSO, make sure that we don't add it to the | AxisServiceList | | - TODO: Process expanded .wars | | - TODO: Enhance JAXWSDeployer to handle .wars, expanded .wars, | | - TODO: Update pom.xml to place files as .wars/.jars so that we don't have | to use 'buildWars' | | | Roy Wood wrote: |> Hi Lahiru, |> |> Yes, we are considering doing this as well. The POJODeployer is a simple |> somewhat "clean" way of deploying simple web services as .classes or |> .jars. Trying to add functionality for deploying .wars (or expanded .wars) |> would convolute its initial intent. So, our first thoughts are to build a |> new deployer (JAXWSDeployer or WebAppDeployer) that deploys .wars (or |> possible expanded .wars). It would be similar to POJODeployer but would |> also address the following problems: |> |> - Ability to process @WebServiceProvider annotations |> |> - Utilize the new 'wsgen' capabilities that Dims just added |> |> - Ability to possibly handle a custom deployment descriptor..still |> under discussion as this may |> not be necessary |> |> - Other problems with annotation processing/validation that we |> haven't discovered yet |> |> |> |> Lahiru Sandakith Gallege wrote: |>> Hi Dims, |>> I am thinking of not extending the pojo deployer on this regard. Since |>> the |>> forward set of deployable service artifact of the sun TCK are in the form |>> of |>> war files and seems we are not allowed it to change them as we want. We |>> have |>> to get our deployment mechanism to get them sorted out. How about using |>> our |>> axis2 webapp and then have an extension to the deployment from plugable |>> component as TCK suit and made the sun specific wars deployable and we |>> can |>> have the services up on Axis2. Actually we can make this deployment |>> extension as JAXWS Deployer in JAXWS module. This was my idea rather than |>> going for the POJO Deployer on this. Thoughts ? |>> |>> Thanks |>> Lahiru Sandakith |>> |>> On Feb 5, 2008 4:16 AM, Davanum Srinivas wrote: |>> | Deepal, Sandakith, | | Right now we pick up just a few of the annotations from a java class. | Namely the ones in | org.apache.axis2.description.java2wsdlAnnotationConstants. I believe we | need to take into account *all* possible | annotations in the spec to pass the TCK. | | ~ String WEB_SERVICE = "javax.jws.WebService"; | ~ String WEB_METHOD = "javax.jws.WebMethod"; | ~ String WEB_PARAM = "javax.jws.WebParam"; | ~ String WEB_RESULT = "javax.jws.WebResult"; | ~ String TARGETNAMESPACE = "targetNamespace"; | ~ String NAME = "name"; | ~ String SERVICE_NAME = "serviceName"; | ~ String EXCLUDE = "exclude"; | ~ String ACTION = "action"; | ~ String WSDL_LOCATION = "wsdlLocation"; | ~ String OPERATION_NAME ="operationName"; | | One option that was taken by the Geronimo team was to use the JAXWS RI's | wsgen tool programatically. We should probably | start looking at the same as well. | | We need to figure out how to support user specified WSDL's as well in | the | PojoDeployer..Thoughts? | | thanks, | dims |>>> - --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org |>>> |>>> |>> |>> -- |>> Thanks |>> Lahiru Sandakith |>> |>> http://sandakith.wordpress.com/ |>> GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC 1AB1 FE5E 7464 1F01 9A0F |>> |>> |> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iD8DBQFHrOrugNg6eWEDv1kRApjVAJ92Ah6rvyqtSYTJdY64rZF9Vxu15gCgl/6D guLBurxUZ3lM43b0rValWAM= =pX+H -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org