Accessing WinRM from a Remote Java application
-
18. ledna 2010 18:28I try to connect to WinRM from a remote Java application. My final goal is to access (and remotely command) Powershell v2 using WinRM.I found some Java implementation of WS-Man, but they all seems to need WSDL file to generate stub proxies.Where could I find WSDL for WinRM / Remote Powershell?
Všechny reakce
-
18. ledna 2010 18:56Moderátor
**Not a programmer**
A few links for you to check out:
http://blogs.msdn.com/powershell/archive/2009/06/23/powershell-remoting-protocol-documentation-available.aspx
http://blogs.msdn.com/powershell/archive/2010/01/07/how-objects-are-sent-to-and-from-remote-sessions.aspx
If you're going to try to use something like:
Java->WS-Man for Java->network->WS-Man for Windows->PowerShell via the WS-Man API
I think you'll be out of luck.
You may be able to do:
Java->WS-Man for Java->network->WS-Man for Windows->PowerShell via the command-line powershell.exe- Navržen jako odpověď Marco ShawModerator 19. ledna 2010 15:53
- Označen jako odpověď Marco ShawModerator 25. ledna 2010 2:19
-
25. ledna 2010 2:05Moderátor
Hi,
This is really a Java problem. Please initial a post in the Java forum to get more information.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
7. února 2010 8:28Hi there Kridek,
Did you manage to get any further with this ? I'm interested in accessing the WSDL from a Linux machine and found this post of yours. Would be very interested in anything you've found. Are you discussing this in another forum? If so can you please send a link? Thanks.
Ameer.