Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DI Server Error Creating Sales Quotation

¡Hi everybody!

I'm trying the DI Server samples in order to create Sales Quotations but web method AddQuotation doesn't work. It returns the following error code: "-2053 Could not generate XML Schema". Looking into error list code, I see this error code stands for Invalid Object. I also tried the Busines Partners sample and it works just fine. I don't see any difference between generated xml on both examples, except of course the fact both are different business objects. I mean, the SOAP message structure looks correct. Does anyone know something about it?

Right now I'm testing under SAP BO 2005 SP01 pl 4. Development environment C# 2005.

Thank you very much!!

Former Member
replied

Hi,

Maybe your problem is due to a fild missing or that doesn't exist anymore on the SOAP xml request you send for the Sales Quotation.

Have you tried to use the B1WS (SAP Business One Web Services Wrapper) tool?

This tool gives you access to the DI Server services as Web Services, so you don't have to take care of manually building the Xml SOAP message, everything is done automatically by the Web Services.

You can find it on the [SDK Tools page |https://www.sdn.sap.com/irj/scn/businessone-tools] for [SAP Business One|SAP Business One - SAP Developer Network].

Hope it helps

Trinidad.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question