diff --git a/ojc-core/httpsoapbc/httpsoapbcimpl/src/com/sun/jbi/httpsoapbc/AbstractEndpoint.java b/ojc-core/httpsoapbc/httpsoapbcimpl/src/com/sun/jbi/httpsoapbc/AbstractEndpoint.java index 7dc81648b..955a44fa9 100755 --- a/ojc-core/httpsoapbc/httpsoapbcimpl/src/com/sun/jbi/httpsoapbc/AbstractEndpoint.java +++ b/ojc-core/httpsoapbc/httpsoapbcimpl/src/com/sun/jbi/httpsoapbc/AbstractEndpoint.java @@ -235,7 +235,7 @@ public abstract class AbstractEndpoint return null; } - public ByteBuffer getServiceDescriptorAsByteBuffer() { + public synchronized ByteBuffer getServiceDescriptorAsByteBuffer() { try { WSDLFactory wsdlFactory = (WSDLFactory)WSDLFactory.newInstance(); WSDLWriter writer = (WSDLWriter)wsdlFactory.newWSDLWriter();