【问题标题】:Connecting MS Infopath with Siebel CRM On Demand using Web Services使用 Web 服务将 MS Infopath 与 Siebel CRM On Demand 连接
【发布时间】:2012-08-15 08:03:56
【问题描述】:

我必须创建一个表单,我想将客户 ID 发送到 CRMOD,并且应该获取客户地址……客户联系人。

我做了,但是当我点击运行查询按钮时,它给了我错误:

SOAP 响应表明服务器发生错误:

服务器 SBL-ODU-01006内部错误:会话不可用。中止。

如何避免这种情况。如何传递我的 Siebel 凭据。如何查看 MS Infopath 正在发送的 SOAP 请求???? PLZ帮助

【问题讨论】:

    标签: soap infopath credentials siebel ondemand


    【解决方案1】:

    错误是因为您没有活动会话,或者您没有在soap请求标头中包含凭据。

    我不确定你是如何在 MS Infopath 中做到这一点的,但这就是 SOAPUI 添加它的方式。

    <soapenv:Envelope xmlns:acc="urn:/crmondemand/xml/account" xmlns:ns="urn:crmondemand/ws/account/10/2004" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header>
          <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
             <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                <wsse:Username>USERNAME</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password>
                <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">ICC4Ho6oURr/yaJI9uN/+Q==</wsse:Nonce>
                <wsu:Created>2013-04-11T22:07:18.772Z</wsu:Created>
             </wsse:UsernameToken>
          </wsse:Security>
       </soapenv:Header>
       <soapenv:Body>
          <ns:AccountWS_AccountQueryPage_Input>     
             <acc:ListOfAccount>
                <acc:Account>
                  .....
                </acc:Account>
             </acc:ListOfAccount>
          </ns:AccountWS_AccountQueryPage_Input>
       </soapenv:Body>
    </soapenv:Envelope>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-07-31
      • 2010-09-09
      • 1970-01-01
      • 1970-01-01
      • 2012-05-22
      • 1970-01-01
      • 2016-09-24
      • 1970-01-01
      相关资源
      最近更新 更多