You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2006/04/11 07:29:21 UTC

[jira] Created: (TUSCANY-174) "Retrieving document... wsdl" is printed out @ System.out

"Retrieving document... wsdl" is printed out @ System.out
---------------------------------------------------------

         Key: TUSCANY-174
         URL: http://issues.apache.org/jira/browse/TUSCANY-174
     Project: Tuscany
        Type: Bug

  Components: Java SCA Core  
    Reporter: Raymond Feng
    Priority: Minor


----- Original Message ----- 
From: "Jeremy Boynes" <jb...@apache.org>
To: <tu...@ws.apache.org>
Sent: Thursday, April 06, 2006 8:56 AM
Subject: Retrieving document ... messages


> These get printed on stdout or stderr as Tomcat is running. I could not
> find the text "Retrieving document" in the code anywhere - does anyone
> know where they come from and if it's possible to convert them to log
> messages?
>
> --
> Jeremy 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TUSCANY-174) "Retrieving document... wsdl" is printed out @ System.out

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-174?page=comments#action_12373965 ] 

Raymond Feng commented on TUSCANY-174:
--------------------------------------

Here's the patch:

Index: model/src/main/java/org/apache/tuscany/model/scdl/loader/impl/SCDLAssemblyModelLoaderImpl.java
===================================================================
--- model/src/main/java/org/apache/tuscany/model/scdl/loader/impl/SCDLAssemblyModelLoaderImpl.java	(revision 393142)
+++ model/src/main/java/org/apache/tuscany/model/scdl/loader/impl/SCDLAssemblyModelLoaderImpl.java	(working copy)
@@ -41,7 +41,10 @@
 
         try {
             if (wsdlReader==null)
+            { 
                 wsdlReader=WSDLFactory.newInstance().newWSDLReader();
+                wsdlReader.setFeature("javax.wsdl.verbose", false);
+            }
             definition = wsdlReader.readWSDL(uri);
         } catch (WSDLException e) {
             throw new IllegalArgumentException(e);
Index: core/src/main/java/org/apache/tuscany/core/loader/impl/WSDLDefinitionRegistryImpl.java
===================================================================
--- core/src/main/java/org/apache/tuscany/core/loader/impl/WSDLDefinitionRegistryImpl.java	(revision 393142)
+++ core/src/main/java/org/apache/tuscany/core/loader/impl/WSDLDefinitionRegistryImpl.java	(working copy)
@@ -62,6 +62,8 @@
 
         monitor.readingWSDL(namespace, location);
         WSDLReader reader = wsdlFactory.newWSDLReader();
+        reader.setFeature("javax.wsdl.verbose", false);
+        
         definition = reader.readWSDL(location.toString());
         String definitionNamespace = definition.getTargetNamespace();
         if (namespace != null && !namespace.equals(definitionNamespace)) {


> "Retrieving document... wsdl" is printed out @ System.out
> ---------------------------------------------------------
>
>          Key: TUSCANY-174
>          URL: http://issues.apache.org/jira/browse/TUSCANY-174
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Core
>     Reporter: Raymond Feng
>     Priority: Minor

>
> ----- Original Message ----- 
> From: "Jeremy Boynes" <jb...@apache.org>
> To: <tu...@ws.apache.org>
> Sent: Thursday, April 06, 2006 8:56 AM
> Subject: Retrieving document ... messages
> > These get printed on stdout or stderr as Tomcat is running. I could not
> > find the text "Retrieving document" in the code anywhere - does anyone
> > know where they come from and if it's possible to convert them to log
> > messages?
> >
> > --
> > Jeremy 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (TUSCANY-174) "Retrieving document... wsdl" is printed out @ System.out

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-174?page=all ]

ant elder reassigned TUSCANY-174:
---------------------------------

    Assign To: ant elder

> "Retrieving document... wsdl" is printed out @ System.out
> ---------------------------------------------------------
>
>          Key: TUSCANY-174
>          URL: http://issues.apache.org/jira/browse/TUSCANY-174
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Core
>     Reporter: Raymond Feng
>     Assignee: ant elder
>     Priority: Minor

>
> ----- Original Message ----- 
> From: "Jeremy Boynes" <jb...@apache.org>
> To: <tu...@ws.apache.org>
> Sent: Thursday, April 06, 2006 8:56 AM
> Subject: Retrieving document ... messages
> > These get printed on stdout or stderr as Tomcat is running. I could not
> > find the text "Retrieving document" in the code anywhere - does anyone
> > know where they come from and if it's possible to convert them to log
> > messages?
> >
> > --
> > Jeremy 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (TUSCANY-174) "Retrieving document... wsdl" is printed out @ System.out

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-174?page=all ]
     
ant elder resolved TUSCANY-174:
-------------------------------

    Resolution: Fixed

Applied Raymond's patch

> "Retrieving document... wsdl" is printed out @ System.out
> ---------------------------------------------------------
>
>          Key: TUSCANY-174
>          URL: http://issues.apache.org/jira/browse/TUSCANY-174
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Core
>     Reporter: Raymond Feng
>     Assignee: ant elder
>     Priority: Minor

>
> ----- Original Message ----- 
> From: "Jeremy Boynes" <jb...@apache.org>
> To: <tu...@ws.apache.org>
> Sent: Thursday, April 06, 2006 8:56 AM
> Subject: Retrieving document ... messages
> > These get printed on stdout or stderr as Tomcat is running. I could not
> > find the text "Retrieving document" in the code anywhere - does anyone
> > know where they come from and if it's possible to convert them to log
> > messages?
> >
> > --
> > Jeremy 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira