In my dataservice the begin_boxcar has only only an input message, without
and output message.

porttype:
<wsdl:operation name="begin_boxcar"><wsdl:documentation>Control operation
for beginning a boxcarring session</wsdl:documentation><wsdl:input
message="ns0:begin_boxcarRequest"
wsaw:Action="urn:begin_boxcar"/></wsdl:operation>

binding:
<wsdl:operation name="begin_boxcar"><soap:operation
soapAction="urn:begin_boxcar" style="document"/><wsdl:input><soap:body
use="literal"/></wsdl:input></wsdl:operation>

Without the <property name="OUT_ONLY" value="true" scope="default"
type="STRING" description="solo salida"/> the proxy raise several error in
console.

Jorge.

2015-03-31 14:37 GMT-04:00 Harsha Kumara <[email protected]>:

> Hi Jorge,
>
> I'm not sure this is because you have call the begin_boxcar operation as
> out only operation. Just remove it and try. Also you can find complete
> working scenario in [1].
>
> [1] -
> http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html
>
> Thanks,
> Harsha
>
> On Tue, Mar 31, 2015 at 11:44 PM, Jorge <[email protected]> wrote:
>
>> Hi all.
>>
>> I call a begin boxcarring operation in a dataservice deployed in WSO2 AS
>> 5.2.1 using this config in a proxy service deployed in ESB 4.8.1
>>
>>          <header name="Action" value="urn:begin_boxcar"/>
>>          <payloadFactory media-type="xml">
>>             <format>
>>                <soapenv:Envelope
>> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>> <http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope&sa=D&sntz=1&usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg>
>> ">
>>                   <soapenv:Body>
>>                      <ns1:begin_boxcar xmlns:ns1="
>> http://jorgesoftdevelop.org
>> <http://www.google.com/url?q=http%3A%2F%2Fjorgesoftdevelop.org&sa=D&sntz=1&usg=AFQjCNFnuP-gyDwMY1qSC23cC9vgQzFpcg>
>> "/>
>>                   </soapenv:Body>
>>                </soapenv:Envelope>
>>             </format>
>>             <args/>
>>          </payloadFactory>
>>          <property name="OUT_ONLY" value="true" scope="default"
>> type="STRING"/>
>>          <call>
>>             <endpoint>
>>                <address
>> uri="http://localhost:5555/services/ActualizarUsuariosBloqueados/
>> <http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A5555%2Fservices%2FActualizarUsuariosBloqueados%2F&sa=D&sntz=1&usg=AFQjCNFsi_lEOtKcR8fr6iiQMnOPFgiRcw>
>> "/>
>>             </endpoint>
>>          </call>
>>
>> And I can see the response using tcpmon:
>>
>> HTTP/1.1 202 Accepted
>> Set-Cookie: JSESSIONID=2D2B1404523D0233E2B445E1BC315F7A; Path=/; HttpOnly
>> Content-Type: text/xml;charset=UTF-8
>> Transfer-Encoding: chunked
>> Date: Sat, 28 Mar 2015 07:03:23 GMT
>> Server: WSO2 Carbon Server
>>
>>
>> When I try to get the Set-Cookie value using this property:
>>  <property name="setCookieHeader" expression="$trp:Set-Cookie"/>
>>
>> I receive a null value.
>>
>> Any idea?
>>
>> Regards,
>>               Jorge.
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to