You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Daniel Jemiolo <da...@us.ibm.com> on 2007/03/09 18:27:07 UTC
Release Candidate 2 for 2.2.0
The second release candidate build for v2.2.0 is available at:
http://www.apache.org/~danj/muse/2.2.0
Please report any issues with this RC to muse-user.
Thanks,
Dan
Dan Jemiolo
IBM Corporation
Research Triangle Park, NC
+++ I'm an engineer. I make slides that people can't read. Sometimes I eat
donuts. +++
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
RE: Release Candidate 2 for 2.2.0
Posted by Andrew Eberbach <ae...@us.ibm.com>.
Hi,
I just put in a fix for this.
Thanks,
Andrew
Andrew Eberbach
Autonomic Computing
(919) 254-2645
T/L: 444-2645
aeberbac@us.ibm.com
Daniel Jemiolo/Durham/IBM@IBMUS
03/09/2007 06:07 PM
Please respond to
muse-user@ws.apache.org
To
muse-user@ws.apache.org
cc
Subject
RE: Release Candidate 2 for 2.2.0
Andrew recently added RMD processing to the wsdl2java code - I'm guessing
that your RMD simply doesn't have an entry for one (or more) of your
properties, and that the code expects one entry for each property if an
RMD is specified. The runtime would allow your RMD as it is, though, so
perhaps we should change the logic to be consistent. Or maybe just print a
warning. I will take a look at this tomorrow, as Andrew is returning from
EclipseCon.
Dan
"Vinh Nguyen \(vinguye2\)" <vi...@cisco.com> wrote on 03/09/2007
05:13:16 PM:
> Hi Dan,
> I just downloaded your latest release this morning. I tried to run
> wsdl2java -proxy on a few of my wsdls but got various errors that didn't
> appear in previous releases of Muse. Looks like the latest wsdl2java
> logic has been upgraded but introduced some bugs?
>
> For example, here's an error when trying to run wsdl2java -proxy in the
> sample wsn-producer project:
>
>
> C:\dev\Programs\muse-2.2.0-bin\samples\j2ee\wsn-producer\wsdl>wsdl2java
> -proxy -wsdl WsResource.wsdl
> java.lang.RuntimeException: [ID = 'UndefinedProperty'] There is no
> wsrmd:Property defined with the p
> ath '{http://docs.oasis-open.org/wsdm/muws2-2.xsd}OperationalStatus'.
> You cannot read metadata for a
> property that does not exist. Use the hasProperty method to determine
> if a property name is valid.
> at
> org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor.getPr
> operty(SimpleMeta
> dataDescriptor.java:282)
> at
> org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor.isRea
> dOnlyExternal(Sim
> pleMetadataDescriptor.java:339)
> at
> org.apache.muse.tools.inspector.JavaProperty.isAppendable(JavaProperty.j
> ava:60)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.up
> dateMethods(Proxy
> InterfaceSynthesizer.java:253)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.up
> dateCode(ProxyInt
> erfaceSynthesizer.java:228)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.ge
> nerateCode(ProxyI
> nterfaceSynthesizer.java:154)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.sy
> nthesize(ProxyInt
> erfaceSynthesizer.java:123)
> at
> org.apache.muse.tools.generator.synthesizer.ProxySynthesizer.synthesize(
> ProxySynthesizer.
> java:45)
> at
> org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:173)
> at
> org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:265)
>
> SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception
> information below.
>
> An exception was caught: [ID = 'UndefinedProperty'] There is no
> wsrmd:Property defined with the path
> '{http://docs.oasis-open.org/wsdm/muws2-2.xsd}OperationalStatus'. You
> cannot read metadata for a pr
> operty that does not exist. Use the hasProperty method to determine if a
> property name is valid.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
RE: Release Candidate 2 for 2.2.0
Posted by Daniel Jemiolo <da...@us.ibm.com>.
Andrew recently added RMD processing to the wsdl2java code - I'm guessing
that your RMD simply doesn't have an entry for one (or more) of your
properties, and that the code expects one entry for each property if an
RMD is specified. The runtime would allow your RMD as it is, though, so
perhaps we should change the logic to be consistent. Or maybe just print a
warning. I will take a look at this tomorrow, as Andrew is returning from
EclipseCon.
Dan
"Vinh Nguyen \(vinguye2\)" <vi...@cisco.com> wrote on 03/09/2007
05:13:16 PM:
> Hi Dan,
> I just downloaded your latest release this morning. I tried to run
> wsdl2java -proxy on a few of my wsdls but got various errors that didn't
> appear in previous releases of Muse. Looks like the latest wsdl2java
> logic has been upgraded but introduced some bugs?
>
> For example, here's an error when trying to run wsdl2java -proxy in the
> sample wsn-producer project:
>
>
> C:\dev\Programs\muse-2.2.0-bin\samples\j2ee\wsn-producer\wsdl>wsdl2java
> -proxy -wsdl WsResource.wsdl
> java.lang.RuntimeException: [ID = 'UndefinedProperty'] There is no
> wsrmd:Property defined with the p
> ath '{http://docs.oasis-open.org/wsdm/muws2-2.xsd}OperationalStatus'.
> You cannot read metadata for a
> property that does not exist. Use the hasProperty method to determine
> if a property name is valid.
> at
> org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor.getPr
> operty(SimpleMeta
> dataDescriptor.java:282)
> at
> org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor.isRea
> dOnlyExternal(Sim
> pleMetadataDescriptor.java:339)
> at
> org.apache.muse.tools.inspector.JavaProperty.isAppendable(JavaProperty.j
> ava:60)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.up
> dateMethods(Proxy
> InterfaceSynthesizer.java:253)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.up
> dateCode(ProxyInt
> erfaceSynthesizer.java:228)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.ge
> nerateCode(ProxyI
> nterfaceSynthesizer.java:154)
> at
> org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.sy
> nthesize(ProxyInt
> erfaceSynthesizer.java:123)
> at
> org.apache.muse.tools.generator.synthesizer.ProxySynthesizer.synthesize(
> ProxySynthesizer.
> java:45)
> at
> org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:173)
> at
> org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:265)
>
> SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception
> information below.
>
> An exception was caught: [ID = 'UndefinedProperty'] There is no
> wsrmd:Property defined with the path
> '{http://docs.oasis-open.org/wsdm/muws2-2.xsd}OperationalStatus'. You
> cannot read metadata for a pr
> operty that does not exist. Use the hasProperty method to determine if a
> property name is valid.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
RE: Release Candidate 2 for 2.2.0
Posted by "Vinh Nguyen (vinguye2)" <vi...@cisco.com>.
Hi Dan,
I just downloaded your latest release this morning. I tried to run
wsdl2java -proxy on a few of my wsdls but got various errors that didn't
appear in previous releases of Muse. Looks like the latest wsdl2java
logic has been upgraded but introduced some bugs?
For example, here's an error when trying to run wsdl2java -proxy in the
sample wsn-producer project:
C:\dev\Programs\muse-2.2.0-bin\samples\j2ee\wsn-producer\wsdl>wsdl2java
-proxy -wsdl WsResource.wsdl
java.lang.RuntimeException: [ID = 'UndefinedProperty'] There is no
wsrmd:Property defined with the p
ath '{http://docs.oasis-open.org/wsdm/muws2-2.xsd}OperationalStatus'.
You cannot read metadata for a
property that does not exist. Use the hasProperty method to determine
if a property name is valid.
at
org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor.getPr
operty(SimpleMeta
dataDescriptor.java:282)
at
org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor.isRea
dOnlyExternal(Sim
pleMetadataDescriptor.java:339)
at
org.apache.muse.tools.inspector.JavaProperty.isAppendable(JavaProperty.j
ava:60)
at
org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.up
dateMethods(Proxy
InterfaceSynthesizer.java:253)
at
org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.up
dateCode(ProxyInt
erfaceSynthesizer.java:228)
at
org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.ge
nerateCode(ProxyI
nterfaceSynthesizer.java:154)
at
org.apache.muse.tools.generator.synthesizer.ProxyInterfaceSynthesizer.sy
nthesize(ProxyInt
erfaceSynthesizer.java:123)
at
org.apache.muse.tools.generator.synthesizer.ProxySynthesizer.synthesize(
ProxySynthesizer.
java:45)
at
org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:173)
at
org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:265)
SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception
information below.
An exception was caught: [ID = 'UndefinedProperty'] There is no
wsrmd:Property defined with the path
'{http://docs.oasis-open.org/wsdm/muws2-2.xsd}OperationalStatus'. You
cannot read metadata for a pr
operty that does not exist. Use the hasProperty method to determine if a
property name is valid.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org