PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Acessando Webservice Ws_security feito com Embarcadeiro
Acessando Webservice Ws_security feito com Embarcadeiro
Débuté par adrianoboller, 09 déc. 2014 16:42 - 7 réponses
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 16:42
Procedure WS_Taxi_Disponivel(LOCAL DebugSN)

//Foi trash mas funciona em 2 segundos tem todos os taxis de curitiba
//Para plotar na tela vamos usar uma procedure local na tela do mapa
//usamos a queue para poder ter os dados armazenados e usados entre procedures


//Variaveis
ok, bRet is boolean = False

nRetornoCodigo is int = 0

nContador is int = 0

CodClienteCelula is string = ""

XML_Retorno is string = ""

LocSt_TaxisLogados is ST_TaxisLogados

IpSaladaFruta01 is string = Morango_01 +"."+ Abacaxi_02 +"."+ Limao_03 +"."+ Melancia_04 +":"+ Laranja_05

IpSaladaFruta02 is string = Morango_01 +"."+ Abacaxi_02 +"."+ Limao_03 +"."+ Melancia_04 +":"+ Manga_06

//Modelo a ser seguido:

//####ENVELOPE DE ENVIO#### ----->
//<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
//xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
//xmlns:urn="urn:act297_RtPlusSSDM-IRtPlusSSDM">
//<soapenv:Header/>
//<soapenv:Body>
//<urn:ObterRelacaoDeVeiculosLogados soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
//<cod_client_celula xsi:type="xsd:int">1</cod_client_celula>
//<dat_hora_proces xsi:type="xsd:string">2014-06-30T15:01:24</dat_hora_proces>
//<num_proces xsi:type="xsd:int">1617</num_proces>
//</urn:ObterRelacaoDeVeiculosLogados>
//</soapenv:Body>
//</soapenv:Envelope>



//####ENVELOPE DE RETORNO#### <---- ta aqui o que vem, um bloco confuso que no loop so vai atrapalhar
//<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
//xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
//xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
//<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
//xmlns:NS1="urn:act297_RtPlusSSDM-IRtPlusSSDM" xmlns:NS2="urn:act297_RtPlusSSDM">
//<NS1:ObterRelacaoDeVeiculosLogadosResponse>
//<return href="#1"/>
//</NS1:ObterRelacaoDeVeiculosLogadosResponse>
//<NS2:TVeiculosLogadosResult id="1">
//<ArrayVeiculosLogados>
//<item href="#2"/>
//</ArrayVeiculosLogados>
//</NS2:TVeiculosLogadosResult>
//<NS2:TVeiculoLogadoVO id="2">
//<NumUnidad>4</NumUnidad>
//<ValLatitu>-25.468</ValLatitu>
//<ValLongit>-49.227</ValLongit>
//<IdeStatus>0</IdeStatus>
//</NS2:TVeiculoLogadoVO>
//<NS2:TVeiculoLogadoVO id="3">
//<NumUnidad>10</NumUnidad>
//<ValLatitu>-25.39272</ValLatitu>
//<ValLongit>-49.183008</ValLongit>
//<IdeStatus>0</IdeStatus>
//</NS2:TVeiculoLogadoVO>
//</SOAP-ENV:Body>
//</SOAP-ENV:Envelope>


//SEM ACENTO
ChangeCharset(charsetOccidental)

//Busca Cliente pelo codigo como só tem um usuario cadastrado no aplicativo o codigo é 1
HReadSeekFirst(t001_cliente,t001_cliente.t001_seq_cliente,1)
IF HFound(t001_cliente) = True AND t001_cliente.t001_cod_clientecelula > 0 THEN

//Registro localizado
CodClienteCelula = t001_cliente.t001_cod_clientecelula

//Toquen de conexao
//NumProcess = TOQUEN de conexao - codigo validador parecido calculo do cnpj, mas nao é, apenas parecido
NumProces is string = WS_Taxi_ValidaRequisicao(t001_cliente.t001_ddd_telefone,...
t001_cliente.t001_num_telefone,...
0,...
0,...
"N")

