<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
        background-color: #E5E5E5;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11;
        color: #000000;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
p, td                { font-size : 11; color : #000000; }
a:link,a:active,a:visited { color : #006699; }
a:hover                { text-decoration: underline; color : #DD6900; }
hr        { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
h1,h2                { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}


/* This is the border line & background colour round the entire page */
.bodyline        { background-color: #FFFFFF; border: 1px #98AAB1 solid; }


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; line-height: 12px}
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover        { color: #DD6900; text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink                { font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink         { text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link        { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
        font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

-->
</style>
</head>
        <body>

        <div class="postbody"><span style="font-weight: bold">1.</span> Where have you change the URI ?<br />
<br />
<span style="font-weight: bold">2.</span> I have already get a similar problem. I was due to a DOM Document built using classes from the component classpath instead of the JVM and not available in the classpath of the SOAP component. Perhaps is it the same. I'll ask EasyWSDL team to join the discussion.<br />
<br />
<span style="font-weight: bold">3.</span> I think the prematured EOF is due to no byte is available for reading. The cause of a such situation is to read the StreamSource twice, for example to log the content before processing it. In the followinf extract of source code of the method 'denormalize', you can see that two reads of the Source occur because the Source send by the SOAP component is a StreamSource:</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>Code:</b></span></td>        </tr>        <tr>          <td class="code">// Convert the normalizedMessage into a DOM object<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; final DOMResult result = new DOMResult&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; final Source src = normalizedMessage.getContent&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if &#40;src != null&#41; &#123;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; final TransformerFactory fact = TransformerFactory.newInstance&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; final Transformer transformer = fact.newTransformer&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; transformer.transform&#40; src, result &#41;;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <------------------ First read<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#125;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Node node = result.getNode&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Document normalizedDoc = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if &#40;node instanceof Document&#41; &#123;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; normalizedDoc = &#40;Document&#41; node;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#125; else &#123;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; normalizedDoc = &#40;&#40;Element&#41; node&#41;.getOwnerDocument&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#125;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Use the WrapperParser to help in parsing out the Parts<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wrapperParser.parse&#40;normalizedDoc, endpoint.getDefinition&#40;&#41;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // use helper class to parse wrapped msg<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Source source = normalizedMessage.getContent&#40;&#41;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if &#40;source instanceof DOMSource&#41; &#123;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // saves a transformation<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; node = &#40;&#40;DOMSource&#41; source&#41;.getNode&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#125; else &#123;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DOMResult domResult = new DOMResult&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mTrans.transform&#40;source, domResult&#41;;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <------------------ Second read<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; node = domResult.getNode&#40;&#41;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#125;<br />
</td>        </tr></table><span class="postbody"><br />
<span style="font-weight: bold">4.</span> Moreover, reading the previous source code, concurrency problems can occur at the seconf read because the transformer is not local to the thread, except if a Denormalizer is created for each message.</div>
        <div class="postbody"><br /><br /><hr /><br />Christophe DENEUX / Capgemini Sud / Méditerranée<br />
Integration Architect / OW2 PEtALS Comitter<br />
<a href="http://www.capgemini.com" target="_blank">www.capgemini.com</a><br />
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE<br />
Join the Collaborative Business Experience<br />
_______________________________________________________________________________</div>
        <br /><div class="gensmall"><br />
<br />
<br />
-------------------- m2f --------------------<br />
<br />
Read this forum topic online here:<br />
<a href="http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=806#806" target="_blank">http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=806#806</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>