AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SOAP...

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
I/O
Guest





PostPosted: Sat May 29, 2004 11:00 am    Post subject: SOAP... Reply with quote



Ciao a tutti,

mi potete aiutare ad installare e configurare soap? Non riesco proprio a
capire come farlo andare... di tutorial non ne ho trovati molti, anzi... in
italiano poi non c'è praticamente niente e quello che ho è per le vecchie
versioni (Tomcat, ecc).
Al momento ho installato Tomcat 5.0.25 (su winxp) con l'installer ed è ok.
Devo installare anche i seguenti pacchetti, ma non so come fare:
jaf
javamail
soap
Xerces

Chiedo questo perchè devo programmare per un esame un'applicazione
client/server in java+soap... il java lo so abbastanza bene, ma di soap non
riesco a capirne il funzionamento...

Grazie a tutti.


Back to top
I/O
Guest





PostPosted: Sat May 29, 2004 11:14 am    Post subject: Re: SOAP... Reply with quote



I/O wrote:
[cut]

Dimenticavo... mi servirebbe anche un esempio base, ma pratico, di come si
usa il soap... cioè cosa e come inserisco le chiamate in java sia lato
client sia lato server...

Grazie ancora


Back to top
NC
Guest





PostPosted: Sat May 29, 2004 12:11 pm    Post subject: Re: SOAP... Reply with quote



I/O ha scritto:
Quote:
I/O wrote:
[cut]

Dimenticavo... mi servirebbe anche un esempio base, ma pratico, di come si
usa il soap... cioè cosa e come inserisco le chiamate in java sia lato
client sia lato server...


scaricati il Java WSDP dal sito sun
http://java.sun.com/webservices/jwsdp/index.jsp
e anche il tutorial
http://java.sun.com/webservices/docs/1.3/tutorial/doc/index.html

Back to top
Will
Guest





PostPosted: Sun May 30, 2004 11:47 am    Post subject: Re: SOAP... Reply with quote

I/O wrote:
Quote:
Chiedo questo perchè devo programmare per un esame un'applicazione
client/server in java+soap... il java lo so abbastanza bene, ma di
soap non riesco a capirne il funzionamento...

Scusami di dove sei?
--
Will



Back to top
I/O
Guest





PostPosted: Mon May 31, 2004 8:19 am    Post subject: Re: SOAP... Reply with quote

NC wrote:
Quote:
scaricati il Java WSDP dal sito sun
http://java.sun.com/webservices/jwsdp/index.jsp
e anche il tutorial
http://java.sun.com/webservices/docs/1.3/tutorial/doc/index.html

Grazie, ho capito (anche con altri tutorial) +o- il funzionamento di
java+soap... in pratica nel mio programma java rendo pubblico un metodo il
quale verrà linkato con un xml al soap e quindi tomcat/apache/esterno.
Questo link si chiama Deploy, ma è proprio qui che ora ho problemi...
Non riesco a "deployare" un .class di esempio... qui
http://www.javaportal.it/docs/soap1.htm c'è una buona guida, se non fosse
che la linea di comando:
java org.apache.soap.server.ServiceManagerClient
http://localhost:8008/soap/servlet/rpcrouter deploy CiaoServerDeploy.xml

mi da questo errore:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient

Credo che ci sia qualche problema con i classpath, ma non capisco cosa devo
mettere e dove.
Altra cosa... per compilare in un altro pc (dove non ho apache/tomcat/soap)
cosa devo fare?

Grazie mille!



Back to top
I/O
Guest





PostPosted: Mon May 31, 2004 8:20 am    Post subject: Re: SOAP... Reply with quote

Will wrote:
Quote:
Scusami di dove sei?

Come mai lo vuoi sapere? :)



Back to top
Will
Guest





PostPosted: Mon May 31, 2004 8:48 am    Post subject: Re: SOAP... Reply with quote

I/O wrote:
Quote:
Come mai lo vuoi sapere? Smile

Perchè devo fare il tuo stesso esame Smile
--
Will



Back to top
Diego
Guest





PostPosted: Tue Jun 01, 2004 1:43 pm    Post subject: Re: SOAP... Reply with quote

