Hello, one of our clients ask us to process a soap 1.1 request like this
one:

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&qu ot; 

 xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 

 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&q uot;> 

<soap:Body> 

<Consulta xmlns="<< URL del comercio >>">

 <referencia>123456</referencia>

 <facturador>000001</facturador> 

<estatus>000</estatus>

 <referencia1></referencia1>

<fecha>0 0000000</fecha> 

<importe>00000000000000</importe> 

</Consulta> 

</soap:Body>

 </soap:Envelope> 

 

I can process the request without problems, but they want the response
in this way:


<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&qu ot; 

xmlns:xsd="http://www.w3.org/2001/XMLSchema"; ; 

 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&q uot;> 

<soap:Body> 

 <ConsultaResponse xmlns="<< URL del comercio >>"> 

 <referencia>123456</referencia> 

 <facturador>000001</facturador> 

 <estatus>001</estatus> 

 <referencia1>123456</referencia1> 

 <fecha>20081129</fecha> 

 <importe>10012</importe> 

 </ConsultaResponse> 

 </soap:Body> 

</soap:Envelope>

I do not have much experience in web services or axis2, but I dont get
how to send a complex response without a wrapper... 

So please, any suggestion you might have will be very helpful

-- 
Ing. Miguel Angel Iglesias
Gerente de Producción
CellnPay SA de CV
Oficina: 52 (55) 55498918 ext 136
Cel: +52 (55)5530384897

Reply via email to