Hi, I have a session bean wich returns an array of value objects (also generated by xdoclet) . I installed the JBoss xdoclet module wich let XDoclet generate the needed webservice descriptor xml.
I tagged my entity beans so the wsdd would also contain code so I can transport my value objects to the client. basicly, the generated code (in the wsdd) looks like this; <typeMapping qname="PersonVO" type="java:be.rega.main.domain.ejb.data.PersonVO" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" But this is not working. If I surf to http://localhost:8080/jboss-net/services/test?wsdl I get an error: Fault - WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty.: org.xml.sax.SAXParseException: The value of the attribute "xmlns:tns1" is invalid. Prefixed namespace bindings may not be empty. However, I managed to create my own code to let this work: <beanMapping qname="ns:PersonVO" xmlns:ns="data.ejb.domain.main.rega.be" languageSpecificType="java:be.rega.main.domain.ejb.data.PersonVO"/> This is somewhat different then the thing XDoclet generated. Can someone explain how I can XDoclet generate something more like my code instead of the not-working code Thank you ! __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
