Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 24551 invoked from network); 4 Aug 2006 11:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2006 11:27:43 -0000 Received: (qmail 68046 invoked by uid 500); 4 Aug 2006 11:27:39 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 68006 invoked by uid 500); 4 Aug 2006 11:27:39 -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 67995 invoked by uid 99); 4 Aug 2006 11:27:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 04:27:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.215.81.74] (HELO relay1.san2.attens.net) (192.215.81.74) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 04:27:35 -0700 Received: from mailhub.masconit.com (email.masconit.com [12.107.104.100]) by relay1.san2.attens.net (8.13.6/8.13.6) with ESMTP id k74BRDVQ010561 for ; Fri, 4 Aug 2006 11:27:13 GMT Received: by MAILHUB with Internet Mail Service (5.5.2653.19) id <3RW4RXHX>; Fri, 4 Aug 2006 06:27:12 -0500 Received: from JAIGANESH ([172.16.45.39]) by mailhub.masconit.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 3RW4RXHH; Fri, 4 Aug 2006 06:26:59 -0500 From: Phani Sekhar Reply-To: Phani Sekhar To: axis-dev@ws.apache.org Subject: RE: Need info Date: Fri, 4 Aug 2006 16:56:31 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <9A85AAC2668A8E4DB9561F85087ECD007D6A1B@chn-gdy-msg.wipro.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You need to rename the .java file into .jws file.... Not the class file... Copy the jws file to TOMCAT_HOME/webapps/axis directory..... The jws file will be automatically compiled by Axis and the resulting class file will be copied into webapps/axis/WEB-INF/jwsClasses directory.... -----Original Message----- From: sudhakar.kondapalli@wipro.com [mailto:sudhakar.kondapalli@wipro.com] Sent: Friday, August 04, 2006 4:37 PM To: axis-dev@ws.apache.org; chinthaka@opensource.lk Subject: RE: Need info Hi all, I have Installed the axis1.0 version and it installed successfully . while I run http://localhost:8080/axis2/ HappyAxis.jsp page displayed successfully. After that I have tried with simple HelloWebservice.java public class HelloWebService{ public String display(){ return "hello sudhakar"; } } I copied this class into webapps/axis2 folder and changed the .class as .jws file then run http://localhost:8080/axis2/HelloWebservice.jws But I got error like Requested resource not found! . Where should I place these .java and .jws file .... Please help me out, This is the first time I am trying with webservices. Thanks and Regards Sudhakar Kondapalli -----Original Message----- From: Shyam Shukla [mailto:shyam_shukla@persistent.co.in] Sent: Thursday, August 03, 2006 4:31 PM To: axis-dev@ws.apache.org; chinthaka@opensource.lk Subject: RE: Need info Hi Sudhakar, I would suggest you to download axis2 latest release (i.e. 1.0) instead of axis 1.x. To learn in detail about axis2, follow the link http://ws.apache.org/axis2/1_0/index.html As I understood your problem is that you want to call a web service which is written in .NET from your java application. If this is the case then you will have to write a client program using axis2 APIs to call that service. The link that I have given above will give you the idea to understand axis2 architecture and how to start playing with it.... :). Best Regards, Shyam Shukla -----Original Message----- From: sudhakar.kondapalli@wipro.com [mailto:sudhakar.kondapalli@wipro.com] Sent: Thursday, August 03, 2006 4:05 PM To: axis-dev@ws.apache.org; chinthaka@opensource.lk Subject: Need info Hi All, I am basically Java, j2ee guy, But I am very much new to Webservices. My present task is , I need to create one search engine , but our client having that search engine which is already developed in .NET . So now I want to use that component by using webservices , for that I searched in net , I got some information regarding axis2 . I down loaded that axis-1_4 . I not able to proceed how to start and how to configure that with tomcat, please any one can explain how to acces that .NET conponent in my J2ee application. Thanks and Regards Sudhakar Kondapalli -----Original Message----- From: Shyam Shukla [mailto:shyam_shukla@persistent.co.in] Sent: Thursday, August 03, 2006 3:56 PM To: axis-dev@ws.apache.org; chinthaka@opensource.lk Subject: RE: Customization of SOAP Envelop using Axis2 1.0 Thanks Eran it worked and now I have one more problem... :) In my SOAP request header under tag, there is tag as below: 2006-08-02T11:39:58.015Z 2006-08-02T11:44:58.015Z My task is to modify the format of and tags in a different format like yyyy-mm-ddThh:mm:ssZ and also want to change the timezone. Please guide me the way to accomplish this? Best Regards, Shyam Shukla -----Original Message----- From: Eran Chinthaka [mailto:chinthaka@opensource.lk] Sent: Thursday, August 03, 2006 11:51 AM To: axis-dev@ws.apache.org Subject: Re: Customization of SOAP Envelop using Axis2 1.0 Yes you can. Last week we re-factored that constant to the proper place. If you have Axis2 1.0 then go ahead with that. I thought you were using Axis2 nightly builds. -- Chinthaka Shyam Shukla wrote: > Hi Eran, > > I couldn't find "org.apache.axis2.Constants.Configuration.TRANSPORT_URL" in > my installed version of axis2 1.0 but the same constant I have got in > "org.apache.axis2.context.MessageContextConstants.TRANSPORT_URL" package. > > Can I use this one to fulfill my need? > > Best Regards, > Shyam Shukla > > -----Original Message----- > From: Eran Chinthaka [mailto:chinthaka@opensource.lk] > Sent: Wednesday, August 02, 2006 11:33 PM > To: axis-dev@ws.apache.org > Subject: Re: Customization of SOAP Envelop using Axis2 1.0 > > options.setProperty(org.apache.axis2.Constants.Configuration.TRANSPORT_U RL, > "http://the-real-url-I-want-to-send-my-request.org"); > > > > Shyam Shukla wrote: >> Hi All, >> >> To solve wsa namespace issue as I've mentioned in this email, instead >> of modifying existing handlers I wrote separate handlers and they all >> are working fine to support WS-Addressing namespace >> "http://schemas.xmlsoap.org/ws/2004/03/addressing". >> >> Now I have again come up with a problem, actually in my current >> project to >> obtain SAML Assertion from a web service which resides at remote location, > I >> will have to send SOAP request which contains WS-Addressing, >> WS-Trust, WS-Security and WS-Policy over http. I have implemented all >> these WS-* specification using axis2 architecture although I had some >> problems with WS-Addressing but that has been solved by all your inputs. >> >> The problem part is this >> > urn:GSO-System-Services:external:1.65:GatewaySecurityTokenServic e> sa:To> tag. As I understand, tag must point to URL where >> SOAP request is posted and axis2 picks this value to send request >> over > transport >> protocol e.g. http but in my case as you can see I will have to >> provide a URN over http in a different location other than value. >> >> I know there is axis2 API to set tag value but then how will >> I > send >> it over http at different URL? >> >> >> >> Best Regards, >> Shyam Shukla >> >> -----Original Message----- >> From: Shyam Shukla [mailto:shyam_shukla@persistent.co.in] >> Sent: Monday, July 31, 2006 3:46 PM >> To: 'axis-dev@ws.apache.org' >> Subject: RE: Customization of SOAP Envelop using Axis2 1.0 >> >> Thanks David I've obtained this file and will go through it to make desire >> changes. >> >> I will again bother you if I am stuck somewhere. >> >> Thanks & Regards, >> Shyam Shukla >> >> >> -----Original Message----- >> From: David Illsley [mailto:davidillsley@gmail.com] >> Sent: Monday, July 31, 2006 2:55 PM >> To: axis-dev@ws.apache.org >> Subject: Re: Customization of SOAP Envelop using Axis2 1.0 >> >> The AddressingOutHandler shipped with Axis2 (in the addressing >> module) which adds the soap headers can be found at [1]. >> >> David >> >> [1] >> > http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addres sing > /src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java?view =mar >> kup >> >> On 31/07/06, Shyam Shukla wrote: >>> David you got my point I was just going to reply Eran about this point. >>> Actually, in my current project web services which I have to invoke >> support >>> mentioned WSA namespace in this email >>> i.e."http://schemas.xmlsoap.org/ws/2004/03/addressing" only and I am >>> required to write a client program to invoke those services. >>> So I think I will have to play with axis2 handlers. >>> David, can you please provide me the name and/or location of these > handler >>> file(s) to create only SOAP Request. >>> >>> >>> Best Regards, >>> Shyam Shukla >>> >>> -----Original Message----- >>> From: David Illsley [mailto:davidillsley@gmail.com] >>> Sent: Monday, July 31, 2006 2:26 PM >>> To: axis-dev@ws.apache.org; chinthaka@opensource.lk >>> Subject: Re: Customization of SOAP Envelop using Axis2 1.0 >>> >>> Eran, unfortunately Shyam is looking for the 2004/03 namespace which >>> the current addressing handlers do not support and if you sets the >>> WS_ADDRESSING_VERSION property to >>> "http://schemas.xmlsoap.org/ws/2004/03/addressing", the submission >>> version is used. >>> >>> Shyam, if you can move up to a newer version of WS-Addressing that >>> is your best option (2004/03 is not widely supported now and won't >>> be going forward. There is broad vendor support for 2004/08 and 2005/08). >>> If you cannot move to one of these specifications, modifying the >>> axis2 handlers to support 2004/03 or writing your own handlers are >>> your other options. >>> >>> David >>> >>> -- >>> David Illsley - IBM Web Services Development >>> >>> On 31/07/06, Eran Chinthaka wrote: >>>> No wait, you don't need to change the source code to do that. >>>> >>>> just do the following. >>>> >>>> options.setProperty( >>>> org.apache.axis2.addressing.AddressingConstants.WS_ADDRESSING_VERSI >>>> ON, >>>> >> org.apache.axis2.addressing.AddressingConstants.Submission.WSA_NAMESPACE ); >>>> Hope you know how to set the options. >>>> >>>> (Your next question might be that what are the other params that >>>> can be set thru the client api. Do not worry an article on that is >>>> coming soon. >>>> There is a small delay in getting that published :).) >>>> >>>> -- Chinthaka >>>> >>>> Shyam Shukla wrote: >>>>> Thanks Chinthaka for your reply. >>>>> I've enabled WS-Addressing and have associated in my SOAP Request. >>>>> My problem is I want to modify the SOAP Envelop part in the >>>>> request, >> by >>>>> default axis2 1.0 is referring to >>>>> "xmlns:wsa="http://www.w3.org/2005/08/addressing" namespace as I >>>>> have mentioned in my email while I want WS-Addressing namespace >>>>> should >> refer >>> to >>>>> "http://schemas.xmlsoap.org/ws/2004/03/addressing" URL. >>>>> I have gone through all the addressing APIs of axis2 to find out >>>>> any >> way >>> to >>>>> do it but could not be succeeded. >>>>> I guess now I will have to modify the source code which is >>>>> responsible >>> for >>>>> generating this part of the SOAP request. >>>>> Can you please let me know which file will I be required to modify >>>>> or >> Is >>>>> there any API to accomplish this task? >>>>> >>>>> >>>>> Best Regards, >>>>> Shyam Shukla >>>>> >>>>> -----Original Message----- >>>>> From: Eran Chinthaka [mailto:chinthaka@opensource.lk] >>>>> Sent: Monday, July 31, 2006 12:11 PM >>>>> To: axis-dev@ws.apache.org >>>>> Subject: Re: Customization of SOAP Envelop using Axis2 1.0 >>>>> >>>>> >>>>> What exactly you want to do here? Do you want to send a SOAP >>>>> request with WS-Addressing enabled? >>>>> If yes, the easiest way is to use the ServiceClient api with >> addressing >>>>> enabled (refer the user guide for this) >>>>> >>>>> -- Chinthaka >>>>> >>>>> Shyam Shukla wrote: >>>>>> Hello All, >>>>>> >>>>>> >>>>>> >>>>>> I am just started working with axis2 1.0 with wss4j 1.5 and my >>>>>> task >> is >>>>>> to create SOAP request which refers to WS-Addressing >>>>>> http://schemas.xmlsoap.org/ws/2004/03/addressing while I am >>>>>> getting following format in SOAP request: >>>>>> >>>>>> >>>>>> >>>>>> >>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >>>>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"> >>>>>> >>>>>> >>>>>> >>>>>> Can anyone guide me how can I modify this request? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks in Advance, >>>>>> Shyam Shukla >>>>>> >>>>>> >>>>>> >>>>>> DISCLAIMER ========== This e-mail may contain privileged and >>>>>> confidential information which is the property of Persistent >>>>>> Systems Pvt. Ltd. It is intended only for the use of the >>>>>> individual or entity >>> to >>>>>> which it is addressed. If you are not the intended recipient, you >>>>>> are not authorized to read, retain, copy, print, distribute or >>>>>> use this message. If you have received this communication in >>>>>> error, please >>> notify >>>>>> the sender and delete all copies of this message. Persistent >>>>>> Systems Pvt. Ltd. does not accept any liability for virus infected mails. >>>>> >>>>> >>>>> DISCLAIMER >>>>> ========== >>>>> This e-mail may contain privileged and confidential information >>>>> which >> is >>> the property of Persistent Systems Pvt. Ltd. It is intended only for >>> the >> use >>> of the individual or entity to which it is addressed. If you are not >>> the intended recipient, you are not authorized to read, retain, >>> copy, print, distribute or use this message. If you have received >>> this communication > in >>> error, please notify the sender and delete all copies of this message. >>> Persistent Systems Pvt. Ltd. does not accept any liability for virus >>> infected mails. >>>>> ------------------------------------------------------------------ >>>>> --- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >>>>> For additional commands, e-mail: axis-dev-help@ws.apache.org >>> -------------------------------------------------------------------- >>> - To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >>> For additional commands, e-mail: axis-dev-help@ws.apache.org >>> >>> >>> DISCLAIMER >>> ========== >>> This e-mail may contain privileged and confidential information >>> which is >> the property of Persistent Systems Pvt. Ltd. It is intended only for >> the > use >> of the individual or entity to which it is addressed. If you are not >> the intended recipient, you are not authorized to read, retain, copy, >> print, distribute or use this message. If you have received this >> communication in >> error, please notify the sender and delete all copies of this message. >> Persistent Systems Pvt. Ltd. does not accept any liability for virus >> infected mails. >>> -------------------------------------------------------------------- >>> - To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >>> For additional commands, e-mail: axis-dev-help@ws.apache.org >>> >>> >> > > > > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which > is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-dev-help@ws.apache.org > > DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org