Il 31 Mag 2004, 10:19, "I/O" <chiedimel (AT) qui (DOT) it> ha scritto:
Quote:
NC wrote:
scaricati il Java WSDP dal sito sun
http://java.sun.com/webservices/jwsdp/index.jsp
e anche il tutorial
http://java.sun.com/webservices/docs/1.3/tutorial/doc/index.html

Grazie, ho capito (anche con altri tutorial) +o- il funzionamento di
java+soap... in pratica nel mio programma java rendo pubblico un metodo il
quale verrà linkato con un xml al soap e quindi tomcat/apache/esterno.
Questo link si chiama Deploy, ma è proprio qui che ora ho problemi...
Non riesco a "deployare" un .class di esempio... qui
http://www.javaportal.it/docs/soap1.htm c'è una buona guida, se non fosse
che la linea di comando:
java org.apache.soap.server.ServiceManagerClient
http://localhost:8008/soap/servlet/rpcrouter deploy CiaoServerDeploy.xml

mi da questo errore:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient

Credo che ci sia qualche problema con i classpath, ma non capisco cosa
devo
mettere e dove.
Altra cosa... per compilare in un altro pc (dove non ho
apache/tomcat/soap)
cosa devo fare?

Grazie mille!


Allora... il messaggio di errore è dovuto al fatto che non hai settato nel
class path tutti i jar che utilizzi nel codice java.
Poi non ho capito se stai usando java web service oppure apache/soap.
Ho due libri molto interessanti... se mi dici un indirizzo e-mail te li
mando però oltre ad essere in inglese uno è 1,7MB e l'altro 2,8MB.
ciao


--------------------------------
Inviato via http://arianna.libero.it/usenet/

Back to top
I/O
Guest





PostPosted: Wed Jun 02, 2004 2:05 pm    Post subject: Re: SOAP... Reply with quote

Will wrote:
Quote:
Perchè devo fare il tuo stesso esame Smile

dipmat.unipg.it :)

e te?



Back to top
I/O
Guest





PostPosted: Wed Jun 02, 2004 2:19 pm    Post subject: Re: SOAP... Reply with quote

Diego wrote:
Quote:
Allora... il messaggio di errore è dovuto al fatto che non hai
settato nel class path tutti i jar che utilizzi nel codice java.
Poi non ho capito se stai usando java web service oppure apache/soap.
Ho due libri molto interessanti... se mi dici un indirizzo e-mail te
li mando però oltre ad essere in inglese uno è 1,7MB e l'altro 2,8MB.

Ho fatto dei passi avanti ed ho più o meno capito la teoria, sto usando
apache/soap (su tomcat) ed ho altri errori "strani" (per me :p )
Avevo configurato tutto, funzionava anche il deploy e l'undeploy... sono
andato a sostituire la cartellina del soap con un'altra identica... non va
più Sad
Mi incomincio ad indispettire :/
Se la tua mail è valida (quella nell'intestazione) ti contatto io, fammi
sapere

L'errore ora è questo:

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=Error
opening socket: java.net.ConnectException: Connection refused: connect;
targetEx
ception=java.lang.IllegalArgumentException: Error opening socket:
java.net.Conne
ctException: Connection refused: connect]
at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
tion.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
..java:230)

In base alle guide seguite dovrebbe funzionare... ma non va, i classpath
dovrebbero essere ok...

ciao e grazie



Back to top
Diego
Guest





PostPosted: Thu Jun 03, 2004 10:16 am    Post subject: Re: SOAP... Reply with quote

No l'indirizzo è [email]alphacentaury2005 (AT) yahoo (DOT) it[/email].
L'errore che ti dà probabilmente è dovuto dal fatto che l'oggetto che si
aspetta il server non è quello che gli mandi.
ciao.

--------------------------------
Inviato via http://arianna.libero.it/usenet/
Back to top
I/O
Guest





PostPosted: Fri Jun 04, 2004 8:06 am    Post subject: Re: SOAP... Reply with quote

Diego wrote:
[cut]

Non ti ho risposto qui, ma ieri ti ho scritto in email Smile
Ciao e grazie


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.