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/20 22:23:04 UTC

[jira] Created: (SMX4-449) Useless Warning in servicemix-http

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.


[jira] Commented: (SMX4-449) Useless Warning in servicemix-http

Posted by "Fernando Ribeiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56627#action_56627 ] 

Fernando Ribeiro commented on SMX4-449:
---------------------------------------

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.


[jira] Issue Comment Edited: (SMX4-449) Useless Warning in servicemix-http

Posted by "Fernando Ribeiro (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (SMX4-449) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56629#action_56629 ] 

Freeman Fang commented on SMX4-449:
-----------------------------------

Hi Fernando,

Yeah, I think we should set the javax.wsdl.verbose as false, which is aslo same as we do in cxf.

I will commit changes soon.

Regards
Freeman

> 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
>            Assignee: Freeman Fang
>
> 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.


[jira] Updated: (SMXCOMP-691) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang updated SMXCOMP-691:
---------------------------------

    Issue Type: Improvement  (was: Bug)

> Useless Warning in servicemix-http
> ----------------------------------
>
>                 Key: SMXCOMP-691
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-691
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.01
>            Reporter: Fernando Ribeiro
>            Assignee: Freeman Fang
>             Fix For: servicemix-http-2010.01
>
>
> 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.


[jira] Resolved: (SMXCOMP-691) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMXCOMP-691.
----------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=893408&view=rev

> Useless Warning in servicemix-http
> ----------------------------------
>
>                 Key: SMXCOMP-691
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-691
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.01
>            Reporter: Fernando Ribeiro
>            Assignee: Freeman Fang
>             Fix For: servicemix-http-2010.01
>
>
> 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.


[jira] Updated: (SMXCOMP-691) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang updated SMXCOMP-691:
---------------------------------

      Component/s: servicemix-http
    Fix Version/s: servicemix-http-2010.01

> Useless Warning in servicemix-http
> ----------------------------------
>
>                 Key: SMXCOMP-691
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-691
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.01
>            Reporter: Fernando Ribeiro
>            Assignee: Freeman Fang
>             Fix For: servicemix-http-2010.01
>
>
> 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.


[jira] Commented: (SMX4-449) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56559#action_56559 ] 

Freeman Fang commented on SMX4-449:
-----------------------------------

Hi Fernando,

Maybe we can change the log level to DEBUG to avoid it

I grep the servicemix-http source code but cannot find the message as "Retrieving schema" so  I guess this useless message is not actually from servicemix-http code, but from some 3rd party libs, if so, then we can't do so much in smx code base.


If you can append your testcase to easily reproduce the useless message from which I can investigate it more, it would be great.

Thanks
Freeman

> 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.


[jira] Assigned: (SMX4-449) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SMX4-449:
---------------------------------

    Assignee: Freeman Fang

> 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
>            Assignee: Freeman Fang
>
> 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.


[jira] Moved: (SMXCOMP-691) Useless Warning in servicemix-http

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang moved SMX4-449 to SMXCOMP-691:
-------------------------------------------

    Affects Version/s:     (was: 4.0.0)
                       servicemix-http-2009.01
                  Key: SMXCOMP-691  (was: SMX4-449)
              Project: ServiceMix Components  (was: ServiceMix 4)

> Useless Warning in servicemix-http
> ----------------------------------
>
>                 Key: SMXCOMP-691
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-691
>             Project: ServiceMix Components
>          Issue Type: Bug
>    Affects Versions: servicemix-http-2009.01
>            Reporter: Fernando Ribeiro
>            Assignee: Freeman Fang
>
> 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.