Hi, I just put in a fix for this.
Thanks, Andrew Andrew Eberbach Autonomic Computing (919) 254-2645 T/L: 444-2645 [EMAIL PROTECTED] Daniel Jemiolo/Durham/[EMAIL PROTECTED] 03/09/2007 06:07 PM Please respond to [email protected] To [email protected] 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\)" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
