Set ComCom = Server.CreateObject("NSComCom2.CommunicationComponent") Set SBA = Server.CreateObject("SocketBusAdapter.SocketBusAdapter") SBA.ReceivingTimeout = 200000 Set InMsg = Server.CreateObject("MSMQBusAdapter.InMessage") Set OutMsg = Server.CreateObject("MSMQBusAdapter.OutMessage") ComCom.AddBusAdapter SBA,0 Set OutMsg = ComCom.CreateoutMessage("Sockets://" & ServKonf.getActNASHostAndPort) sendDOM.Save OutMsg.GetStream() Set InMsg = OutMsg.SendWaitForReply(0) RespDOM.async = False RespDOM.Load(InMsg.GetStream()) InMsg.CommitMessage
Comments
Only if i pass simple requests i get an answer, if i pass a big XML Request, than it loses connection to the InMsg Stream and i get this error:
(Ausnahme von HRESULT: 0x80030102 (STG_E_REVERTED))
That happens when the COMXMLDocument tries to read from the InMsg Stream
Here is the Code:
Whats the problem here? Why do small requests work and big ones don't? The old asp Script works just fine...