it is a tools for developing J2ME application using web service.

源代码在线查看: request.java.svn-base

软件大小: 11194 K
上传用户: sun67512945
关键词: application developing service tools
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.ksoap2.samples.amazon.search.messages;								import java.util.*;								import org.ksoap2.serialization.*;								public class Request extends BaseObject {								    public String author;				    public String searchIndex;								    public Object getProperty(int index) {				        if(index == 0) {				            return author;				        } else {				            return searchIndex;				        }				    }								    public int getPropertyCount() {				        return 2;				    }								    public void getPropertyInfo(int index, Hashtable properties, PropertyInfo info) {				        info.type = PropertyInfo.STRING_CLASS;				        if(index == 0) {				            info.name = "Author";				        } else {				            info.name = "SearchIndex";				        }				    }								    public void setProperty(int index, Object value) {				        throw new RuntimeException("Request.setProperty is not implemented yet");				    }								    public void register(SoapSerializationEnvelope envelope) {				        envelope.addMapping(NAMESPACE, "ItemSearchRequest", this.getClass());				    }								}							

相关资源