Please submit a bug report with the test case that can be used to recreate the 
problem. BUT before
that try upgrading to 1.1 Axis and/or latest CVS to see if the problem still exists.
(http://ws.apache.org/axis/bugs.html)

Thanks,
dims

--- Sonja Pieper <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have seen this problem on the list before with no resolution so far, I 
> am still hoping someone out there can help me. I am deploying a service 
> which is successfully used BUT when I try to get the wsdl I get the 
> following error which some people have said could be connected to my 
> service returning an 'ArrayList' (but if I change the type it does not 
> make a difference I have tried). The point is not the wsdl but that this 
> seems to be connected with some kind of namespace problem which I have 
> when using a certain 'generic' client inside our framework.
> 
> I have deployed other services on the same machine which return a 
> perfectly nice wsdl and the other service deployed on a different 
> machine returns the same error there:
> 
> 
> --------------------------------------------------------------------
> Fault - ; nested exception is:
>       WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 
> 'http://www.w3.org/2002/12/soap-encoding'. Namespace prefixes must be 
> set on the Definition object using the addNamespace(...) method.:
> 
> AxisFault
>   faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>   faultSubcode:
>   faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix 
> for 'http://www.w3.org/2002/12/soap-encoding'. Namespace prefixes must 
> be set on the Definition object using the addNamespace(...) method.:
>   faultActor:
>   faultNode:
>   faultDetail:
> --------------------------------------------------------------------
> 
> Here is my deployment descriptor for the service just in case:
> 
> 
> --------------------------------------------------------------------
> <deployment xmlns="http://xml.apache.org/axis/wsdd/";
>    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
> 
>    <service name="service" provider="java:RPC" style="rpc" use="encoded">
>      <parameter name="className" value="my.class.Name"/>
>      <parameter name="allowedMethods" value="*"/>
>      <beanMapping
>        xmlns:bm="urn:service"
>        qname="bm:ReturnValue"
>        type="java:my.class.ReturnValue"/>
>    </service>
> 
> </deployment>
> --------------------------------------------------------------------
> 
> 
> I would be very very thankful for any hints how to fix this problem ....
> 
> Ciao
> 
> -- 
> [EMAIL PROTECTED], Tel: 91374-370
> 
> Always do sober what you said you'd do drunk. That will teach you to 
> keep your mouth shut. --Ernest Hemingway
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Reply via email to