User: cgjung  
  Date: 02/04/02 05:48:37

  Added:       jboss.net/samples/src/win/Web BusinessPartnerService.wsdl
                        Reference.cs Reference.map
  Log:
  That is the alpha-version together with the .Net sample client
  I hacked together at JBossOne ;-)
  
  more to come.
  
  Revision  Changes    Path
  1.1                  contrib/jboss.net/samples/src/win/Web
  
  Index: BusinessPartnerService.wsdl
  ===================================================================
  <?xml version="1.0" encoding="utf-8"?>
  <definitions xmlns:s1="http://localhost/axis/services/BusinessPartnerService"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:s="http://www.w3.org/2001/XMLSchema"; 
xmlns:s0="http://net.jboss.org/samples/store"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
targetNamespace="http://localhost/axis/services/BusinessPartnerService"; 
xmlns="http://schemas.xmlsoap.org/wsdl/";>
    <types>
      <s:schema targetNamespace="http://net.jboss.org/samples/store";>
        <s:complexType name="BusinessPartner">
          <s:sequence>
            <s:element name="name" nillable="true" type="s:string" />
            <s:element name="address" nillable="true" type="s0:Address" />
          </s:sequence>
        </s:complexType>
        <s:complexType name="Address">
          <s:sequence>
            <s:element name="streetNum" type="s:int" />
            <s:element name="streetName" nillable="true" type="s:string" />
            <s:element name="city" nillable="true" type="s:string" />
            <s:element name="state" nillable="true" type="s0:StateType" />
            <s:element name="zip" type="s:int" />
            <s:element name="phoneNumber" nillable="true" type="s0:Phone" />
          </s:sequence>
        </s:complexType>
        <s:simpleType name="StateType">
          <s:restriction base="s:string">
            <s:enumeration value="TX" />
            <s:enumeration value="IN" />
            <s:enumeration value="OH" />
          </s:restriction>
        </s:simpleType>
        <s:complexType name="Phone">
          <s:sequence>
            <s:element name="areaCode" type="s:int" />
            <s:element name="exchange" nillable="true" type="s:string" />
            <s:element name="number" nillable="true" type="s:string" />
          </s:sequence>
        </s:complexType>
        <s:element name="BusinessPartner" nillable="true" type="s0:BusinessPartner" />
      </s:schema>
      <s:schema 
targetNamespace="http://localhost/axis/services/BusinessPartnerService";>
        <s:complexType name="ArrayOf_tns1_BusinessPartner">
          <s:complexContent mixed="false">
            <s:restriction base="soapenc:Array">
              <s:attribute d7p1:arrayType="s0:BusinessPartner[]" 
ref="soapenc:arrayType" xmlns:d7p1="http://schemas.xmlsoap.org/wsdl/"; />
            </s:restriction>
          </s:complexContent>
        </s:complexType>
        <s:element name="ArrayOf_tns1_BusinessPartner" nillable="true" 
type="s1:ArrayOf_tns1_BusinessPartner" />
      </s:schema>
    </types>
    <message name="updateResponse" />
    <message name="deleteResponse" />
    <message name="findAllResponse">
      <part name="return" type="s1:ArrayOf_tns1_BusinessPartner" />
    </message>
    <message name="createResponse">
      <part name="return" type="s0:BusinessPartner" />
    </message>
    <message name="StoreException" />
    <message name="createRequest">
      <part name="in0" type="s:string" />
    </message>
    <message name="findAllRequest" />
    <message name="findByNameRequest">
      <part name="in0" type="s:string" />
    </message>
    <message name="updateRequest">
      <part name="in0" type="s0:BusinessPartner" />
    </message>
    <message name="findByNameResponse">
      <part name="return" type="s0:BusinessPartner" />
    </message>
    <message name="deleteRequest">
      <part name="in0" type="s0:BusinessPartner" />
    </message>
    <portType name="BusinessPartnerService">
      <operation name="create" parameterOrder="in0">
        <input message="s1:createRequest" />
        <output message="s1:createResponse" />
        <fault name="StoreException" message="s1:StoreException" />
      </operation>
      <operation name="delete" parameterOrder="in0">
        <input message="s1:deleteRequest" />
        <output message="s1:deleteResponse" />
        <fault name="StoreException" message="s1:StoreException" />
      </operation>
      <operation name="findAll">
        <input message="s1:findAllRequest" />
        <output message="s1:findAllResponse" />
        <fault name="StoreException" message="s1:StoreException" />
      </operation>
      <operation name="update" parameterOrder="in0">
        <input message="s1:updateRequest" />
        <output message="s1:updateResponse" />
        <fault name="StoreException" message="s1:StoreException" />
      </operation>
      <operation name="findByName" parameterOrder="in0">
        <input message="s1:findByNameRequest" />
        <output message="s1:findByNameResponse" />
        <fault name="StoreException" message="s1:StoreException" />
      </operation>
    </portType>
    <binding name="BusinessPartnerServiceSoapBinding" type="s1:BusinessPartnerService">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="rpc" />
      <operation name="create">
        <soap:operation soapAction="" />
        <input>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </input>
        <output>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
      </operation>
      <operation name="delete">
        <soap:operation soapAction="" />
        <input>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </input>
        <output>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
      </operation>
      <operation name="findAll">
        <soap:operation soapAction="" />
        <input>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </input>
        <output>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
      </operation>
      <operation name="update">
        <soap:operation soapAction="" />
        <input>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </input>
        <output>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
      </operation>
      <operation name="findByName">
        <soap:operation soapAction="" />
        <input>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </input>
        <output>
          <soap:body use="encoded" 
