-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
7
-
generic
-
os_x
We can see the difference on below 2 test results:
Login to sc22bk06 using uadmin/changeme.
Based on b206. It works well
sc22bk06:/Users/uadmin/patrick/sample/output_ute_xml-12-01-04-00-10/ResultDir/jaxws_copy_1/runtest.log
Based on b212. It meets error during wsimport
sc22bk06:/Users/uadmin/patrick/sample/output_ute_xml-12-01-04-01-32/ResultDir/jaxws_copy_1/runtest.log
See a typical error on b212:
=======================
gen-client-wsimport-command:
[echo] ***************
[echo] http://localhost:8080/ow_wsdl_doclit/wsdl/OnewayIF?wsdl
[echo] ***************
[exec] parsing WSDL...
[exec] [ERROR] Server returned HTTP response code: 502 for URL: http://localhost:8080/ow_wsdl_doclit/wsdl/OnewayIF?wsdl
[exec] Failed to read the WSDL document: http://localhost:8080/ow_wsdl_doclit/wsdl/OnewayIF?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
==========================
The error is strange because it only happens for localhost. It works well when I use real ip or hostname. But it does not happen for b206 and b207.
Then what happened for wsimport during b208 to b212? I have checked the related mac jdk bundle from b208 to b211. There is a extra 1.7.0.jre dir. Is it the reason?
Login to sc22bk06 using uadmin/changeme.
Based on b206. It works well
sc22bk06:/Users/uadmin/patrick/sample/output_ute_xml-12-01-04-00-10/ResultDir/jaxws_copy_1/runtest.log
Based on b212. It meets error during wsimport
sc22bk06:/Users/uadmin/patrick/sample/output_ute_xml-12-01-04-01-32/ResultDir/jaxws_copy_1/runtest.log
See a typical error on b212:
=======================
gen-client-wsimport-command:
[echo] ***************
[echo] http://localhost:8080/ow_wsdl_doclit/wsdl/OnewayIF?wsdl
[echo] ***************
[exec] parsing WSDL...
[exec] [ERROR] Server returned HTTP response code: 502 for URL: http://localhost:8080/ow_wsdl_doclit/wsdl/OnewayIF?wsdl
[exec] Failed to read the WSDL document: http://localhost:8080/ow_wsdl_doclit/wsdl/OnewayIF?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
==========================
The error is strange because it only happens for localhost. It works well when I use real ip or hostname. But it does not happen for b206 and b207.
Then what happened for wsimport during b208 to b212? I have checked the related mac jdk bundle from b208 to b211. There is a extra 1.7.0.jre dir. Is it the reason?