javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

MTOM 3.5 Interop w/Tomcat S->M error, Soap12MtomUtf8AddressingAug04.svc?xsd=xsd0 is not a part of this compilation #993

Open glassfishrobot opened 16 years ago

glassfishrobot commented 16 years ago

MTOM 3.5 Interop with Tomcat (interop-tango2indigo, S->M)

seeing this error:

modify-indigo-client-customization: [copy] Copying 2 files to C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\temp

generate-client-from-indigo-endpoint: [wsimport] Consider using / so that wsimport won't do unnecessary compilation [wsimport] command line: wsimport C:\space\jdks\jdk1.6.0_02\jre\bin\java.exe -Dhttp.proxyHost=webcache.eng.sun.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|.india.sun.com|.east.sun.com|*.czech.sun.com -classpath C:\space\apache-tomcat-5.5.26\common\endorsed\webservices-api.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-extra.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-extra-api.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-rt.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-tools.jar;C:\space\jdks\jdk1.6.0_02\lib\tools.jar;C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\lib\junit.jar;C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\config com.sun.tools.ws.WsImport -d C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\classes -extension -s C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\src -verbose http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8.svc?wsdl -b C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\temp\client-indigo-schema-customization.xml -b C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\temp\custom-indigo-client.xml [wsimport] parsing WSDL...

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8AddressingAug04.svc?xsd=xsd0" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8.svc?xsd=xsd0"? [wsimport] line 6 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/client-indigo-schema-customization.xml

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8AddressingAug04.svc?xsd=xsd1" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8.svc?xsd=xsd1"? [wsimport] line 12 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/client-indigo-schema-customization.xml

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8AddressingAug04.svc?xsd=xsd2" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8.svc?xsd=xsd2"? [wsimport] line 18 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/client-indigo-schema-customization.xml

setup-dirs:

modify-indigo-client-customization: [copy] Copying 2 files to C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\temp

generate-client-from-indigo-endpoint: [wsimport] Consider using / so that wsimport won't do unnecessary compilation [wsimport] command line: wsimport C:\space\jdks\jdk1.6.0_02\jre\bin\java.exe -Dhttp.proxyHost=webcache.eng.sun.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|.india.sun.com|.east.sun.com|*.czech.sun.com -classpath C:\space\apache-tomcat-5.5.26\common\endorsed\webservices-api.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-extra.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-extra-api.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-rt.jar;C:\space\apache-tomcat-5.5.26\shared\lib\webservices-tools.jar;C:\space\jdks\jdk1.6.0_02\lib\tools.jar;C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\lib\junit.jar;C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\config com.sun.tools.ws.WsImport -d C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\classes -extension -g -keep -s C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\src -verbose http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurityAug04.svc?wsdl -b C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\temp\client-indigo-schema-customization.xml -b C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\temp\custom-indigo-client.xml [wsimport] parsing WSDL...

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurity.svc?wsdl" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurityAug04.svc?wsdl"? [wsimport] line 6 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/custom-indigo-client.xml

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurity.svc?xsd=xsd0" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurityAug04.svc?xsd=xsd0"? [wsimport] line 6 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/client-indigo-schema-customization.xml

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurity.svc?xsd=xsd1" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurityAug04.svc?xsd=xsd1"? [wsimport] line 12 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/client-indigo-schema-customization.xml

[wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurity.svc?xsd=xsd2" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12Utf8WithSecurityAug04.svc?xsd=xsd2"? [wsimport] line 18 of file:/C:/space/test4u2/cvswork/sunsw/tango/qe-tests/mtom/interop/build/temp/client-indigo-schema-customization.xml

default-compiler: [buildTests] XTest: building tests. [buildTests] XTest: compiling tests.

compile:

compile-one-dir: [mkdir] Created dir: C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\build\test\interop-tango2indigo\classes [javac] Compiling 8 source files to C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\build\test\interop-tango2indigo\classes [xtest] C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\src\soap11signenc\client\JAXWSClient.java:46: cannot find symbol [xtest] symbol : method getCustomBindingIMtomTest() [xtest] location: class soap11signenc.client.service.MtomService [xtest] IMtomTest proxy = service.getCustomBindingIMtomTest(); [xtest] ^ [xtest] C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\src\soap11signonly\client\JAXWSClient.java:157: echoBinaryHeaderAsString() in soap11signonly.client.service.IMtomTest cannot be applied to (byte[]) [xtest] String resp = proxy.echoBinaryHeaderAsString(data.getBytes()); [xtest] ^ [xtest] C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\src\soap11utf16\client\JAXWSClient.java:142: echoBinaryHeaderAsString() in soap11utf16.client.service.IMtomTest cannot be applied to (byte[]) [xtest] String resp = proxy.echoBinaryHeaderAsString(data.getBytes()); [xtest] ^ [xtest] C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\src\soap11utf8\client\JAXWSClient.java:142: echoBinaryHeaderAsString() in soap11utf8.client.service.IMtomTest cannot be applied to (byte[]) [xtest] String resp = proxy.echoBinaryHeaderAsString(data.getBytes()); [xtest] ^ [xtest] C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\src\soap12utf8\client\JAXWSClient.java:147: echoBinaryHeaderAsString() in soap12utf8.client.service.IMtomTest cannot be applied to (byte[]) [xtest] String resp = proxy.echoBinaryHeaderAsString(data.getBytes()); [xtest] ^ [xtest] C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\src\soap12utf8security\client\JAXWSClient.java:146: echoBinaryHeaderAsString() in soap12utf8security.client.service.IMtomTest cannot be applied to (byte[]) [xtest] String resp = proxy.echoBinaryHeaderAsString(data.getBytes()); [xtest] ^ [xtest] 6 errors

BUILD FAILED C:\space\test4u2\xtests\netbeans-trunk\lib\harness.xml:223: The following error occurred while executing this line: C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\test\build.xml:49: The following error occurred while executing this line: C:\space\test4u2\xtests\netbeans-trunk\lib\module_harness.xml:384: The following error occurred while executing this line: C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\test\build-interop-tango2indigo.xml:57: The following error occurred while executing this line: C:\space\test4u2\xtests\netbeans-trunk\plugins\base\lib\basic_compiler_targets.xml:47: The following error occurred while executing this line: C:\space\test4u2\xtests\netbeans-trunk\plugins\base\lib\basic_compiler_targets.xml:64: Compile failed; see the compiler error output for details.

Total time: 44 seconds

Environment

Operating System: Solaris Platform: All

Affected Versions

[1.3]

glassfishrobot commented 16 years ago

Reported by jbenoit@java.net

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=714) test4u mtom_interop-tango2indigo.log log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=715) Tomcat's catalina log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=716) Tomcat's localhost log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=717) test4u installation/setup log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=718) test4u xtest properties file showing paths, properties, etc.

glassfishrobot commented 16 years ago

jbenoit@java.net said: upgrading to p2 from p3, as Harold confirmed that all Interop bugs should be filed at p2 level. for release that is integrated into GF, all p1-p3 need to be addressed or waived, but this is not the case for standalone release that is not integrated into and released as part of GF. for standalone release, the criteria is no p1 bugs, so even though bug is filed at p2, it still doesn't require a waiver to meet release criteria and give a "GO" instead of "NO-GO" vote for release.

glassfishrobot commented 16 years ago

jitu@java.net said: [wsimport] [ERROR] "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8AddressingAug04.svc?xsd=xsd0" is not a part of this compilation. Is this a mistake for "http://yinyang.india.sun.com/MTOM_Service_Indigo/Soap12MtomUtf8.svc?xsd=xsd0"?

The customzation file seems to be incorrect and hence wsimport is failing. Assigning this to Jon.

glassfishrobot commented 16 years ago

jbenoit@java.net said: Need to confirm with David which testrun is being used to run this job, as I can see from the previously attached test4.log file that it is not using the MTOM_INTEROP_UPDATE CVS branch:

Preparing test sources. 2008-08-03 10:38:36 (INFO) org.netbeans.test4u.plugin.AbstractTestRepository.checkoutTests Cleaning cvs repository. 2008-08-03 10:38:36 (INFO) org.netbeans.test4u.plugin.AbstractTestRepository.checkoutMandatory Checkout mandatory data. 2008-08-03 10:38:36 (FINE) org.netbeans.test4u.system.process.ProcessExecutor.run running: c:\space\cvs\cvs.exe -d :pserver:dr199838@sunsw.sfbay.sun.com:/sw/wpts -q -z6 checkout -P -A tango/qe-tests/gf-setup in C:\space\test4u2\cvswork\sunsw cvs checkout: cwd=C:\space\test4u2\cvswork\sunsw ,current=C:\space\test4u2\cvswork\sunsw

Should be using MTOM_INTEROP_UPDATE CVS branch when working with 3.5 endpoints.

should be using "Composed MTOM Interop 3.5" testrun [1] instead of "MTOM Interop" [2] testrun, since the composed testrun [1] overrides the CVS branch passing MTOM_INTEROP_UPDATE.

[1]http://eas-v240-12.india.sun.com:8080/test4u/editcomposedtestrun?testrunid=20080312161044 [2]http://eas-v240-12.india.sun.com:8080/test4u/viewtestrun?testrunid=20070912174155

Similar confirmation should be made for other MTOM Interop tests dealing with 3.5 endpoints testruns

glassfishrobot commented 12 years ago

snajper said: Sreekanth, is this issue still valid?

glassfishrobot commented 16 years ago

File: catalina.2008-08-03.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: localhost.2008-08-03.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: tango_qe-tests_mtom_interop-tango2indigo.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: test4u.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: xtest.properties Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

Was assigned to msreekanth

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-993