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:Envelope 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>
<ServiceEnvelope xmlns="">
<ns1:ServiceHeader xmlns:ns1="http://schemas.com/soa/emf/common/envelope/">
<ns2:CommonDetail xmlns:ns2="http://schemas.com/soa/emf/common/header">
<ns2:ServiceName>ENS-Notf-S
</ns2:ServiceName>
<ns2:OperationCode>000
</ns2:OperationCode>
<ns2:EMFVersion>Version 1.0
</ns2:EMFVersion>
<ns2:ServiceVersion>000
</ns2:ServiceVersion>
<ns2:OperationVersion>000
</ns2:OperationVersion>
<ns2:RqUuid>11114
</ns2:RqUuid>
<ns2:RqDateTime>2006-07-26T04:28:20.165Z
</ns2:RqDateTime>
<ns2:RqExpiryTime>10000
</ns2:RqExpiryTime>
<ns2:RqNature>
<ns2:TransactionCode>000
</ns2:TransactionCode>
<ns2:TransactionRefNo>1111111
</ns2:TransactionRefNo>
<ns2:TransactionMode>SEND
</ns2:TransactionMode>
<ns2:RqStatus>INQUIRY
</ns2:RqStatus>
</ns2:RqNature>
</ns2:CommonDetail>
</ns1:ServiceHeader>
<ns3:ServiceBody 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_push id="Velocity" priority="normal">
<ns4:title>Test
</ns4:title>
<ns4:sender>Velocity
</ns4:sender>
<ns4:recipient>
<ns4:user_id>
</ns4:user_id>
<ns4:name>TKA
</ns4:name>
<ns4:contact type="email">tayka@com
</ns4:contact>
</ns4:recipient>
<ns4:message>
<ns4:subject>test subject
</ns4:subject>
<ns4:body>This is a test message
</ns4:body>
</ns4:message>
</ns4:message_push>
</ns4:OG>
</ns4:RqDetail>
</ns3:ServiceBody>
</ServiceEnvelope>
</soapenv:Body>
</soapenv:Envelope>
On the other hand, exception occurs and data has become:
{}Data:<inputMessage xmlns=""><ServiceEnvelope 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"><ServiceEnvelope xm
lns=""><ns1:ServiceHeader xmlns:ns1="http://schemas.com/soa/emf/common/enve
lope/"><ns2:CommonDetail xmlns:ns2="http://schemas.com/soa/emf/common/heade
r"><ns2:ServiceName>ENS-Notf-S</ns2:ServiceName><ns2:OperationCode>000</ns2:Oper
ationCode><ns2:EMFVersion>Version 1.0</ns2:EMFVersion><ns2:ServiceVersion>000</n
s2:ServiceVersion><ns2:OperationVersion>000</ns2:OperationVersion><ns2:RqUuid>11
114</ns2:RqUuid><ns2:RqDateTime>2006-07-26T04:28:20.165Z</ns2:RqDateTime><ns2:Rq
ExpiryTime>10000</ns2:RqExpiryTime><ns2:RqNature><ns2:TransactionCod e>000</ns2:T
ransactionCode><ns2:TransactionRefNo>1111111</ns2:TransactionRefNo><ns2:Transact
ionMode>SEND</ns2:TransactionMode><ns2:RqStatus>INQUIRY</ns2:RqStatus></ns2:RqNa
ture></ns2:CommonDetail></ns1:ServiceHeader><ns3:ServiceBody xmlns:ns3="http://s
chemas.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_push id
="Velocity" priority="normal"><ns4:title>Test</ns4:title><ns4:sender>Velocity</n
s4:sender><ns4:recipient><ns4:user_id/><ns4:name>TKA</ns4:name><ns4:contact type
="email">tayka@com</ns4:contact></ns4:recipient><ns4:message><ns4:subject>t
est subject</ns4:subject><ns4:body>This is a test message</ns4:body></ns4:messag
e></ns4:message_push></ns4:OG></ns4:RqDetail></ns3:ServiceBody></ServiceEnvelope
></ServiceEnvelope></inputMessage>
"ServiceEnvelope" had been send twice.
Need to know how can i resolve this problem.