My wsdl has no messages defined!
zeke7237 Jul 11, 2004 9:05 AMI've got a session bean, tagged for jboss.net, explicit tag-exposed methods. I get wsdl from the deployed system, but no messages. The web-service.xml list the allowed methods which match the tagged methods. The typedefs look OK, just no method/message defs! What the heck is going on?
generated web-service.xml:
<deployment name="userService" xmlns="http://xml.apache.org/axis/wsdd/" targetNamespace="http://dmbc.edge-technologies.com/DMBC" xmlns:dmbc="http://dmbc.edge-technologies.com/DMBC" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <!-- The following are declarations of service endpoints targetted to session beans --> <service name="userService" provider="Handler"> <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/> <parameter name="beanJndiName" value="UserManagerLocal"/> <parameter name="allowedMethods" value="getUser createUser setUser getAllUsers getSomeUsers setName setAddress setEmail setTimezone "/> <requestFlow name="userServiceRequest"> </requestFlow> <responseFlow name="userServiceResponse"> </responseFlow> </service> <!-- The following are typemappings for entity beans for implementing the implicit web-service value-object pattern --> <!-- The following are typemappings for bean-type value-objects --> <typeMapping qname="dmbc:User" type="java:tv.dmbc.user.User" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <typeMapping qname="dmbc:Address" type="java:tv.dmbc.util.Address" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <!-- There follow merged custom web service descriptions --> </deployment>
the returned wsdl:
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://localhost:8080/jboss-net/services/userService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/jboss-net/services/userService" xmlns:intf="http://localhost:8080/jboss-net/services/userService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://dmbc.edge-technologies.com/DMBC" xmlns:tns2="http://dmbc.tv" xmlns:tns3="http://net.jboss.org/jmx" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:types> <schema targetNamespace="http://dmbc.tv" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="DMBCObject"> <sequence/> </complexType> <complexType abstract="true" name="Persistent"> <complexContent> <extension base="tns2:DMBCObject"> <sequence> <element name="created" nillable="true" type="xsd:dateTime"/> <element name="id" type="xsd:int"/> <element name="version" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType> </schema> <schema targetNamespace="http://dmbc.edge-technologies.com/DMBC" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="Address"> <complexContent> <extension base="tns2:Persistent"> <sequence> <element name="city" nillable="true" type="xsd:string"/> <element name="detail1" nillable="true" type="xsd:string"/> <element name="detail2" nillable="true" type="xsd:string"/> <element name="state" nillable="true" type="xsd:string"/> <element name="zip" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="User"> <complexContent> <extension base="tns2:Persistent"> <sequence> <element name="address" nillable="true" type="tns1:Address"/> <element name="email" nillable="true" type="xsd:string"/> <element name="givenName" nillable="true" type="xsd:string"/> <element name="surName" nillable="true" type="xsd:string"/> <element name="userId" nillable="true" type="xsd:string"/> <element name="zone" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> </schema> <schema targetNamespace="http://net.jboss.org/jmx" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="AttributeType"> <attribute name="name" type="xsd:string"/> <complexContent> <sequence> <element name="value" nillable="true" type="xsd:anyType"/> </sequence> </complexContent> </complexType> <complexType name="ObjectNameType"> <simpleContent> <extension base="string"/> </simpleContent> </complexType> </schema> </wsdl:types> <wsdl:portType name="UserManagerLocal"> </wsdl:portType> <wsdl:binding name="userServiceSoapBinding" type="impl:UserManagerLocal"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> </wsdl:binding> <wsdl:service name="UserManagerLocalService"> <wsdl:port binding="impl:userServiceSoapBinding" name="userService"> <wsdlsoap:address location="http://localhost:8080/jboss-net/services/userService"/> </wsdl:port> </wsdl:service> </wsdl:definitions>