You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide option to pass inlineSchemas value at runtime in jaxws-rt.
Currently value for inlineSchemas is set to false and there is no option to change it at runtime/startup.
See the below code snippet spl. marked as ** :: com.sun.xml.ws.server.EndpointFactory.java
private static SDDocumentImpl generateWSDL(WSBinding binding, AbstractSEIModelImpl seiModel, Collection docs,
Container container, Class implType) {
BindingID bindingId = binding.getBindingId();
if (!bindingId.canGenerateWSDL()) {
throw new ServerRtException("can.not.generate.wsdl", bindingId);
}
if (bindingId.toString().equals(SOAPBindingImpl.X_SOAP12HTTP_BINDING)) {
String msg = ServerMessages.GENERATE_NON_STANDARD_WSDL();
logger.warning(msg);
}
WSDLGenResolver wsdlResolver = new WSDLGenResolver(docs,seiModel.getServiceQName(),seiModel.getPortTypeName());
WSDLGenInfo wsdlGenInfo = new WSDLGenInfo();
wsdlGenInfo.setWsdlResolver(wsdlResolver);
wsdlGenInfo.setContainer(container);
wsdlGenInfo.setExtensions(ServiceFinder.find(WSDLGeneratorExtension.class).toArray());
**wsdlGenInfo.setInlineSchemas(false);**
wsdlGenInfo.setSecureXmlProcessingDisabled(isSecureXmlProcessingDisabled(binding.getFeatures()));
seiModel.getDatabinding().generateWSDL(wsdlGenInfo);
return wsdlResolver.updateDocs();
}
I expect - make inlineSchemas as configurable/ runtime argument passing at startup/load time. Please make it in next release 2.4.0.RELEASE. I need this for backward compatibility.
The text was updated successfully, but these errors were encountered:
Please provide option to pass inlineSchemas value at runtime in jaxws-rt.
Currently value for inlineSchemas is set to false and there is no option to change it at runtime/startup.
See the below code snippet spl. marked as ** :: com.sun.xml.ws.server.EndpointFactory.java
private static SDDocumentImpl generateWSDL(WSBinding binding, AbstractSEIModelImpl seiModel, Collection docs,
Container container, Class implType) {
BindingID bindingId = binding.getBindingId();
if (!bindingId.canGenerateWSDL()) {
throw new ServerRtException("can.not.generate.wsdl", bindingId);
}
I expect - make inlineSchemas as configurable/ runtime argument passing at startup/load time. Please make it in next release 2.4.0.RELEASE. I need this for backward compatibility.
The text was updated successfully, but these errors were encountered: