Hi James -

As I mention in the previous post it was my fault, I didn't put a non param constructor, now that I put it is working fine I get a complex type in my WSDL types schema.

But I think I did found a bug in the WSDL generation using Aegis, I would post jira bug for this as soon as I have time. But it goes like this, I change my endpoint binding to Aegis and run wsdl2java with the generated WSDL and got a lot of missing complex types errors, but looking at the WSDL they where there, but it seems to me that the order of the schemas was the problem I run some validations using Oxygen and got just one problem in a wsdl:operation tag but I get the same with WSDL generated using Jaxb so I think thats not the issue. I would generate the WSDL again and create a jira bug.

Thanks anyways.

On Aug 15, 2007, at 4:31 AM, James Mao wrote:

Hi,

Is it the generics? I'm not sure about this, have not investigate into it, but can give you a quick answer, java2wsdl don't support Aegis yet.

James
Hi -

I got a complex type as follows:

@XmlType(name = "PaginatedResult", namespace = ReactorWSConstants.RBX_MODEL_NS)
public class PaginatedResult<T> {
    List<T> result = new ArrayList<T>();
    long totalResults;
    long currentPage;
    long pageSize;
    long lastPage;
}

and a web method like this:

PaginatedResult<SomeObject> getMyPaginatedResult(...)

This complex type is not been generated in the WSDL and map to my interface client as an Object, can I fix this annotating more my class, or do I have to change my DataBinding to Aegis, does java2wsdl supports Aegis yet??




Julio Arias
Java Developer
Roundbox Global : enterprise : technology : genius
---------------------------------------------------------------------
Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
tel: 404.567.5000 ext. 2001 | cell: 011) 506.849.5981
email: [EMAIL PROTECTED] | www.rbxglobal.com
---------------------------------------------------------------------






Julio Arias
Java Developer
Roundbox Global : enterprise : technology : genius
---------------------------------------------------------------------
Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
tel: 404.567.5000 ext. 2001 | cell: 011) 506.849.5981
email: [EMAIL PROTECTED] | www.rbxglobal.com
---------------------------------------------------------------------

Reply via email to