I can see the problematic code in RemotingConnectionImpl createRemotingMetaData:
populateHeaders(reqMessage, metadata);
| clientConfig.put("chunkedLength", "1024");
| if(msgContext != null)
| {
| Properties epmdProps = msgContext.getEndpointMetaData().getProperties();
| String chunkSizeValue = epmdProps.getProperty("http://org.jboss.ws/http#chunksize");
| int chunkSize = chunkSizeValue == null ? -1 : Integer.valueOf(chunkSizeValue).intValue();
| if(chunkSize > 0)
| {
| clientConfig.put("http://org.jboss.ws/http#chunksize", chunkSizeValue);
| } else
| {
| clientConfig.remove("chunkedLength");
| }
| }
It automatically puts the chunkedLength property in place any only removes it if there is a MessageContext (non null) and that MessageContext does not have the EndPointMetaData property for chunking. The only problem is that if I'm just doing a simple SOAPMessage with a URL endpoint, I don't have a MessageContext and this code gets skipped. Heiko, any thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127091#4127091
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127091
I downloaded jbossws-native-2.0.3.GA. Using wsconsume ("contract-first") on the command line works fine but as an ant task (in eclipse) I get this error: NoClassDefFoundError: com/sun/xml/stream/buffer/XMLStreamBuffer. JDK is 1.5.0_06. I reference following jar files in my ant task (path id):
jbossws-spi.jar
jboss-xml-binding.jar
wstx.jar
activation.jar
javassist.jar
getopt.jar
jaxb-api.jar
stax-api.jar
jaxb-impl.jar
jaxb-xjc.jar
jaxws-rt.jar
jaxws-tools.jar
jbossall-client.jar
jboss-saaj.jar
jboss-jaxrpc.jar
jboss-jaxws.jar
jbossws-client.jar
log4j.jar
mail.jar
I read something about the bug http://jira.jboss.com/jira/browse/JBWS-1711 in JIRA and it should be resolved. Any hint, what is wrong in my ant task?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127017#4127017
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127017