Anyone out there succesfully implementing Custom Serializers and Deserializers.  I've 
followed the User guide blurb as well as emulated the examples in samples/encoding -- 
but I'm dropping the ball at WSDL generation time.  When I attempt to invoke 
serviceName?wsdl, I receive the following output:

faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 
'http://localhost/services'. Namespace prefixes must be set on the Definition object 
using the addNamespace(...) method.: 

Entry from server-config is as follows (and this may be where my confusion is).  I 
assumed the namespace definition here was arbitrary and would be the namespace 
marshalled to the client in the WSDL generated by Axis.

 <service name="TheService" provider="java:RPC">
        <parameter name="allowedMethods" value="doSomething"/>
        <parameter name="className" value="com.travelnow.testser.SomeService"/>
        <typeMapping qname="ns:SomeRequest" xmlns:ns="http://localhost/services";
             languageSpecificType="java:com.travelnow.testser.SomeRequest"
             serializer="com.travelnow.testser.ser.SomeRequestSerFactory"
             deserializer="com.travelnow.testser.ser.SomeRequestDeserFactory"
             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
 </service>

A little disheartening.  Any ideas?
Cory

Reply via email to