11.5 呼叫webservice ,機器能訪問webservice地址,但是輸入webservice地址時無法獲取服務名,直接上圖,求解答

頁面能打開webservice服務


不能獲得服務名,不知道原因為啥 ?
求解答或者求思路也可,謝謝大家
uj5u.com熱心網友回復:
<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3-hudson-390-. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3-hudson-390-. --><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://common/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MyServiceService" targetNamespace="http://common/">
<types>
<xsd:schema>
<xsd:import namespace="http://common/" schemaLocation="http://192.168.3.196:9090/TestService/MyServicePort?xsd=1"></xsd:import>
</xsd:schema>
</types>
<message name="SayHi">
<part element="tns:SayHi" name="parameters"></part>
</message>
<message name="SayHiResponse">
<part element="tns:SayHiResponse" name="parameters"></part>
</message>
<portType name="MyServiceDelegate">
<operation name="SayHi">
<input message="tns:SayHi"></input>
<output message="tns:SayHiResponse"></output>
</operation>
</portType>
<binding name="MyServicePortBinding" type="tns:MyServiceDelegate">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
<operation name="SayHi">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
<output>
<soap:body use="literal"></soap:body>
</output>
</operation>
</binding>
<service name="MyServiceService">
<port binding="tns:MyServicePortBinding" name="MyServicePort">
<soap:address location="http://192.168.3.196:9090/TestService/MyServicePort"></soap:address>
</port>
</service>
</definitions>
這個是wsdl檔案內容
uj5u.com熱心網友回復:
用.NET的引擎試試。轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/49768.html
標籤:Web 應用
上一篇:高分求解:使用pb9.0每天定時自動從sql sever中查出資料,匯入至oracle中
下一篇:急求PB9.0補丁
