tag:blogger.com,1999:blog-5285970135510371565.post8171932876717375369..comments2024-03-23T07:53:50.523-04:00Comments on The Dynamics GP Blogster: Retrieving an eConnect XML Message from MSMQMariano Gomezhttp://www.blogger.com/profile/13267738662239812289noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5285970135510371565.post-11970473913771909462018-08-14T12:15:55.762-04:002018-08-14T12:15:55.762-04:00Hi ,
eConnect outgoing services are not working p...Hi ,<br /><br />eConnect outgoing services are not working properly.I have configured the Queue Name and path in Requester tool.But when we update the Invoice (shipment) it willnt come to the Queue.How can i resolve the issue ?.Please suggest me .<br /><br />thanks,<br />Pavan G.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5285970135510371565.post-74434232531495469742010-04-19T09:45:50.469-04:002010-04-19T09:45:50.469-04:00Scott,
Thanks for your question. Please refer to ...Scott,<br /><br />Thanks for your question. Please refer to the following Incoming Service example at:<br /><br />http://msdn.microsoft.com/en-us/library/aa973880(v=MSDN.10).aspx<br /><br />Please let me know if I can be of further assistance.Mariano Gomezhttps://www.blogger.com/profile/13267738662239812289noreply@blogger.comtag:blogger.com,1999:blog-5285970135510371565.post-13838165341426417422010-04-17T11:24:37.366-04:002010-04-17T11:24:37.366-04:00I have no problems getting the xml document from t...I have no problems getting the xml document from the Outgoing Service's MSMQ, but I can't seem to get it deserialized back into an econnect object. How does one accomplish this?<br /><br />And for the person who was asking about getting several items you would want to use the MessageEnumerator like so:<br /><br /> Dim myQueue As New MessageQueue("FormatName:Direct=TCP:192.168.210.138\private$\econnect_outgoing")<br /> myQueue.Formatter = New ActiveXMessageFormatter<br /> Dim myMessage As New Message<br /> Dim eConnect As New eConnectType<br /> Dim serializer As New XmlSerializer(GetType(eConnectType))<br /> Dim invmast As New IVItemMasterType<br /> Try<br /> Dim menum As MessageEnumerator = myQueue.GetMessageEnumerator2<br /> While menum.MoveNext(New TimeSpan(0, 0, 1))<br /> myMessage = menum.CurrentScotthttps://www.blogger.com/profile/18088445758220641064noreply@blogger.comtag:blogger.com,1999:blog-5285970135510371565.post-77203015866893747042008-12-29T17:04:00.000-05:002008-12-29T17:04:00.000-05:00This example works fine, but how about retrieving ...This example works fine, but how about retrieving multiple messages or looping through the message queue. I have the exact same code, but the receive keeps waiting for a message when the Q is empty. <BR/><BR/>CarlosAnonymoushttps://www.blogger.com/profile/10966935272970889345noreply@blogger.com