我想在ubuntu上用allegro4制作游戏。所以我提高了自己的教程。 今天我想在游戏中添加声音。
然而,我无法运行声音。当我编译我的代码并运行"输出"程序终端给出该消息:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:save xmlns:ns2="http://service.generic.abc.it">
<arg1 xsi:type="ns4:ContractGroup" xmlns:ns4="http://generic.abc.it" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<discounts xsi:type="ns4:DiscountPrice"></discounts>
</arg1>
</ns2:save>
</S:Body>
</S:Envelope>
但程序仍然运行。然后当我按下向上按钮(用于收听声音)时,程序屏幕关闭,终端给出该消息:
def grUtils = new com.eviware.soapui.support.GroovyUtils(context)
// create XmlHolder for request
def requestHolder = grUtils.getXmlHolder("Contract_save#Request")
// find the Node that I am interested in
def requestNodeMain = requestHolder.getDomNode("//*:Body/*:save/*:arg1[1]")
// the Document object is used to create new nodes
def requestDocMain = requestNodeMain.getOwnerDocument()
def WideSearchRQElement = requestDocMain.createElementNS("ns4:DiscountPrice","type:discounts")
requestNodeMain.appendChild(WideSearchRQElement)
requestHolder.updateProperty(true)
这是我的代码:
"Futuro Simple | (+) |