Junk Characters While Processing Output FML and GWWS_CAT:1036: DataMapping Error Message Reported

(Doc ID 1577476.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Service Architecture Leveraging Tuxedo (SALT) - Version 10.3.0 and later
Information in this document applies to any platform.

Symptoms

 Tuxedo service exposed as a Web Service.

 

MIF file :

service=StockQuote
export=y
servicetype=service
tuxservice=STOCKQUOTE
svcdescription=This service is used to demo security and xml buffer interop.
inbuf=FML32
outbuf=FML32
param=stock_quote
type=xml
access=in
size=4096
param=stock_quote_out
type=xml
access=out

 

 

Description of FML32 buffer :

*base 5000
stock_quote                           5099       string      -        input stock quote service
stock_quote_out                       5100       string      -      output  stock quote service

 

Extracted from the WSDF file :

        <Servicegroup id="SecsAppSrvGrp">
            <Service name="StockQuote">
                <Property name="mapsoapheader" value="true"/>
            </Service>
        </Servicegroup>

 To be noticed : "mapsoapheader" property settled.

 

 

SOAP Message sent by the client requesting the web service exposed by TUXEDO SALT  :

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <SOAP-ENV:Header>
  <m:Header xmlns:m="urn:pack.samples_typedef.salt11">
   <m:MessageID>String</m:MessageID>
   <m:ReplyTo>String</m:ReplyTo>
   <m:To>String</m:To>
  </m:Header>
 </SOAP-ENV:Header><SOAP-ENV:Body>
  <m:StockQuote xmlns:m="urn:pack.samples_typedef.salt11">
   <m:inbuf>
    <stock_quote>
     <symbol>MSFT</symbol>
     <when>
      <date>01/27/2001</date>
      <time>3:40PM</time>
     </when>
     <change>+5.25</change>
     <volume>64282200</volume>
    </stock_quote>
   </m:inbuf>
  </m:StockQuote>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

 

SOAP Message returne by TUXEDO SALT :

 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tuxedo="urn:pack.samples_typedef.salt11">
    <SOAP-ENV:Header>
        <m:Header xmlns:m="urn:pack.samples_typedef.salt11">
            <m:MessageID xmlns:m="urn:pack.samples_typedef.salt11">String</m:MessageID>
            <m:ReplyTo xmlns:m="urn:pack.samples_typedef.salt11">String</m:ReplyTo>
            <m:To xmlns:m="urn:pack.samples_typedef.salt11">String</m:To>
        </m:Header>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Server</faultcode>
            <faultstring>GWWS_CAT:1036: DataMapping Error: Tag 'stock_quote_out' occurrence does not meet service requirement (min: 1).</faultstring>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

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