//Envelope SOAP de envio// - recurso interessante no windev - string com texto com quebra de linha com definicao usando [ ] - #ObterRelacaoDeVeiculosLogados isso nao tem documentacao - mesmo o soapUi que mostrei nao coloca esse pedaço que defini o metodo usado no envelope, sem isso nao funciona
Xml_SEND is string = [
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:act297_RtPlusSSDM-IRtPlusSSDM#ObterRelacaoDeVeiculosLogados">
<soapenv:Header/>
<soapenv:Body>
<urn:ObterRelacaoDeVeiculosLogados soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<cod_client_celula xsi:type="xsd:int">V001</cod_client_celula>
<dat_hora_proces xsi:type="xsd:string">V002</dat_hora_proces>
<num_proces xsi:type="xsd:int">V003</num_proces>
</urn:ObterRelacaoDeVeiculosLogados>
</soapenv:Body>
</soapenv:Envelope>
]

//Replace dos dados do envelope pelos dados do cliente e código gerado pelo toquen
Xml_SEND = Clip(Replace(Xml_SEND,"V001",CodClienteCelula)) // cliente
Xml_SEND = Clip(Replace(Xml_SEND,"V002",GloDataHora)) // criada no toquen
Xml_SEND = Clip(Replace(Xml_SEND,"V003",NumProces)) // toquen


//Debug do que vai ser enviado (xml enviado).........................
IF DebugSN = "S" THEN
Info("/mnt/sdcard/TaxiFv/Arquivos/EnvioWSVersao.TXT", Xml_SEND) //Celular/tablet
IF InAndroidMode() = True
IF InSimulatorMode() = False THEN // nao é o simulador é o tablet ou o celular
fSaveBuffer("/mnt/sdcard/TaxiFv/Arquivos/EnvioWSVersao.TXT", Xml_SEND) // Local onde foi salvo o xml
ELSE
fSaveBuffer("c:\EnvioWSVersao.TXT", Xml_SEND) //PC local onde foi salvo o xml
END
END
END

//Definicao de um tempo maximo do httprequest - timeout aqui é 6000
//
HTTPTimeOut(GloHTTPTimeOut)

ok = HTTPRequest("http://"+IpSaladaFruta01+"/soap/IRtPlusSSDM","", "", Xml_SEND, "text/xml","","")


// ----------------------------------------------> XML_SEND = Envelope

//BASE TESTE - IPS ficticios nao sao validos
//ok = HTTPRequest("http://"+IpSaladaFruta02+"/soap/IRtPlusSSDM","", "", Xml_SEND, "text/xml","","")

IF ok = True //deu certo THEN

XML_Retorno = WS_Android_IOS_HTTPGetResult()

//
ok = False

//DEBUG - Arquivo Texto para Debug do que veio do servidor
IF DebugSN = "S"
Info("/mnt/sdcard/TaxiFv/Arquivos/RetornoWSVersaoSemTratamento.TXT",XML_Retorno) //celular ou tablet
IF InAndroidMode() = True
IF InSimulatorMode() = False THEN
fSaveBuffer("/mnt/sdcard/TaxiFv/Arquivos/RetornoWSVersaoSemTratamento.TXT", XML_Retorno) //local
ELSE
fSaveBuffer("C:\RetornoWSVersao.TXT", XML_Retorno) // pc onde tem o xml de retorno
END
END
END

XML_Retorno = WS_RemoveAcentos(XML_Retorno)////////////////////// ponto de entrada do codigo ios

IF Length(XML_Retorno) > 0 THEN

ArrayDeleteAll(arr_TaxisLogados) // limpa array

IF IniOSMode() = True THEN
/////////////////////////////////////////////////////////////

NoXml is string
i is int = 1

LOOP

NoXml = XMLExtractString(XML_Retorno,"NS2:TVeiculoLogadoVO",i)

IF NoXml = "" THEN
BREAK
END

