(私自身のネットワーク内のサーバ上の)次の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
サーバーが私のホストに追加されたファイル:
192.168.2.1 myexampledomain
を、私は、WSDLファイルとしてWSDLページの結果を格納するとき、私は新しいSOAPのPRとして、WSDLファイルを開くことができますoject。
私はこのWSDLを生成するために、Zendの\ソープ\自動検出を使用: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>
私は、ログインページを使用するように私を防ぐため、問題が発生した自動
SOPHOSのセキュリティに大きな問題がありましたが、これまでのWSDLの細部の詳細を揺さぶっていました。私の取り組みは、プロジェクトのフォルダにWSDLファイルを使用することです。これらのセキュリティデバイスは、トラブルシューティングが非常に困難な場合があります。 – Namphibian
wsdlファイルをブラウザで開くとどうなりますか? – Rao
XMLをXMLとして表示します。ページ上部に次のように表示されます。このXMLファイルには、スタイル情報は関連付けられていません。ドキュメントツリーを以下に示します。 – Arthur