Hi,  
I found the problem.
Try the server side with the piccolo sax parser 1.0.4 instead of xerces.
Then you will see it.
It's strange because it was ok with 1.2-RC1/RC2
 
Olivier

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoy� : mercredi 2 mars 2005 08:03
� : [email protected]
Objet : axis 1.2-RC3 client with a server in 1.2-RC2



Hi all, 
I posted it again because i need to subscribe to the axis-dev 
Great job with RC3 (but ;-). 
I have a server in 1.2-RC2. When I generate the stubs with the new 
version of axis. <axis-wsdl2java 
output="${services.layer.stub.src.dir}" 
testcase="${services.layer.ws.stubs.junit}" 
verbose="true" 
url="http://$ <http://$>
{services.layer.easerver.ip}:${services.layer.easerver.port 
.http}/${services.layer.description.ws.service.path}?wsdl"> 
&mapping_namespace; 
</axis-wsdl2java> 

The generation look wells. 
But when i use the stubs to ask, I encountered the exception 
org.xml.sax.SAXParseException: XML declaration is not well-formed (look 
at the stack in the logs in the attached files). 

Why the exception : 
org.apache.axis.ConfigurationException: No service named 
DescriptiveContent is available 
        at 
org.apache.axis.configuration.FileProvider.getService(FileProvider.java: 
233) 

I made my own client-config.wsdd. 
Do I need to specify something on it. 

java -version says 
java version "1.4.2_04" 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) 
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) Xerces is 
(information from the manifest.mf) : 
Name: org/apache/xerces/impl/Version.class 
Comment: Xerces-J 2.6.2 
Implementation-Title: org.apache.xerces.impl.Version 
Implementation-Version: 2.6.2 
Implementation-Vendor: Apache Software Foundation 
Implementation-URL: http://xml.apache.org/xerces2-j/
<http://xml.apache.org/xerces2-j/>  

If I use the same stubs with a server patched in RC3 it's good. 

If you need some others informations ask me, 
Thanks, 
Olivier 



This e-mail, any attachments and the information contained therein ("this
message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it back
to the sender and delete it. Unauthorized publication, use, dissemination or
disclosure of this message, either in whole or in part is strictly
prohibited.

********************************************************************** 
Ce message �lectronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message ( ci apr�s "le message" ), sont
confidentiels et destin�s exclusivement � l'usage de la  personne � laquelle
ils sont adress�s. Si vous avez re�u ce message par erreur, merci  de le
renvoyer � son �metteur et de le d�truire. Toutes diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que se soit non
express�ment autoris�es de ce message, sont interdites.

********************************************************************** 

Reply via email to