You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ol...@accor.com on 2005/03/01 19:46:23 UTC

axis 1.2-RC3 client with a server in 1.2-RC2

Hi all,
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://${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/

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.
**********************************************************************