Powershell:异常调用";LoadXml";加上;1“;论点:“';src&x27;这是一个意外的标记
调整Powershell:异常调用";LoadXml";加上;1“;论点:“';src&x27;这是一个意外的标记,xml,vb.net,powershell,syntax,xml-rpc,Xml,Vb.net,Powershell,Syntax,Xml Rpc,调整VBNet代码: 我尝试了几种不同的方法来“发送”参数,但仍然得到相同的错误 我是否先将钥匙作为param发送,然后再发送UPC代码?我试过几种不同的方法 虽然错误与a有关,但几乎可以肯定的是,我错误地调用了xml-rpc调用: nicholas@mordor:~/powershell$ nicholas@mordor:~/powershell$ head /home/nicholas/.local/share/powershell/Modules/XmlRpc/1.0.1.1/XmlRp
VBNet
代码:
我尝试了几种不同的方法来“发送”参数,但仍然得到相同的错误
我是否先将钥匙作为param
发送,然后再发送UPC
代码?我试过几种不同的方法
虽然错误与a有关,但几乎可以肯定的是,我错误地调用了xml-rpc
调用:
nicholas@mordor:~/powershell$
nicholas@mordor:~/powershell$ head /home/nicholas/.local/share/powershell/Modules/XmlRpc/1.0.1.1/XmlRpc.psm1
#Requires -Version 2.0
<#
.Synopsis
This is a compilation of functions for XML RPC requests
.Description
.Notes
Author : Oliver Lipkau <oliver@lipkau.net>
nicholas@mordor:~/powershell$
nicholas@mordor:~/powershell美元
nicholas@mordor:~/powershell$head/home/nicholas/.local/share/powershell/Modules/XmlRpc/1.0.1.1/XmlRpc.psm1
#需要-版本2.0
XmlRpc.psm1:323包含什么?我添加了关于模块@vonPryz的信息
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> $response = Send-XmlRpcRequest -Url "http://www.upcdatabase.com/" -MethodName "lookup" -Params @('0012000000850','4________________________a3')
Exception: /home/nicholas/.local/share/powershell/Modules/XmlRpc/1.0.1.1/XmlRpc.psm1:323
Line |
323 | $doc.LoadXml($response)
| ~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "LoadXml" with "1" argument(s): "'src' is an unexpected token. The expected token is '='. Line
| 29, position 15."
PS /home/nicholas/powershell>
nicholas@mordor:~/powershell$
nicholas@mordor:~/powershell$ head /home/nicholas/.local/share/powershell/Modules/XmlRpc/1.0.1.1/XmlRpc.psm1
#Requires -Version 2.0
<#
.Synopsis
This is a compilation of functions for XML RPC requests
.Description
.Notes
Author : Oliver Lipkau <oliver@lipkau.net>
nicholas@mordor:~/powershell$