search cancel

"322 [  XC/0] general Error" consuming non-Gen Web Service

book

Article ID: 230591

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset Gen - Run Time Distributed Gen - Host Encyclopedia

Issue/Introduction

We have a SOAP Web Service which was created using an IBM Integration Bus Broker flow (calls a SOAP Input Node and transforms the message into a String and places the message into an MQ) that is deployed on the Execution Group in IIB. The WSDL for this web service is as per our organization standards.
 
Now we are trying to consume the above SOAP Web Service in a new Gen 8.6 model using the Call External statement.
We have generated the Procedure Step (which calls a CAB that in turn consumes the above web service) as an EJB Webservice. However when trying to test the EJB Web Service from SOAP UI, seeing error message "322 [  XC/0] general Error" in the response:
+++
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>ERROR [email protected],0022020097,0 322 [  XC/0] general Error (faultCode: soapenv:Server)</faultstring>
         <detail>
            <ns1:Exception xmlns:ns1="http://tempuri.org/SwzzTestConsume/">
               <message xmlns:ns2="http://tempuri.org/SwzzTestConsume/">ERROR [email protected],0022020097,0 322 [  XC/0] general Error (faultCode: soapenv:Server)</message>
            </ns1:Exception>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>
+++

Environment

Release : 8.62

Component : Gen Enterprise Java Beans

Resolution

1. Customer's IIB Broker flow web service wsdl contains SOAP headers.
The Gen Call External does not currently support SOAP headers.
Thus going forward to enable Call External to process any wsdl with SOAP headers the "soap:header" needs to be manually removed from the wsdl. Any SOAP header information will then of course be lost as part of that process.

2. In addition there was a requirement to create a new version of GenWSDLParser.dll to fix another problem found with the parser related to the wsdl. The .wsdl file contains this:
<xsd:element name="UpdateResidencyIssueData" type="pp:UpdateResidencyIssueDataIn"/>
So UpdateResidencyIssueData is defined as element with type UpdateResidencyIssueDataIn and that type is defined elsewhere (UpdateResidencyIssueDataInServiceType.xsd) as:
<xsd:complexType name="UpdateResidencyIssueDataIn">
The wsdl parser was previously incorrectly including the extra tag for UpdateResidencyIssueDataIn.
The fix has been published as official PTF TSN86223/LU0434. which has ben superseded by 8.6.3 Consolidation PTF WKS86300/LU06327

Additional Information

To request Call External to be able to support SOAP headers more extensively a new Enhancement Request/Idea has been created on the Ideas Community page: Need CALL EXTERNAL to support SOAP Services with Headers