Return-Path: X-Original-To: apmail-juddi-commits-archive@www.apache.org Delivered-To: apmail-juddi-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7232810B9D for ; Thu, 19 Sep 2013 00:07:11 +0000 (UTC) Received: (qmail 45544 invoked by uid 500); 19 Sep 2013 00:07:11 -0000 Delivered-To: apmail-juddi-commits-archive@juddi.apache.org Received: (qmail 45509 invoked by uid 500); 19 Sep 2013 00:07:11 -0000 Mailing-List: contact commits-help@juddi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@juddi.apache.org Received: (qmail 45502 invoked by uid 99); 19 Sep 2013 00:07:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 00:07:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 00:07:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5A5AE2388831; Thu, 19 Sep 2013 00:06:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1524601 [1/4] - in /juddi/trunk/juddi-client.net: ./ example/ example/AspnetServiceLifeCycle/ example/AspnetServiceLifeCycle/Properties/ example/WcfServiceLifeCycle/ example/WcfServiceLifeCycle/Properties/ juddi-client.net-sample/ juddi-cl... Date: Thu, 19 Sep 2013 00:06:39 -0000 To: commits@juddi.apache.org From: alexoree@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130919000640.5A5AE2388831@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: alexoree Date: Thu Sep 19 00:06:38 2013 New Revision: 1524601 URL: http://svn.apache.org/r1524601 Log: JUDDI-567 adding UDDIService and UDDIServiceBinding annotations for .NET, along with a working example Added: juddi/trunk/juddi-client.net/example/ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/App.config juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/AspnetServiceLifeCycle.csproj juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Hello_ServiceInterfaces.cs juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Program.cs juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Properties/ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Properties/AssemblyInfo.cs juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/output.config juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/uddi.xml juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/App.config juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/HelloService.cs juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Program.cs juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Properties/ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Properties/AssemblyInfo.cs juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/WcfServiceLifeCycle.csproj juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/sample.wsdl juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/uddi.xml juddi/trunk/juddi-client.net/juddi-client.net-sample/packages.config juddi/trunk/juddi-client.net/juddi-client.net/Service References/ juddi/trunk/juddi-client.net/juddi-client.net/bindings/datamodel-mono.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.annotations/ juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.annotations/AnnotationProcessor.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.annotations/UDDIService.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.annotations/UDDIServiceBinding.cs Modified: juddi/trunk/juddi-client.net/juddi-client.net.sln juddi/trunk/juddi-client.net/juddi-client.net/Properties/AssemblyInfo.cs juddi/trunk/juddi-client.net/juddi-client.net/bindings/JUDDIApiService.cs juddi/trunk/juddi-client.net/juddi-client.net/bindings/ext.cs juddi/trunk/juddi-client.net/juddi-client.net/juddi-client.net.csproj juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.config/ClientConfig.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.config/TokenResolver.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.config/UDDIClerk.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.config/UDDIClient.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.config/XmlConfiguration.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.transport/AspNetTransport.cs juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client/LogFactory.cs Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/App.config URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/App.config?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/App.config (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/App.config Thu Sep 19 00:06:38 2013 @@ -0,0 +1,11 @@ + + + + + + + + + + + Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/AspnetServiceLifeCycle.csproj URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/AspnetServiceLifeCycle.csproj?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/AspnetServiceLifeCycle.csproj (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/AspnetServiceLifeCycle.csproj Thu Sep 19 00:06:38 2013 @@ -0,0 +1,71 @@ + + + + + Debug + AnyCPU + {53F50B81-088B-4593-9F1C-F3D3F499F28C} + Exe + Properties + AspnetServiceLifeCycle + AspnetServiceLifeCycle + v3.5 + 512 + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + {c3d005cd-6c26-49fd-a4d8-08699b66af6f} + juddi-client.net + + + + + Designer + Always + + + + + \ No newline at end of file Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Hello_ServiceInterfaces.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Hello_ServiceInterfaces.cs?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Hello_ServiceInterfaces.cs (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Hello_ServiceInterfaces.cs Thu Sep 19 00:06:38 2013 @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18052 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.ComponentModel; +using System.Diagnostics; +using System.Web.Services; +using System.Web.Services.Protocols; +using System.Xml.Serialization; + +// +// This source code was auto-generated by wsdl, Version=4.0.30319.17929. +// + + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")] +[System.Web.Services.WebServiceBindingAttribute(Name="Hello_Binding", Namespace="http://www.examples.com/wsdl/HelloService.wsdl", + Location="http://www.contoso.com/MyService.asmx?wsdl")] +public interface IHello_Binding { + + /// + [System.Web.Services.WebMethodAttribute()] + [System.Web.Services.Protocols.SoapRpcMethodAttribute("sayHello", RequestNamespace="urn:examples:helloservice", ResponseNamespace="urn:examples:helloservice")] + [return: System.Xml.Serialization.SoapElementAttribute("greeting")] + string sayHello(string firstName); +} Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Program.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Program.cs?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Program.cs (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Program.cs Thu Sep 19 00:06:38 2013 @@ -0,0 +1,52 @@ +using org.apache.juddi.v3.client; +using org.apache.juddi.v3.client.annotations; +using org.apache.juddi.v3.client.config; +using org.apache.juddi.v3.client.transport; +using org.uddi.apiv3; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; + + +namespace AspnetServiceLifeCycle +{ + class Program + { + static void Main(string[] args) + { + Type t = typeof(HelloImpl); + Console.Out.WriteLine(t.AssemblyQualifiedName); + UDDIClient clerkManager = null; + Transport transport = null; + UDDIClerk clerk = null; + + clerkManager = new UDDIClient("uddi.xml"); + UDDIClientContainer.addClient(clerkManager); + + transport = clerkManager.getTransport("default"); + + org.uddi.apiv3.UDDI_Security_SoapBinding security = transport.getUDDISecurityService(); + org.uddi.apiv3.UDDI_Inquiry_SoapBinding inquiry = transport.getUDDIInquiryService (); + + clerk = clerkManager.getClerk("default"); + clerkManager.registerAnnotatedServices(); + HelloImpl x = new HelloImpl(); + clerkManager.unRegisterAnnotatedServices(); + Thread.Sleep(15000); + + } + } + + [UDDIService(businessKey = "uddi:juddi.apache.org:businesses-asf", description = "My custom service via annotations", + serviceName = "HelloImpl, such a cool name", lang = "en", serviceKey = "uddi:juddi.apache.org:services-customHelloImpl")] + [UDDIServiceBinding(accessPoint="http://localhost/here", accessPointType="endPoint")] + class HelloImpl : IHello_Binding + { + public string sayHello(string firstName) + { + return "hi"; + } + } +} Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Properties/AssemblyInfo.cs?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Properties/AssemblyInfo.cs (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/Properties/AssemblyInfo.cs Thu Sep 19 00:06:38 2013 @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("AspnetServiceLifeCycle")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Hewlett-Packard")] +[assembly: AssemblyProduct("AspnetServiceLifeCycle")] +[assembly: AssemblyCopyright("Copyright © Hewlett-Packard 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("8185b28c-1d75-4bdd-83b2-3b6d83e16381")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/output.config URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/output.config?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/output.config (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/output.config Thu Sep 19 00:06:38 2013 @@ -0,0 +1,15 @@ + + + + + + + + + + + + + \ No newline at end of file Added: juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/uddi.xml URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/uddi.xml?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/uddi.xml (added) +++ juddi/trunk/juddi-client.net/example/AspnetServiceLifeCycle/uddi.xml Thu Sep 19 00:06:38 2013 @@ -0,0 +1,88 @@ + + + 5000 + + + + + default + Main jUDDI node + + + + + + org.apache.juddi.v3.client.transport.AspNetTransport + http://${serverName}:${serverPort}/services/custody-transfer?wsdl + http://${serverName}:${serverPort}/services/inquiry?wsdl + http://${serverName}:${serverPort}/services/publish?wsdl + http://${serverName}:${serverPort}/services/security?wsdl + http://${serverName}:${serverPort}/services/subscription?wsdl + http://${serverName}:${serverPort}/services/subscription-listener?wsdl + http://${serverName}:${serverPort}/services/juddi-api?wsdl + not used + not used + not used + + + med + jUDDI node in other Department + org.apache.juddi.v3.client.transport.AspNetTransport + http://med:8080/juddiv3/services/custody-transfer?wsdl + http://med:8080/juddiv3/services/inquiry?wsdl + http://med:8080/juddiv3/services/publish?wsdl + http://med:8080/juddiv3/services/security?wsdl + http://med:8080/juddiv3/services/subscription?wsdl + http://med:8080/juddiv3/services/subscription-listener?wsdl + http://med:8080/juddiv3/services/juddi-api?wsdl + not used + not used + not used + + + + + + + AspnetServiceLifeCycle.HelloImpl, AspnetServiceLifeCycle, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + + + CURRENT-USER + WINDOWS + ignored + ignored + SERIAL + http://www.w3.org/2001/10/xml-exc-c14n# + RSA_SHA1 + http://www.w3.org/2000/09/xmldsig# + CURRENT-USER + WINDOWS + ignored + true + true + true + false + + + uddi:org.apache.juddi + http://localhost:4444/callback + false + uddi:org.apache.juddi:callbackServices + DoNothing + + + false + + + \ No newline at end of file Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/App.config URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/App.config?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/App.config (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/App.config Thu Sep 19 00:06:38 2013 @@ -0,0 +1,11 @@ + + + + + + + + + + + Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/HelloService.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/HelloService.cs?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/HelloService.cs (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/HelloService.cs Thu Sep 19 00:06:38 2013 @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18052 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] +[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.examples.com/wsdl/HelloService.wsdl", ConfigurationName="Hello_PortType")] +public interface Hello_PortType +{ + + // CODEGEN: Generating message contract since the wrapper namespace (urn:examples:helloservice) of message sayHelloRequest does not match the default value (http://www.examples.com/wsdl/HelloService.wsdl) + [System.ServiceModel.OperationContractAttribute(Action="sayHello", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc, Use=System.ServiceModel.OperationFormatUse.Encoded)] + sayHelloResponse sayHello(sayHelloRequest request); + +} + +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] +[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] +[System.ServiceModel.MessageContractAttribute(WrapperName="sayHello", WrapperNamespace="urn:examples:helloservice", IsWrapped=true)] +public partial class sayHelloRequest +{ + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)] + public string firstName; + + public sayHelloRequest() + { + } + + public sayHelloRequest(string firstName) + { + this.firstName = firstName; + } +} + +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] +[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] +[System.ServiceModel.MessageContractAttribute(WrapperName="sayHelloResponse", WrapperNamespace="urn:examples:helloservice", IsWrapped=true)] +public partial class sayHelloResponse +{ + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)] + public string greeting; + + public sayHelloResponse() + { + } + + public sayHelloResponse(string greeting) + { + this.greeting = greeting; + } +} + +[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] +public interface Hello_PortTypeChannel : Hello_PortType, System.ServiceModel.IClientChannel +{ +} + +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] +public partial class Hello_PortTypeClient : System.ServiceModel.ClientBase, Hello_PortType +{ + + public Hello_PortTypeClient() + { + } + + public Hello_PortTypeClient(string endpointConfigurationName) : + base(endpointConfigurationName) + { + } + + public Hello_PortTypeClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) + { + } + + public Hello_PortTypeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) + { + } + + public Hello_PortTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + sayHelloResponse Hello_PortType.sayHello(sayHelloRequest request) + { + return base.Channel.sayHello(request); + } + + public string sayHello(string firstName) + { + sayHelloRequest inValue = new sayHelloRequest(); + inValue.firstName = firstName; + sayHelloResponse retVal = ((Hello_PortType)(this)).sayHello(inValue); + return retVal.greeting; + } + + +} Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Program.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Program.cs?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Program.cs (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Program.cs Thu Sep 19 00:06:38 2013 @@ -0,0 +1,51 @@ +using org.apache.juddi.v3.client; +using org.apache.juddi.v3.client.annotations; +using org.apache.juddi.v3.client.config; +using org.apache.juddi.v3.client.transport; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; + +namespace WcfServiceLifeCycle +{ + class Program + { + static void Main(string[] args) + { + Type t = typeof(HelloWorldWCF); + Console.Out.WriteLine(t.AssemblyQualifiedName); + UDDIClient clerkManager = null; + Transport transport = null; + UDDIClerk clerk = null; + + clerkManager = new UDDIClient("uddi.xml"); + UDDIClientContainer.addClient(clerkManager); + + transport = clerkManager.getTransport("default"); + + org.uddi.apiv3.UDDI_Security_SoapBinding security = transport.getUDDISecurityService(); + org.uddi.apiv3.UDDI_Inquiry_SoapBinding inquiry = transport.getUDDIInquiryService(); + + clerk = clerkManager.getClerk("default"); + clerkManager.registerAnnotatedServices(); + HelloWorldWCF x = new HelloWorldWCF(); + // clerkManager.unRegisterAnnotatedServices(); + Thread.Sleep(15000); + + } + } + + + [UDDIService(businessKey = "uddi:juddi.apache.org:businesses-asf", description = "My custom WCF service registered via annotations", + serviceName = "HelloImplWcf, such a cool name", lang = "en", serviceKey = "uddi:juddi.apache.org:services-customHelloImplWCF")] + [UDDIServiceBinding(accessPoint = "http://localhost/here", accessPointType = "endPoint")] + public class HelloWorldWCF : Hello_PortType + { + public sayHelloResponse sayHello(sayHelloRequest request) + { + return new sayHelloResponse("hi"); + } + } +} Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Properties/AssemblyInfo.cs?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Properties/AssemblyInfo.cs (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/Properties/AssemblyInfo.cs Thu Sep 19 00:06:38 2013 @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("WcfServiceLifeCycle")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Hewlett-Packard")] +[assembly: AssemblyProduct("WcfServiceLifeCycle")] +[assembly: AssemblyCopyright("Copyright © Hewlett-Packard 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("eefed695-e83d-40dd-9e00-a588df381538")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/WcfServiceLifeCycle.csproj URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/WcfServiceLifeCycle.csproj?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/WcfServiceLifeCycle.csproj (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/WcfServiceLifeCycle.csproj Thu Sep 19 00:06:38 2013 @@ -0,0 +1,74 @@ + + + + + Debug + AnyCPU + {072F737E-86E5-4B8E-A7FB-864A3ABB0D9A} + Exe + Properties + WcfServiceLifeCycle + WcfServiceLifeCycle + v3.5 + 512 + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + {c3d005cd-6c26-49fd-a4d8-08699b66af6f} + juddi-client.net + + + + + Designer + Always + + + + + \ No newline at end of file Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/sample.wsdl URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/sample.wsdl?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/sample.wsdl (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/sample.wsdl Thu Sep 19 00:06:38 2013 @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WSDL File for HelloService + + + + + \ No newline at end of file Added: juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/uddi.xml URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/uddi.xml?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/uddi.xml (added) +++ juddi/trunk/juddi-client.net/example/WcfServiceLifeCycle/uddi.xml Thu Sep 19 00:06:38 2013 @@ -0,0 +1,84 @@ + + + 5000 + + + + + default + Main jUDDI node + + + + + + org.apache.juddi.v3.client.transport.AspNetTransport + http://${serverName}:${serverPort}/services/custody-transfer?wsdl + http://${serverName}:${serverPort}/services/inquiry?wsdl + http://${serverName}:${serverPort}/services/publish?wsdl + http://${serverName}:${serverPort}/services/security?wsdl + http://${serverName}:${serverPort}/services/subscription?wsdl + http://${serverName}:${serverPort}/services/subscription-listener?wsdl + http://${serverName}:${serverPort}/services/juddi-api?wsdl + not used + not used + not used + + + med + jUDDI node in other Department + org.apache.juddi.v3.client.transport.AspNetTransport + http://med:8080/juddiv3/services/custody-transfer?wsdl + http://med:8080/juddiv3/services/inquiry?wsdl + http://med:8080/juddiv3/services/publish?wsdl + http://med:8080/juddiv3/services/security?wsdl + http://med:8080/juddiv3/services/subscription?wsdl + http://med:8080/juddiv3/services/subscription-listener?wsdl + http://med:8080/juddiv3/services/juddi-api?wsdl + not used + not used + not used + + + + + + + WcfServiceLifeCycle.HelloWorldWCF, WcfServiceLifeCycle, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + + + + CURRENT-USER + WINDOWS + ignored + ignored + SERIAL + http://www.w3.org/2001/10/xml-exc-c14n# + RSA_SHA1 + http://www.w3.org/2000/09/xmldsig# + CURRENT-USER + WINDOWS + ignored + true + true + true + false + + + uddi:org.apache.juddi + http://localhost:4444/callback + false + uddi:org.apache.juddi:callbackServices + DoNothing + + + false + + + \ No newline at end of file Added: juddi/trunk/juddi-client.net/juddi-client.net-sample/packages.config URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/juddi-client.net-sample/packages.config?rev=1524601&view=auto ============================================================================== --- juddi/trunk/juddi-client.net/juddi-client.net-sample/packages.config (added) +++ juddi/trunk/juddi-client.net/juddi-client.net-sample/packages.config Thu Sep 19 00:06:38 2013 @@ -0,0 +1,4 @@ + + + + \ No newline at end of file Modified: juddi/trunk/juddi-client.net/juddi-client.net.sln URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/juddi-client.net.sln?rev=1524601&r1=1524600&r2=1524601&view=diff ============================================================================== --- juddi/trunk/juddi-client.net/juddi-client.net.sln (original) +++ juddi/trunk/juddi-client.net/juddi-client.net.sln Thu Sep 19 00:06:38 2013 @@ -10,6 +10,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956 .nuget\packages.config = .nuget\packages.config EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WcfServiceLifeCycle", "example\WcfServiceLifeCycle\WcfServiceLifeCycle.csproj", "{072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspnetServiceLifeCycle", "example\AspnetServiceLifeCycle\AspnetServiceLifeCycle.csproj", "{53F50B81-088B-4593-9F1C-F3D3F499F28C}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -24,6 +28,14 @@ Global {7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}.Debug|Any CPU.Build.0 = Debug|Any CPU {7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}.Release|Any CPU.ActiveCfg = Release|Any CPU {7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}.Release|Any CPU.Build.0 = Release|Any CPU + {072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}.Release|Any CPU.Build.0 = Release|Any CPU + {53F50B81-088B-4593-9F1C-F3D3F499F28C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {53F50B81-088B-4593-9F1C-F3D3F499F28C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {53F50B81-088B-4593-9F1C-F3D3F499F28C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {53F50B81-088B-4593-9F1C-F3D3F499F28C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE Modified: juddi/trunk/juddi-client.net/juddi-client.net/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/juddi-client.net/Properties/AssemblyInfo.cs?rev=1524601&r1=1524600&r2=1524601&view=diff ============================================================================== --- juddi/trunk/juddi-client.net/juddi-client.net/Properties/AssemblyInfo.cs (original) +++ juddi/trunk/juddi-client.net/juddi-client.net/Properties/AssemblyInfo.cs Thu Sep 19 00:06:38 2013 @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.2.*")] -[assembly: AssemblyFileVersion("3.2.*.*")] +[assembly: AssemblyVersion("3.2.0.0")] +[assembly: AssemblyFileVersion("3.2.0.0")] --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org For additional commands, e-mail: commits-help@juddi.apache.org