You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Fernando Ribeiro (JIRA)" <ji...@apache.org> on 2009/12/23 05:21:40 UTC
[jira] Issue Comment Edited: (SMX4-449) Useless Warning in
servicemix-http
[ https://issues.apache.org/activemq/browse/SMX4-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56627#action_56627 ]
Fernando Ribeiro edited comment on SMX4-449 at 12/23/09 4:21 AM:
-----------------------------------------------------------------
Freeman,
I've found the message in the com.ibm.wsdl.xml.WSDLReaderImpl class in WSDL4J:
if (verbose)
System.out.println("Retrieving schema at '" + schemaRef.getSchemaLocationURI() + (schema.getDocumentBaseURI() == null ? "'." : "', relative to '" + schema.getDocumentBaseURI() + "'."));
It can to be disabled by adding the following call to the org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint and any other classes in servicemix-http that use WSDL readers:
wsdlReader.setFeature("javax.wsdl.verbose", false)
The verbose feature is true by default, as specified in JSR 110.
Thanks,
Fernando
was (Author: fribeiro):
Freeman,
I've found the message in the com.ibm.wsdl.xml.WSDLReaderImpl class in WSDL4J:
if (verbose)
System.out.println("Retrieving schema at '" + schemaRef.getSchemaLocationURI() + (schema.getDocumentBaseURI() == null ? "'." : "', relative to '" + schema.getDocumentBaseURI() + "'."));
It needs to be disabled by adding the following call to the org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint and any other classes in servicemix-http that use WSDL readers:
wsdlReader.setFeature("javax.wsdl.verbose", false)
Thanks,
Fernando
> Useless Warning in servicemix-http
> ----------------------------------
>
> Key: SMX4-449
> URL: https://issues.apache.org/activemq/browse/SMX4-449
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Fernando Ribeiro
>
> An useless message "Retrieving schema at <Schema Location>" is printed when the WSDL contains import declarations:
> <xs:import namespace="<Schema URI>" schemaLocation="<Schem Location>" />
> I'd think it can be safely removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.