LocSt_TaxisLogados.ST_ID = XMLExtractString(NoXml,"NumUnidad")
LocSt_TaxisLogados.ST_Latitude = XMLExtractString(NoXml,"ValLatitu",1)
LocSt_TaxisLogados.ST_Longitude = XMLExtractString(NoXml,"ValLongit",1)
LocSt_TaxisLogados.ST_Situacao = XMLExtractString(NoXml,"IdeStatus",1)

arr_TaxisLogados[LocSt_TaxisLogados.ST_ID] = LocSt_TaxisLogados

nContador ++
i++
ok = True

IF DebugSN = "S" THEN
Info(LocSt_TaxisLogados.ST_ID,LocSt_TaxisLogados.ST_Latitude,LocSt_TaxisLogados.ST_Longitude,LocSt_TaxisLogados.ST_Situacao)
END

END//loop

ELSE IF InAndroidMode() = True
/////////////////////////////////////////////////////////////

nInicial is int
nFinal is int
nInicial = PositionOccurrence(XML_Retorno,"<NS2:TVeiculoLogadoVO",firstRank,FromBeginning)
nFinal = PositionOccurrence(XML_Retorno,"</NS2:TVeiculoLogadoVO>",lastRank,FromEnd) +Length("</NS2:TVeiculoLogadoVO>")
XML_Retorno = Middle(XML_Retorno,nInicial,nFinal - nInicial)
XML_Retorno = Replace(XML_Retorno,"NS2:TVeiculoLogadoVO","NoXml")
XML_Retorno = "<Xml><Recorte>"+XML_Retorno+"</Recorte></Xml>"

//Ficou Glo_XML_Retorno assim:
//<Xml>
// <Retorno>
// <NoXml id="2">
//<numunidad>6</numunidad>
//<vallatitu>-25.448424</vallatitu>
//<vallongit>-49.285908</vallongit>
//<idestatus>1</idestatus>
//</NoXml>
// <NoXml id="3">
//<numunidad>7</numunidad>
//<vallatitu>-25.448424</vallatitu>
//<vallongit>-49.285908</vallongit>
//<idestatus>1</idestatus>
//</NoXml>
// </Retorno>
//</Xml>

//So pra ver se ligr o debug como ficou
IF DebugSN = "S" THEN
Info(XML_Retorno) // na tela
IF InAndroidMode() = True
fSaveBuffer("/mnt/sdcard/TaxiFv/Arquivos/RecorteBlocoLogados.TXT", XML_Retorno) //no arquivo
END
END

//Aqui é a definição de ler o xml e pegar os dados de cada taxi

//Leitura do xml
XmlDoc is XMLDocument

//Carrega o retornoc ajustado em um XmlDoc é uma string tomando formado de xml em um xmlDoc
XmlDoc = XMLOpen(XML_Retorno, fromString)

//Define o Nó Raiz de leitura - onde comeca e termina cada taxi a ser lido
NoXml is xmlNode

//Leitura do xml em loop--- aqui que o bicho pega e começa a ler
FOR EACH NoXml OF XmlDoc.Xml.Recorte on NoXml

//incluir registros na queue/
IF NoXml.NumUnidad <> Null AND NoXml.ValLatitu <> Null AND NoXml.ValLongit <> Null THEN

nContador += 1
ok = True
LocSt_TaxisLogados.ST_ID = NoXml.NumUnidad
LocSt_TaxisLogados.ST_Latitude = NoXml.ValLatitu
LocSt_TaxisLogados.ST_Longitude = NoXml.ValLongit
LocSt_TaxisLogados.ST_Situacao = NoXml.IdeStatus

//incluir - Add in Queue - incluir registro na queue // struct de memoria // tabela de memoria
arr_TaxisLogados[LocSt_TaxisLogados.ST_ID] = LocSt_TaxisLogados

END

END

END

END

END

END

//retorno da funcao é deu certo ou deu errado com true ou false
IF DebugSN = "S" THEN
Info("Qtde de Taxis Disponiveis:",nContador)
END

RESULT(ok)
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:31
How is the ws_security webservice done with embarcadeiro (Como é o webservice ws_security feito com embarcadeiro)

