Hi Pasquale,
FYI, you can learn more about developing Axis2 Web Services with Eclipse
from [1] and [2]. As Asanka has pointed out you cannot just develop a
service using the Eclipse WS framework and deploy it into Axis2. You need to
use the correct set of plug-ins and libraries when developing the service.
You can learn all about it by going though [1] and [2].

Hope this helps. Have a great 2009!

Thanks

Best Regards,
Hiranya

[1] -
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
[2] - http://wso2.org/library/1719



On Fri, Jan 2, 2009 at 11:48 PM, Asankha C. Perera <[email protected]>wrote:

> Hi Pasquale
>
>> I created within Eclipse a fast and simple web service, it sums two
>> numbers.
>> I followed and adapted this instructions:
>>
>>
>> http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html
>> [
>> http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/index.html
>> ].
>>
>> I deployed that web service using TomCat 5.5 within Eclipse. Now I have
>> the
>> client with JSP files at http://localhost:8080/SumWSClient.
>>
>>
> I am not familiar with Eclipse web services/tools.. however, if this is a
> standard web service it might have a WSDL. You could use Apache Axis2 to
> generate a client for your service using this WSDL. See standard Axis2
> client documentation or the 'Generating a sample client' in [1] to see how
> you could do this
>
>> SimpleStockQuoteService is a web service called by a client
>> in the way I see in Synapse QuickStart
>> http://synapse.apache.org/Synapse_QuickStart.html [?]
>>
>> In the same way, how can I call and use my simple web service with Ant and
>> Synapse?
>> I tried to copy my project in <synapse_home>\samples\axis2Server\src and
>> modify configuration files, but I got nothing.
>>
>> Can you give me some explanation?
>>
>>
> I do not think Eclipse WS stuff is based on Apache Axis2.. so that probably
> explains why you see nothing.. the SimpleStockQuoteService and the client
> are pure Apache Axis2 sample service/client used to show the operation of
> Synapse with web services
>
> cheers
> asankha
>
> [1]
> http://adroitlogic.org/knowledge-base-axis2/10-soap-over-jms-with-apache-axis2.html
>
> --
> Asankha C. Perera
> http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>

Reply via email to