Webservice nome do atributo

Olá,

Sou iniciante ao usar webservice e estou usando AXIS e estou em duvida

tem como tirar ax21 da tag do atributo abaixo pois queria que ficasse

somente o nome do atributo . Mostrou dessa forma pois estou usando o software SoapUI.

abs

[code]

<ax21:bairro>Vila Mole</ax21:bairro>
<ax21:cidade>São Paulo</ax21:cidade>
<ax21:codigo>12</ax21:codigo>
<ax21:endereco>Rua Sem Saida</ax21:endereco>[/code]

abs

Tem como remover sim. Você tem que editar os namespaces do arquivo xml em questão.
Teria como você postar todo o conteúdo ou, pelo menos, o cabeçalho do xml para eu exemplificar a mudança?

Bom dia ,

Agradeço o retorno e ajuda.

&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   &lt;soapenv:Body&gt;
      &lt;ns:listaClienteResponse xmlns:ns="http://org.ws/xsd" xmlns:ax21="http://model.calc.ws.org/xsd"&gt;
         &lt;ns:return type="org.ws.calc.model.Cliente"&gt;
            &lt;ax21:bairro&gt;Vila Mole&lt;/ax21:bairro&gt;
            &lt;ax21:cidade&gt;São Paulo&lt;/ax21:cidade&gt;
            &lt;ax21:codigo&gt;12&lt;/ax21:codigo&gt;
            &lt;ax21:endereco&gt;Rua Sem Saida&lt;/ax21:endereco&gt;
            &lt;ax21:estado&gt;São Paulo&lt;/ax21:estado&gt;
            &lt;ax21:nome&gt;Marley da Silva&lt;/ax21:nome&gt;
            &lt;ax21:numeroendereco&gt;12&lt;/ax21:numeroendereco&gt;
            &lt;ax21:pais&gt;Brazil&lt;/ax21:pais&gt;
         &lt;/ns:return&gt;
         &lt;ns:return type="org.ws.calc.model.Cliente"&gt;
            &lt;ax21:bairro&gt;Vila Sem saida&lt;/ax21:bairro&gt;
            &lt;ax21:cidade&gt;Campinas&lt;/ax21:cidade&gt;
            &lt;ax21:codigo&gt;12&lt;/ax21:codigo&gt;
            &lt;ax21:endereco&gt;Rua Volta Grande&lt;/ax21:endereco&gt;
            &lt;ax21:estado&gt;São Paulo&lt;/ax21:estado&gt;
            &lt;ax21:nome&gt;Jose Bob&lt;/ax21:nome&gt;
            &lt;ax21:numeroendereco&gt;2345&lt;/ax21:numeroendereco&gt;
            &lt;ax21:pais&gt;Brazil&lt;/ax21:pais&gt;
         &lt;/ns:return&gt;
      &lt;/ns:listaClienteResponse&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;

paribe,

basta fazer a seguinte mudança na linha que eu mencionei abaixo:

<ns:listaClienteResponse xmlns:ns="http://org.ws/xsd" xmlns:ax21="http://model.calc.ws.org/xsd">  

para…

<ns:listaClienteResponse xmlns:ns="http://org.ws/xsd" xmlns="http://model.calc.ws.org/xsd">  

Ou seja, remove o prefixo ax21 da definição do namespace.
Você pode fazer um teste para verificar se o xml continua válido. Faças as mudanças e depois abra esse arquivo em algum navegador. Se tiver algum problema de validação de xml, o browser irá te notificar.

Olá,

Uma duvida pois gerei esse arquivo XML através do software SoapUI 4.6.4.

Existe algum jeito de configurar essa alteração que você me passou no Java através do framework AXIS.

Abs

Paulo

paribe,

No momento, não estou lembrando exatamente onde modificar essa configuração. Mas me parece que ela deve ser feita no arquivo wsdl gerado para o serviço.
Lá vai estar a definição do SCHEMA de retorno do serviço junto com a definição do préfixo do namespace (ax21). Avisa se não conseguir resolver dessa forma, já tem um tempinho que não utilizo o AXIS. rsrs

Olá,

abaixo o cabeçalho do arquivo wsdl

