Re: [Dev] Callout problem in a XA Transation

2018-04-15 Thread Himasha Guruge
Hi Evandro,

What is the EI version you are using? Would be better if you could provide
the complete error log (EI/repository/logs/wso2carbon.log)

Thanks,
Himasha

On Thu, Apr 12, 2018 at 11:13 PM, Evandro Pires da Silva <
evan...@evandropires.com.br> wrote:

> Hi,
>
> I'm creating a new proxy service in a XA Transaction. My proxy service
> inserts a new record in DB and after sends a JMS message to a queue.
>
> I developed based on that sample: https://github.com/wso2/platfo
> rm-scenarios/tree/master/ei-distributed-transactions
>
> When I try to execute my proxy service I'm getting that message:
> [2018-04-12 14:21:35,584] [EI-Core]  INFO - LogMediator text = An
> unexpected error occured, message = Error while performing the callout
> operation
>
> That's my first complex sequence. Anybody can help me?
>
> Database:
>
> saldo_provisionado=# \d+ public.provisao_conta_corrente
> Tabela "public.provisao_conta_corrente"
>Coluna   | Tipo  | Modificadores | Armazenamento |
> Estatísticas | Descrição
> +---+---+---
> +--+---
>  codigo_cooperativa | numeric(9,0)  | não nulo  | main
> |  |
>  numero_conta   | numeric(9,0)  | não nulo  | main
> |  |
>  valor_provisionado | numeric(15,2) |   | main
> |  |
> Índices:
> "provisao_conta_corrente_pkey" PRIMARY KEY, btree (codigo_cooperativa,
> numero_conta)
>
> Thanks.
>
> --
> Evandro Pires da Silva
> Arquiteto de Sistemas
>
> +55 48 98488.6056
> Florianópolis - SC
> www.evandropires.com.br
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Himasha Guruge
Senior Software Engineer
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Callout problem in a XA Transation

2018-04-12 Thread Evandro Pires da Silva

Hi,

I'm creating a new proxy service in a XA Transaction. My proxy service 
inserts a new record in DB and after sends a JMS message to a queue.


I developed based on that sample: 
https://github.com/wso2/platform-scenarios/tree/master/ei-distributed-transactions


When I try to execute my proxy service I'm getting that message: 
[2018-04-12 14:21:35,584] [EI-Core]  INFO - LogMediator text = An 
unexpected error occured, message = Error while performing the callout 
operation


That's my first complex sequence. Anybody can help me?

Database:

saldo_provisionado=# \d+ public.provisao_conta_corrente
    Tabela "public.provisao_conta_corrente"
   Coluna   | Tipo  | Modificadores | Armazenamento | 
Estatísticas | Descrição

+---+---+---+--+---
 codigo_cooperativa | numeric(9,0)  | não nulo  | main  
|  |
 numero_conta   | numeric(9,0)  | não nulo  | main  
|  |
 valor_provisionado | numeric(15,2) |   | main  
|  |

Índices:
    "provisao_conta_corrente_pkey" PRIMARY KEY, btree 
(codigo_cooperativa, numero_conta)


Thanks.

--
Evandro Pires da Silva
Arquiteto de Sistemas

+55 48 98488.6056
Florianópolis - SC
www.evandropires.com.br


http://ws.apache.org/ns/synapse;>







jdbc/SaldoProvisionadoXADS




http://org.apache.synapse/xsd"/>
http://org.apache.synapse/xsd"/>
http://org.apache.synapse/xsd"/>
http://org.apache.synapse/xsd"/>







http://org.apache.synapse/xsd; xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/; xmlns:s12="http://www.w3.org/2003/05/soap-envelope; xpath="s11:Body/child::*[fn:position()=1] | s12:Body/child::*[fn:position()=1]"/>



http://ws.apache.org/ns/synapse;>









































true

true


false

false


false

work/mtom

4000


false


inmemory




services


axis2services


true


axis2modules


WSO2 EI 6.1.1
WSO2 EI 6.1.1



false






false


true


3


repository/deployment/server/synapse-configs

.

.

localhost

true


















































http://www.w3.org/ns/wsdl/in-only;
 class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
http://www.w3.org/ns/wsdl/robust-in-only;
 class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
http://www.w3.org/ns/wsdl/in-out;
 class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>

























	



















	















 
8280
true


org.wso2.carbon.mediation.transport.handlers.PassThroughNHttpGetProcessor



 
8243
true
TLSv1,TLSv1.1,TLSv1.2


org.wso2.carbon.mediation.transport.handlers.PassThroughNHttpGetProcessor