Peter
Peter

Reputation: 1021

Mocking SAP IDoc Server

I am using SAP JcoIDocServer.

 JCoIDocServer server = JCoIDoc.getServer("SAPSERVER_" + connector.name)

I want to know if it possible to mock request for testing to this server. Is there a framework or do I have to build my own?

Upvotes: 0

Views: 482

Answers (2)

Rafik Gyurjyan
Rafik Gyurjyan

Reputation: 11

If you need to test an iDoc and you don't have an SAP server you can initially use another protocol, for example, SOAP, which will generate answers for you. You can create a custom WSDL starting from the XSD (obviously assuming you have it) and test it using SOAPUI

Upvotes: 1

mkysoft
mkysoft

Reputation: 5758

May be you can create client project and communicate it with your server. Correct option is using SAP NW or SAP PI/XI for real test. If you haven't got any SAP server, you can download SAP NW ABAP trial server.

Upvotes: 0

Related Questions