Se alterar isto é tirar xmlns:axis2="http://org.ws/" xmlns:ns1="http://org.ws/xsd"
para
xmlns="http://org.ws/" xmlns:ns1="http://org.ws/xsd"

Será que resolve …

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:axis2="http://org.ws/" xmlns:ns1="http://org.ws/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://model.calc.ws.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://org.ws/"&gt;
    &lt;wsdl:types&gt;
        &lt;xs:schema xmlns:ax21="http://model.calc.ws.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://model.calc.ws.org/xsd"&gt;

Olá,

alterei o arquivo mesmo assim está saindo .

wsdl

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://org.ws/" xmlns:ns1="http://org.ws/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://model.calc.ws.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://org.ws/"&gt;
    &lt;wsdl:types&gt;
        &lt;xs:schema xmlns="http://model.calc.ws.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://model.calc.ws.org/xsd"&gt;
            &lt;xs:complexType name="Cliente"&gt;
                &lt;xs:sequence&gt;
                    &lt;xs:element minOccurs="0" name="bairro" nillable="true" type="xs:string"/&gt;
                    &lt;xs:element minOccurs="0" name="cidade" nillable="true" type="xs:string"/&gt;
                    &lt;xs:element minOccurs="0" name="codigo" type="xs:int"/&gt;
                    &lt;xs:element minOccurs="0" name="endereco" nillable="true" type="xs:string"/&gt;
                    &lt;xs:element minOccurs="0" name="estado" nillable="true" type="xs:string"/&gt;
                    &lt;xs:element minOccurs="0" name="nome" nillable="true" type="xs:string"/&gt;
                    &lt;xs:element minOccurs="0" name="numeroendereco" nillable="true" type="xs:string"/&gt;
                    &lt;xs:element minOccurs="0" name="pais" nillable="true" type="xs:string"/&gt;
                &lt;/xs:sequence&gt;
            &lt;/xs:complexType&gt;
        &lt;/xs:schema&gt;
        &lt;xs:schema xmlns:ns="http://org.ws/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://org.ws/xsd"&gt;
            &lt;xs:element name="divisao"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="i" type="xs:double"/&gt;
                        &lt;xs:element minOccurs="0" name="j" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="divisaoResponse"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="return" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="multiplicacao"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="i" type="xs:double"/&gt;
                        &lt;xs:element minOccurs="0" name="j" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="multiplicacaoResponse"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="return" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="soma"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="i" type="xs:double"/&gt;
                        &lt;xs:element minOccurs="0" name="j" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="somaResponse"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="return" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="subtracao"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="i" type="xs:double"/&gt;
                        &lt;xs:element minOccurs="0" name="j" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="subtracaoResponse"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="return" type="xs:double"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="listaClienteResponse"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="return" nillable="true" type="xs:anyType"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="dadosCliente"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="codigo" type="xs:int"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="dadosClienteResponse"&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                        &lt;xs:element minOccurs="0" name="return" nillable="true" type="ns0:Cliente"/&gt;
                    &lt;/xs:sequence&gt;
                &lt;/xs:complexType&gt;
            &lt;/xs:element&gt;
        &lt;/xs:schema&gt;
    &lt;/wsdl:types&gt;
    &lt;wsdl:message name="divisaoRequest"&gt;
        &lt;wsdl:part name="parameters" element="ns1:divisao"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="divisaoResponse"&gt;
        &lt;wsdl:part name="parameters" element="ns1:divisaoResponse"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="dadosClienteRequest"&gt;
        &lt;wsdl:part name="parameters" element="ns1:dadosCliente"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="dadosClienteResponse"&gt;
        &lt;wsdl:part name="parameters" element="ns1:dadosClienteResponse"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="listaClienteRequest"/&gt;
    &lt;wsdl:message name="listaClienteResponse"&gt;
        &lt;wsdl:part name="parameters" element="ns1:listaClienteResponse"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="subtracaoRequest"&gt;
        &lt;wsdl:part name="parameters" element="ns1:subtracao"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="subtracaoResponse"&gt;
        &lt;wsdl:part name="parameters" element="ns1:subtracaoResponse"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="somaRequest"&gt;
        &lt;wsdl:part name="parameters" element="ns1:soma"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="somaResponse"&gt;
        &lt;wsdl:part name="parameters" element="ns1:somaResponse"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="multiplicacaoRequest"&gt;
        &lt;wsdl:part name="parameters" element="ns1:multiplicacao"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="multiplicacaoResponse"&gt;
        &lt;wsdl:part name="parameters" element="ns1:multiplicacaoResponse"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:portType name="CalculadoraPortType"&gt;
        &lt;wsdl:operation name="divisao"&gt;
            &lt;wsdl:input message="divisaoRequest" wsaw:Action="urn:divisao"/&gt;
            &lt;wsdl:output message="divisaoResponse" wsaw:Action="urn:divisaoResponse"/&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="dadosCliente"&gt;
            &lt;wsdl:input message="dadosClienteRequest" wsaw:Action="urn:dadosCliente"/&gt;
            &lt;wsdl:output message="dadosClienteResponse" wsaw:Action="urn:dadosClienteResponse"/&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="listaCliente"&gt;
            &lt;wsdl:input message="listaClienteRequest" wsaw:Action="urn:listaCliente"/&gt;
            &lt;wsdl:output message="listaClienteResponse" wsaw:Action="urn:listaClienteResponse"/&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="subtracao"&gt;
            &lt;wsdl:input message="subtracaoRequest" wsaw:Action="urn:subtracao"/&gt;
            &lt;wsdl:output message="subtracaoResponse" wsaw:Action="urn:subtracaoResponse"/&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="soma"&gt;
            &lt;wsdl:input message="somaRequest" wsaw:Action="urn:soma"/&gt;
            &lt;wsdl:output message="somaResponse" wsaw:Action="urn:somaResponse"/&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="multiplicacao"&gt;
            &lt;wsdl:input message="multiplicacaoRequest" wsaw:Action="urn:multiplicacao"/&gt;
            &lt;wsdl:output message="multiplicacaoResponse" wsaw:Action="urn:multiplicacaoResponse"/&gt;
        &lt;/wsdl:operation&gt;
    &lt;/wsdl:portType&gt;
    &lt;wsdl:binding name="CalculadoraSOAP11Binding" type="CalculadoraPortType"&gt;
        &lt;soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/&gt;
        &lt;wsdl:operation name="divisao"&gt;
            &lt;soap:operation soapAction="urn:divisao" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="dadosCliente"&gt;
            &lt;soap:operation soapAction="urn:dadosCliente" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="listaCliente"&gt;
            &lt;soap:operation soapAction="urn:listaCliente" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="subtracao"&gt;
            &lt;soap:operation soapAction="urn:subtracao" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="soma"&gt;
            &lt;soap:operation soapAction="urn:soma" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="multiplicacao"&gt;
            &lt;soap:operation soapAction="urn:multiplicacao" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
    &lt;/wsdl:binding&gt;
    &lt;wsdl:binding name="CalculadoraSOAP12Binding" type="CalculadoraPortType"&gt;
        &lt;soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/&gt;
        &lt;wsdl:operation name="divisao"&gt;
            &lt;soap12:operation soapAction="urn:divisao" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="dadosCliente"&gt;
            &lt;soap12:operation soapAction="urn:dadosCliente" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="listaCliente"&gt;
            &lt;soap12:operation soapAction="urn:listaCliente" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="subtracao"&gt;
            &lt;soap12:operation soapAction="urn:subtracao" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="soma"&gt;
            &lt;soap12:operation soapAction="urn:soma" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="multiplicacao"&gt;
            &lt;soap12:operation soapAction="urn:multiplicacao" style="document"/&gt;
            &lt;wsdl:input&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;soap12:body use="literal"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
    &lt;/wsdl:binding&gt;
    &lt;wsdl:binding name="CalculadoraHttpBinding" type="CalculadoraPortType"&gt;
        &lt;http:binding verb="POST"/&gt;
        &lt;wsdl:operation name="divisao"&gt;
            &lt;http:operation location="Calculadora/divisao"/&gt;
            &lt;wsdl:input&gt;
                &lt;mime:content type="text/xml" part="divisao"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;mime:content type="text/xml" part="divisao"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="dadosCliente"&gt;
            &lt;http:operation location="Calculadora/dadosCliente"/&gt;
            &lt;wsdl:input&gt;
                &lt;mime:content type="text/xml" part="dadosCliente"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;mime:content type="text/xml" part="dadosCliente"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="listaCliente"&gt;
            &lt;http:operation location="Calculadora/listaCliente"/&gt;
            &lt;wsdl:input&gt;
                &lt;mime:content type="text/xml" part="listaCliente"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;mime:content type="text/xml" part="listaCliente"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="subtracao"&gt;
            &lt;http:operation location="Calculadora/subtracao"/&gt;
            &lt;wsdl:input&gt;
                &lt;mime:content type="text/xml" part="subtracao"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;mime:content type="text/xml" part="subtracao"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="soma"&gt;
            &lt;http:operation location="Calculadora/soma"/&gt;
            &lt;wsdl:input&gt;
                &lt;mime:content type="text/xml" part="soma"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;mime:content type="text/xml" part="soma"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
        &lt;wsdl:operation name="multiplicacao"&gt;
            &lt;http:operation location="Calculadora/multiplicacao"/&gt;
            &lt;wsdl:input&gt;
                &lt;mime:content type="text/xml" part="multiplicacao"/&gt;
            &lt;/wsdl:input&gt;
            &lt;wsdl:output&gt;
                &lt;mime:content type="text/xml" part="multiplicacao"/&gt;
            &lt;/wsdl:output&gt;
        &lt;/wsdl:operation&gt;
    &lt;/wsdl:binding&gt;
    &lt;wsdl:service name="Calculadora"&gt;
        &lt;wsdl:port name="CalculadoraSOAP11port_http" binding="CalculadoraSOAP11Binding"&gt;
            &lt;soap:address location="http://localhost:8080/axis2/services/Calculadora"/&gt;
        &lt;/wsdl:port&gt;
        &lt;wsdl:port name="CalculadoraSOAP12port_http" binding="CalculadoraSOAP12Binding"&gt;
            &lt;soap12:address location="http://localhost:8080/axis2/services/Calculadora"/&gt;
        &lt;/wsdl:port&gt;
        &lt;wsdl:port name="CalculadoraHttpport" binding="CalculadoraHttpBinding"&gt;
            &lt;http:address location="http://localhost:8080/axis2/services/Calculadora"/&gt;
        &lt;/wsdl:port&gt;
    &lt;/wsdl:service&gt;
&lt;/wsdl:definitions&gt;

saida


&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   &lt;soapenv:Body&gt;
      &lt;ns:listaClienteResponse xmlns:ns="http://org.ws/xsd" xmlns:ax21="http://model.calc.ws.org/xsd"&gt;
         &lt;ns:return type="org.ws.calc.model.Cliente"&gt;
            &lt;ax21:bairro&gt;Vila Mole&lt;/ax21:bairro&gt;
            &lt;ax21:cidade&gt;São Paulo&lt;/ax21:cidade&gt;
            &lt;ax21:codigo&gt;12&lt;/ax21:codigo&gt;
            &lt;ax21:endereco&gt;Rua Sem Saida&lt;/ax21:endereco&gt;
            &lt;ax21:estado&gt;São Paulo&lt;/ax21:estado&gt;
            &lt;ax21:nome&gt;Marley da Silva&lt;/ax21:nome&gt;
            &lt;ax21:numeroendereco&gt;12&lt;/ax21:numeroendereco&gt;
            &lt;ax21:pais&gt;Brazil&lt;/ax21:pais&gt;
         &lt;/ns:return&gt;
         &lt;ns:return type="org.ws.calc.model.Cliente"&gt;
            &lt;ax21:bairro&gt;Vila Sem saida&lt;/ax21:bairro&gt;
            &lt;ax21:cidade&gt;Campinas&lt;/ax21:cidade&gt;
            &lt;ax21:codigo&gt;12&lt;/ax21:codigo&gt;
            &lt;ax21:endereco&gt;Rua Volta Grande&lt;/ax21:endereco&gt;
            &lt;ax21:estado&gt;São Paulo&lt;/ax21:estado&gt;
            &lt;ax21:nome&gt;Jose Bob&lt;/ax21:nome&gt;
            &lt;ax21:numeroendereco&gt;2345&lt;/ax21:numeroendereco&gt;
            &lt;ax21:pais&gt;Brazil&lt;/ax21:pais&gt;
         &lt;/ns:return&gt;
      &lt;/ns:listaClienteResponse&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;