简体   繁体   English

Cordys BPM-基于XML模式文档创建电子邮件模型

[英]Cordys BPM - Create an E-mail Model based on an XML Schema Document

I have created a standalone email model and generated a web service based on the email model. 我创建了一个独立的电子邮件模型,并基于该电子邮件模型生成了一个Web服务。 I followed the same steps as described in the Cordys documentation ( https://wiki.cordys.com/display/bop41/Creating+an+E-mail+Model ) but when I try to invoke the web service I am getting a fault like "Do not understand method TAT_Email_Model_WebserviceOperation of type NSCUST". 我遵循了Cordys文档( https://wiki.cordys.com/display/bop41/Creating+an+E+mail+Model )中所述的相同步骤,但是当我尝试调用Web服务时却遇到了问题类似于“不了解NSCUST类型的方法TAT_Email_Model_WebserviceOperation”。

I have linked my WebServiceInterface to an Email service container ( correct me if I am done wrong over here). 我已经将我的WebServiceInterface链接到一个电子邮件服务容器(如果我在这里做错了,请纠正我)。

The complete description of the fault is as below. 故障的完整描述如下。 Any suggestions. 有什么建议么。

<ErrorDetails>
  <Request>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <header xmlns="http://schemas.cordys.com/General/1.0/">
          <Logger xmlns="http://schemas.cordys.com/General/1.0/" />
        </header>
        <i18n:international xmlns:i18n="http://www.w3.org/2005/09/ws-i18n">
          <locale xmlns="http://www.w3.org/2005/09/ws-i18n">en-US</locale>
        </i18n:international>
      </SOAP:Header>
      <SOAP:Body>
        <TAT_Email_Model_WebserviceOperation xmlns="http://schemas.cordys.com/1.0/email">
          <SOURCE>Notification Custom Method</SOURCE>
          <MESSAGE_DATA>
            <Application>
              <data>
                <message_data />
                <message_metadata />
              </data>
            </Application>
          </MESSAGE_DATA>
          <SUBJECT>PARAMETER</SUBJECT>
          <attachments>
            <attachment name="" encoded="false">PARAMETER</attachment>
          </attachments>
          <SENDER_ADDRESS>
            <MAIL_ID>PARAMETER</MAIL_ID>
            <DISPLAY_NAME>PARAMETER</DISPLAY_NAME>
          </SENDER_ADDRESS>
          <RECEIVERS>
            <MAILING_LIST>
              <to>
                <address>
                  <displayName>PARAMETER</displayName>
                  <emailAddress>PARAMETER</emailAddress>
                </address>
              </to>
              <cc>
                <address>
                  <displayName>PARAMETER</displayName>
                  <emailAddress>PARAMETER</emailAddress>
                </address>
              </cc>
              <bcc>
                <address>
                  <displayName>PARAMETER</displayName>
                  <emailAddress>PARAMETER</emailAddress>
                </address>
              </bcc>
            </MAILING_LIST>
          </RECEIVERS>
        </TAT_Email_Model_WebserviceOperation>
      </SOAP:Body>
    </SOAP:Envelope>
  </Request>
  <Response>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/General/1.0/">
          <msg-id>000C297F-0536-11E3-E944-DF0951D0118E</msg-id>
          <license>License has expired since 138 day(s)</license>
        </header>
      </SOAP:Header>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>MustUnderstand</faultcode>
          <faultstring xml:lang="en-US">Do not understand method TAT_Email_Model_WebserviceOperation of type NSCUST</faultstring>
          <faultactor>http://schemas.cordys.com/1.0/email</faultactor>
          <detail>
            <cordys:FaultDetails xmlns:cordys="http://schemas.cordys.com/General/1.0/">
              <cordys:LocalizableMessage xmlns:cordys="http://schemas.cordys.com/General/1.0/">
                <cordys:MessageCode xmlns:cordys="http://schemas.cordys.com/General/1.0/" />
              </cordys:LocalizableMessage>
            </cordys:FaultDetails>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
  </Response>
</ErrorDetails>

You have bound it to the wrong service container, you have to attach it to the Notification Service Container. 您已将其绑定到错误的服务容器,必须将其附加到Notification Service容器。

The error tells you that the current handling service container cannot handle requests of type NSCUST. 该错误告诉您当前的处理服务容器无法处理NSCUST类型的请求。 This is available in the implementation of the webservice. 在Web服务的实现中可用。

NOTE: you license has been expired on that server. 注意:您的许可证在该服务器上已过期。 With the License Manager in Cordys you can update it. 使用Cordys中的许可证管理器,可以对其进行更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM