I'm trying to bring up our soap interop tests under
/java/sca/itest/interop-soap-*, and looks like we have two issues that
I'm going to try to describe below :

One, probably not so important and looks like behaving like this for a
long time, is related to SDO databinding, where it looks like XSD2Java
is not using the same order to generate the related types when an
element and complexType have the same name. Looks like sometimes it
uses Element->class, Type->class1, and other times it generates
Element->class1, Type->class, and you will see generated java files
like this :

  public org.soapinterop.SimpleDocument1 SimpleDocument(
         org.soapinterop.SimpleDocument1 simpleDocument) ;

  public org.soapinterop.ComplexDocument ComplexDocument(
         org.soapinterop.ComplexDocument complexDocument) ;


Another issue that I noticed wrong generation of method signatures,
where we are generating :

public org.soapinterop.SimpleDocumentResponse SimpleDocument(
         org.soapinterop.SimpleDocument1 simpleDocument) ;

instead of :

public org.soapinterop.SimpleDocument1  SimpleDocument(
         org.soapinterop.SimpleDocument1 simpleDocument) ;

This might be related to TUSCANY-1142, I'll keep investigating the
issue above, but if anyone have some suggestions, please let me know.

Note that, for the issues above, the WSDL used as reference can be found at [1]

[1] 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/itest/interop-soap-client/src/main/resources/wsdl/interopdoc.wsdl

-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to