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 "Keen, Ed" <Ed...@libertyram.com> on 2002/10/14 17:51:15 UTC

error viewing wsdl

I am deploying a pretty simple service.  The wsdd snippet is:

	<service name="urn:ldap-util" provider="java:RPC">
    	<namespace>http://www.libertyram.com/</namespace>
		<parameter name="className" value="com.lram.cor.ldap.LDAPUtil"/>
		<parameter name="allowedMethods" value="searchAndLoad"/>

	  	<beanMapping qname="myNS:LRAMUser" xmlns:myNS="urn:LDAPUtil"
               		 languageSpecificType="java:com.lram.cor.entities.LRAMUser"/>

	</service>

The deployment goes fine with no errors.  However, when I go to view the wsdl, I get the following error:

---------------------------------------

Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.:  

---------------------------------------

I was able to deploy services that only used simple java types, so I am wondering if it has something to do with that.  Am I missing something from my deployment descriptor?

Thanks,
Ed Keen