See below the definitions section of my WSDL file which includes the
WS-ResourceLifetime-1_2-Draft_01.xsd.

I'm not sure that is the reason.

 

WSDL definition element:

<definitions
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperti
es-1.2-draft-01.xsd" xmlns:tns="http://www.primagrid.com/services";
xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourcePropert
ies-1.2-draft-01.wsdl"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetim
e-1.2-draft-01.wsdl"
xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-p
art2.wsdl" xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing";
xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-
1.2-draft-01.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns="http://schemas.xmlsoap.org/wsdl/";
targetNamespace="http://www.primagrid.com/services"; name="MyDefinition">

      <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex";
location="../spec/wsx/WS-MetadataExchange-2004_09.wsdl"/>

      <import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-
1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>

      <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl
" location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>

      <import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourcePropertie
s-1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>

      <import
namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.
2-draft-01.wsdl"
location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>

      <types>

            <schema elementFormDefault="qualified"
targetNamespace="http://www.primagrid.com/services";
xmlns="http://www.w3.org/2001/XMLSchema";
xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-par
t1.xsd"
xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-par
t2.xsd"
xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-d
raft-01.xsd"
xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1
.2-draft-01.xsd"
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime
-1.2-draft-01.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

                  <xsd:import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-dr
aft-01.xsd" schemaLocation="../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>

                  <xsd:import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-
1.2-draft-01.xsd"
schemaLocation="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"/>

                  <xsd:import
namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.
2-draft-01.xsd"
schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>

                  <xsd:import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";
schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>

                  <xsd:import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";
schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>

 

Asaf Lahav

 

VP R&D, Prima Grid LTD.

 

Cellular:  972-54-4717955

 

Phone:   972-3-6540255

 

Fax:       972-3-6540254

 

 

 

-----Original Message-----
From: Liu, Rui [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 27, 2006 6:48 AM
To: [email protected]
Subject: RE:

 

Hi, Asaf Lahav,

 

The XSD file in Muse have different file name. I think you may try to

rename the file name in your WSDL to be

"WS-ResourceLifetime-1_2-Draft_01.xsd"

 

Regards,

 

Rui

 

-----Original Message-----

From: Zheng Li [mailto:[EMAIL PROTECTED] 

Sent: Sunday, March 26, 2006 8:33 PM

To: [email protected]

Subject: RE: 

 

Remove axis related jar files from your class path. Then "generate" will

run

properly...

 

-----Original Message-----

From: Asaf Lahav [mailto:[EMAIL PROTECTED] 

Sent: Monday, 27 March 2006 3:29 AM

To: [email protected]

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

ourc

eCapabilityImpl.java:561)

 

      at

org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCapabi

lity

Impl.java:75)

 

      at

org.apache.ws.resource.impl.ResourceCapabilityImpl.getImportedResourceDe

fini

tions(ResourceCapabilityImpl.java:396)

 

      at

org.apache.ws.resource.impl.ResourceCapabilityImpl.initImplementedPortTy

pes(

ResourceCapabilityImpl.java:545)

 

      at

org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCapabi

lity

Impl.java:73)

 

      at

org.apache.ws.resource.impl.ResourceDefinitionImpl.<init>(ResourceDefini

tion

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: Liu, Rui
    • RE: Asaf Lahav

Reply via email to