From: McDonald, B. <Bru...@ba...> - 2004-05-12 14:57:38
|
You want the result of the document to be sent to the file writer? If so then the resultStage should be writer. -----Original Message----- From: bab...@li... [mailto:bab...@li...]On Behalf Of easter Sent: Wednesday, May 12, 2004 10:54 AM To: bab...@li... Subject: suspect: [Babeldoc-user] Where to get the SoapWriter result? Hi all, I'm playing with the SoapWriter pipeline and cannot figure out how to retrieve the result of the invocation. Here is an extract of my pipeline : ... xip.nextStage=writer xip.stageType=SoapWriter xip.soapAction=urn:xmethods-delayed-quotes#getQuote xip.soapUrl=http://66.28.98.121:9090/soap xip.resultStage=http://66.28.98.121:9090/soap xip.responseDoc=true xip.username= xip.password= writer.nextStage=null writer.stageType=FileWriter writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} ... But my writer stage always prints the original document I used as input to the SoapWriter call. What do I need to do to get the SoapResponse message from the web service? Thanks for any help. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Babeldoc-user mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: easter <ea...@fr...> - 2004-05-12 15:31:56
|
Ahh, my mistake - I was reading the description for the service : RESULT_STAGE : soap.103=URL for the SOAP service. This is also incorrect in the user guide. Damm copy-paste errors eh? So anyway, following your advice, I replaced it with my writer stage, and the writer is never called. In fact, I can put any text I want in the resultStage property, and no error is generated either. I've tried responseDoc=false as well, doesn't seem to affect anything. My pipeline is now : xip.nextStage=null xip.stageType=SoapWriter xip.soapAction=urn:xmethods-delayed-quotes#getQuote xip.soapUrl=http://66.28.98.121:9090/soap xip.resultStage=writer xip.responseDoc=true xip.username= xip.password= writer.nextStage=null writer.stageType=FileWriter writer.outputFile=${system.getProperty("user.dir")}/out/soap.xml In case it helps, here's what my input document looks like, I feed it using a directory scanner : <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:n="urn:xmethods-delayed-quotes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <n:getQuote> <symbol xsi:type="xs:string">SUNW</symbol> </n:getQuote> </soap:Body> </soap:Envelope> Thanks if you can help me out. Cheers. McDonald, Bruce wrote: >You want the result of the document to be sent to the file writer? If so then the resultStage should be writer. > > > >-----Original Message----- >From: bab...@li... >[mailto:bab...@li...]On Behalf Of easter >Sent: Wednesday, May 12, 2004 10:54 AM >To: bab...@li... >Subject: suspect: [Babeldoc-user] Where to get the SoapWriter result? > > >Hi all, > >I'm playing with the SoapWriter pipeline and cannot figure out how to >retrieve the result of the invocation. > >Here is an extract of my pipeline : > >... >xip.nextStage=writer >xip.stageType=SoapWriter >xip.soapAction=urn:xmethods-delayed-quotes#getQuote >xip.soapUrl=http://66.28.98.121:9090/soap >xip.resultStage=http://66.28.98.121:9090/soap >xip.responseDoc=true >xip.username= >xip.password= >writer.nextStage=null >writer.stageType=FileWriter >writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} >... > >But my writer stage always prints the original document I used as input >to the SoapWriter call. >What do I need to do to get the SoapResponse message from the web service? > >Thanks for any help. > > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Babeldoc-user mailing list >Bab...@li... >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Babeldoc-user mailing list >Bab...@li... >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > > > |