From: easter <ea...@fr...> - 2004-05-12 16:01:13
|
Dave thanks for the pointer, but then I'll be stuck on how to get this SoapWriterResponse variable input to my writer code etc etc etc. I think I'm just going to write a little Axis module instead, it's going to be quicker for me than trying to wade through undocumented code with no examples. At least I can be confident in my Axis code, it's been running elsewhere for quite some time, and I think Axis is probably a better level for attacking web services than Soap. If anyone is interested I will check it into CVS. dg...@co... wrote: >I don't have my system in front of me, but I believe that setting the responseDoc to true will result in the soap response being placed into the document variable SoapWriterResponse. You will need to retrieve the response from there. > >Hope this helps, > >David Glick > > > >>From: easter <ea...@fr...> >>Date: 2004/05/12 Wed AM 11:32:24 EDT >>To: "McDonald, Bruce" <Bru...@ba...> >>CC: bab...@li... >>Subject: Re: suspect: [Babeldoc-user] Where to get the SoapWriter result? >> >>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 >>> >>> >>> >>> >>> >>> >> >>------------------------------------------------------- >>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 > > > > |