My Oracle Support Banner

Junk Characters While Processing Output FML and GWWS_CAT:1036: DataMapping Error Message Reported (Doc ID 1577476.1)

Last updated on MAY 19, 2020

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.

NOTE:  The attribute values used in this article represent fictitious sample names that are made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.

 

 

MIF file :

service=<ServiceName>
export=y
servicetype=service
tuxservice=<ServiceName>
svcdescription=This service is used to demo security and xml buffer interop.
inbuf=FML32
outbuf=FML32
param=service_name
type=xml
access=in
size=4096
param=service_name_out
type=xml
access=out

 

Description of FML32 buffer :

*base 5000
service_name                           5099       string      -        input service name service
service_name_out                       5100       string      -      output  service name service

 

Extracted from the WSDF file :

        <Servicegroup id="SecsAppSrvGrp">
            <Service name="<ServiceName>">
                <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:<ServiceName> xmlns:m="urn:pack.samples_typedef.salt11">
   <m:inbuf>
    <service_name>
     <symbol>MSFT</symbol>
     <when>
      <date>01/27/2001</date>
      <time>3:40PM</time>
     </when>
     <change>+5.25</change>
     <volume>64282200</volume>
    </service_name>
   </m:inbuf>
  </m:<ServiceName>>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

 

SOAP Message returned 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 'service_name_out' occurrence does not meet service requirement (min: 1).</faultstring>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.