SandBox/test

Last-modified: 2009-06-20 (土) 11:20:28

同じURLだとエラー?

"http://localhost:8080/abc/def"
なんちゃら
"http://localhost:8080/abc/def"
なんちゃら
"http://localhost:8080/abc/def"
なんちゃら
"http://localhost:8080/abc/def"
なんちゃら
"http://localhost:8080/abc/def"
なんちゃら
"http://localhost:8080/abc/def"
なんちゃら
"http://localhost:8080/abc/def"
なんちゃら

…なんで上手くいく?

WSDLなら

<wsdl:definitions targetNamespace="http://localhost:8080/axis/services/HelloService">
-
<!--
WSDLはApache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)によって生成されました / [en]-(WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT))
-->
<wsdl:message name="helloGuyResponse">
<wsdl:part name="helloGuyReturn" type="soapenc:string"/>
</wsdl:message>
-
<wsdl:message name="helloGuyRequest">
<wsdl:part name="in" type="soapenc:string"/>
</wsdl:message>
-
<wsdl:portType name="HelloWorld">
-
<wsdl:operation name="helloGuy" parameterOrder="in">
<wsdl:input message="impl:helloGuyRequest" name="helloGuyRequest"/>
<wsdl:output message="impl:helloGuyResponse" name="helloGuyResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloServiceSoapBinding" type="impl:HelloWorld">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-
<wsdl:operation name="helloGuy">
<wsdlsoap:operation soapAction=""/>
-
<wsdl:input name="helloGuyRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://server" use="encoded"/>
</wsdl:input>
-
<wsdl:output name="helloGuyResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/HelloService" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="HelloWorldService">
-
<wsdl:port binding="impl:HelloServiceSoapBinding" name="HelloService">
<wsdlsoap:address location="http://localhost:8080/axis/services/HelloService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>