User: cgjung
Date: 02/04/02 05:48:38
Added: jboss.net/samples/src/win/Web ItemService.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: ItemService.wsdl
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:s1="http://localhost/axis/services/ItemService"
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/ItemService"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema targetNamespace="http://net.jboss.org/samples/store">
<s:complexType name="Item">
<s:sequence>
<s:element name="name" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="Item" nillable="true" type="s0:Item" />
</s:schema>
<s:schema targetNamespace="http://localhost/axis/services/ItemService">
<s:complexType name="ArrayOf_tns1_Item">
<s:complexContent mixed="false">
<s:restriction base="soapenc:Array">
<s:attribute d7p1:arrayType="s0:Item[]" ref="soapenc:arrayType"
xmlns:d7p1="http://schemas.xmlsoap.org/wsdl/" />
</s:restriction>
</s:complexContent>
</s:complexType>
<s:element name="ArrayOf_tns1_Item" nillable="true"
type="s1:ArrayOf_tns1_Item" />
</s:schema>
</types>
<message name="deleteResponse" />
<message name="deleteRequest">
<part name="in0" type="s0:Item" />
</message>
<message name="findAllRequest" />
<message name="createRequest">
<part name="in0" type="s:string" />
</message>
<message name="findAllResponse">
<part name="return" type="s1:ArrayOf_tns1_Item" />
</message>
<message name="createResponse">
<part name="return" type="s0:Item" />
</message>
<message name="StoreException" />
<portType name="ItemService">
<operation name="delete" parameterOrder="in0">
<input message="s1:deleteRequest" />
<output message="s1:deleteResponse" />
<fault name="StoreException" message="s1:StoreException" />
</operation>
<operation name="create" parameterOrder="in0">
<input message="s1:createRequest" />
<output message="s1:createResponse" />
<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>
</portType>
<binding name="ItemServiceSoapBinding" type="s1:ItemService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
<operation name="delete">
<soap:operation soapAction="" />
<input>
<soap:body use="encoded"
namespace="http://localhost/axis/services/ItemService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body use="encoded"
namespace="http://localhost/axis/services/ItemService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
<operation name="create">
<soap:operation soapAction="" />
<input>
<soap:body use="encoded"
namespace="http://localhost/axis/services/ItemService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body use="encoded"
namespace="http://localhost/axis/services/ItemService"
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/ItemService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body use="encoded"
namespace="http://localhost/axis/services/ItemService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
<service name="ItemServiceService">
<port name="ItemService" binding="s1:ItemServiceSoapBinding">
<soap:address location="http://localhost/axis/services/ItemService" />
</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.item {
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="ItemServiceSoapBinding",
Namespace="http://localhost/axis/services/ItemService")]
public class ItemServiceService :
System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public ItemServiceService() {
this.Url = "http://localhost/axis/services/ItemService";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("",
RequestNamespace="http://localhost/axis/services/ItemService",
ResponseNamespace="http://localhost/axis/services/ItemService")]
public void delete(Item in0) {
this.Invoke("delete", new object[] {
in0});
}
/// <remarks/>
public System.IAsyncResult Begindelete(Item 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/ItemService",
ResponseNamespace="http://localhost/axis/services/ItemService")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public Item create(string in0) {
object[] results = this.Invoke("create", new object[] {
in0});
return ((Item)(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 Item Endcreate(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Item)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("",
RequestNamespace="http://localhost/axis/services/ItemService",
ResponseNamespace="http://localhost/axis/services/ItemService")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public Item[] findAll() {
object[] results = this.Invoke("findAll", new object[0]);
return ((Item[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginfindAll(System.AsyncCallback callback,
object asyncState) {
return this.BeginInvoke("findAll", new object[0], callback, asyncState);
}
/// <remarks/>
public Item[] EndfindAll(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Item[])(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.SoapTypeAttribute("Item",
"http://net.jboss.org/samples/store")]
public class Item {
/// <remarks/>
public string name;
}
}
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/ItemService?wsdl" filename="ItemService.wsdl"
/>
</Results>
</DiscoveryClientResultsFile>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development