All-
 
I am experiencing an interesting problem. I have a client that creates some
XML elements which are then included in the request message. When I run the
client, however, it seems as though it sends a partial request through once,
then the full request through a second time. I can see this by capturing the
traffic. 
 
For example, it appears as though when the created XML elements, say
"<test></test>" are appended to the request ADB object, AXIS is actually
sending the request up until that point, which is incomplete. Then, the
program finishes and sends a complete request. When it does this, the
service responds with an error (it is interpreting the first message
apparently):
java.lang.Exception: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was
expecting a close tag for element <ns2:securityInfo>

at [row,col {unknown-source}]: [1,622]

org.apache.axis2.AxisFault: java.lang.Exception:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag
for element <ns2:securityInfo>

at [row,col {unknown-source}]: [1,622]

Does anyone have any idea why this might be happening or how I can even
begin to debug it?
 
Thanks,
Greg

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to