Hi Dan,

I published a snapshot with a fix for this - any chance you can try it out?

http://snapshots.repository.codehaus.org/org/codehaus/xfire/xfire-all/1.2-SNAPSHOT/xfire-all-1.2-20070317.211842-36.jar

Thanks for making a new snapshot. I'fe added the following to my pom file (and the snapshot repository)

                <dependency>
                        <groupId>org.codehaus.xfire</groupId>
                        <artifactId>xfire-all</artifactId>
                        <version>1.2-20070317.211842-36</version>
                </dependency>

Generating the code works file. But the code is now in the "old" style (how is that called?).

example:

public GetDatastreamsResponse getDatastreams(

I thought I should be like:

public List<Datastream> getDatastreams(


Bye,

Martin


Thanks,
- Dan

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

    Dan Diephouse wrote:
     > 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 :-(
    Done: http://jira.codehaus.org/browse/XFIRE-910
    <http://jira.codehaus.org/browse/XFIRE-910>

    Thanks for the reply.

    Martin
     >
     > - Dan
     >
     > On 3/14/07, *Martin Tilma * <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
    <mailto:[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


    --
    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
    <http://xircles.codehaus.org/manage_email>




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


--
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

Reply via email to