none
Accessing WinRM from a Remote Java application

    Dotaz

  • I 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?
    18. ledna 2010 18:28

Odpovědi

  • **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
    18. ledna 2010 18:56
    Moderátor

Všechny reakce

  • **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
    18. ledna 2010 18:56
    Moderá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.
    25. ledna 2010 2:05
    Moderátor
  • Hi 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.
    7. února 2010 8:28