[delphi-br] Cliente em delphi acessando WebService java
Bom dia, Eu preciso consumir um webservice feito em java, mas estou tendo alguns problemas, na hora de importar o wsdl aparece o seguinte: // // // The following types, referred to in the WSDL document are not being represented // in this file. They are either alias...@] of other types represented or were referred // to but never[!] declared in the document. The types from the latter category // typically map to predefined/known XML or Borland types; however, they could also // indicate incorrect WSDL documents that failed to declare or import a schema type. // // // !:string - http://www.w3.org/2001/XMLSchema; // !:cliente - http://teste.com.br/; e não reconhece o tipo string nem a classe cliente que o webservice retorna. Alguma dica? []'s __ Informação do ESET Smart Security, versão da vacina 4302 (20090803) __ A mensagem foi verificada pelo ESET Smart Security. http://www.eset.com
Re: [delphi-br] Cliente em delphi acessando WebService java
Posso estar dizendo besteiras, mas as Strings tem que estar na formatação UTF-8 se não me engano. Teria que fazer essa conversão no Delphi para ler essas strings. Quando ao restante, não tenho opinião formada. Atte,Ricardo. 1) Evite escrever suas mensagens usando somente LETRAS MAIÚSCULAS. 2) Revise o texto de sua mensagem. Uma mensagem bem escrita é melhor compreendida. 3) Vamos ajudar o Grupo e o Yahoo! Apague o conteúdo irrelevante! --- Em ter, 4/8/09, Fernando T. Xavier fernandotolentinoxav...@yahoo.com.br escreveu: De: Fernando T. Xavier fernandotolentinoxav...@yahoo.com.br Assunto: [delphi-br] Cliente em delphi acessando WebService java Para: delphi-br@yahoogrupos.com.br Data: Terça-feira, 4 de Agosto de 2009, 10:26 Bom dia, Eu preciso consumir um webservice feito em java, mas estou tendo alguns problemas, na hora de importar o wsdl aparece o seguinte: // * * * * * * ** // // The following types, referred to in the WSDL document are not being represented // in this file. They are either alias...@] of other types represented or were referred // to but never[!] declared in the document. The types from the latter category // typically map to predefined/known XML or Borland types; however, they could also // indicate incorrect WSDL documents that failed to declare or import a schema type. // * * * * * * ** // // !:string - http://www.w3. org/2001/ XMLSchema // !:cliente - http://teste. com.br/ e não reconhece o tipo string nem a classe cliente que o webservice retorna. Alguma dica? []'s __ Informação do ESET Smart Security, versão da vacina 4302 (20090803) __ A mensagem foi verificada pelo ESET Smart Security. http://www.eset. com Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com [As partes desta mensagem que não continham texto foram removidas]
Re: [delphi-br] Cliente em delphi acessando WebService java
Olá, tambem tenho interesses em saber como consumir, tive bastantes dificuldades, ou melhor ainda estou tendo, o delphi por diversas vezes interpretava mal o wsdl que o java gerava, diversos erros eu corrigi mudandos as opcoes antes de importar o wsdl, como por exemplo: Map string to widestring Generate server implementation fiz diversos testes alterando as opcoes e testando, talvez isso modifique dependendo de como foi gerado o wsdl mas isso me resolveu alguns do problemas. 2009/8/4 Fernando T. Xavier fernandotolentinoxav...@yahoo.com.br Bom dia, Eu preciso consumir um webservice feito em java, mas estou tendo alguns problemas, na hora de importar o wsdl aparece o seguinte: // // // The following types, referred to in the WSDL document are not being represented // in this file. They are either alias...@] of other types represented or were referred // to but never[!] declared in the document. The types from the latter category // typically map to predefined/known XML or Borland types; however, they could also // indicate incorrect WSDL documents that failed to declare or import a schema type. // // // !:string - http://www.w3.org/2001/XMLSchema; // !:cliente - http://teste.com.br/; e não reconhece o tipo string nem a classe cliente que o webservice retorna. Alguma dica? []'s __ Informação do ESET Smart Security, versão da vacina 4302 (20090803) __ A mensagem foi verificada pelo ESET Smart Security. http://www.eset.com -- Atenciosamente, Samuel M. Basso Tel: (54) 3463-9114 Cel: (54) 8135-3723 E-mail/MSN: samuelba...@gmail.com Web site: www.samuelbasso.com [As partes desta mensagem que não continham texto foram removidas]