You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ews-dev@ws.apache.org by gu...@apache.org on 2005/08/08 14:42:47 UTC
svn commit: r230793 [3/12] - in /webservices/ews/trunk/ws4j2ee: ./ docs/
docs/images/ docs/src/ samples/ samples/clients/ samples/ejb/
samples/ejb/bookquote/ samples/ejb/bookquote/META-INF/
samples/ejb/bookquote/com/ samples/ejb/bookquote/com/jwsbook/ ...
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/DirectoryCategory.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/DirectoryCategory.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/DirectoryCategory.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/DirectoryCategory.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,96 @@
+/**
+ * DirectoryCategory.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2alpha Feb 10, 2004 (12:04:50 GMT+06:00) WSDL2Java emitter.
+ */
+
+package org.objectweb.wssample.gen.google;
+
+public class DirectoryCategory implements java.io.Serializable {
+ private java.lang.String fullViewableName;
+ private java.lang.String specialEncoding;
+
+ public DirectoryCategory() {
+ }
+
+
+ /**
+ * Gets the fullViewableName value for this DirectoryCategory.
+ *
+ * @return fullViewableName
+ */
+ public java.lang.String getFullViewableName() {
+ return fullViewableName;
+ }
+
+
+ /**
+ * Sets the fullViewableName value for this DirectoryCategory.
+ *
+ * @param fullViewableName
+ */
+ public void setFullViewableName(java.lang.String fullViewableName) {
+ this.fullViewableName = fullViewableName;
+ }
+
+
+ /**
+ * Gets the specialEncoding value for this DirectoryCategory.
+ *
+ * @return specialEncoding
+ */
+ public java.lang.String getSpecialEncoding() {
+ return specialEncoding;
+ }
+
+
+ /**
+ * Sets the specialEncoding value for this DirectoryCategory.
+ *
+ * @param specialEncoding
+ */
+ public void setSpecialEncoding(java.lang.String specialEncoding) {
+ this.specialEncoding = specialEncoding;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof DirectoryCategory)) return false;
+ DirectoryCategory other = (DirectoryCategory) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.fullViewableName==null && other.getFullViewableName()==null) ||
+ (this.fullViewableName!=null &&
+ this.fullViewableName.equals(other.getFullViewableName()))) &&
+ ((this.specialEncoding==null && other.getSpecialEncoding()==null) ||
+ (this.specialEncoding!=null &&
+ this.specialEncoding.equals(other.getSpecialEncoding())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getFullViewableName() != null) {
+ _hashCode += getFullViewableName().hashCode();
+ }
+ if (getSpecialEncoding() != null) {
+ _hashCode += getSpecialEncoding().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPort.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPort.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPort.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPort.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,14 @@
+/**
+ * GoogleSearchPort.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2alpha Feb 10, 2004 (12:04:50 GMT+06:00) WSDL2Java emitter.
+ */
+
+package org.objectweb.wssample.gen.google;
+
+public interface GoogleSearchPort extends java.rmi.Remote {
+ public byte[] doGetCachedPage(java.lang.String key, java.lang.String url) throws java.rmi.RemoteException;
+ public java.lang.String doSpellingSuggestion(java.lang.String key, java.lang.String phrase) throws java.rmi.RemoteException;
+ public org.objectweb.wssample.gen.google.MyGoogleSearchResult doGoogleSearch(java.lang.String key, java.lang.String q, int start, int maxResults, boolean filter, java.lang.String restrict, boolean safeSearch, java.lang.String lr, java.lang.String ie, java.lang.String oe) throws java.rmi.RemoteException;
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPortBean.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPortBean.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPortBean.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/GoogleSearchPortBean.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,23 @@
+package org.objectweb.wssample.gen.google;
+public class GoogleSearchPortBean implements javax.ejb.SessionBean{
+ public byte[] doGetCachedPage(java.lang.String key,java.lang.String url){
+ return null;
+ }
+ public java.lang.String doSpellingSuggestion(java.lang.String key,java.lang.String phrase){
+ return null;
+ }
+ public org.objectweb.wssample.gen.google.MyGoogleSearchResult doGoogleSearch(java.lang.String key,java.lang.String q,int start,int maxResults,boolean filter,java.lang.String restrict,boolean safeSearch,java.lang.String lr,java.lang.String ie,java.lang.String oe){
+ return null;
+ }
+ public javax.naming.Context getInitialContext()throws javax.naming.NamingException{
+ java.util.Properties env = new java.util.Properties();
+ env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
+ env.put(javax.naming.Context.PROVIDER_URL, "127.0.0.1:1099");
+ return new javax.naming.InitialContext(env);
+ }
+ public void ejbCreate() {}
+ public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void setSessionContext(javax.ejb.SessionContext arg0)throws javax.ejb.EJBException, java.rmi.RemoteException {}
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/MyGoogleSearchResult.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/MyGoogleSearchResult.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/MyGoogleSearchResult.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/MyGoogleSearchResult.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,331 @@
+/**
+ * MyGoogleSearchResult.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2alpha Feb 10, 2004 (12:04:50 GMT+06:00) WSDL2Java emitter.
+ */
+
+package org.objectweb.wssample.gen.google;
+
+public class MyGoogleSearchResult implements java.io.Serializable {
+ private boolean documentFiltering;
+ private java.lang.String searchComments;
+ private int estimatedTotalResultsCount;
+ private boolean estimateIsExact;
+ private org.objectweb.wssample.gen.google.ResultElement[] resultElements;
+ private java.lang.String searchQuery;
+ private int startIndex;
+ private int endIndex;
+ private java.lang.String searchTips;
+ private org.objectweb.wssample.gen.google.DirectoryCategory[] directoryCategories;
+ private double searchTime;
+
+ public MyGoogleSearchResult() {
+ }
+
+
+ /**
+ * Gets the documentFiltering value for this MyGoogleSearchResult.
+ *
+ * @return documentFiltering
+ */
+ public boolean isDocumentFiltering() {
+ return documentFiltering;
+ }
+
+
+ /**
+ * Sets the documentFiltering value for this MyGoogleSearchResult.
+ *
+ * @param documentFiltering
+ */
+ public void setDocumentFiltering(boolean documentFiltering) {
+ this.documentFiltering = documentFiltering;
+ }
+
+
+ /**
+ * Gets the searchComments value for this MyGoogleSearchResult.
+ *
+ * @return searchComments
+ */
+ public java.lang.String getSearchComments() {
+ return searchComments;
+ }
+
+
+ /**
+ * Sets the searchComments value for this MyGoogleSearchResult.
+ *
+ * @param searchComments
+ */
+ public void setSearchComments(java.lang.String searchComments) {
+ this.searchComments = searchComments;
+ }
+
+
+ /**
+ * Gets the estimatedTotalResultsCount value for this MyGoogleSearchResult.
+ *
+ * @return estimatedTotalResultsCount
+ */
+ public int getEstimatedTotalResultsCount() {
+ return estimatedTotalResultsCount;
+ }
+
+
+ /**
+ * Sets the estimatedTotalResultsCount value for this MyGoogleSearchResult.
+ *
+ * @param estimatedTotalResultsCount
+ */
+ public void setEstimatedTotalResultsCount(int estimatedTotalResultsCount) {
+ this.estimatedTotalResultsCount = estimatedTotalResultsCount;
+ }
+
+
+ /**
+ * Gets the estimateIsExact value for this MyGoogleSearchResult.
+ *
+ * @return estimateIsExact
+ */
+ public boolean isEstimateIsExact() {
+ return estimateIsExact;
+ }
+
+
+ /**
+ * Sets the estimateIsExact value for this MyGoogleSearchResult.
+ *
+ * @param estimateIsExact
+ */
+ public void setEstimateIsExact(boolean estimateIsExact) {
+ this.estimateIsExact = estimateIsExact;
+ }
+
+
+ /**
+ * Gets the resultElements value for this MyGoogleSearchResult.
+ *
+ * @return resultElements
+ */
+ public org.objectweb.wssample.gen.google.ResultElement[] getResultElements() {
+ return resultElements;
+ }
+
+
+ /**
+ * Sets the resultElements value for this MyGoogleSearchResult.
+ *
+ * @param resultElements
+ */
+ public void setResultElements(org.objectweb.wssample.gen.google.ResultElement[] resultElements) {
+ this.resultElements = resultElements;
+ }
+
+
+ /**
+ * Gets the searchQuery value for this MyGoogleSearchResult.
+ *
+ * @return searchQuery
+ */
+ public java.lang.String getSearchQuery() {
+ return searchQuery;
+ }
+
+
+ /**
+ * Sets the searchQuery value for this MyGoogleSearchResult.
+ *
+ * @param searchQuery
+ */
+ public void setSearchQuery(java.lang.String searchQuery) {
+ this.searchQuery = searchQuery;
+ }
+
+
+ /**
+ * Gets the startIndex value for this MyGoogleSearchResult.
+ *
+ * @return startIndex
+ */
+ public int getStartIndex() {
+ return startIndex;
+ }
+
+
+ /**
+ * Sets the startIndex value for this MyGoogleSearchResult.
+ *
+ * @param startIndex
+ */
+ public void setStartIndex(int startIndex) {
+ this.startIndex = startIndex;
+ }
+
+
+ /**
+ * Gets the endIndex value for this MyGoogleSearchResult.
+ *
+ * @return endIndex
+ */
+ public int getEndIndex() {
+ return endIndex;
+ }
+
+
+ /**
+ * Sets the endIndex value for this MyGoogleSearchResult.
+ *
+ * @param endIndex
+ */
+ public void setEndIndex(int endIndex) {
+ this.endIndex = endIndex;
+ }
+
+
+ /**
+ * Gets the searchTips value for this MyGoogleSearchResult.
+ *
+ * @return searchTips
+ */
+ public java.lang.String getSearchTips() {
+ return searchTips;
+ }
+
+
+ /**
+ * Sets the searchTips value for this MyGoogleSearchResult.
+ *
+ * @param searchTips
+ */
+ public void setSearchTips(java.lang.String searchTips) {
+ this.searchTips = searchTips;
+ }
+
+
+ /**
+ * Gets the directoryCategories value for this MyGoogleSearchResult.
+ *
+ * @return directoryCategories
+ */
+ public org.objectweb.wssample.gen.google.DirectoryCategory[] getDirectoryCategories() {
+ return directoryCategories;
+ }
+
+
+ /**
+ * Sets the directoryCategories value for this MyGoogleSearchResult.
+ *
+ * @param directoryCategories
+ */
+ public void setDirectoryCategories(org.objectweb.wssample.gen.google.DirectoryCategory[] directoryCategories) {
+ this.directoryCategories = directoryCategories;
+ }
+
+
+ /**
+ * Gets the searchTime value for this MyGoogleSearchResult.
+ *
+ * @return searchTime
+ */
+ public double getSearchTime() {
+ return searchTime;
+ }
+
+
+ /**
+ * Sets the searchTime value for this MyGoogleSearchResult.
+ *
+ * @param searchTime
+ */
+ public void setSearchTime(double searchTime) {
+ this.searchTime = searchTime;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof MyGoogleSearchResult)) return false;
+ MyGoogleSearchResult other = (MyGoogleSearchResult) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ this.documentFiltering == other.isDocumentFiltering() &&
+ ((this.searchComments==null && other.getSearchComments()==null) ||
+ (this.searchComments!=null &&
+ this.searchComments.equals(other.getSearchComments()))) &&
+ this.estimatedTotalResultsCount == other.getEstimatedTotalResultsCount() &&
+ this.estimateIsExact == other.isEstimateIsExact() &&
+ ((this.resultElements==null && other.getResultElements()==null) ||
+ (this.resultElements!=null &&
+ java.util.Arrays.equals(this.resultElements, other.getResultElements()))) &&
+ ((this.searchQuery==null && other.getSearchQuery()==null) ||
+ (this.searchQuery!=null &&
+ this.searchQuery.equals(other.getSearchQuery()))) &&
+ this.startIndex == other.getStartIndex() &&
+ this.endIndex == other.getEndIndex() &&
+ ((this.searchTips==null && other.getSearchTips()==null) ||
+ (this.searchTips!=null &&
+ this.searchTips.equals(other.getSearchTips()))) &&
+ ((this.directoryCategories==null && other.getDirectoryCategories()==null) ||
+ (this.directoryCategories!=null &&
+ java.util.Arrays.equals(this.directoryCategories, other.getDirectoryCategories()))) &&
+ this.searchTime == other.getSearchTime();
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ _hashCode += (isDocumentFiltering() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ if (getSearchComments() != null) {
+ _hashCode += getSearchComments().hashCode();
+ }
+ _hashCode += getEstimatedTotalResultsCount();
+ _hashCode += (isEstimateIsExact() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ if (getResultElements() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getResultElements());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getResultElements(), i);
+ if (obj != null &&
+ !obj.getClass().isArray()) {
+ _hashCode += obj.hashCode();
+ }
+ }
+ }
+ if (getSearchQuery() != null) {
+ _hashCode += getSearchQuery().hashCode();
+ }
+ _hashCode += getStartIndex();
+ _hashCode += getEndIndex();
+ if (getSearchTips() != null) {
+ _hashCode += getSearchTips().hashCode();
+ }
+ if (getDirectoryCategories() != null) {
+ for (int i=0;
+ i<java.lang.reflect.Array.getLength(getDirectoryCategories());
+ i++) {
+ java.lang.Object obj = java.lang.reflect.Array.get(getDirectoryCategories(), i);
+ if (obj != null &&
+ !obj.getClass().isArray()) {
+ _hashCode += obj.hashCode();
+ }
+ }
+ }
+ _hashCode += new Double(getSearchTime()).hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/ResultElement.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/ResultElement.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/ResultElement.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/google/org/objectweb/wssample/gen/google/ResultElement.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,281 @@
+/**
+ * ResultElement.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2alpha Feb 10, 2004 (12:04:50 GMT+06:00) WSDL2Java emitter.
+ */
+
+package org.objectweb.wssample.gen.google;
+
+public class ResultElement implements java.io.Serializable {
+ private java.lang.String summary;
+ private java.lang.String URL;
+ private java.lang.String snippet;
+ private java.lang.String title;
+ private java.lang.String cachedSize;
+ private boolean relatedInformationPresent;
+ private java.lang.String hostName;
+ private org.objectweb.wssample.gen.google.DirectoryCategory directoryCategory;
+ private java.lang.String directoryTitle;
+
+ public ResultElement() {
+ }
+
+
+ /**
+ * Gets the summary value for this ResultElement.
+ *
+ * @return summary
+ */
+ public java.lang.String getSummary() {
+ return summary;
+ }
+
+
+ /**
+ * Sets the summary value for this ResultElement.
+ *
+ * @param summary
+ */
+ public void setSummary(java.lang.String summary) {
+ this.summary = summary;
+ }
+
+
+ /**
+ * Gets the URL value for this ResultElement.
+ *
+ * @return URL
+ */
+ public java.lang.String getURL() {
+ return URL;
+ }
+
+
+ /**
+ * Sets the URL value for this ResultElement.
+ *
+ * @param URL
+ */
+ public void setURL(java.lang.String URL) {
+ this.URL = URL;
+ }
+
+
+ /**
+ * Gets the snippet value for this ResultElement.
+ *
+ * @return snippet
+ */
+ public java.lang.String getSnippet() {
+ return snippet;
+ }
+
+
+ /**
+ * Sets the snippet value for this ResultElement.
+ *
+ * @param snippet
+ */
+ public void setSnippet(java.lang.String snippet) {
+ this.snippet = snippet;
+ }
+
+
+ /**
+ * Gets the title value for this ResultElement.
+ *
+ * @return title
+ */
+ public java.lang.String getTitle() {
+ return title;
+ }
+
+
+ /**
+ * Sets the title value for this ResultElement.
+ *
+ * @param title
+ */
+ public void setTitle(java.lang.String title) {
+ this.title = title;
+ }
+
+
+ /**
+ * Gets the cachedSize value for this ResultElement.
+ *
+ * @return cachedSize
+ */
+ public java.lang.String getCachedSize() {
+ return cachedSize;
+ }
+
+
+ /**
+ * Sets the cachedSize value for this ResultElement.
+ *
+ * @param cachedSize
+ */
+ public void setCachedSize(java.lang.String cachedSize) {
+ this.cachedSize = cachedSize;
+ }
+
+
+ /**
+ * Gets the relatedInformationPresent value for this ResultElement.
+ *
+ * @return relatedInformationPresent
+ */
+ public boolean isRelatedInformationPresent() {
+ return relatedInformationPresent;
+ }
+
+
+ /**
+ * Sets the relatedInformationPresent value for this ResultElement.
+ *
+ * @param relatedInformationPresent
+ */
+ public void setRelatedInformationPresent(boolean relatedInformationPresent) {
+ this.relatedInformationPresent = relatedInformationPresent;
+ }
+
+
+ /**
+ * Gets the hostName value for this ResultElement.
+ *
+ * @return hostName
+ */
+ public java.lang.String getHostName() {
+ return hostName;
+ }
+
+
+ /**
+ * Sets the hostName value for this ResultElement.
+ *
+ * @param hostName
+ */
+ public void setHostName(java.lang.String hostName) {
+ this.hostName = hostName;
+ }
+
+
+ /**
+ * Gets the directoryCategory value for this ResultElement.
+ *
+ * @return directoryCategory
+ */
+ public org.objectweb.wssample.gen.google.DirectoryCategory getDirectoryCategory() {
+ return directoryCategory;
+ }
+
+
+ /**
+ * Sets the directoryCategory value for this ResultElement.
+ *
+ * @param directoryCategory
+ */
+ public void setDirectoryCategory(org.objectweb.wssample.gen.google.DirectoryCategory directoryCategory) {
+ this.directoryCategory = directoryCategory;
+ }
+
+
+ /**
+ * Gets the directoryTitle value for this ResultElement.
+ *
+ * @return directoryTitle
+ */
+ public java.lang.String getDirectoryTitle() {
+ return directoryTitle;
+ }
+
+
+ /**
+ * Sets the directoryTitle value for this ResultElement.
+ *
+ * @param directoryTitle
+ */
+ public void setDirectoryTitle(java.lang.String directoryTitle) {
+ this.directoryTitle = directoryTitle;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof ResultElement)) return false;
+ ResultElement other = (ResultElement) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.summary==null && other.getSummary()==null) ||
+ (this.summary!=null &&
+ this.summary.equals(other.getSummary()))) &&
+ ((this.URL==null && other.getURL()==null) ||
+ (this.URL!=null &&
+ this.URL.equals(other.getURL()))) &&
+ ((this.snippet==null && other.getSnippet()==null) ||
+ (this.snippet!=null &&
+ this.snippet.equals(other.getSnippet()))) &&
+ ((this.title==null && other.getTitle()==null) ||
+ (this.title!=null &&
+ this.title.equals(other.getTitle()))) &&
+ ((this.cachedSize==null && other.getCachedSize()==null) ||
+ (this.cachedSize!=null &&
+ this.cachedSize.equals(other.getCachedSize()))) &&
+ this.relatedInformationPresent == other.isRelatedInformationPresent() &&
+ ((this.hostName==null && other.getHostName()==null) ||
+ (this.hostName!=null &&
+ this.hostName.equals(other.getHostName()))) &&
+ ((this.directoryCategory==null && other.getDirectoryCategory()==null) ||
+ (this.directoryCategory!=null &&
+ this.directoryCategory.equals(other.getDirectoryCategory()))) &&
+ ((this.directoryTitle==null && other.getDirectoryTitle()==null) ||
+ (this.directoryTitle!=null &&
+ this.directoryTitle.equals(other.getDirectoryTitle())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getSummary() != null) {
+ _hashCode += getSummary().hashCode();
+ }
+ if (getURL() != null) {
+ _hashCode += getURL().hashCode();
+ }
+ if (getSnippet() != null) {
+ _hashCode += getSnippet().hashCode();
+ }
+ if (getTitle() != null) {
+ _hashCode += getTitle().hashCode();
+ }
+ if (getCachedSize() != null) {
+ _hashCode += getCachedSize().hashCode();
+ }
+ _hashCode += (isRelatedInformationPresent() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ if (getHostName() != null) {
+ _hashCode += getHostName().hashCode();
+ }
+ if (getDirectoryCategory() != null) {
+ _hashCode += getDirectoryCategory().hashCode();
+ }
+ if (getDirectoryTitle() != null) {
+ _hashCode += getDirectoryTitle().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/math/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/math/ejb-jar.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/math/ejb-jar.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/math/ejb-jar.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar>
+<display-name>math</display-name>
+ <enterprise-beans>
+ <session>
+ <display-name>BookQuoteService</display-name>
+ <ejb-name>MathFace</ejb-name>
+ <home>testData.math.MathFaceHome</home>
+ <remote>testData.math.MathFace</remote>
+ <ejb-class>testData.math.MathFaceImpl</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Bean</transaction-type>
+ </session
+> </enterprise-beans>
+</ejb-jar>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/math/jaxrpc-mapping.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/math/jaxrpc-mapping.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/math/jaxrpc-mapping.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/math/jaxrpc-mapping.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<java-wsdl-mapping version="1.0" xmlns="http://java.sun.com/xml/ns/j2ee">
+ <package-mapping>
+ <package-type>testData.math</package-type>
+ <namespaceURI>http://math.testData</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>testData.math.MathFaceService</service-interface>
+ <ns1:wsdl-service-name xmlns:ns1="http://java.sun.com/xml/ns/j2ee" xmlns="http://math.testData">MathFaceService</ns1:wsdl-service-name>
+ <port-mapping>
+ <port-name>math</port-name>
+ <java-port-name>math</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>testData.math.MathFace</service-endpoint-interface>
+ <ns2:wsdl-port-type xmlns:ns2="http://java.sun.com/xml/ns/j2ee" xmlns="http://math.testData">MathFace</ns2:wsdl-port-type>
+ <ns3:wsdl-binding xmlns:ns3="http://java.sun.com/xml/ns/j2ee" xmlns="http://math.testData">mathSoapBinding</ns3:wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>add</java-method-name>
+ <wsdl-operation>add</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>int</param-type>
+ <wsdl-message-mapping>
+ <ns4:wsdl-message xmlns:ns4="http://java.sun.com/xml/ns/j2ee" xmlns="http://math.testData">addRequest</ns4:wsdl-message>
+ <wsdl-message-part-name>in0</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>int</param-type>
+ <wsdl-message-mapping>
+ <ns5:wsdl-message xmlns:ns5="http://java.sun.com/xml/ns/j2ee" xmlns="http://math.testData">addRequest</ns5:wsdl-message>
+ <wsdl-message-part-name>in1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>int</method-return-value>
+ <ns6:wsdl-message xmlns:ns6="http://java.sun.com/xml/ns/j2ee" xmlns="http://math.testData">addResponse</ns6:wsdl-message>
+ <wsdl-message-part-name>addReturn</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
+
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/math/math.wsdl
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/math/math.wsdl?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/math/math.wsdl (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/math/math.wsdl Mon Aug 8 05:40:25 2005
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://math.testData" xmlns:impl="http://math.testData" xmlns:intf="http://math.testData" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+<!--WSDL created by Apache Axis version: 1.2beta
+Built on Jun 10, 2004 (12:01:10 PDT)-->
+
+ <wsdl:message name="addRequest">
+
+ <wsdl:part name="in0" type="xsd:int"/>
+
+ <wsdl:part name="in1" type="xsd:int"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="addResponse">
+
+ <wsdl:part name="addReturn" type="xsd:int"/>
+
+ </wsdl:message>
+
+ <wsdl:portType name="MathFace">
+
+ <wsdl:operation name="add" parameterOrder="in0 in1">
+
+ <wsdl:input name="addRequest" message="impl:addRequest"/>
+
+ <wsdl:output name="addResponse" message="impl:addResponse"/>
+
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="mathSoapBinding" type="impl:MathFace">
+
+ <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="add">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="addRequest">
+
+ <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://math.testData"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="addResponse">
+
+ <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://math.testData"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="MathFaceService">
+
+ <wsdl:port name="math" binding="impl:mathSoapBinding">
+
+ <wsdlsoap:address location="http://127.0.0.1"/>
+
+ </wsdl:port>
+
+ </wsdl:service>
+
+</wsdl:definitions>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/math/webservices.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/math/webservices.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/math/webservices.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/math/webservices.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:ns1="http://www.Monson-Haefel.com/jwsbook/BookQuote"
+xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+http://www.ibm.com/standards/xml/webservices/j2ee/j2ee_web_services_1_1.xsd" version="1.1">
+<webservice-description>
+ <webservice-description-name>MathFaceService</webservice-description-name>
+ <wsdl-file>math.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>MathFace</port-component-name>
+ <wsdl-port xmlns:ns1="http://math.testData">ns1:math</wsdl-port>
+ <service-endpoint-interface>testData.math.MathFace</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link >MathFace</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/ejb-jar.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/ejb-jar.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/ejb-jar.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar>
+<display-name>null</display-name>
+ <enterprise-beans>
+ <session>
+ <ejb-name>timebean</ejb-name>
+ <home>org.objectweb.jonas.jtests.beans.time.TimeBeanHome</home>
+ <remote>org.objectweb.jonas.jtests.beans.time.TimeBeanEJB</remote>
+ <ejb-class>org.objectweb.jonas.jtests.beans.time.TimeBeanBean</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Bean</transaction-type>
+ </session>
+ </enterprise-beans>
+</ejb-jar>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/webservices.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/webservices.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/webservices.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/time/META-INF/webservices.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+ <display-name>Time WebService</display-name>
+ <webservice-description>
+ <webservice-description-name>Time WebService</webservice-description-name>
+ <wsdl-file>TimePort.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>TimeMapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <description>port component description</description>
+ <port-component-name>TimePort</port-component-name>
+
+ <!-- Should be the right way to use QName with JAXB parsing -->
+ <wsdl-port xmlns:time="jonas:Time">time:TimePort</wsdl-port>
+
+ <service-endpoint-interface>org.objectweb.jonas.jtests.beans.time.TimeBean</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>TimeBeanSLR</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/time/build.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/time/build.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/time/build.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/time/build.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<project basedir="." default="jar">
+ <property name="src" location="."/>
+ <property name="build" location="build"/>
+ <property name="build.classes" location="${build}/classes"/>
+ <property name="build.lib" location="${build}/lib"/>
+ <property name="lib" location="lib"/>
+ <property name="jar.dir" location="../../../target/generated/samples/"/>
+
+ <target name="compile" depends="init" unless="jars.uptodate">
+ <mkdir dir="${build.classes}"/>
+ <mkdir dir="${build.lib}"/>
+ <javac destdir="${build.classes}" debug="on">
+ <classpath refid="maven.dependency.classpath" />
+ <src path="${src}"/>
+ </javac>
+ </target>
+ <target name="jar" depends="compile" unless="jars.uptodate">
+ <mkdir dir="${build.classes}/META-INF/"/>
+ <copy file ="${src}/META-INF/webservices.xml" todir="${build.classes}/META-INF"/>
+ <copy file ="${src}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
+
+ <jar jarfile="${jar.dir}/time.jar" basedir="${build.classes}" >
+ <include name="**" />
+ <manifest>
+ <section name="org/apache/ws4j2ee">
+ <attribute name="Implementation-Title" value="Apache jsr109 impl"/>
+ <attribute name="Implementation-Vendor" value="Apache Web Services"/>
+ </section>
+ </manifest>
+ </jar>
+ <delete dir="${build}"/>
+ </target>
+ <target name="init">
+ <uptodate property="jars.uptodate" targetfile="${jar.dir}/time.jar">
+ <srcfiles dir="${src}">
+ <include name="**/*.java"/>
+ <include name="**/*.xml"/>
+ <include name="**/*.wsdl"/>
+ <exclude name="${build}/**"/>
+ </srcfiles>
+ </uptodate>
+ <echo message="the files are upto date = ${jars.uptodate}"></echo>
+ </target>
+</project>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBean.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBean.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBean.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBean.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,13 @@
+/**
+ * TimeBean.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2alpha Feb 10, 2004 (12:04:50 GMT+06:00) WSDL2Java emitter.
+ */
+
+package org.objectweb.jonas.jtests.beans.time;
+
+public interface TimeBean extends java.rmi.Remote {
+ public java.util.Calendar getDate() throws java.rmi.RemoteException;
+ public long getDateAsLong() throws java.rmi.RemoteException;
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBeanBean.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBeanBean.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBeanBean.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/time/org/objectweb/jonas/jtests/beans/time/TimeBeanBean.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,20 @@
+package org.objectweb.jonas.jtests.beans.time;
+public class TimeBeanBean implements javax.ejb.SessionBean{
+ public java.util.Calendar getDate(){
+ return null;
+ }
+ public long getDateAsLong(){
+ return 1123L;
+ }
+ public javax.naming.Context getInitialContext()throws javax.naming.NamingException{
+ java.util.Properties env = new java.util.Properties();
+ env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
+ env.put(javax.naming.Context.PROVIDER_URL, "127.0.0.1:1099");
+ return new javax.naming.InitialContext(env);
+ }
+ public void ejbCreate() {}
+ public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void setSessionContext(javax.ejb.SessionContext arg0)throws javax.ejb.EJBException, java.rmi.RemoteException {}
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/ejb-jar.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/ejb-jar.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/ejb-jar.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar>
+<display-name>null</display-name>
+ <enterprise-beans>
+ <session>
+ <display-name>null</display-name>
+ <ejb-name>iodcodespostaux</ejb-name>
+ <home>org.objectweb.jonas.zip.ZipHome</home>
+ <remote>org.objectweb.jonas.zip.ZipEJB</remote>
+ <ejb-class>org.objectweb.jonas.zip.ZipBean</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Bean</transaction-type>
+ </session>
+ </enterprise-beans>
+</ejb-jar>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/webservices.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/webservices.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/webservices.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/zip/META-INF/webservices.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+ <display-name>French Zip</display-name>
+ <webservice-description>
+ <webservice-description-name>French Zip WebService</webservice-description-name>
+ <wsdl-file>FrenchZip.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>FrenchZipMapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <description>port component description</description>
+ <port-component-name>TimePort</port-component-name>
+
+ <!-- Should be the right way to use QName with JAXB parsing -->
+ <wsdl-port xmlns:ns="http://tempuri.org/">ns:IODCODESPOSTAUXPort</wsdl-port>
+
+ <service-endpoint-interface>org.objectweb.jonas.zip.Zip</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>ZipBean</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/zip/build.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/zip/build.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/zip/build.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/zip/build.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<project basedir="." default="jar">
+<property name="src" location="."/>
+ <property name="build" location="build"/>
+ <property name="build.classes" location="${build}/classes"/>
+ <property name="build.lib" location="${build}/lib"/>
+ <property name="lib" location="lib"/>
+ <property name="jar.dir" location="../../../target/generated/samples/"/>
+
+ <target name="compile" unless="jars.uptodate" depends="init">
+ <mkdir dir="${build.classes}"/>
+ <mkdir dir="${build.lib}"/>
+ <javac destdir="${build.classes}" debug="on">
+ <classpath refid="maven.dependency.classpath" />
+ <src path="${src}"/>
+ </javac>
+ </target>
+ <target name="jar" depends="compile" unless="jars.uptodate">
+ <mkdir dir="${build.classes}/META-INF/"/>
+ <copy file ="${src}/META-INF/webservices.xml" todir="${build.classes}/META-INF"/>
+ <copy file ="${src}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
+
+ <jar jarfile="${jar.dir}/zip.jar" basedir="${build.classes}" >
+ <include name="**" />
+ <manifest>
+ <section name="org/apache/ws4j2ee">
+ <attribute name="Implementation-Title" value="Apache jsr109 impl"/>
+ <attribute name="Implementation-Vendor" value="Apache Web Services"/>
+ </section>
+ </manifest>
+ </jar>
+ <delete dir="${build}"/>
+ </target>
+ <target name="init">
+ <uptodate property="jars.uptodate" targetfile="${jar.dir}/zip.jar">
+ <srcfiles dir="${src}">
+ <include name="**/*.java"/>
+ <include name="**/*.xml"/>
+ <include name="**/*.wsdl"/>
+ <exclude name="${build}/**"/>
+ </srcfiles>
+ </uptodate>
+ <echo message="the files are upto date = ${jars.uptodate}"></echo>
+ </target>
+</project>
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/Zip.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/Zip.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/Zip.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/Zip.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,18 @@
+/**
+ * Zip.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2alpha Feb 10, 2004 (12:04:50 GMT+06:00) WSDL2Java emitter.
+ */
+
+package org.objectweb.jonas.zip;
+
+public interface Zip extends java.rmi.Remote {
+ public java.lang.String getDepartmentForCode(java.lang.String depCode) throws java.rmi.RemoteException;
+ public java.lang.String getDepartmentAdminCenterForCode(java.lang.String depCode) throws java.rmi.RemoteException;
+ public java.lang.String getDepartmentList(java.lang.String separator) throws java.rmi.RemoteException;
+ public java.lang.String getTownForZip(java.lang.String zipCode, java.lang.String separator) throws java.rmi.RemoteException;
+ public java.lang.String getZipForTown(java.lang.String town, java.lang.String separator, boolean exactMatch) throws java.rmi.RemoteException;
+ public java.lang.String getTownsForSoundex(java.lang.String searchFor, java.lang.String separator) throws java.rmi.RemoteException;
+ public void reportErrorInFile(java.lang.String yourName, java.lang.String yourMail, java.lang.String yourMessage) throws java.rmi.RemoteException;
+}
Added: webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/ZipBean.java
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/ZipBean.java?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/ZipBean.java (added)
+++ webservices/ews/trunk/ws4j2ee/samples/ejb/zip/org/objectweb/jonas/zip/ZipBean.java Mon Aug 8 05:40:25 2005
@@ -0,0 +1,34 @@
+package org.objectweb.jonas.zip;
+public class ZipBean implements javax.ejb.SessionBean{
+ public java.lang.String getDepartmentForCode(java.lang.String DepCode){
+ return null;
+ }
+ public java.lang.String getDepartmentAdminCenterForCode(java.lang.String DepCode){
+ return null;
+ }
+ public java.lang.String getDepartmentList(java.lang.String Separator){
+ return null;
+ }
+ public java.lang.String getTownForZip(java.lang.String ZipCode,java.lang.String Separator){
+ return null;
+ }
+ public java.lang.String getZipForTown(java.lang.String Town,java.lang.String Separator,boolean ExactMatch){
+ return null;
+ }
+ public java.lang.String getTownsForSoundex(java.lang.String SearchFor,java.lang.String Separator){
+ return null;
+ }
+ public void reportErrorInFile(java.lang.String YourName,java.lang.String YourMail,java.lang.String YourMessage){
+ }
+ public javax.naming.Context getInitialContext()throws javax.naming.NamingException{
+ java.util.Properties env = new java.util.Properties();
+ env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
+ env.put(javax.naming.Context.PROVIDER_URL, "127.0.0.1:1099");
+ return new javax.naming.InitialContext(env);
+ }
+ public void ejbCreate() {}
+ public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException {}
+ public void setSessionContext(javax.ejb.SessionContext arg0)throws javax.ejb.EJBException, java.rmi.RemoteException {}
+}
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.wsdl
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.wsdl?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.wsdl (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.wsdl Mon Aug 8 05:40:25 2005
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="BookQuote"
+ targetNamespace="http://www.Monson-Haefel.com/jwsbook/BookQuote"
+ xmlns:mh="http://www.Monson-Haefel.com/jwsbook/BookQuote"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <message name="BookQuote_getBookPrice">
+ <part name="isbn" type="xsd:string"/>
+ </message>
+ <message name="BookQuote_getBookPriceResponse">
+ <part name="result" type="xsd:float"/>
+ </message>
+ <message name="InvalidIsbnFault">
+ <part name="message" type="xsd:string"/>
+ </message>
+ <portType name="BookQuote">
+ <operation name="getBookPrice">
+ <input message="mh:BookQuote_getBookPrice"/>
+ <output message="mh:BookQuote_getBookPriceResponse"/>
+ <fault name="InvalidIsbnFault" message="mh:InvalidIsbnFault"/>
+ </operation>
+ </portType>
+ <binding name="BookQuoteBinding" type="mh:BookQuote">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <operation name="getBookPrice">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"
+ namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
+ </input>
+ <output>
+ <soap:body use="literal"
+ namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
+ </output>
+ <fault name="InvalidIsbnFault">
+ <soap:fault name="InvalidIsbnFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+ <service name="BookQuoteService">
+ <port name="BookQuotePort" binding="mh:BookQuoteBinding">
+ <soap:address
+ location="http://www.Monson-Haefel.com/jwsbook/BookQuoteService"/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/BookQuote.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<java-wsdl-mapping
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:mh="http://www.Monson-Haefel.com/jwsbook/BookQuote"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
+ version="1.1">
+ <package-mapping>
+ <package-type>com.jwsbook.jaxrpc</package-type>
+ <namespaceURI>
+ http://www.Monson-Haefel.com/jwsbook/BookQuote
+ </namespaceURI>
+ </package-mapping>
+ <exception-mapping>
+ <exception-type>com.jwsbook.jaxrpc.InvalidIsbnException</exception-type>
+ <wsdl-message>mh:InvalidIsbnFault</wsdl-message>
+ </exception-mapping>
+ <service-interface-mapping>
+ <service-interface>com.jwsbook.jaxrpc.BookQuoteService</service-interface>
+ <wsdl-service-name>mh:BookQuoteService</wsdl-service-name>
+ <port-mapping>
+ <port-name>mh:BookQuotePort</port-name>
+ <java-port-name>BookQuotePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>com.jwsbook.jaxrpc.BookQuote
+ </service-endpoint-interface>
+ <wsdl-port-type>mh:BookQuote</wsdl-port-type>
+ <wsdl-binding>mh:BookQuoteBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>getBookPrice</java-method-name>
+ <wsdl-operation>getBookPrice</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message>mh:BookQuote_getBookPriceRequest</wsdl-message>
+ <wsdl-message-part-name>isbn</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>float</method-return-value>
+ <wsdl-message>mh:BookQuote_getBookPriceResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webservice.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webservice.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webservice.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webservice.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:ns1="http://www.Monson-Haefel.com/jwsbook/BookQuote"
+xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+http://www.ibm.com/standards/xml/webservices/j2ee/j2ee_web_services_1_1.xsd" version="1.1">
+<description>BookQuoteService</description>
+ <display-name>BookQuoteService</display-name>
+ <webservice-description >
+ <description>BookQuoteService</description>
+ <display-name>BookQuoteService</display-name>
+ <webservice-description-name >BookQuoteService</webservice-description-name>
+ <wsdl-file >BookQuote.wsdl</wsdl-file>
+ <jaxrpc-mapping-file >BookQuote.xml</jaxrpc-mapping-file>
+ <port-component >
+ <description >BookQuote</description>
+ <display-name >BookQuote</display-name>
+
+ <icon xml:lang="en-us" id="ID000298">
+ <small-icon>token</small-icon>
+ <large-icon>token</large-icon>
+ </icon>
+
+ <port-component-name >BookQuote</port-component-name>
+ <wsdl-port id="ID000311">ns1:BookQuotePort</wsdl-port>
+ <service-endpoint-interface >com.jwsbook.jaxrpc.BookQuote</service-endpoint-interface>
+ <service-impl-bean >
+ <ejb-link >com.jwsbook.jaxrpc.BookQuoteBean</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webserviceClient.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webserviceClient.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webserviceClient.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/book/webserviceClient.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<service-ref xmlns="http://java.sun.com/xml/ns/j2ee">
+ <service-ref-name>service/BookQuote</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>BookQuote.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>BookQuote.xml</jaxrpc-mapping-file>
+</service-ref>
+
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimeMapping.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimeMapping.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimeMapping.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimeMapping.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
+ version="1.1">
+ <package-mapping>
+ <package-type>org.objectweb.jonas.jtests.beans.time</package-type>
+ <namespaceURI>jonas:Time</namespaceURI>
+ </package-mapping>
+</java-wsdl-mapping>
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimePort.wsdl
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimePort.wsdl?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimePort.wsdl (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/TimePort.wsdl Mon Aug 8 05:40:25 2005
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="jonas:Time"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:apachesoap="http://xml.apache.org/xml-soap"
+ xmlns:impl="jonas:Time"
+ xmlns:intf="jonas:Time"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <wsdl:message name="getDateRequest">
+ </wsdl:message>
+
+ <wsdl:message name="getDateAsLongResponse">
+ <wsdl:part name="getDateAsLongReturn" type="xsd:long"/>
+ </wsdl:message>
+
+ <wsdl:message name="getDateAsLongRequest">
+ </wsdl:message>
+
+ <wsdl:message name="getDateResponse">
+ <wsdl:part name="getDateReturn" type="xsd:dateTime"/>
+ </wsdl:message>
+
+ <wsdl:portType name="TimeBean">
+
+ <wsdl:operation name="getDate">
+ <wsdl:input message="impl:getDateRequest" name="getDateRequest"/>
+ <wsdl:output message="impl:getDateResponse" name="getDateResponse"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="getDateAsLong">
+ <wsdl:input message="impl:getDateAsLongRequest" name="getDateAsLongRequest"/>
+ <wsdl:output message="impl:getDateAsLongResponse" name="getDateAsLongResponse"/>
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="TimePortSoapBinding" type="impl:TimeBean">
+
+ <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="getDate">
+ <wsdlsoap:operation soapAction=""/>
+ <wsdl:input name="getDateRequest">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="jonas:Time" use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="getDateResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="jonas:Time" use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="getDateAsLong">
+ <wsdlsoap:operation soapAction=""/>
+ <wsdl:input name="getDateAsLongRequest">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="jonas:Time" use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="getDateAsLongResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="jonas:Time" use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="TimeBeanService">
+ <wsdl:port binding="impl:TimePortSoapBinding" name="TimePort">
+ <wsdlsoap:address location="http://www.objectweb.org/dummy"/>
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webserviceClient.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webserviceClient.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webserviceClient.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webserviceClient.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<service-ref xmlns="http://java.sun.com/xml/ns/j2ee">
+ <service-ref-name>service/TimePort</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>TimePort.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>TimeMapping.xml</jaxrpc-mapping-file>
+</service-ref>
+
Added: webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webservices.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webservices.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webservices.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/jaxrpc/time/webservices.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+ <display-name>Time WebService</display-name>
+ <webservice-description>
+ <webservice-description-name>Time WebService</webservice-description-name>
+ <wsdl-file>TimePort.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>TimeMapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <description>port component description</description>
+ <port-component-name>TimePort</port-component-name>
+
+ <!-- Should be the right way to use QName with JAXB parsing -->
+ <wsdl-port xmlns:time="jonas:Time">time:TimePort</wsdl-port>
+
+ <service-endpoint-interface>org.objectweb.jonas.jtests.beans.time.TimeBean</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>TimeBeanSLR</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Added: webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/anonymous.wsdl
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/anonymous.wsdl?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/anonymous.wsdl (added)
+++ webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/anonymous.wsdl Mon Aug 8 05:40:25 2005
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="ews:AnonymousMappingTest"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:apachesoap="http://xml.apache.org/xml-soap"
+ xmlns:impl="ews:AnonymousMappingTest" xmlns:intf="ews:AnonymousMappingTest"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ 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>
+ <xsd:schema targetNamespace="X" xmlns:x="X">
+ <!-- use case 1 -->
+ <xsd:complexType name="root">
+ <xsd:sequence>
+ <xsd:element name="data" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <!-- use case 2 --> <!-- use case 3 -->
+ <xsd:element name="root" minOccurs="0" maxOccurs="unbounded">
+ <!-- use case 4 -->
+ <xsd:complexType>
+ <xsd:sequence>
+ <!-- use case 5 --> <!-- use case 6 -->
+ <xsd:element name="inside" maxOccurs="10">
+ <!-- use case 7 -->
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="data2" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <!-- use case 8 -->
+ <xsd:element ref="x:someOtherElement" maxOccurs="20"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- use case 9 -->
+ <xsd:element name="someOtherElement" type="xsd:int"/>
+
+ </xsd:schema>
+ </wsdl:types>
+</wsdl:definitions>
Added: webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/mapping.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/mapping.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/mapping.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/mapper/anonymous/mapping.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
+ xmlns:X="X"
+ version="1.1">
+ <package-mapping>
+ <package-type>org.apache.ws.ews</package-type>
+ <namespaceURI>X</namespaceURI>
+ </package-mapping>
+
+ <!-- CASE 1 RULE 1A -->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Root</java-type>
+ <root-type-qname>X:root</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>data</java-variable-name>
+ <xml-element-name>data</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <!-- CASE 2 RULE 2A -->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Root[]</java-type>
+ <root-type-qname>X:root</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <!-- CASE 3 RULE 3A -->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Root[]</java-type>
+ <anonymous-type-qname> X:root[0,unbounded] </anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+
+ <!-- CASE 4 RULE 1b -->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Root</java-type>
+ <anonymous-type-qname> X:>root </anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>inside</java-variable-name>
+ <xml-element-name>inside</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>someOtherElement</java-variable-name>
+ <xml-element-name>someOtherElement</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <!-- CASE 5 RULE 2B -->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Inside</java-type>
+ <anonymous-type-qname> X:>root>inside </anonymous-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <!-- CASE 6 RULE 3A -->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Inside[]</java-type>
+ <anonymous-type-qname> X:>root>inside[,10] </anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+
+ <!-- CASE 9 RULE 2A -->
+ <java-xml-type-mapping>
+ <java-type>int</java-type>
+ <root-type-qname> X:someOtherElement </root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <!-- CASE 8 RULE 3B -->
+ <java-xml-type-mapping>
+ <java-type>int[]</java-type>
+ <anonymous-type-qname> X:someOtherElement[,20] </anonymous-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <!-- CASE 7 RULE 1B-->
+ <java-xml-type-mapping>
+ <java-type>org.apache.ws.ews.Inside</java-type>
+ <anonymous-type-qname> X:>>root>inside </anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>data2</java-variable-name>
+ <xml-element-name>data2</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+</java-wsdl-mapping>
Added: webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZip.wsdl
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZip.wsdl?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZip.wsdl (added)
+++ webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZip.wsdl Mon Aug 8 05:40:25 2005
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ name="IODCODESPOSTAUXservice"
+ targetNamespace="http://tempuri.org/"
+ xmlns:tns="http://tempuri.org/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
+ <message name="GetDepartmentForCode0Request">
+ <part name="DepCode" type="xs:string"/>
+ </message>
+ <message name="GetDepartmentForCode0Response">
+ <part name="return" type="xs:string"/>
+ </message>
+ <message name="GetDepartmentAdminCenterForCode1Request">
+ <part name="DepCode" type="xs:string"/>
+ </message>
+ <message name="GetDepartmentAdminCenterForCode1Response">
+ <part name="return" type="xs:string"/>
+ </message>
+ <message name="GetDepartmentList2Request">
+ <part name="Separator" type="xs:string"/>
+ </message>
+ <message name="GetDepartmentList2Response">
+ <part name="return" type="xs:string"/>
+ </message>
+ <message name="GetTownForZip3Request">
+ <part name="ZipCode" type="xs:string"/>
+ <part name="Separator" type="xs:string"/>
+ </message>
+ <message name="GetTownForZip3Response">
+ <part name="return" type="xs:string"/>
+ </message>
+ <message name="GetZipForTown4Request">
+ <part name="Town" type="xs:string"/>
+ <part name="Separator" type="xs:string"/>
+ <part name="ExactMatch" type="xs:boolean"/>
+ </message>
+ <message name="GetZipForTown4Response">
+ <part name="return" type="xs:string"/>
+ </message>
+ <message name="GetTownsForSoundex5Request">
+ <part name="SearchFor" type="xs:string"/>
+ <part name="Separator" type="xs:string"/>
+ </message>
+ <message name="GetTownsForSoundex5Response">
+ <part name="return" type="xs:string"/>
+ </message>
+ <message name="ReportErrorInFile6Request">
+ <part name="YourName" type="xs:string"/>
+ <part name="YourMail" type="xs:string"/>
+ <part name="YourMessage" type="xs:string"/>
+ </message>
+ <message name="ReportErrorInFile6Response"/>
+ <portType name="IODCODESPOSTAUX">
+ <operation name="GetDepartmentForCode">
+ <input message="tns:GetDepartmentForCode0Request"/>
+ <output message="tns:GetDepartmentForCode0Response"/>
+ </operation>
+ <operation name="GetDepartmentAdminCenterForCode">
+ <input message="tns:GetDepartmentAdminCenterForCode1Request"/>
+ <output message="tns:GetDepartmentAdminCenterForCode1Response"/>
+ </operation>
+ <operation name="GetDepartmentList">
+ <input message="tns:GetDepartmentList2Request"/>
+ <output message="tns:GetDepartmentList2Response"/>
+ </operation>
+ <operation name="GetTownForZip">
+ <input message="tns:GetTownForZip3Request"/>
+ <output message="tns:GetTownForZip3Response"/>
+ </operation>
+ <operation name="GetZipForTown">
+ <input message="tns:GetZipForTown4Request"/>
+ <output message="tns:GetZipForTown4Response"/>
+ </operation>
+ <operation name="GetTownsForSoundex">
+ <input message="tns:GetTownsForSoundex5Request"/>
+ <output message="tns:GetTownsForSoundex5Response"/>
+ </operation>
+ <operation name="ReportErrorInFile">
+ <input message="tns:ReportErrorInFile6Request"/>
+ <output message="tns:ReportErrorInFile6Response"/>
+ </operation>
+ </portType>
+ <binding name="IODCODESPOSTAUXbinding" type="tns:IODCODESPOSTAUX">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="GetDepartmentForCode">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#GetDepartmentForCode" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ <operation name="GetDepartmentAdminCenterForCode">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#GetDepartmentAdminCenterForCode" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ <operation name="GetDepartmentList">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#GetDepartmentList" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ <operation name="GetTownForZip">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#GetTownForZip" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ <operation name="GetZipForTown">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#GetZipForTown" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ <operation name="GetTownsForSoundex">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#GetTownsForSoundex" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ <operation name="ReportErrorInFile">
+ <soap:operation soapAction="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX#ReportErrorInFile" style="rpc"/>
+ <input>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </input>
+ <output>
+ <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ODCODESPOSTAUXIntf-IODCODESPOSTAUX"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="IODCODESPOSTAUXservice">
+ <port name="IODCODESPOSTAUXPort" binding="tns:IODCODESPOSTAUXbinding">
+ <soap:address location="http://www.e-naxos.com/scripts/enwscp.dll/soap/IODCODESPOSTAUX"/>
+ </port>
+ </service>
+</definitions>
+
Added: webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZipMapping.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZipMapping.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZipMapping.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/FrenchZipMapping.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
+ version="1.1"
+ xmlns:zip="http://tempuri.org/">
+ <package-mapping>
+ <package-type>org.objectweb.jonas.zip</package-type>
+ <namespaceURI>http://tempuri.org/</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.objectweb.jonas.zip.ZipService</service-interface>
+ <wsdl-service-name>zip:IODCODESPOSTAUXservice</wsdl-service-name>
+ <port-mapping>
+ <port-name>IODCODESPOSTAUXPort</port-name>
+ <java-port-name>ZipPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.objectweb.jonas.zip.Zip</service-endpoint-interface>
+ <wsdl-port-type>zip:IODCODESPOSTAUX</wsdl-port-type>
+ <wsdl-binding>zip:IODCODESPOSTAUXbinding</wsdl-binding>
+ <!-- Here we may add method mapping -->
+ <service-endpoint-method-mapping>
+ <java-method-name>getMyDepartmentFromGivenPostalCode</java-method-name>
+ <wsdl-operation>GetDepartmentForCode</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message>zip:GetDepartmentForCode0Request</wsdl-message>
+ <wsdl-message-part-name>DepCode</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message>zip:GetDepartmentForCode0Response</wsdl-message>
+ <wsdl-message-part-name>return</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
Added: webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webserviceClient.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webserviceClient.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webserviceClient.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webserviceClient.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<service-ref xmlns="http://java.sun.com/xml/ns/j2ee">
+ <service-ref-name>service/FrenchZip</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>FrenchZip.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>FrenchZipMapping.xml</jaxrpc-mapping-file>
+</service-ref>
+
Added: webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webservices.xml
URL: http://svn.apache.org/viewcvs/webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webservices.xml?rev=230793&view=auto
==============================================================================
--- webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webservices.xml (added)
+++ webservices/ews/trunk/ws4j2ee/samples/mapper/frenchzip/webservices.xml Mon Aug 8 05:40:25 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+ <display-name>French Zip</display-name>
+ <webservice-description>
+ <webservice-description-name>French Zip WebService</webservice-description-name>
+ <wsdl-file>FrenchZip.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>FrenchZipMapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <description>port component description</description>
+ <port-component-name>TimePort</port-component-name>
+
+ <!-- Should be the right way to use QName with JAXB parsing -->
+ <wsdl-port xmlns:ns="http://tempuri.org/">ns:IODCODESPOSTAUXPort</wsdl-port>
+
+ <service-endpoint-interface>org.objectweb.jonas.zip.Zip</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>ZipBean</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: ews-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: ews-dev-help@ws.apache.org