실행 중 WSDL2Java
sample 웹 서비스에서 client code Netbeans generated에 문제가있어서 WSDL
을 검사하고 싶습니다. thisWSDL
은 유효합니까? 무효 인 경우 URL
과 XML
에있는 "광고"된 이유는 WSDL
입니까? WSDL2Java
validator from the CLI 실행이 WSDL이 유효합니까?
가 무효 보여줍니다
[email protected]:~$
[email protected]:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-openjdk-amd64/
[email protected]:~$
[email protected]:~$ jars/apache-cxf-3.1.11/bin/wsdlvalidator https://www.w3schools.com/xml/tempconvert.asmx?WSDL
WSIBP Validator found <{https://www.w3schools.com/xml/}TempConvertHttpPost> is NOT a SOAP binding
WSDLValidator Error :
line 127 column 66 of https://www.w3schools.com/xml/tempconvert.asmx?WSDL: cvc-complex-type.4: Attribute 'part' must appear on element 'mime:content'.
line 136 column 66 of https://www.w3schools.com/xml/tempconvert.asmx?WSDL: cvc-complex-type.4: Attribute 'part' must appear on element 'mime:content'.
[email protected]:~$
을하지만, 그 말 그대로, 나는 전혀 WSDL2Java
API를 처음 사용합니다. 웹 서비스로 실행되는 유효성 검사기 online이 있습니까?
https://www.wsdl-analyzer.com/service/service/893784871?version=1
WSDL은 .Net의 ClientService로 확인되지만 서비스는 [down]입니다 (https://www.w3schools.com/xml/tempconvert.asmx?op=CelsiusToFahrenheit). – Seyran