I also had the same problem. I took off the name space prefixes. This might not be the 
solution but that is what I did to get stuff to work. Others might have a better 
solution. This is how my WSSD looks like for the service -

<service name="NoAttachment" provider="java:RPC">
<operation name="ping" returnQName="returnqname" returnType="DataHandler">
<parameter name="op1" type="xsd:string"/>
</operation>
<parameter name="allowedMethods" value="*"/>
<parameter name="className" value="com.boeing.cuis.webservices.NoAttachment"/>
<typeMapping 
deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
qname="DataHandler" 
serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" 
type="java:javax.activation.DataHandler"/>
</service>

Thanks
Srinivas

-----Original Message-----
From: Greg Hess [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2003 10:50 AM
To: [EMAIL PROTECTED]
Subject: samples.attachments WSDL error?


Hi All,
 
I seem to have deployed and tested the attachments example successfully but when I try 
and view the auto generated WSDL I get the following error:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is: 
        WSDLException: faultCode=OTHER_ERROR: Can&apos;t find prefix for 
&apos;urn:EchoAttachmentsService&apos;. 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&apos;t find prefix for 
&apos;urn:EchoAttachmentsService&apos;. Namespace prefixes must be set on the 
Definition object using the addNamespace(...) method.: 
 faultActor: 
 faultNode: 
 faultDetail: 
 
 
Any help is much appreciated,
 
Thanks,
 
Greg Hess
Software Engineer
Wrapped Apps Corporation
275 Michael Cowpland Dr.
Suite 201
Ottawa, Ontario
K2M 2G2
Tel: (613) 591 -7552
Fax: (613) 591-0523
1 (877) 388-6742
www.wrappedapps.com


 

Reply via email to