Thanks, no I haven't dropped REST, as an alternative.

if the manager command for deploy using http put will work then that might
be a shortcut.

But my desire for WSDL/SOAP is because it will then work with BPEL process
flows and has better error handling and fits with our JMS AND ESB clients...

Ollie

Mark Thomas-18 wrote:
> 
> Mike Oliver wrote:
>> Thanks,
>> 
>> The URI commands don't quite cut it.
>> 
>> As I stated I want to deploy a new war file.
> 
> It supports that. Using PUT if I recall correctly.
> 
>> The use of HttpClient to connect and send commands is one thing but to
>> use
>> these commands requires all files to already exist on the server to be
>> referenced by the command.
> 
> Nope. You can upload files as required.
> 
> You don't have to use HttpClient if you really don't want to. Everything
> is simple enough that you can do it directly to the socket. That said,
> HttpClient does make it easier, particularly around error handling.
> 
>> I want to deploy a new war file and SOAP envelope is far more what I have
>> in
>> mind.
> 
> You seem to have dropped your "or RESTful" option from your original
> e-mail.
> 
> If you absolutely want to use SOAP, you'll probably have to roll your
> own. I'm not aware of a SOAP solution to this problem. I'd suggest using
> the ManagerServlet as a starting point.
> 
> Mark
> 
>> 
>> Ollie
>> 
>> David Smith-2 wrote:
>>> Color me crazy, but I'm working on a WSDL project now and ... well ...
>>> yuck.  Sorry .. just had to get that out of my system.  :-)
>>>
>>> The services offered by manager should work for what you want.  The link
>>> below is for tomcat 6, but there are equivalents for whatever version
>>> you are working with:
>>>
>>> http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Supported%20Manager%20Commands
>>>
>>> --David
>>>
>>> Mike Oliver wrote:
>>>> Hmmm,
>>>>
>>>> I am not looking for the contents of /manager either in HTML or XML.
>>>>
>>>> The "manager" application you access at /manager/html can perform
>>>> "operations" like start, stop, deploy, undeploy, check status, etc.
>>>>
>>>> out of the box I can setup a manager role and grant that to a user,
>>>> login
>>>> as
>>>> that user and access the /manager/html user interface to do these
>>>> operations.  In that I can upload a new war file, stop or start or
>>>> undeploy
>>>> existing applications and check status.
>>>>
>>>> With a Web Service Definition Language file that points to a SOAP Web
>>>> Service Implementation those same operations could be executed by
>>>> posting
>>>> a
>>>> SOAP message to the operations defined and pointed to by the WSDL file.
>>>>
>>>> With the Web Services interface my central application can do all of
>>>> the
>>>> operations, securely, and as part of a workflow, not requiring me to
>>>> navigate my browser to each instance of Tomcat and repeat an operation
>>>> like
>>>> deploying a new war file to update all the instances that need it.
>>>>
>>>>
>>>>
>>>> Peter Lin wrote:
>>>>   
>>>>> I think he wants it in XML format, and be able to bind it to an object
>>>>> model
>>>>>
>>>>>
>>>>>
>>>>> On Wed, May 27, 2009 at 1:29 PM, Mark Thomas <ma...@apache.org> wrote:
>>>>>     
>>>>>> Mike Oliver wrote:
>>>>>>       
>>>>>>> Ok perhaps I was unclear.
>>>>>>>
>>>>>>> I have multiple instances of Tomcat installed and need to manage the
>>>>>>> applications deployed on those instances.
>>>>>>>
>>>>>>> Currently I must login with a username and password to each instance
>>>>>>> /manager application through the normal user interface.
>>>>>>>
>>>>>>> What I want to do is automate that so I can access that same
>>>>>>> instance
>>>>>>> with
>>>>>>> that same username and password but via Web Services from a central
>>>>>>> location
>>>>>>> using WSDL or REST.
>>>>>>>         
>>>>>> Understood. So what do you need that http://host:port/manager (rather
>>>>>> than http://host:port/manager/html) does not support?
>>>>>>
>>>>>> Mark
>>>>>>
>>>>>>
>>>>>>       
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Has-anyone-created-a-WSDL-for-the-Manager-Application-tp23746190p23753113.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to