Hi Campana, Hi Kinga, Hi all...
Thank you for the replies.
I found the problem I was having. I was importing in my CLASSPATH the
.jars files from %AXIS_HOME%\lib.
I do not know exactly why, but when I took them off from my CLASSPATH
everything (wsdl2java) worked fine.
Now I am working in the 1.0 version (and I am very happy to see it)
and I have already created my own service (I created it based on the
filesystem example). The documentation seems to be really good also.
That's it.
Thanks again,
Lombrera
*/"Campana Jr., Salvatore J" <[EMAIL PROTECTED]>/* escreveu:
We've just posted the 1.0 release of Muse which includes a Quick
Start, Tutorial and Dev Guide..
Can you please use that version?
Based on the errors you have recieved, and the statements you've
made, have you copied our entire webapp to your Tomcat webapps
directory? If so it should contain all the neccessary wsdl/xsd
files....Aside from that you may have an error in you wsdl file...
Unable to locate the Res
>ourceProperties document element with QName
{http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd}Manageabili
>tyCharacteristicsProperties
This seems like a configuration issue....Please try working with
the new release and lets take it from there...
-S
------------------------------------------------------------------------
*From:* Lombrera Lombrera [mailto:[EMAIL PROTECTED]
*Sent:* Friday, August 05, 2005 2:54 PM
*To:* [email protected]
*Subject:* trying to build my own service in Muse
Hi all,
after some days in off, I re-started to enjoy MUSE.
Well,
I have been trying to created my own service in MUSE but I am
having some trouble.
First, trying to make things easy, I tried to build a new service
based on the host.wsdl that comes with the snapshot distribution.
What I did so far was:
- edited the build.xml file and changed the out.dir to "newservice";
- uncommented the "generate" target;
- in the targets "all", "compile_all", "compile_*" and
"deploy_*", I left only
the "logic" and "host" uncommented;
- in the D:\muse-1.0-SNAPSHOT\docs\example\src\wsdl directory, I
left only the files host.wsdl, host.xsd,
muws-ext-1.xsd, muws-ext-topics-1.xml and shared.xsd;
After this, I executed the "ant generate" command and received the
following message:
>D:\muse-1.0-SNAPSHOT\docs\example\build.xml:65: WSDLException (at
/definitions/import[1]/wsdl:definitions/wsdl:types/xsd:
>schema/xsd:schema): faultCode=PARSER_ERROR: Problem parsing
'file:/D:/Tomcat 4.1/webapps/muse/spec/xml/XML-Namespace-1998
>.xsd'.: D:\Tomcat 4.1\webapps\muse\spec\xml\XMLSchema.dtd (The
system cannot find the file specified): java.io.FileNotFou
>ndException: D:\Tomcat 4.1\webapps\muse\spec\xml\XMLSchema.dtd
(The system cannot find the file specified)
So, I placed the "XMLSchema.dtd" file in the "D:\Tomcat
4.1\webapps\muse\spec\xml\" dir.
I tried to execute the "ant generate" command again. The output
now is:
>D:\muse-1.0-SNAPSHOT\docs\example\build.xml:65: WSDLException (at
/definitions/import[1]/wsdl:definitions/wsdl:types/xsd:
>schema/xsd:schema): faultCode=PARSER_ERROR: Problem parsing
'file:/D:/Tomcat 4.1/webapps/muse/spec/xml/XML-Namespace-1998
>.xsd'.: D:\Tomcat 4.1\webapps\muse\spec\xml\datatypes.dtd (The
system cannot find the file specified): java.io.FileNotFou
>ndException: D:\Tomcat 4.1\webapps\muse\spec\xml\datatypes.dtd
(The system cannot find the file specified)
So, I placed the "datatypes.dtd " file in the "D:\Tomcat
4.1\webapps\muse\spec\xml\" dir, and executed the "ant generate"
again.
The output message now is:
>BUILD FAILED
>D:\muse-1.0-SNAPSHOT\docs\example\build.xml:65:
org.apache.ws.resource.InvalidWsrfWsdlException: Unable to locate
the Res
>ourceProperties document element with QName
{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-0
>1.xsd}ScheduledResourceTerminationRP
Now, I edited the host.wsdl file and added an element definition
for each of the custom resource properties:
<!-- *** Add an element definition here for each of your
custom resource properties *** -->
<!-- *** e.g.: <element name="MyProperty"
type="xsd:string" /> *** -->
<element name="NumberOfProcesses" type="xsd:string"/>
<element name="AvailableMemory" type="xsd:string"/>
<element name="CpuUsage" type="xsd:string"/>
Here, I executed "ant generate" again. The output message now is:
>BUILD FAILED
>D:\muse-1.0-SNAPSHOT\docs\example\build.xml:65:
org.apache.ws.resource.InvalidWsrfWsdlException: Unable to locate
the Res
>ourceProperties document element with QName
{http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd}Manageabili
>tyCharacteristicsProperties
From now on, I really don't know what to do. I really don't know
also if I am going in the rigth direction.. but this is the way I
am trying.
Can someone give some help???
Does someone have the filesystem example that comes with Apollo
and Pubscribe working in agreement with Muse?
Or does someone have a more simple example to share that the one
that comes with the SNAPSHOT distribution? So I could build my one
service based on this one?
Excuse me for the big message.
Really thanks again,
Lombrera.
------------------------------------------------------------------------
Yahoo! Acesso Grátis
<http://us.rd.yahoo.com/mail/br/taglines/*http://br.acesso.yahoo.com/>:
Internet rápida e grátis. Instale o discador agora!
<http://us.rd.yahoo.com/mail/br/taglines/*http://br.acesso.yahoo.com/>
------------------------------------------------------------------------
Yahoo! Acesso Grátis
<%20http://us.rd.yahoo.com/mail/br/taglines/*http://br.acesso.yahoo.com/>:
Internet rápida e grátis. Instale o discador agora!
<%20http://us.rd.yahoo.com/mail/br/taglines/*http://br.acesso.yahoo.com/>