I added a generated schema form SAP. Added a map to populate the schema and added a call to the RFC in my orchestration. I get the following error
Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException: An error occurred while parsing the XML. The current/last parameter seen was . Error Message: Start element ‘BAPI_CATIMESHEETMGR_DELETE’ from namespace ‘http://Microsoft.LobServices.Sap/2007/03/Rfc/’ expected. Found element ‘ns0:STSEnvelope’ from namespace ‘http://www.microsoft.com/BizTalk/KwTpm/STSEnvelopeSchema’.. Ensure that your message xml validates against the operation schema. —> System.Xml.XmlException: Start element ‘BAPI_CATIMESHEETMGR_DELETE’ from namespace ‘http://Microsoft.LobServices.Sap/2007/03/Rfc/’ expected. Found element ‘ns0:STSEnvelope’ from namespace ‘http://www.microsoft.com/BizTalk/KwTpm/STSEnvelopeSchema’.
at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
at System.Xml.XmlDictionaryReader.MoveToStartElement(String localName, String namespaceUri)
at System.Xml.XmlBaseReader.ReadStartElement(String localName, String namespaceUri)
I am stumped by this error. any help will be appreciated.