on 06-05-2007 8:04 PM
Hi Experts,
I have a message type, MT_UPDATE_STATUS, which is outputting based on the following XSD:
Is there a way to find out what the encoded parts translate back to ???
(ex. e32d9236a31b11daa9bed82c0a690329 )
Thanks
SL
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://tssi.ycdsb.ca" xmlns="http://tssi.ycdsb.ca" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="MT_UPDATE_STATUS" type="DT_UPDATE_STATUS" />
<xsd:complexType name="DT_UPDATE_STATUS">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dc2a4102138f11dc87c400145e7e174e</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="STATEMENTNAME">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">e32d9234a31b11da8ecad82c0a690329</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="dbTableName">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">e32d9235a31b11daa436d82c0a690329</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TABLE" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">e32d9236a31b11daa9bed82c0a690329</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2110ebc0cb2011da9af7dcd60a690329</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="status1" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2110ebc1cb2011da9c03dcd60a690329</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="status2" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">f67c5b10f4af11dab865e2540a690329</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="key">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2110ebc2cb2011daad17dcd60a690329</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="jobId" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2110ebc3cb2011daae51dcd60a690329</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="status1" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">927a9270d3c711dac48bf9160a690329</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="messagenm" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">6c7b22b0fc8511daaeddf7c80a690329</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="action" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">e32d9240a31b11dac242d82c0a690329</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
This is the xml generated from the xsd you pasted, i also populated it with sample data...
<?xml version="1.0" encoding="UTF-8"?>
<n1:MT_UPDATE_STATUS xmlns:n1="http://tssi.ycdsb.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tssi.ycdsb.ca
C:\DOCUME~1\RR\Desktop\sample.xsd">
<STATEMENTNAME>
<dbTableName action="String">
<TABLE>String</TABLE>
<access>
<status1>String</status1>
<status2>String</status2>
</access>
<key>
<jobId>String</jobId>
<status1>String</status1>
<messagenm>String</messagenm>
</key>
</dbTableName>
</STATEMENTNAME>
</n1:MT_UPDATE_STATUS>
Hope that helps...
Dont forget the points if it does..........:-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi,
When I test it, I get the following. So, the question is, where is this additional configuration coming from ???
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_UPDATE_STATUS xmlns:ns0="http://tssi.ycdsb.ca">
<STATEMENTNAME>
<dbTableName action="UPDATE">
<TABLE>sfx.job_copy</TABLE>
<access>
<status1>DONE</status1>
<status2>DONE</status2>
</access>
<key>
<jobId />
<status1 />
<messagenm />
</key>
</dbTableName>
</STATEMENTNAME>
</ns0:MT_UPDATE_STATUS>
Hey
for UDF u need to look in the message mapping editor,if u have any UDF it will show in the pull up menu in the bottom(same menu which has options like arithmetic,string etc.)
for adapter specific attributes,look in ur sender and receiver communication channel.
it has a small check box saying "Use adapter specific message attributes"
can u explain what interfaces ur trying to integrate.do u have IDOC on sender side?
my gut feeling says,ur getting this value either from header or from a UDF:)
thanx
ahmad
Hi Ahmad,
The only options I have in the message mapping editor are: conversions, boolean, node functions, constants, date, text, statistic, arithmetic. I do not see UDF at all
Also, in the communication channels, I do not have a check box for "Use adapter specific message attributes". Maybe it's because I am on SP9 ??
Still very confused.
Yes there might be....do you know what algorithm is being used to encrypt the data ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shane,
I think its the same issue we are dealing with, the STATUS & TABLE value, am I right?
Ok, the value e32d9236a31b11daa9bed82c0a690329, you have given is nothing but the object ID for each node you create. There's nothing to do with object ID.
If you have any queries, reply back.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ahmad and Raj,
Does this mean that e32d9236a31b11daa9bed82c0a690329 converts to 'sfx.job_copy' ??
Because the XSD I posted first produces the following XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_UPDATE_STATUS xmlns:ns0="http://tssi.tssi.ca">
<STATEMENTNAME>
<dbTableName action="UPDATE">
<TABLE>sfx.job_copy</TABLE>
<access>
<status1>DONE</status1>
<status2>DONE</status2>
</access>
<key>
<jobId />
<status1 />
<messagenm />
</key>
</dbTableName>
</STATEMENTNAME>
</ns0:MT_UPDATE_STATUS>
There is no other place I can think of that the 'sfx.job_copy' comes from.
Also, if I download and edit the XSD in Visual Studio, it encodes it automatically. So, if I download and change the value between the <TABLE> tags, and then re-upload the XSD into my data type, should the value in the <TABLE> tags change ??
Shane,
I won't think so these objects will return any values. The final hope to your solution is , please send me the source and target XSD's in your message mapping and also in your mapping editor do the following steps and send me across the three files.
In Mapping editor press CTRL+SHIFT -Right Click -Export tools -Export save as .mte file and send me across to sapient.xi@gmail.com
Note: If its possible, send me across. Or we will try to figure it out in the forum.
Best regards,
raj.
hey
>>Is there a way to find out what the encoded parts translate back to ???
i m not sure what you mean by this:)
u can look under the messges tabs to see all the messages u have in the XSD.
do u want to convert this xsd to XML?
thanx
ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.