<soap:Header>
<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-e97649ba-da58-429e-8b1c-a51fac8ce5e4">
<wsu:Created>2007-04-10T20:10:13Z</wsu:Created>
<wsu:Expires>2007-04-10T20:11:13Z</wsu:Expires>
</wsu:Timestamp>
<wsse:BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-080766c7-0c4f-4dec-881f-2a07fc0b3e09">MIICGDCCAYGgAwIBAgIBADANBgkqhkiG9w0BAQUFADBSMQswCQYDVQQGEwJVUzELMAkGA1UECBMCTUExEjAQBgNVBAcTCUNhbWJyaWRnZTESMBAGA1U
EChMJRGF0YVBvd2VyMQ4wDAYDVQQDEwVBbGljZTAeFw0wMjExMjMwMTE1MzNaFw0xMjExMjMwMTE1MzNaMFIxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJNQTESMBAGA1UEBxMJQ2FtYnJpZGdlMRIwEAYDVQQKEwlEYXRhUG93ZXIxDjAMBgNVBAMTBUFsaWNlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUIz3F9Kwgu57QfATZfCJmJq0kNoXFN2cagRP/YtH+T3A0fyA6g0MASAkjRX4waOCZL/Dpl+kIyUiFjbDku2vNIZS49OC66g021bIJpDHrV2+nML+XDc5tTOgyNCX2drT3AL9Rjj2guAIvUQLvi8Nj7sd2PL98h4wCKQCXbMpOdwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAJBKfQN7hJZ2tNjLiZWpXaRyiTc80TDZhPZYsSAEMYJ13R4gcThuZuSkpr3qxpdHotS8KhNn7FzVn
/KtOnh1fqCGQQ6UfRiRAtEruhaBDI9jculwQRyzm7Ard7q5MLIIx3CKjaf12kN1mmEdHOitpfb+2LM/ksBIEaJ2MC5F0Jvi</wsse:BinarySecurityToken>
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-c3c88ae9-7f84-4e42-8072-ab5320440422">
<wsse:Username>femauser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">passw0rd</wsse:Password>
<wsse:Nonce>b/FEuSSdYLBPMbWhktSf4g==</wsse:Nonce>
<wsu:Created>2007-04-10T20:10:13Z</wsu:Created>
</wsse:UsernameToken>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#Timestamp-e97649ba-da58-429e-8b1c-a51fac8ce5e4">
<Transforms>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>hgwbQEdoP4El3oq0xBtueXgZP04=</DigestValue>
</Reference:>
<Reference URI="#Id-d998fece-5cdd-4fb8-a609-ba479b58e1e7">
<Transforms>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>GF3nEBV24nUf5HgSNWeQGYHjkrE=</DigestValue>
</Reference>
</SignedInfo> <SignatureValue>WFT40oJ+a6bhZuPw8k5tMNlEm7PXhZeLFQLhWMlw+Zpc0mCTp6O3evmIIUhMF6ht9x4kpjimJw2Gykx9MA+KYrzAUmjU/sLp5yal7tW8uJLBtX2THPlv83d/gk1CUsLyv7tnp2YWE/Orypgc+HxbMSjvdYIr3ywAUTm633x6KUQ=</SignatureValue>
<KeyInfo>
<wsse:SecurityTokenReference>
<wsse:Reference URI="#SecurityToken-080766c7-0c4f-4dec-881f-2a07fc0b3e09" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" />
</wsse:SecurityTokenReference>
</KeyInfo>
</Signature>
</wsse:Security>
</soap:Header>
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:32
//Modelo a ser seguido:

//####ENVELOPE DE ENVIO#### ----->
//<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
//xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
//xmlns:urn="urn:act297_RtPlusSSDM-IRtPlusSSDM">
//<soapenv:Header/>
//<soapenv:Body>
//<urn:ObterRelacaoDeVeiculosLogados soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
//<cod_client_celula xsi:type="xsd:int">1</cod_client_celula>
//<dat_hora_proces xsi:type="xsd:string">2014-06-30T15:01:24</dat_hora_proces>
//<num_proces xsi:type="xsd:int">1617</num_proces>
//</urn:ObterRelacaoDeVeiculosLogados>
//</soapenv:Body>
//</soapenv:Envelope>



