You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by Alvaro Orus <al...@gmail.com> on 2006/03/16 15:56:31 UTC

client stub generation

Hi all

I'm currently trying to generate client stubs using xFire as stub
generator from wsdl. The problem is that there are some references
between wsdm schemas that don't fit, ant then the following error
occurs:

(...)
Retrieving schema at '../xml/XML-Namespace-1998.xsd', relative to
'file:/home/aorus/workspace/ssh/../spec/wsdm/MUWS-Part2-1_0.xsd'.
Retrieving schema at 'MUWS-Part1-1_0.xsd', relative to
'file:/home/aorus/workspace/ssh/../spec/wsdm/MUWS-Part2-1_0.xsd'.
Retrieving schema at '../wsa/WS-Addressing-2004_08_10.xsd', relative
to 'file:/home/aorus/workspace/ssh/../spec/wsdm/MUWS-Part2-1_0.xsd'.
Retrieving schema at '../spec/wsdm/MUWS-Part1-1_0.xsd'.
Retrieving schema at '../wsa/WS-Addressing-2004_08_10.xsd', relative
to 'file:/home/aorus/workspace/ssh/../spec/wsdm/MUWS-Part1-1_0.xsd'.
Retrieving schema at '../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd'.
Retrieving schema at '../wsrf/WS-ResourceProperties-1_2-Draft_01.xsd',
relative to 'file:/home/aorus/workspace/ssh/../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd'.
Retrieving schema at '../wsa/WS-Addressing-2003_03.xsd', relative to
'file:/home/aorus/workspace/ssh/../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd'.
Retrieving schema at '../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd'.
Retrieving schema at '../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd'.
Retrieving schema at '../xml/XML-Namespace-1998.xsd', relative to
'file:/home/aorus/workspace/ssh/../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd'.
Retrieving schema at '../wsa/WS-Addressing-2003_03.xsd', relative to
'file:/home/aorus/workspace/ssh/../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd'.
log4j:WARN No appenders could be found for logger
(org.codehaus.xfire.transport.DefaultTransportManager).
log4j:WARN Please initialize the log4j system properly.
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: org.codehaus.xfire.XFireRuntimeException: Couldn't
find schema for part:
{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd}SetTerminationTime


we are using the spec directory given with MUSE dist and looking at
the spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl file, I find the
following part:

<wsdl:message name="SetTerminationTimeRequest">
<wsdl:part element="wsrl:SetTerminationTime" name="SetTerminationTimeRequest"/>
</wsdl:message>

As wsrl refers to
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"

and SetTerminationTime is not defined there, it's evident that it must fails.

Looking at the 2005 specs I've found that now it has it defined. Is it
a MUSE error? How is it supposed to behave? Is there any way to update
the spec with the new files (all at once)?.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org