You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/04/06 17:56:42 UTC
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
Re: Retrieving document ... messages
Posted by Raymond Feng <en...@gmail.com>.
Hi, Here's a patch for this minor problem:
Index:
sca/model/src/main/java/org/apache/tuscany/model/scdl/loader/impl/SCDLAssemblyModelLoaderImpl.java
===================================================================
---
sca/model/src/main/java/org/apache/tuscany/model/scdl/loader/impl/SCDLAssemblyModelLoaderImpl.java
(revision 392331)
+++
sca/model/src/main/java/org/apache/tuscany/model/scdl/loader/impl/SCDLAssemblyModelLoaderImpl.java
(working copy)
@@ -98,7 +98,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:
sca/core/src/main/java/org/apache/tuscany/core/loader/impl/WSDLDefinitionRegistryImpl.java
===================================================================
---
sca/core/src/main/java/org/apache/tuscany/core/loader/impl/WSDLDefinitionRegistryImpl.java
(revision 392331)
+++
sca/core/src/main/java/org/apache/tuscany/core/loader/impl/WSDLDefinitionRegistryImpl.java
(working copy)
@@ -54,6 +54,8 @@
}
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)) {
----- 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
Re: Retrieving document ... messages
Posted by Guillaume Nodet <gu...@worldonline.fr>.
Don't they come from wsdl4j when using <imports /> in WSDL ?
Not sure if this is your case, but I have already seen something like
that when parsing WSDL...
Guillaume Nodet
Jeremy Boynes wrote:
>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
>
>
>
>