You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2007/09/03 18:41:16 UTC

Some issues trying to bringup the Interop-Soap iTests

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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Some issues trying to bringup the Interop-Soap iTests

Posted by Luciano Resende <lu...@gmail.com>.
I'm still having some issues trying to bring-up the Interop-soap
iTests, and the current one might be related to TUSCANY-1686. So I'm
going to wait for Simon's patch and re-evaluate these iTests.

On 9/3/07, Luciano Resende <lu...@gmail.com> wrote:
> 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/
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org