Skip to content
Browse files
Fixed an issue in the UDP transport that prevents it from correctly i…
…ndicating the end of the message to the StAX parser. Regression test will follow (reproducing this bug with the testkit also reveals related problems in other transports).
  • Loading branch information
veithen committed May 23, 2010
1 parent a2e0c49 commit a731681f44b0fe613161367532d3fa0f02817a71
Showing 1 changed file with 1 addition and 1 deletion.
@@ -124,7 +124,7 @@ private void waitForReply(MessageContext messageContext, DatagramSocket datagram
// create the soap envelope
try {
MessageContext respMessageContext = messageContext.getOperationContext().getMessageContext(WSDL2Constants.MESSAGE_LABEL_IN);
InputStream inputStream = new ByteArrayInputStream(inputBuffer, 0, inputBuffer.length);
InputStream inputStream = new ByteArrayInputStream(inputBuffer, 0, packet.getLength());
SOAPEnvelope envelope = TransportUtils.createSOAPMessage(respMessageContext, inputStream, contentType);
} catch (XMLStreamException e) {

0 comments on commit a731681

Please sign in to comment.