salut a tous,
j'ai besoin de vos conseils s'il vous plais..
j'ai créer un web dynamic projet, j'ai importé le fichier wsdl via build path, puis j'ai créer un client web service, j'ai obtenu les classe générer par le fichier wsdl, si je fait un Run de la class main ( run as/java application) j'obtient des exeption dont je connet pas leur source,

voici la class Main :

package getweb;

/**
* Please modify this class to meet your needs
* This class is not complete
*/

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebService;

/**
* This class was generated by Apache CXF 2.3.3
* 2011-06-21T18:23:31.348+01:00
* Generated source version: 2.3.3
*
*/
public final class GetnamePort_GetnamePort_Client {

private static final QName SERVICE_NAME = new QName("urn:microsoft-dynamics-schemas/codeunit/getname", "getname");

private GetnamePort_GetnamePort_Client() {
}

public static void main(String args[]) throws Exception {
URL wsdlURL = Getname.WSDL_LOCATION;
if (args.length > 0) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}

Getname ss = new Getname(wsdlURL, SERVICE_NAME);
GetnamePort port = ss.getGetnamePort();


System.exit(0);
}

}

et voici l'affichage sur la console:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/tools%20eclipse/apache-cxf-2.3.3/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Administrateur/Desktop/jboss-5.0.0.GA/client/slf4j-jboss-logging.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Administrateur/Desktop/jboss-5.0.0.GA/common/lib/slf4j-jboss-logging.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:149)
at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:90)
at javax.xml.ws.Service.<init>(Service.java:56)
at getweb.Getname.<init>(Getname.java:49)
at getweb.GetnamePort_GetnamePort_Client.main(GetnamePort_GetnamePort_Client.java:43)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:93)
at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:203)
at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:147)
... 4 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://houssayen-pc:7047/DynamicsNAV/WS/CRONUS%20France%20S.A/Codeunit/getname?wsdl'.: java.io.IOException: Server returned HTTP response code: 401 for URL: http://houssayen-pc:7047/DynamicsNAV...t/getname?wsdl
at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:239)
at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:186)
at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91)
... 6 more
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://houssayen-pc:7047/DynamicsNAV...t/getname?wsdl
at sun.net.http://www.protocol.http.HttpURLConn...tion.java:1441)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
... 12 more