|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Feb 2007
Città: San Benedetto del Tronto
Messaggi: 538
|
[Java] Client per Web Service
Su Eclipse ho creato un Web Service (TestWs) standard di prova con un metodo pubblico greet(string), ho fatto il deploy del WS sul AS in locale JBoss.
Ora vorrei creare un client java che "consumi" il Ws invocando il metodo greet. Utilizzando il wizard di Eclipse (fornendo la wsdl), ha generato in automatico le seguenti classi: - TestWs.java (interface TestWs extends java.rmi.Remote) - TestWsBindingStub.java ( TestWsBindingStub extends org.apache.axis.client.Stub implements TestWs) - TestWsProxy.java (TestWsProxy implements TestWs) - TestWsService.java (interface TestWsService extends javax.xml.rpc.Service) - TestWsServiceLocator.java (TestWsServiceLocator extends org.apache.axis.client.Service implements TestWsService) Cosa deve contenere il main per testare il funzionamento del WS utilizzando un client java ?
__________________
Ogni popolo ha il governo che si merita... Ho concluso trattative con: Aminopro, malag, oldfield |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Feb 2007
Città: San Benedetto del Tronto
Messaggi: 538
|
problema ancora aperto...
__________________
Ogni popolo ha il governo che si merita... Ho concluso trattative con: Aminopro, malag, oldfield |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 23:53.



















