on 03-08-2005 8:47 AM
Hi all,
I have a problem with an RfcSystemException occured after calling method of proxy generated by .NET Connector v1.0.1.
Exception message: "Data error (invalid data type XMLRFC ERROR(19): Unexpexted XML Character\n) in a Remote Function Call".
Method prototype: void Method(string, SAPTableDerivedClass, out string, out BAPIRETURN, out SAPTableDerivedClass).
SAPTableDerivedClass type was also generated by .NET Connector.
Does anyone khow how to solve this problem ?
Thank you.
Have your tried updating to NCo 1.0.3 or 2.0 (with patch from note 506603). After each upgrade you should run the proxy generator (right-click .sapwsdl file, select "Run custom tool").
What could also help is to create an RFC trace file (set Environment variable RFC_TRACE=1 or set corresponding connection string parameter) and analyze what's really going over the wire.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reiner,
Thank you for your advice.
First-chance exception looks like :
HEAP[App1.exe]: Invalid Address specified to RtlFreeHeap( 00140000, 003B63C4 )
Unhandled exception at 0x77f75a58 in App1.exe: User breakpoint.
A first chance exception of type 'SAP.Connector.RfcSystemException' occurred in sap.connector.rfc.dll
I happens before sending to server because no records are found in Trace Log on server.
Other method invocation works fine. Can SAPTable input parameter cause such problem ?
Hi Reiner,
I'm just started to use the SAP.NET Connector 2.0 and have exactly the same problem
(invalid data type XMLRFC ERROR(19): Unexpexted XML Character)
Did you make any progress with your problem?
Maybe the .NET Connector Cannot handle Deap Structures?
Is there any SAP Note opened for this issue?
Thanks a lot, Johann
Sorry, you are right. I just searched our customer support system for the corresponding case. The result was that the customer used a 4.6D system and a kernel patch (#1768) fixed the problem.
Can you please check with your admin that the kernel fix is current. If yes, please create an RFC trace and open a SAP Service ticket (BC-OP-NET-NCO) with the trace file attached.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.