namespace="http://localhost/axis/services/BusinessPartnerService"; 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
        </output>
      </operation>
    </binding>
    <service name="BusinessPartnerServiceService">
      <port name="BusinessPartnerService" 
binding="s1:BusinessPartnerServiceSoapBinding">
        <soap:address location="http://localhost/axis/services/BusinessPartnerService"; 
/>
      </port>
    </service>
  </definitions>
  
  
  1.1                  contrib/jboss.net/samples/src/win/Web
  
  Index: Reference.cs
  ===================================================================
  //------------------------------------------------------------------------------
  // <autogenerated>
  //     This code was generated by a tool.
  //     Runtime Version: 1.0.3705.0
  //
  //     Changes to this file may cause incorrect behavior and will be lost if 
  //     the code is regenerated.
  // </autogenerated>
  //------------------------------------------------------------------------------
  
  // 
  // This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.0.
  // 
  namespace JBoss_Net_Sample.businessPartner {
      using System.Diagnostics;
      using System.Xml.Serialization;
      using System;
      using System.Web.Services.Protocols;
      using System.ComponentModel;
      using System.Web.Services;
      
      
      /// <remarks/>
      [System.Diagnostics.DebuggerStepThroughAttribute()]
      [System.ComponentModel.DesignerCategoryAttribute("code")]
      
[System.Web.Services.WebServiceBindingAttribute(Name="BusinessPartnerServiceSoapBinding",
 Namespace="http://localhost/axis/services/BusinessPartnerService";)]
      public class BusinessPartnerServiceService : 
System.Web.Services.Protocols.SoapHttpClientProtocol {
          
          /// <remarks/>
          public BusinessPartnerServiceService() {
              this.Url = "http://localhost/axis/services/BusinessPartnerService";;
          }
          
          /// <remarks/>
          [System.Web.Services.Protocols.SoapRpcMethodAttribute("", 
RequestNamespace="http://localhost/axis/services/BusinessPartnerService";, 
ResponseNamespace="http://localhost/axis/services/BusinessPartnerService";)]
          [return: System.Xml.Serialization.SoapElementAttribute("return")]
          public BusinessPartner create(string in0) {
              object[] results = this.Invoke("create", new object[] {
                          in0});
              return ((BusinessPartner)(results[0]));
          }
          
          /// <remarks/>
          public System.IAsyncResult Begincreate(string in0, System.AsyncCallback 
callback, object asyncState) {
              return this.BeginInvoke("create", new object[] {
                          in0}, callback, asyncState);
          }
          
          /// <remarks/>
          public BusinessPartner Endcreate(System.IAsyncResult asyncResult) {
              object[] results = this.EndInvoke(asyncResult);
              return ((BusinessPartner)(results[0]));
          }
          
          /// <remarks/>
          [System.Web.Services.Protocols.SoapRpcMethodAttribute("", 
RequestNamespace="http://localhost/axis/services/BusinessPartnerService";, 
ResponseNamespace="http://localhost/axis/services/BusinessPartnerService";)]
          public void delete(BusinessPartner in0) {
              this.Invoke("delete", new object[] {
                          in0});
          }
          
          /// <remarks/>
          public System.IAsyncResult Begindelete(BusinessPartner in0, 
System.AsyncCallback callback, object asyncState) {
              return this.BeginInvoke("delete", new object[] {
                          in0}, callback, asyncState);
          }
          
          /// <remarks/>
          public void Enddelete(System.IAsyncResult asyncResult) {
              this.EndInvoke(asyncResult);
          }
          
          /// <remarks/>
          [System.Web.Services.Protocols.SoapRpcMethodAttribute("", 
RequestNamespace="http://localhost/axis/services/BusinessPartnerService";, 
ResponseNamespace="http://localhost/axis/services/BusinessPartnerService";)]
          [return: System.Xml.Serialization.SoapElementAttribute("return")]
          public BusinessPartner[] findAll() {
              object[] results = this.Invoke("findAll", new object[0]);
              return ((BusinessPartner[])(results[0]));
          }
          
          /// <remarks/>
          public System.IAsyncResult BeginfindAll(System.AsyncCallback callback, 
object asyncState) {
              return this.BeginInvoke("findAll", new object[0], callback, asyncState);
          }
          
          /// <remarks/>
          public BusinessPartner[] EndfindAll(System.IAsyncResult asyncResult) {
              object[] results = this.EndInvoke(asyncResult);
              return ((BusinessPartner[])(results[0]));
          }
          
          /// <remarks/>
          [System.Web.Services.Protocols.SoapRpcMethodAttribute("", 
RequestNamespace="http://localhost/axis/services/BusinessPartnerService";, 
ResponseNamespace="http://localhost/axis/services/BusinessPartnerService";)]
          public void update(BusinessPartner in0) {
              this.Invoke("update", new object[] {
                          in0});
          }
          
          /// <remarks/>
          public System.IAsyncResult Beginupdate(BusinessPartner in0, 
System.AsyncCallback callback, object asyncState) {
              return this.BeginInvoke("update", new object[] {
                          in0}, callback, asyncState);
          }
          
          /// <remarks/>
          public void Endupdate(System.IAsyncResult asyncResult) {
              this.EndInvoke(asyncResult);
          }
          
          /// <remarks/>
          [System.Web.Services.Protocols.SoapRpcMethodAttribute("", 
RequestNamespace="http://localhost/axis/services/BusinessPartnerService";, 
ResponseNamespace="http://localhost/axis/services/BusinessPartnerService";)]
          [return: System.Xml.Serialization.SoapElementAttribute("return")]
          public BusinessPartner findByName(string in0) {
              object[] results = this.Invoke("findByName", new object[] {
                          in0});
              return ((BusinessPartner)(results[0]));
          }
          
          /// <remarks/>
          public System.IAsyncResult BeginfindByName(string in0, System.AsyncCallback 
callback, object asyncState) {
              return this.BeginInvoke("findByName", new object[] {
                          in0}, callback, asyncState);
          }
          
          /// <remarks/>
          public BusinessPartner EndfindByName(System.IAsyncResult asyncResult) {
              object[] results = this.EndInvoke(asyncResult);
              return ((BusinessPartner)(results[0]));
          }
      }
      
      /// <remarks/>
      [System.Xml.Serialization.SoapTypeAttribute("BusinessPartner", 
"http://net.jboss.org/samples/store";)]
      public class BusinessPartner {
          
          /// <remarks/>
          public string name;
          
          /// <remarks/>
          public Address address;
      }
      
      /// <remarks/>
      [System.Xml.Serialization.SoapTypeAttribute("Address", 
"http://net.jboss.org/samples/store";)]
      public class Address {
          
          /// <remarks/>
          public int streetNum;
          
          /// <remarks/>
          public string streetName;
          
          /// <remarks/>
          public string city;
          
          /// <remarks/>
          public StateType state;
          
          /// <remarks/>
          public int zip;
          
          /// <remarks/>
          public Phone phoneNumber;
      }
      
      /// <remarks/>
      [System.Xml.Serialization.SoapTypeAttribute("StateType", 
"http://net.jboss.org/samples/store";)]
      public enum StateType {
          
          /// <remarks/>
          TX,
          
          /// <remarks/>
          IN,
          
          /// <remarks/>
          OH,
      }
      
      /// <remarks/>
      [System.Xml.Serialization.SoapTypeAttribute("Phone", 
"http://net.jboss.org/samples/store";)]
      public class Phone {
          
          /// <remarks/>
          public int areaCode;
          
          /// <remarks/>
          public string exchange;
          
          /// <remarks/>
          public string number;
      }
  }
  
  
  
  1.1                  contrib/jboss.net/samples/src/win/Web
  
  Index: Reference.map
  ===================================================================
  <?xml version="1.0" encoding="utf-8"?>
  <DiscoveryClientResultsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <Results>
      <DiscoveryClientResult 
referenceType="System.Web.Services.Discovery.ContractReference" 
url="http://localhost:8080/axis/services/BusinessPartnerService?wsdl"; 
filename="BusinessPartnerService.wsdl" />
    </Results>
  </DiscoveryClientResultsFile>
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to