It looks like you found yourself a bug. Can you file a JIRA for this? This
might warrant a 1.2.6 bug fix release this week :-(

- Dan

On 3/14/07, Martin Tilma <[EMAIL PROTECTED]> wrote:

Hi,

I'am happy to see the next release of xfire. I used the 1.2-SNAPSHOT
(before march 13 )to generate the client classes. I changed it to use
1.2.5.

Now I have a problem with lists.

1.2.5:

     @WebMethod(operationName = "getDatastreams", action =
"http://www.fedora.info/definitions/1/0/api/#getDatastreams";)
     @WebResult(name = "datastream", targetNamespace = "")
     public Datastream getDatastreams(
         @WebParam(name = "pid", targetNamespace = "")
         String pid,
         @WebParam(name = "asOfDateTime", targetNamespace = "")
         String asOfDateTime,
         @WebParam(name = "dsState", targetNamespace = "")
         String dsState);

1.2-SNAPSHOT:
     @WebMethod(operationName = "getDatastreams", action =
"http://www.fedora.info/definitions/1/0/api/#getDatastreams";)
     @WebResult(name = "getDatastreamsResponse", targetNamespace =
"http://www.fedora.info/definitions/1/0/types/";)
     public GetDatastreamsResponse getDatastreams(
         @WebParam(name = "getDatastreams", targetNamespace =
"http://www.fedora.info/definitions/1/0/types/";)
         GetDatastreams getDatastreams);

GetDatastreamsResponse has a method getDatastream which is a list of
Datastream objects.

wsdl:
   <element name="getDatastreams">
     <complexType>
       <sequence>
         <element name="pid" type="xsd:string"/>
         <element name="asOfDateTime" type="xsd:string"/>
         <element name="dsState" type="xsd:string"/>
       </sequence>
     </complexType>
   </element>
   <element name="getDatastreamsResponse">
     <complexType>
       <sequence>
         <element name="datastream" minOccurs="0" maxOccurs="unbounded"
type="fedora-types:Datastream"/>
       </sequence>
     </complexType>
   </element>


I use the wsgen task to generate the source. What is going wrong ?

Regards,

Martin

--
Martin Tilma
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to