Tuxedo Outbound Web Service tpcall() Failing TPEITYPE - Error Parsing XML Payload.

(Doc ID 1348553.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Tuxedo - Version: 9.1 to 11.1.1.2.0 - Release: to 11g
Information in this document applies to any platform.

Symptoms

Getting a tperrno=TPEITYPE failure when executing a tpcall() to a  webservice from a native client.

The corresponding tpstrerror() output by the client is as follows:

TPEITYPE - type and/or subtype do not match service's

(A similar error occurs using ud32 to call the webservice.)

The ULOG shows the XML response message from the webservice as:

<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> <ns:getServiceResponse xmlns:ns='http://myco.com/MyServices'>
<get:GetServiceResponse xmlns:get='http://myco.com/schemas/GetService'>
<get:ElemA>123456789</getElemA>
<get:ElemB>987654321</get:ElemB>
<get:ElemC>246803579</get:ElemC>
<get:ElemD></getElemD>
<get:ElemE></get:ElemE>
</get:GetServiceResponse>
</ns:getServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Right after that in the ULOG a failure is reported when GWWS tries to execute the conversion from XML to a Tuxedo FML32 buffer:

.....
074046.abc!GWWS.11199.10.0: TRACE:ms:SCO[4095] FSM State Transition:--Default-->FindService
074046.abc!GWWS.11199.10.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->XML2Tux
074046.abc!GWWS.11199.10.0: TRACE:ms:SCO[4095] FSM State Transition: --OBFail-->Error

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms