0
(내 자신의 네트워크에있는 서버에) 다음 URL을 사용하여 (내 로컬 컴퓨터에서)을 SOAPUI의 SOAP 프로젝트를 시작할 때 : 이 http://myinternaldomainname/test2?wsdlSOAPUI 오류 : 닫히지 태그 않습니다
다음 오류가 발생합니다
서버 내 호스트에 추가됩니다Error loading [ http://myinternaldomainname/test2?wsdl] : org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: does not close tag
파일 : 나는 WSDL 파일과 WSDL 페이지의 결과를 저장하면
192.168.2.1 myexampledomain
, 나는 새로운 SOAP 홍보로 WSDL 파일을 열 수 있습니다 꺼내십시오.
나는이 WSDL을 생성하는 젠드 \ 비누 \ 자동 검색을 사용 : 내가 시도 SOAPUI에서<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://myexampledomain/test2" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="MySoapService" targetNamespace="http://myexampledomain/test2">
<types>
<xsd:schema targetNamespace="http://myexampledomain/test2"/>
</types>
<portType name="MySoapServicePort">
<operation name="method1">
<documentation>This method takes ...</documentation>
<input message="tns:method1In"/>
<output message="tns:method1Out"/>
</operation>
<operation name="method2">
<documentation>This method takes ...</documentation>
<input message="tns:method2In"/>
<output message="tns:method2Out"/>
</operation>
</portType>
<binding name="MySoapServiceBinding" type="tns:MySoapServicePort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="method1">
<soap:operation soapAction="http://myexampledomain/test2#method1"/>
<input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://myexampledomain/test2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://myexampledomain/test2"/>
</output>
</operation>
<operation name="method2">
<soap:operation soapAction="http://myexampledomain/test2#method2"/>
<input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://myexampledomain/test2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://myexampledomain/test2"/>
</output>
</operation>
</binding>
<service name="MySoapServiceService">
<port name="MySoapServicePort" binding="tns:MySoapServiceBinding">
<soap:address location="http://myexampledomain/test2"/>
</port>
</service>
<message name="method1In">
<part name="inputParam" type="xsd:int"/>
</message>
<message name="method1Out">
<part name="return" type="xsd:string"/>
</message>
<message name="method2In">
<part name="inputParam1" type="xsd:int"/>
<part name="inputParam2" type="xsd:string"/>
</message>
<message name="method2Out">
<part name="return" type="xsd:float"/>
</message>
</definitions>
프록시 장애인/로그인 페이지가 나를 방해하기 때문에 가능/자동
문제가 발생했다
전 WSP에서 사소한 세부 사항을 망친 SOPHOS 보안에 큰 문제가있었습니다. 필자가 맡은 것은 프로젝트의 폴더에서 WSDL 파일을 사용하는 것이다. 이러한 보안 장치는 때로는 문제를 해결하기가 크게 어려울 수 있습니다. – Namphibian
wsdl 파일을 브라우저에서 열면 어떻게됩니까? – Rao
XML을 XML로 표시합니다. 페이지 상단에 다음과 같이 표시됩니다.이 XML 파일에는 연관된 스타일 정보가없는 것 같습니다. 문서 트리가 아래에 나와 있습니다. – Arthur