wsdl soap example java

Solutions on MaxInterview for wsdl soap example java by the best coders in the world

showing results for - "wsdl soap example java"
Mika
25 Jan 2018
1<?xml version="1.0" encoding="UTF-8"?>
2<definitions <!-- namespace declarations -->
3    targetNamespace="http://server.ws.soap.baeldung.com/" name="CountryServiceImplService">
4    <types>
5        <xsd:schema>
6            <xsd:import namespace="http://server.ws.soap.baeldung.com/" 
7              schemaLocation="http://localhost:8888/ws/country?xsd=1"></xsd:import>
8        </xsd:schema>
9    </types>
10    <message name="findByName">
11        <part name="arg0" type="xsd:string"></part>
12    </message>
13    <message name="findByNameResponse">
14        <part name="return" type="tns:country"></part>
15    </message>
16    <portType name="CountryService">
17        <operation name="findByName">
18            <input wsam:Action="http://server.ws.soap.baeldung.com/CountryService/findByNameRequest" 
19              message="tns:findByName"></input>
20            <output wsam:Action="http://server.ws.soap.baeldung.com/CountryService/findByNameResponse" 
21              message="tns:findByNameResponse"></output>
22        </operation>
23    </portType>
24    <binding name="CountryServiceImplPortBinding" type="tns:CountryService">
25        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"></soap:binding>
26        <operation name="findByName">
27            <soap:operation soapAction=""></soap:operation>
28            <input>
29                <soap:body use="literal" namespace="http://server.ws.soap.baeldung.com/"></soap:body>
30            </input>
31            <output>
32                <soap:body use="literal" namespace="http://server.ws.soap.baeldung.com/"></soap:body>
33            </output>
34        </operation>
35    </binding>
36    <service name="CountryServiceImplService">
37        <port name="CountryServiceImplPort" binding="tns:CountryServiceImplPortBinding">
38            <soap:address location="http://localhost:8888/ws/country"></soap:address>
39        </port>
40    </service>
41</definitions>