Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

Verständnisfrage SOAP - PowerShell - New-WebServiceProxy

$
0
0

Hallo,

mir ist nicht ganz klar wie hier die Parameter übergeben werden, bei der Methode instantiate.

$user = "test"
$pass = "passwort"

$URI = "http://SERVER:8080/process-engine/soap?wsdl"

$secpasswd = ConvertTo-SecureString $pass -AsPlainText -Force
$credentials = New-Object System.Management.Automation.PSCredential($user, $secpasswd)

$infe = New-WebServiceProxy -uri $URI -Credential $credentials -Namespace "INF"$infe.instantiate(?)

REQUEST

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.service.engine.SERVER.com/"><soapenv:Header/><soapenv:Body><soap:instantiate><!--Optional:--><processUri>?</processUri><!--Optional:--><cache>?</cache><!--Optional:--><threadPoolId>?</threadPoolId><!--Optional:--><process>?</process><!--Optional:--><debug>?</debug><!--Optional:--><simpleDataStore>?</simpleDataStore></soap:instantiate></soapenv:Body></soapenv:Envelope>

mfg

Nyenhuis


Viewing all articles
Browse latest Browse all 2314


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>