IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

NetBeans Java Discussion :

netbeans et webservice


Sujet :

NetBeans Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    5
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 5
    Par défaut netbeans et webservice
    Bonjour,

    j'essaie de créer un webservice avec netbeans.
    Pour commencer j'utilise ce tutoriel : http://developers.sun.com/prodtech/j..._services.html

    Il est vraiment bien fait pour débuter.
    Je développe avec Netbeans 5.5 avec le sun java system application server.

    J'arrive à le créer jusqu'au moment où je dois faire un "add to registry" à mon WS. Je n'y arrive pas. Je ne sais pas où se trouve le menu avec cette fonction.

    Pouvez-vous m'aider ? Cela m'empeche de continuer.

  2. #2
    Membre émérite
    Avatar de n!co
    Profil pro
    Inscrit en
    Février 2004
    Messages
    831
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : France

    Informations forums :
    Inscription : Février 2004
    Messages : 831
    Par défaut
    clic droit sur ton web service

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    5
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 5
    Par défaut
    hélas non... (j'ai quand même essayé avant de poster )

  4. #4
    Membre émérite
    Avatar de n!co
    Profil pro
    Inscrit en
    Février 2004
    Messages
    831
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : France

    Informations forums :
    Inscription : Février 2004
    Messages : 831
    Par défaut
    Citation Envoyé par Create a Web Service Using NetBeans 5.0 IDE
    Add the Service to the Registry

    * In the Projects window, expand the Web Services node and right click the web service node. Choose Add to Registry.
    TU n'aurais pas un prob de serveur plutot alors ?

  5. #5
    Membre à l'essai
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    5
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 5
    Par défaut
    Alors j'ai regréssé à Netbeans 5.0 pour pouvoir suivre le tutorial correctement.
    J'ai pu faire mon "add registry".

    Après l'éxecution j'effectue un "test operation sur mon WS", et là, apparait un panel d'erreur :

    InvocationTargetException org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:512) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:439) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:64) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:382) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926) Next Exception Layer null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:506) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:439) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:64) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:382) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926) Next Exception Layer Erreur de transport HTTP : com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is: Erreur de transport HTTP : com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message webservice.HiWSSEI_Stub.sayHi(HiWSSEI_Stub.java:85) webservice.HiWSClient.hiwsseiportSayHi(HiWSClient.java:22) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:506) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:439) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:64) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:382) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926) Next Exception Layer
    Erreur de transport HTTP : com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96) webservice.HiWSSEI_Stub.sayHi(HiWSSEI_Stub.java:69) webservice.HiWSClient.hiwsseiportSayHi(HiWSClient.java:22) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:506) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:439) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:64) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:382) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)


    autant vous dire que je ne les comprends pas

  6. #6
    Membre confirmé
    Homme Profil pro
    Développeur JAVA JEE / PHP
    Inscrit en
    Avril 2008
    Messages
    151
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Développeur JAVA JEE / PHP
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2008
    Messages : 151
    Par défaut
    S'il vous plait j'ai le meme problème ? réponder encore

Discussions similaires

  1. authentification Netbeans et WebService
    Par i_mt2 dans le forum Services Web
    Réponses: 1
    Dernier message: 18/04/2010, 21h41
  2. authentification Netbeans et WebService
    Par i_mt2 dans le forum NetBeans Platform
    Réponses: 1
    Dernier message: 29/03/2010, 15h24
  3. netbeans Restful webservice avec des parametre passe
    Par ammouna24 dans le forum NetBeans
    Réponses: 0
    Dernier message: 23/07/2009, 17h32
  4. [Netbeans 6.5] WebService Synthaxe condition bpel
    Par sterix92 dans le forum NetBeans
    Réponses: 0
    Dernier message: 04/02/2009, 11h27
  5. Pb Appel à un WebService sécurisé - tomcat + netbeans + metro
    Par Saitou-San dans le forum Services Web
    Réponses: 6
    Dernier message: 29/04/2008, 07h55

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo