Skip to Content
0
Former Member
Dec 11, 2006 at 07:57 PM

Problem with Updating ServiceCall using DIServer

38 Views

Hi,

I am using DIServer in one of my webpages.I successfully added and retrieved servicecall object to B1 from webpage using DIServer.The problem now I am facing is that when I try to update a servicecall , I get a weird xml error message.I successfully updated BusinessPartner Object previously.But when it comes to servicecall it fails.Can any body help? I add my code below.

string UpCmd=" B1528F25-8ED9-9B11-A0CE-5A95AEC5E7D7 http://schemas.xmlsoap.org/soap/envelope/"> B1528F25-8ED9-9B11-A0CE-5A95AEC5E7D7 xmlns:dis=\" oServiceCalls 37 Test...Siji C30000 Microchips Test..siji Testing N http://www.sap.com/SBO/DIS"> oServiceCalls 37 Test...Siji C30000 Microchips Test..siji Testing N >";

string res = null;

res = n.Interact( AddCmd );

The errormsg that get in res is

env:Receiver -1114 http://www.w3.org/2003/05/soap-envelope"> env:Receiver -1114 xml:lang=\"en\">Schema Validation Failed System Id = 30245776, Line Number = 1, Column Number = 79, Description = The namespace of element 'schema' must be from the schema namespace. System Id = 30245776, Line Number = 1, Column Number = 99, Description = The namespace of element 'element' must be from the schema namespace. System Id = 28758288, Line Number = 1, Column Number = 112, Description = The namespace of element 'complexType' must be from the schema namespace. System Id = 30245776, Line Number = 1, Column Number = 117, Description = The namespace of element 'all' must be from the schema namespace. System Id = 123207016, Line Number = 1, Column Number =

164, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 177, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 187, Description = The namespace of element 'sequence' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 239, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 252, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 257, Description = The namespace of element 'all' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 321, Description = The namespace of element 'element' must be from th

e schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 386, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 472, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 485, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 490, Description = The namespace of element 'all' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 563, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 650, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1,

Column Number = 663, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 673, Description = The namespace of element 'sequence' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 729, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 742, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 747, Description = The namespace of element 'all' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 814, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 886, Description = The namespace of element 'element

' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 958, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1027, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1108, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1185, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1253, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1327, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123

207016, Line Number = 1, Column Number = 1399, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1463, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1531, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1606, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1670, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1738, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1804, Description = The

namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1873, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 1943, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2014, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2086, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2156, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2231, Description = The namespace of element 'element' must be from the schema namespace.

</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2296, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2366, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2435, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2507, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2578, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2646, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Num

ber = 2777, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 2790, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2800, Description = The namespace of element 'sequence' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2856, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 2869, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 2874, Description = The namespace of element 'all' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 2944, Description = The namespace of element 'element' mu

st be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3082, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 3095, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3105, Description = The namespace of element 'sequence' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3161, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 3174, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 3179, Description = The namespace of element 'all' must be from the schema namespace.</Error><Error>System Id = 1232

07016, Line Number = 1, Column Number = 3251, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3323, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3389, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3471, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3601, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 3614, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3624, Description = Th

e namespace of element 'sequence' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3680, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 3693, Description = The namespace of element 'complexType' must be from the schema namespace.</Error><Error>System Id = 30245776, Line Number = 1, Column Number = 3698, Description = The namespace of element 'all' must be from the schema namespace.</Error><Error>System Id = 123207016, Line Number = 1, Column Number = 3766, Description = The namespace of element 'element' must be from the schema namespace.</Error><Error>System Id = 27639352, Line Number = 1, Column Number = 109, Description = Unknown element 'callID'</Error><Error>System Id = 27639352, Line Number = 1, Column Number = 134, Description = Element 'callID' is not valid for content model: 'All(ServiceCallID,)'</Error><Error>System Id = 26845616, Line Numbe

r = 1, Column Number = 193, Description = Unknown element 'customer'</Error><Error>System Id = 26845616, Line Number = 1, Column Number = 387, Description = Element 'customer' is not valid for content model: 'All(Subject,CustomerCode,CustomerName,ContactCode,ManufacturerSerialNum,InternalSerialNum,ContractID,ResolutionDate,ResolutionTime,Origin,ItemCode,ItemDescription,Status,Priority,CallType,ProblemType,AssigneeCode,Description,TechnicianCode,Resolution,BelongsToAQueue,Queue,U_Approach,U_Comment,U_Resolution,U_InComment,U_Cmpled)'</Error></ErrorList><Object>191</Object><ObjectIndex>1</ObjectIndex><Command>UpdateObject</Command><SessionID>B1528F25-8ED9-9B11-A0CE-5A95AEC5E7D7</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>