c:response

Hi,

Just wondering about handling the c:response I was trying to save the
output following the p:http-request however nothing gets saved, nor a file
created. The save works normally just not following a p:http-request.

<p:http-request encoding="UTF-8"/>

  <mh:save-output step-name="SaveReponse">
                    <p:with-option name="save" select="$debug"/>
                    <p:with-option name="href"
select="concat($outputDirPath,'debug/','legal-',replace($fileName,'.zip','.xml'))"/>
  </mh:save-output>


Perhaps additional attributes required? I was trying to some others but to
no avail

 <p:wrap-sequence wrapper="c:body"/>
        <p:add-attribute attribute-name="content-type" match="c:body">
            <p:with-option name="attribute-value"
select="'application/xml'"/>
        </p:add-attribute>
        <p:wrap-sequence wrapper="c:request"/>
        <p:add-attribute attribute-name="method" match="c:request">
            <p:with-option name="attribute-value" select="'POST'"/>
        </p:add-attribute>
        <p:add-attribute attribute-name="href" match="c:request">
            <p:with-option name="attribute-value" select="$http-update"/>
        </p:add-attribute>


Thought?
Thanks

-- 
-

Alex G. Muir
Software Engineering Consultant
Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125
Love African Kora Music? Take a moment to listen to Gambia's - Amadu
Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com Your support keeps
Africa's griot tradition alive... Cheers!

Received on Saturday, 1 December 2012 00:51:21 UTC