dev@jax-ws.java.net

Re: integration of new streambuffer.jar?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 12 Jul 2006 12:05:27 +0200

Bobby Bissett - Javasoft wrote:
> Can you let me know when you're going to do the next integration of
> streambuffer.jar? Paul put in a fix that I'd like to get, so once it's
> in jax-ws then we can do another integration of jax-ws into wsit.
>

Re the email on MEX and WSA, the fix was in JAX-WS and in particular the
StreamMessage class.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109

attached mail follows:



Tag: rearch-2005
User: sandoz
Date: 2006/07/06 08:38:55

Modified:
   jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java

Log:
 Ensure that StreamMessage that was created without headers can output the <Header> element correctly, when headers are present, using the same prefix as that is bound to the SOAP namespace for the <Envelope> element.

File Changes:

Directory: /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/message/stream/
=========================================================================

File [changed]: StreamMessage.java
Url: https://jax-ws-sources.dev.java.net/source/browse/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java?r1=1.1.2.4&r2=1.1.2.5
Delta lines: +2 -1
-------------------
--- StreamMessage.java 27 Jun 2006 03:04:10 -0000 1.1.2.4
+++ StreamMessage.java 6 Jul 2006 15:38:52 -0000 1.1.2.5
@@ -146,7 +146,8 @@
         this(headers,attachmentSet,reader,soapVersion);
         assert envelopeTag!=null && bodyTag!=null;
         this.envelopeTag = envelopeTag;
- this.headerTag = headerTag!=null ? headerTag : DEFAULT_TAGS[soapVersion.ordinal()*3+1];
+ this.headerTag = headerTag!=null ? headerTag :
+ new TagInfoset(envelopeTag.nsUri,"Header",envelopeTag.prefix,EMPTY_ATTS);
         this.bodyTag = bodyTag;
     }
 




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe_at_jax-ws-sources.dev.java.net
For additional commands, e-mail: cvs-help_at_jax-ws-sources.dev.java.net