2016-10-21 2 views
0

바인딩 탭에서 참조 바인딩을 사용하여 invoke 활동을 통해 Soap 서비스를 호출합니다. soapui 모의 매개 변수 (host, port : in http 클라이언트 및 URI) 디버깅 할 때이 오류가 발생했습니다.soapAction ""및 body 요소 ""soap version 1.1의 누락 된 연산 BW6

[Fatal Error] :1:1: Content is not allowed in prolog. 

11:15:58.805 ERROR [bwEngThread:In-Memory Process Worker-5] com.tibco.bw.core - TIBCO-BW-CORE-500050: The BW process [Applications.DOM_OPALE.CLOE.CreationBondecommande.CreationBonDeCommande_1-SOAPExtClient] instance faulted, JobId [bw0a102], ProcessInstanceId [bw0a102], ParentProcessInstanceId [bw0a101], Module [ProcessorBusinessShared:1.0.0.0], Application [CloeAdapterOut.application:1.0]. 

    <CausedBy> TIBCO-BW-CORE-500052: Invoke activity [CreationBonDeCommande] fault. 

    <CausedBy> com.tibco.bw.binding.soap.DefaultFault: TIBCO-BW-BINDING-SOAP-550100: Received SOAP Fault from the service provider of the Operation [{OPA}CreationBonDeCommande], SoapReferenceBinding [SOAPReferenceBinding], Application [CloeAdapterOut.application:1.0]. SOAP Fault received: [<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
    <soapenv:Body> 
     <soapenv:Fault> 
      <faultcode>Server</faultcode> 
      <faultstring>Missing operation for soapAction [rpc/OPA:CreationBonDeCommande] and body element [CreationBonDeCommande] with SOAP Version [SOAP 1.1]</faultstring> 
     </soapenv:Fault> 
    </soapenv:Body> 
</soapenv:Envelope> 
] 

어떤 생각을 하시겠습니까? 요청이 오류 메시지에 따라 soapAction 헤더가없는 것이 분명하다 사전

답변

0

팁코 BW 6.3.2 버그로 인해의 soapAction이 들어있는 헤더를 제거 - 6.3.3에> 업그레이드 버전은 문제가 문제가 비누 조치가 WSDL에 존재입니다

0

에서

<message name="CreationBonDeCommande_Input"> 
    <part name="InputMessage" type="xsdLocal0:InputTopElmtData"/> 
</message> 
<message name="CreationBonDeCommande_Output"> 
    <part name="OutputMessage" type="xsdLocal1:OutputTopElmtData"/> 
</message> 

<portType name="OPA_CreationBonDeCommande"> 
    <operation name="CreationBonDeCommande"> 
     <input message="tns:CreationBonDeCommande_Input"/> 
     <output message="tns:CreationBonDeCommande_Output"/> 
    </operation> 

</portType> 

<binding name="OPA_CreationBonDeCommande" type="tns:OPA_CreationBonDeCommande"> 
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> 
    <operation name="CreationBonDeCommande"> 
     <soap:operation soapAction="rpc/OPA:CreationBonDeCommande" /> 
     <input> 
      <soap:body namespace="OPA" use="literal"/> 
     </input> 
     <output> 
      <soap:body namespace="OPA" use="literal"/> 
     </output> 
    </operation> 
</binding> 
<service name="OPA_CreationBonDeCommande_WS"> 
    <port binding="tns:OPA_CreationBonDeCommande" name="OPA_CreationBonDeCommande"> 
     <soap:address location="http://<web_server></web_server>/eai_fra/start.swe?SWEExtSource=WebService&amp;SWEExtCmd=Execute&amp;UserName=sadmin&amp;Password=sadmin"/> 
    </port> 
</service> 

감사 :

다음은 WSDL 파일입니다.

적절한 값으로 soapAction을 추가하십시오.

+0

고정되어 –

+0

음, 요청에 있어야합니다. – Rao

+0

Tibco BW 6을 사용하고 있습니다. 자동으로 생성 된 입력 메시지를 매핑하고 있습니다. –