axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phani Sekhar <phani.sek...@masconit.com>
Subject RE: Need info
Date Fri, 04 Aug 2006 11:26:31 GMT
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 <wsse:Security> tag, there is <Timestamp> tag as
below:

<wsu:Timestamp
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urit
y-utility-1.0.xsd" wsu:Id="Timestamp-2086370">

        <wsu:Created>2006-08-02T11:39:58.015Z</wsu:Created>
        <wsu:Expires>2006-08-02T11:44:58.015Z</wsu:Expires>
</wsu:Timestamp>


My task is to modify the format of <wsu:Created> and <wsu:Expires> 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
>>
>
<wsa:To>urn:GSO-System-Services:external:1.65:GatewaySecurityTokenServic
e</w
>> sa:To> tag. As I understand, <wsa:To> 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 <wsa:To>
value.
>>
>> I know there is axis2 API to set <wsa:To> 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 <shyam_shukla@persistent.co.in> 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 <chinthaka@opensource.lk> 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:
>>>>>>
>>>>>>
>>>>>>
>>>>>> <soapenv:Envelope
>>>>>> 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


Mime
View raw message