mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 6:12 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Named Pipes
PostPosted: Sun Jun 27, 2004 8:15 pm 
Offline

Joined: Tue Jun 22, 2004 11:46 pm
Posts: 4
Location: Barcelona
Country: Spain (es)
Hello

I'm trying to deploy communications between a web page and Navision via Named Pipes in Navision 3.70, but Navision hangs when I try to send a XML document to the named pipe.

The code I use to send P_xmlDOM to the named pipe P_PipeName (say, P_PipeName = 'TestPipe') is:

IF ISCLEAR(L_CC2) THEN
CREATE(L_CC2);

IF ISCLEAR(L_NPBA) THEN
CREATE(L_NPBA);

L_NPBA.OpenNamedPipe(P_PipeName, 0, 0);
L_CC2.AddBusAdapter(L_NPBA, 0);
L_OutMessage := L_CC2.CreateoutMessage('Named Pipe://' + P_PipeName);
P_xmlDOM.save(L_OutMessage.GetStream());

(L_CC2 and L_NPBA are the obvious automation objects, declared locals).


It seems that the problem comes from the GetStream() method. I think Navision doesn't like the
syntax for the Named Pipe I'm using.

Any ideas?


Thank you,

Toni


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: