我是一个SOAP新手,并努力解决此错误消息,
{:错误,"500","未声明的名称空间前缀\"x \"\n在[row,col {unknown-source}]:[1,168]"}
对于下面的SOAP信封.由于我试图访问的主机系统的条款和条件,我已用"xxx"替换了识别URL和凭证信息,并删除了大多数对象.
<x:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:read="urn://xxx/sdk/ReadObject"
xmlns:obj="http://xxx/object">
<x:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>xxx</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxx</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</x:Header>
<x:Body>
<read:readEstimate>
<read:estimate>
<obj:id>38945</obj:id>
</read:estimate>
</read:readEstimate>
</x:Body>
</x:Envelope>
Run Code Online (Sandbox Code Playgroud) 榆树新手在这里.
当我用CustomerSelect下面的Mpower模块替换下面模块中的元素时
customers = ["Select Customer","Customer 1","Customer 2","Customer 3"]
customerSelect =
select [ ]
[ List.map customerItem customers
]
Run Code Online (Sandbox Code Playgroud)
我收到一个Elm Compiler"Type Mismatch"错误:
函数
select期望第二个参数是:Run Code Online (Sandbox Code Playgroud)List VirtualDom.Node但它是:
Run Code Online (Sandbox Code Playgroud)List (List Html)
这是从哪里来的?
module Mpower where
import Html exposing (..)
import List exposing (..)
customerItem custname =
option [ ] [ text custname ]
customerSelect =
select [ ]
[
customerItem "Select Customer",
customerItem "Customer 1",
customerItem "Customer 2",
customerItem "Customer 3"
]
view =
div [] …Run Code Online (Sandbox Code Playgroud)