2013-03-07 3 views
3

SAP 시스템과 Siebel CRM을 통합하려고합니다 ... 문제는 : SOAP 요청을 생성하기 위해 SOAP UI를 사용하는 경우 siebel에서 생성하는 SOAP 요청으로 인해 오류가 발생하는 반면, 잘 작동하고 있습니다.SOAP 요청 관련 문제

CX_ST_MATCH_ELEMENT :. .System 예상 요소 'PiCopyreference' "(SBL-EAI-04308)

실패 시벨 SOAP 요청에서

오류가 발생하는 오류 mesages 및 SOAP 요청은 다음과 시벨은 SOAP 요청을 생성 : - :

-

<?xml version="1.0" encoding="UTF-8"?> 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
    <SOAP-ENV:Body> 
     <CustomerCreatefromdata1 xmlns="urn:sap-com:document:sap:soap:functions:mc-style"> 
      <PiCompanydata xmlns="urn:sap-com:document:sap:soap:functions:mc-style"></PiCompanydata> 
      <PiCopyreference xmlns="urn:sap-com:document:sap:soap:functions:mc-style"> 
       <Salesorg xmlns="urn:sap-com:document:sap:soap:functions:mc-style">0001</Salesorg> 
       <DistrChan xmlns="urn:sap-com:document:sap:soap:functions:mc-style">01</DistrChan> 
       <Division xmlns="urn:sap-com:document:sap:soap:functions:mc-style">01</Division> 
       <RefCustmr xmlns="urn:sap-com:document:sap:soap:functions:mc-style">0000000011</RefCustmr> 
      </PiCopyreference> 
      <PiOptCompanydata xmlns="urn:sap-com:document:sap:soap:functions:mc-style"></PiOptCompanydata> 
      <PiOptPersonaldata xmlns="urn:sap-com:document:sap:soap:functions:mc-style"> 
       <Transpzone xmlns="urn:sap-com:document:sap:soap:functions:mc-style">0000000001</Transpzone> 
      </PiOptPersonaldata> 
      <PiPersonaldata xmlns="urn:sap-com:document:sap:soap:functions:mc-style"> 
       <TitleP xmlns="urn:sap-com:document:sap:soap:functions:mc-style">MR</TitleP> 
       <Firstname xmlns="urn:sap-com:document:sap:soap:functions:mc-style">FirstN</Firstname> 
       <Lastname xmlns="urn:sap-com:document:sap:soap:functions:mc-style">lastN</Lastname> 
       <City xmlns="urn:sap-com:document:sap:soap:functions:mc-style">SomeCity</City> 
       <PostlCod1 xmlns="urn:sap-com:document:sap:soap:functions:mc-style">7866</PostlCod1> 
       <Country xmlns="urn:sap-com:document:sap:soap:functions:mc-style">AT</Country> 
       <LanguP xmlns="urn:sap-com:document:sap:soap:functions:mc-style">E</LanguP> 
       <Currency xmlns="urn:sap-com:document:sap:soap:functions:mc-style">INR</Currency> 
      </PiPersonaldata> 
     </CustomerCreatefromdata1> 
    </SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 

성공적인 SOAP UI 요청을 생성

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style"> 
    <soapenv:Header/> 
    <soapenv:Body> 
     <urn:CustomerCreatefromdata1> 
      <PiCompanydata/> 
      <PiCopyreference> 
       <Salesorg>0001</Salesorg> 
       <DistrChan>01</DistrChan> 
       <Division>01</Division> 
       <RefCustmr>0000000011</RefCustmr> 
      </PiCopyreference> 
      <PiOptCompanydata/> 
      <PiOptPersonaldata> 
       <Transpzone>0000000001</Transpzone> 
      </PiOptPersonaldata> 
      <PiPersonaldata> 
       <TitleP>MR</TitleP> 
       <Firstname>FirstN</Firstname> 
       <Lastname>lastN</Lastname> 
       <City>SomeCity</City> 
       <PostlCod1>7866</PostlCod1> 
       <Country>AT</Country> 
       <LanguP>E</LanguP> 
       <Currency>INR</Currency> 
      </PiPersonaldata> 
     </urn:CustomerCreatefromdata1> 
    </soapenv:Body> 
</soapenv:Envelope> 

또한 siebel에서 워크 플로 (관련 스크립팅 없음)를 사용하여 SOAP 요청을 생성합니다.

답변

2

네임 스페이스 문제 일 수 있습니다. Siebel 외부 IO에서 ICField 레벨의 네임 스페이스에 대한 모든 사용자 특성을 비활성화 할 수 있습니다.

+0

팁 ranjith 주셔서 감사 ... 나는 이것을 시도하고 이제 xmlns 속성은 CustomerCreatefromdata1 제외한 모든 태그에 오지 않습니다 ...하지만 여전히 문제는 동일한 오류 메시지가 점점 동일합니다. CustomerCreatefromdata1 태그에서 xmlns 속성을 수동으로 제거하더라도 아무런 변화가 없습니다. – Vic

+0

이 작동 중입니다 ... XMLTAGNAMESPACE 필드를 비활성화하면 방금 자식 elemets가 활성 상태로 유지되고 값 col을 삭제하면서 부모로부터 네임 스페이스를 상속받습니다. 작동하게 만들었습니다. – Vic