在网上找到了一个关于对于复杂类型的描述schema,如下: <xs:complexType name="tDocumented"> <xs:annotation> <xs:documentation>This type is extended by component types to allow them to be documented</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" /> </xs:sequence> </xs:complexType> 我的问题就是,在java代码里写一些什么代码,发布服务的时候会生成这样的注释? 开发环境:Axis1.4 + jdk1.4 。
看能不能帮助你。
http://cwiki.apache.org/CXF20DOC/java-to-wsdl.html
至于功能,他是接口,本身的含义就是面对接口编程,这个和EJB的远程调用一样,是不用理会提供者是如何实现的;
如果能够看到他实现..岂非服务商都要破产了;至于注释,也有这个啊,jsr181@WebService(name="",serviceName="",taegetNamespace="")不过是减少XML配置的一种方法而已
忘记说的一点,我用的环境是:Axis1.4 + jdk1.4 。
<xs:complexType name="tDocumented">
<xs:annotation>
<xs:documentation>This type is extended by component types to allow them to be documented</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
</xs:sequence>
</xs:complexType>
我的问题就是,在java代码里写一些什么代码,发布服务的时候会生成这样的注释?
开发环境:Axis1.4 + jdk1.4 。