I'd create a webservice with TIBCO and an Axis Client.
I'd enable the log4j, noticed that my soap event envelope as follow:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelo pe xmlns:soapenv=" http://schemas.xmlsoap .org/soap/envelope/" xmlns:xsd="http ://www.w3.org/2001/XMLSchema" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body >
<ServiceEnvelop e xmlns="">
<ns1:ServiceHea der xmlns:ns1="http ://schemas.com/soa/emf/common/envelope/">
<ns2:CommonDeta il xmlns:ns2="http ://schemas.com/soa/emf/common/header">
<ns2:ServiceNam e>ENS-Notf-S
</ns2:ServiceName >
<ns2:OperationC ode>000
</ns2:OperationCo de>
<ns2:EMFVersion >Version 1.0
</ns2:EMFVersion>
<ns2:ServiceVer sion>000
</ns2:ServiceVers ion>
<ns2:OperationV ersion>000
</ns2:OperationVe rsion>
<ns2:RqUuid>111 14
</ns2:RqUuid>
<ns2:RqDateTime >2006-07-26T04:28:20.165 Z
</ns2:RqDateTime>
<ns2:RqExpiryTi me>10000
</ns2:RqExpiryTim e>
<ns2:RqNature >
<ns2:Transactio nCode>000
</ns2:Transaction Code>
<ns2:Transactio nRefNo>1111111
</ns2:Transaction RefNo>
<ns2:Transactio nMode>SEND
</ns2:Transaction Mode>
<ns2:RqStatus>I NQUIRY
</ns2:RqStatus>
</ns2:RqNature>
</ns2:CommonDetai l>
</ns1:ServiceHead er>
<ns3:ServiceBod y xmlns:ns3="http ://schemas.com/soa/webservice/service/Req/ENS-Notf-S">
<ns4:RqDetail xmlns:ns4="http ://schemas.com/soa/emf/service/ENS-Notf-S">
<ns4:OG>
<ns4:message_pu sh id="Velocity" priority="norma l">
<ns4:title>Te st
</ns4:title>
<ns4:sender>Vel ocity
</ns4:sender>
<ns4:recipien t>
<ns4:user_id>
</ns4:user_id>
<ns4:name>TKA
</ns4:name>
<ns4:contact type="email">ta yka@com
</ns4:contact>
</ns4:recipient>
<ns4:message>
<ns4:subject>te st subject
</ns4:subject>
<ns4:body>Thi s is a test message
</ns4:body>
</ns4:message>
</ns4:message_pus h>
</ns4:OG>
</ns4:RqDetail>
</ns3:ServiceBody >
</ServiceEnvelope >
</soapenv:Body>
</soapenv:Envelop e>
On the other hand, exception occurs and data has become:
{}Data:<inputMe ssage xmlns=""><Servi ceEnvelope xmlns="" xmlns:soapenv=" h
ttp://schemas.xmlsoap .org/soap/envelope/" xmlns:xsd="http ://www.w3.org/2001/XMLS
chema" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"><Serv iceEnvelope xm
lns=""><ns1:Ser viceHeader xmlns:ns1="http ://schemas.com/soa/emf/common/enve
lope/"><ns2:CommonDe tail xmlns:ns2="http ://schemas.com/soa/emf/common/heade
r"><ns2:Service Name>ENS-Notf-S</ns2:ServiceName ><ns2:Operation Code>000</ns2:Oper
ationCode><ns2: EMFVersion>Vers ion 1.0</ns2:EMFVersion> <ns2:ServiceVer sion>000</n
s2:ServiceVersi on><ns2:Operati onVersion>000</ns2:OperationVe rsion><ns2:RqUu id>11
114</ns2:RqUuid><ns2 :RqDateTime>200 6-07-26T04:28:20.165 Z</ns2:RqDateTime> <ns2:Rq
ExpiryTime>1000 0</ns2:RqExpiryTim e><ns2:RqNature ><ns2:Transacti onCode>000</ns2:T
ransactionCode> <ns2:Transactio nRefNo>1111111</ns2:Transaction RefNo><ns2:Tran sact
ionMode>SEND</ns2:Transaction Mode><ns2:RqSta tus>INQUIRY</ns2:RqStatus></ns2:RqNa
ture></ns2:CommonDetai l></ns1:ServiceHead er><ns3:Service Body xmlns:ns3="http ://s
chemas.com/soa/webservice/service/Req/ENS-Notf-S"><ns4:RqDetai l xmlns:ns4="
http://schemas.com/soa/emf/service/ENS-Notf-S"><ns4:OG><ns4 :message_push id
="Velocity" priority="norma l"><ns4:title>T est</ns4:title><ns4: sender>Velocity </n
s4:sender><ns4: recipient><ns4: user_id/><ns4:name>TK A</ns4:name><ns4:c ontact type
="email">tayka@ com</ns4:contact></ns4:recipient>< ns4:message><ns 4:subject>t
est subject</ns4:subject><ns 4:body>This is a test message</ns4:body></ns4:messag
e></ns4:message_pus h></ns4:OG></ns4:RqDetail></ns3:ServiceBody ></ServiceEnvelope
></ServiceEnvelope ></inputMessage>
"ServiceEnvelop e" had been send twice.
Need to know how can i resolve this problem.
I'd enable the log4j, noticed that my soap event envelope as follow:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelo pe xmlns:soapenv=" http://schemas.xmlsoap .org/soap/envelope/" xmlns:xsd="http ://www.w3.org/2001/XMLSchema" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body >
<ServiceEnvelop e xmlns="">
<ns1:ServiceHea der xmlns:ns1="http ://schemas.com/soa/emf/common/envelope/">
<ns2:CommonDeta il xmlns:ns2="http ://schemas.com/soa/emf/common/header">
<ns2:ServiceNam e>ENS-Notf-S
</ns2:ServiceName >
<ns2:OperationC ode>000
</ns2:OperationCo de>
<ns2:EMFVersion >Version 1.0
</ns2:EMFVersion>
<ns2:ServiceVer sion>000
</ns2:ServiceVers ion>
<ns2:OperationV ersion>000
</ns2:OperationVe rsion>
<ns2:RqUuid>111 14
</ns2:RqUuid>
<ns2:RqDateTime >2006-07-26T04:28:20.165 Z
</ns2:RqDateTime>
<ns2:RqExpiryTi me>10000
</ns2:RqExpiryTim e>
<ns2:RqNature >
<ns2:Transactio nCode>000
</ns2:Transaction Code>
<ns2:Transactio nRefNo>1111111
</ns2:Transaction RefNo>
<ns2:Transactio nMode>SEND
</ns2:Transaction Mode>
<ns2:RqStatus>I NQUIRY
</ns2:RqStatus>
</ns2:RqNature>
</ns2:CommonDetai l>
</ns1:ServiceHead er>
<ns3:ServiceBod y xmlns:ns3="http ://schemas.com/soa/webservice/service/Req/ENS-Notf-S">
<ns4:RqDetail xmlns:ns4="http ://schemas.com/soa/emf/service/ENS-Notf-S">
<ns4:OG>
<ns4:message_pu sh id="Velocity" priority="norma l">
<ns4:title>Te st
</ns4:title>
<ns4:sender>Vel ocity
</ns4:sender>
<ns4:recipien t>
<ns4:user_id>
</ns4:user_id>
<ns4:name>TKA
</ns4:name>
<ns4:contact type="email">ta yka@com
</ns4:contact>
</ns4:recipient>
<ns4:message>
<ns4:subject>te st subject
</ns4:subject>
<ns4:body>Thi s is a test message
</ns4:body>
</ns4:message>
</ns4:message_pus h>
</ns4:OG>
</ns4:RqDetail>
</ns3:ServiceBody >
</ServiceEnvelope >
</soapenv:Body>
</soapenv:Envelop e>
On the other hand, exception occurs and data has become:
{}Data:<inputMe ssage xmlns=""><Servi ceEnvelope xmlns="" xmlns:soapenv=" h
ttp://schemas.xmlsoap .org/soap/envelope/" xmlns:xsd="http ://www.w3.org/2001/XMLS
chema" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"><Serv iceEnvelope xm
lns=""><ns1:Ser viceHeader xmlns:ns1="http ://schemas.com/soa/emf/common/enve
lope/"><ns2:CommonDe tail xmlns:ns2="http ://schemas.com/soa/emf/common/heade
r"><ns2:Service Name>ENS-Notf-S</ns2:ServiceName ><ns2:Operation Code>000</ns2:Oper
ationCode><ns2: EMFVersion>Vers ion 1.0</ns2:EMFVersion> <ns2:ServiceVer sion>000</n
s2:ServiceVersi on><ns2:Operati onVersion>000</ns2:OperationVe rsion><ns2:RqUu id>11
114</ns2:RqUuid><ns2 :RqDateTime>200 6-07-26T04:28:20.165 Z</ns2:RqDateTime> <ns2:Rq
ExpiryTime>1000 0</ns2:RqExpiryTim e><ns2:RqNature ><ns2:Transacti onCode>000</ns2:T
ransactionCode> <ns2:Transactio nRefNo>1111111</ns2:Transaction RefNo><ns2:Tran sact
ionMode>SEND</ns2:Transaction Mode><ns2:RqSta tus>INQUIRY</ns2:RqStatus></ns2:RqNa
ture></ns2:CommonDetai l></ns1:ServiceHead er><ns3:Service Body xmlns:ns3="http ://s
chemas.com/soa/webservice/service/Req/ENS-Notf-S"><ns4:RqDetai l xmlns:ns4="
http://schemas.com/soa/emf/service/ENS-Notf-S"><ns4:OG><ns4 :message_push id
="Velocity" priority="norma l"><ns4:title>T est</ns4:title><ns4: sender>Velocity </n
s4:sender><ns4: recipient><ns4: user_id/><ns4:name>TK A</ns4:name><ns4:c ontact type
="email">tayka@ com</ns4:contact></ns4:recipient>< ns4:message><ns 4:subject>t
est subject</ns4:subject><ns 4:body>This is a test message</ns4:body></ns4:messag
e></ns4:message_pus h></ns4:OG></ns4:RqDetail></ns3:ServiceBody ></ServiceEnvelope
></ServiceEnvelope ></inputMessage>
"ServiceEnvelop e" had been send twice.
Need to know how can i resolve this problem.