You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-user@ws.apache.org by Asaf Lahav <as...@primagrid.com> on 2006/03/26 19:28:11 UTC

FW:

Hi, 

 

I am getting this exception in the process of running the "generate" ant
task.

 

Caused by: org.apache.ws.resource.InvalidWsrfWsdlException: Unable to locate
the ResourceProperties document element with QName
{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-
01.xsd}ScheduledResourceTerminationRP

      at
org.apache.ws.util.WsrfWsdlUtils.getResourcePropertyNames(WsrfWsdlUtils.java
:147)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.initPropertyNames(Resourc
eCapabilityImpl.java:561)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCapability
Impl.java:75)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.getImportedResourceDefini
tions(ResourceCapabilityImpl.java:396)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.initImplementedPortTypes(
ResourceCapabilityImpl.java:545)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCapability
Impl.java:73)

      at
org.apache.ws.resource.impl.ResourceDefinitionImpl.<init>(ResourceDefinition
Impl.java:56)

      at
org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(Wsdl2Java.java:896)

      at org.apache.ws.resource.tool.Wsdl2Java.generate(Wsdl2Java.java:180)

      at
org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:228)

 

Any help would be appreciated. 

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254



 


RE:

Posted by "Campana Jr., Salvatore J" <sa...@hp.com>.
The output is telling you that your wsdl is not complete...Based on the
specs, when you add certain operations to your wsdl, you are required to
add certain resource properties to your RP document....This has told you
that your are missing the resource property
ScheduledResourceTerminationRP...Until you add that, your wsdl is not
correct as per spec..

________________________________

From: Asaf Lahav [mailto:asaf.lahav@primagrid.com] 
Sent: Sunday, March 26, 2006 12:28 PM
To: wsrf-user@ws.apache.org
Subject: FW:



Hi, 

 

I am getting this exception in the process of running the "generate" ant
task.

 

Caused by: org.apache.ws.resource.InvalidWsrfWsdlException: Unable to
locate the ResourceProperties document element with QName
{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-dr
aft-01.xsd}ScheduledResourceTerminationRP

      at
org.apache.ws.util.WsrfWsdlUtils.getResourcePropertyNames(WsrfWsdlUtils.
java:147)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.initPropertyNames(Res
ourceCapabilityImpl.java:561)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCapabi
lityImpl.java:75)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.getImportedResourceDe
finitions(ResourceCapabilityImpl.java:396)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.initImplementedPortTy
pes(ResourceCapabilityImpl.java:545)

      at
org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCapabi
lityImpl.java:73)

      at
org.apache.ws.resource.impl.ResourceDefinitionImpl.<init>(ResourceDefini
tionImpl.java:56)

      at
org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(Wsdl2Java.java:896
)

      at
org.apache.ws.resource.tool.Wsdl2Java.generate(Wsdl2Java.java:180)

      at
org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:228
)

 

Any help would be appreciated. 

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254