WSO2ESB与WSO2IS服务器试图获取价值并希望发送

时间:2013-02-20 10:23:13

标签: wso2 wso2esb wso2is

我正在尝试使用以下配置将wso2 esb认证为wso2身份服务器,并返回“true”或“false”..但每当我尝试从CURL端发送请求时,其给出的命名空间不匹配错误,如操作命名空间

<proxy xmlns="http://ws.apache.org/ns/synapse" name="TestAuth2" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
       <target>
          <inSequence>
             <payloadFactory>
                <format>
                   <p:login xmlns:p="http://authentication.services.core.carbon.wso2.org">
                      <p:username>$1</p:username>
                      <p:password>$2</p:password>
                      <p:remoteAddress>$3</p:remoteAddress>
                   </p:login>
                </format>
                <args>
                   <arg expression="//username/text()"/>
                   <arg expression="//password/text()"/>
                   <arg expression="//remoteAddress/text()"/>
                </args>
             </payloadFactory>
             <header name="Action" value="urn:login"/>
             <log level="full"/>
             <send>
                <endpoint>
                   <address uri="https://localhost:9443/services/AuthenticationAdmin"/>
                </endpoint>
             </send>
          </inSequence>
          <outSequence>
             <log level="full"/>
             <send/>
          </outSequence>
       </target>
       <description></description>
    </proxy>

我的错误就像这个ERROR {org.apache.axis2.rpc.receivers.RPCMessageReceiver} - Exception occurred while trying to invoke service method login org.apache.axis2.AxisFault: namespace mismatch require authentication.services.core.carbon.wso2.org found

0 个答案:

没有答案