- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://BookSrv">
- <xsd:complexType name="ArrayOfBook">
- <xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Book" nillable="true" type="ns1:Book" />
</xsd:sequence>
</xsd:complexType>
- <xsd:complexType name="Book">
- <xsd:sequence>
<xsd:element minOccurs="0" name="author" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="isbn" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="title" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BookException" />
<xsd:element name="BookFault" type="ns1:BookException" />
</xsd:schema>
</wsdl:types>
- <xsd:complexType name="ArrayOfBook">
- <xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Book" nillable="true" type="ns1:Book" />
</xsd:sequence>
</xsd:complexType>
- <xsd:complexType name="Book">
- <xsd:sequence>
<xsd:element minOccurs="0" name="author" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="isbn" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="title" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BookException" />
<xsd:element name="BookFault" type="ns1:BookException" />
</xsd:schema>
</wsdl:types>
解决方案 »
- 求s1sh小项目
- mySQL建表时的问题
- 关于webservice问题。。。。。。。
- 各位大哥能不能介绍一本好的JSF(中文版)教程-电子书。
- 请问学习J2EE应从哪开始?
- 那里可以下载 Hibernate-Extension
- jeecms做的网站,怎样用国际化实现中英文切换啊???求大神
- hibernate中应用的数据库改变了,还需不需要重新生成实体类和相应的配置文件吗?
- 《j2ee指南》中的实验报错!NoClassDefFoundError,高手指教啊!
- JSP及Struts开发工具:JSPStudio下载:ftp://210.36.70.51
- 关于EJB3.0中的一个异常问题??
- hibernate 一个类映射多次(每次是一张不同的表)的问题???
package BookSrv;//import org.codehaus.xfire.aegis.type.java5.XmlType;
//import org.codehaus.xfire.aegis.type.java5.XmlElement;//@XmlType(namespace="http://Book")
public class Book
{
private String title;
private String isbn;
private String author;
//@XmlElement(name="isbn", namespace="http://Book")
public String getIsbn()
{
return isbn;
} public void setIsbn(String isbn)
{
this.isbn = isbn;
}
//@XmlElement(name="title", namespace="http://Book")
public String getTitle()
{
return title;
} public void setTitle(String title)
{
this.title = title;
}
//@XmlElement(name="author", namespace="http://Book")
public String getAuthor()
{
return author;
} public void setAuthor(String author)
{
this.author = author;
}
}