Re: [Axis2] How to check when i uploaded a service and/or a new version of the service to axis2?

areeg samir <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAPsnmeFnMPua+pe7XucDX+hcoKhp11QXegxPW5qnm1dkGBvXfQ@mail.gmail.com>
When you upload your file.aar to axis2 you can access your services as an
administrator from http://localhost:8080/axis2/
(To do that you should run Tomcat setup first) by clicking on the service
name, after that you can save the service.wsdl page from your browser save
option.

I attached some pictures that may help you.
I'll describe the pictures as follow:

picture1- Run your tomcat.
[image: Inline image 1]

picture2- Log-in in with your admin account.
[image: Inline image 2]

picture3- Click on the Customer service.
[image: Inline image 5]

picture4- Save your wsdl from save as by giving it the name "customer.wsdl".
[image: Inline image 4]




On Tue, Jun 3, 2014 at 4:58 PM, Muhammad Imran <[email protected]> wrote:

> Thanks for the answer, however, Is there anyway to read the wsdl of a web
> service from inside...
>
> For instance, when i put a service .aar file in axis2 services
> repository..when axis2 starts, it check that i have a new service. During
> that time, I also want to know that i have a service with a name and a
> particular wsdl file..I want to keep this wsdl file for further references.
> however, I want to do this from inside the axis2....I dont want to read the
> wsdl file from outside and keep track of it..
>
> Is there any way to write a handler which gives me the possibility to read
> the wsdl file of a service? I currently have the logging handler but it
> tells me about service invocation and method details...
>
> I hope my question is clear :)
>
>
> On Tue, Jun 3, 2014 at 4:48 PM, areeg samir <[email protected]> wrote:
>
>> As I know if you uploaded the same file.aar two times the axis2 server
>> will display a fault which telling you that service existed before.
>> About the changes in the file, you can see the wsdl of the uploaded file
>> which telling you about the service methods, protocol...etc.
>>
>>
>>
>> On Mon, Jun 2, 2014 at 12:51 AM, Muhammad Imran <[email protected]>
>> wrote:
>>
>>> hello to everybody:-
>>>
>>> I will put my questions into few steps :)
>>>
>>> Step1: I uploaded a service named foo to axis2 server, lets say i used
>>> tomcat to do so. (but it could be simply putting the .aar file)
>>> Step2. I made some changes to the service foo (using eclipse or
>>> netbeans), compiled and build a newer version (with the same name)
>>> Step3: I upladed foo again to the axis2 server (lets say i used tomcat
>>> to do so).
>>>
>>> Question: Is there any way to know that I uploaded foo two times to the
>>> axis2 server???
>>> Moreover, Is there anyway to know that the schema of foo is changed,
>>> i.e., the second foo contains additional methods?
>>>
>>>
>>> I would like to know if there are any handlers or modules in Axis2 which
>>> i can write or configure to answer the question..
>>>
>>> any help would be really appreciated...
>>>
>>
>>
>>
>> --
>>
>>
>>
>> *Thank you for your time and consideration.SincerelyAreeg Samir*
>>
>>
>


-- 



*Thank you for your time and consideration.SincerelyAreeg Samir*
picture5.jpg (image/jpeg, 188.2 KB) - not displayed
picture1.jpg (image/jpeg, 146.7 KB) - not displayed
picture3.jpg (image/jpeg, 130.4 KB) - not displayed
picture4.jpg (image/jpeg, 158.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.