OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrf-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Public Comment


Comment from: jantony@us.ibm.com

Both WS-ResourceProperty and WS-ResourceLifetime define BaseFaultType -
While this definition should have come from WS-Basefault.

Also - since ErrorCode extends from xsd:anyType, the code generated for it
by wsdl2java looks like:
public class ErrorCode
            extends java.lang.Object ...

and the generated serrializer for it is:
public class ErrorCode_Ser
            extends java.lang.Object_Ser ...

This of course will not compile, as there is no class defintion for
"java.lang.Object_Ser".

So currently, I use a modified defintion of the ErrorCode that 'has-a'
xsd:any, instead of using the 'is-a' xsd:anyType by extending from it.

What is the correct approach in dealing with this error? Is this an error
in wsdl2java tooling?

Thanks,
JaiPaul.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]