Skip to Content
author's profile photo Former Member
Former Member

Web Service XML Changes Return Table Field Names

I am writing a Web service to return a employee information from SAP using .Net Connector. My Webservice XML changes return table column names with few escape characters. Does anyone know why this happens? and How to prevent it?

Every column name is changed: e.g. PERS_NO to PERS_--5fNO

NCo -> 2.0

RFC- > Custom Function module

RFC Return Type -> ZFPSYNC

VS.Net -> VS Studio 2003, ( C# Web service)

Here is part of XML document:

<?xml version="1.0" encoding="utf-8" ?>

- http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns=" http://tempuri.org/">

- <ZFPSYNC>

<PERS_ 5fNO>00100001</PERS_ 5fNO>

<PDS_ 5fEMPID>00054740</PDS_ 5fEMPID>

<SSN>001380261</SSN>

<NAME_--5fPFX />

<FIRST_ 5fNAME>Tuesday</FIRST_ 5fNAME>

<LAST_ 5fNAME>October</LAST_ 5fNAME>

<NAME_--5fSFX />

<PRIOR_ 5fNAME>Tuesday October</PRIOR_ 5fNAME>

<NICKNAME />

<CO_ 5fCODE>TAX</CO_ 5fCODE>

<CO_ 5fCODE_ 5fT>Tax LLP</CO_ 5fCODE_ 5fT>

<CO_ 5fCTRY>US</CO_ 5fCTRY>

<ORG_ 5fUNIT>50191687</ORG_ 5fUNIT>

<ORG_ 5fUNIT_ 5fT>Northeast Region Lead Tax</ORG_ 5fUNIT_ 5fT>

<EE_ 5fLEVEL>C1</EE_ 5fLEVEL>

<EE_ 5fLEVEL_ 5fT>Firm Director</EE_ 5fLEVEL_ 5fT>

<SRV_ 5fAREA>TAX</SRV_ 5fAREA>

<SRV_ 5fAREA_ 5fT>Tax</SRV_ 5fAREA_ 5fT>

<JOB_ 5fFAM>CS-TAX</JOB_ 5fFAM>

<JOB_ 5fFAM_ 5fT>CS - Tax</JOB_ 5fFAM_ 5fT>

<PER_ 5fAREA>BOSX</PER_ 5fAREA>

<PER_ 5fAREA_ 5fT>Boston-Berkeley St-TAX</PER_ 5fAREA_ 5fT>

<PER_ 5fADDR>200 Berkeley Street</PER_ 5fADDR>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 31, 2005 at 09:20 AM

    Please install patch from OSS note 506603. This should correct the problem.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.