//####ENVELOPE DE RETORNO#### <---- ta aqui o que vem, um bloco confuso que no loop so vai atrapalhar
//<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
//xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
//xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
//<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
//xmlns:NS1="urn:act297_RtPlusSSDM-IRtPlusSSDM" xmlns:NS2="urn:act297_RtPlusSSDM">
//<NS1:ObterRelacaoDeVeiculosLogadosResponse>
//<return href="#1"/>
//</NS1:ObterRelacaoDeVeiculosLogadosResponse>
//<NS2:TVeiculosLogadosResult id="1">
//<ArrayVeiculosLogados>
//<item href="#2"/>
//</ArrayVeiculosLogados>
//</NS2:TVeiculosLogadosResult>
//<NS2:TVeiculoLogadoVO id="2">
//<NumUnidad>4</NumUnidad>
//<ValLatitu>-25.468</ValLatitu>
//<ValLongit>-49.227</ValLongit>
//<IdeStatus>0</IdeStatus>
//</NS2:TVeiculoLogadoVO>
//<NS2:TVeiculoLogadoVO id="3">
//<NumUnidad>10</NumUnidad>
//<ValLatitu>-25.39272</ValLatitu>
//<ValLongit>-49.183008</ValLongit>
//<IdeStatus>0</IdeStatus>
//</NS2:TVeiculoLogadoVO>
//</SOAP-ENV:Body>
//</SOAP-ENV:Envelope>
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:35
//Envelope SOAP de envio// - recurso interessante no windev - string com texto com quebra de linha com definicao usando [ ] - #ObterRelacaoDeVeiculosLogados isso nao tem documentacao - mesmo o soapUi que mostrei nao coloca esse pedaço que defini o metodo usado no envelope, sem isso nao funciona
Xml_SEND is string = [
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:act297_RtPlusSSDM-IRtPlusSSDM#ObterRelacaoDeVeiculosLogados">
<soapenv:Header/>
<soapenv:Body>
<urn:ObterRelacaoDeVeiculosLogados soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<cod_client_celula xsi:type="xsd:int">V001</cod_client_celula>
<dat_hora_proces xsi:type="xsd:string">V002</dat_hora_proces>
<num_proces xsi:type="xsd:int">V003</num_proces>
</urn:ObterRelacaoDeVeiculosLogados>
</soapenv:Body>
</soapenv:Envelope>
]



Locate this #ObterRelacaoDeVeiculosLogados
code in the text above, this piece of code uses the not SOAPUI but Windev Mobile needs to occur Envelope Shipping

Localize esse codigo #ObterRelacaoDeVeiculosLogados
no texto acima, esse pedaço de código o SOAPUI nao Usa mas o Windev Mobile necessita para ocorrer o envio do envelope
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:41
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:act297_RtPlusSSDM-IRtPlusSSDM#ObterRelacaoDeVeiculosLogados">

Veja que no final tem isso aqui:


#ObterRelacaoDeVeiculosLogados

Esse é o segredo, tem que estar tudo definido na string do envelope
#metodo

Quando importa o WSDL com o SOAPUI, nao tem #metodo
funciona o SOAPUI tendo ou não esse informação no inicio do envelope.

Isso deu trabalho achar o motivo que não enviava e nem recebia dados desse tipo de webservice
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:42
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:act297_RtPlusSSDM-IRtPlusSSDM#ObterRelacaoDeVeiculosLogados">

See that in the end have it here:


#ObterRelacaoDeVeiculosLogados

That's the secret, have to be all set in the envelope string
#metodo

When you import the WSDL with SOAPUI, do not have #metodo
Works SOAPUI whether or not this information in the envelope the beginning.

It gave work to find the subject not sent nor received such data from webservice

At

Adriano Boller
(41) 9949 1800

br.linkedin.com/in/adrianoboller
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:45
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 09 décembre 2014 - 17:47