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 Akacem Mohammed <Mo...@arbeitsamt.de> on 2002/06/27 10:12:54 UTC

WSDL2Java WSDLException

Hello;

I tried to deploy a test example HelloServer und got the following error. Below is my deploy.wsdd file. I installed Axis.beta2 und tomcat 4.0

C:\Programme\Tomcat 4.0\webapps\axis\WEB-INF\classes\de\ba\steaI>java org.apache.axis.wsdl.WSDL2Java deploy.wsdd
WSDLException (at /deployment): faultCode=INVALID_WSDL: Expected element 'http://schemas.xmlsoap.org/wsdl/:definitions'.

:
        at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(WSDLReaderImpl.java:1204)

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 <service name="MyService" provider="java:RPC">
  <parameter name="className" value="samples.userguide.example3.HelloServer"/>
  <parameter name="allowedMethods" value="*"/>
 </service>

</deployment>

Thanks for any help

Mohammed