Re: cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMLParserUtils.java

2002-10-28 Thread WJCarpenter
> Yes, that would be the case with this approach. The better way > would be to use thread local storage .. I just talked to Bill Nagy and > he said he would look into committing a patch to change this part. > (He's familiar with thread local storage and I'm not.) I believe using ThreadLocal will m

RE: cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMLParserUtils.java

2002-10-28 Thread Pavel Ausianik
Sanjiva, Please see what I mean: > > Another question, what if Call created in one thread, but > then reused in > > other threads (I myself thought about having pool of Call > objects) - in > this > > case the login of getting DocumentBuilder by current thread > will likely > > produce errors

Re: cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMLParserUtils.java

2002-10-28 Thread Sanjiva Weerawarana
Hi Pavel, > What if threads are not reused constantly, but once finished processing > something just discarded? In this case hashmap will prevent both thread and > document builder from be removed by GC. Yes, that would be the case with this approach. The better way would be to use thread local s

Attachments through COMProvider

2002-10-28 Thread Leif Nilsson TACMa
Hi! We send XML-files through Apache Soap. There is a COM-server accessed via Apaches COMProvider. The best way to send files as discussed is through attachments. The only way I have figured out to do this via the ComProvider is to alter the org.apache.soap.providers.com.RPCProvider.java code. I

[PATCH] Extend of replacing write(" " + ....

2002-10-28 Thread Pavel Ausianik
Hello, I slightly updated latest Sanjiva's patch , with replacing single char strings to char + added more classes + concatenated Constant strings were possible (if all strings are constants, compiler will concatenate it itself). Best regards, Pavel Index: AttributeHandler.java ===

RE: cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMLParserUtils.java

2002-10-28 Thread Pavel Ausianik
Hello, I have a question related to this commit. What if threads are not reused constantly, but once finished processing something just discarded? In this case hashmap will prevent both thread and document builder from be removed by GC. Another question, what if Call created in one thread, but

cvs commit: xml-soap/java/src/org/apache/soap/rpc RPCMessage.java

2002-10-28 Thread sanjiva
sanjiva 2002/10/28 08:50:53 Modified:java/src/org/apache/soap/encoding SOAPMappingRegistry.java java/src/org/apache/soap/encoding/soapenc BeanSerializer.java SoapEncUtils.java java/src/org/apache/soap/rpc RPCMessage.java Log: chan

cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMLParserUtils.java

2002-10-28 Thread sanjiva
sanjiva 2002/10/28 08:37:02 Modified:java/src/org/apache/soap/util/xml XMLParserUtils.java Log: added logic to share instances of DocumentBuilders on a per-thread basis Revision ChangesPath 1.6 +16 -7 xml-soap/java/src/org/apache/soap/util/xml/XMLParserUtils.j

WSDL which uses SOAP Attachment needed,

2002-10-28 Thread Ramesh Arunsalam
Hi,     I am new to web services. I want a sample WSDL file which is having the SOAP Attachment. How I can able to figure out Whether that WSDL is having Soap Attachment or not by just seeing the WSDL? Pls send me a sample WSDL which uses this functionality.   Thanks Ramesh Arunasalam