http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/integrationTests.bat ---------------------------------------------------------------------- diff --git a/juddi-client.net/integrationTests.bat b/juddi-client.net/integrationTests.bat index 317d3d4..fc6f1e3 100644 --- a/juddi-client.net/integrationTests.bat +++ b/juddi-client.net/integrationTests.bat @@ -1,43 +1,59 @@ -@echo off -if "%NUNIT_HOME%"=="" ( - set NUNIT_HOME=C:\juddi\NUnit-2.6.1 - echo WARN - NUNIT_HOME is not defined, using default value, which is probably wrong -) -if not exist "%NUNIT_HOME%" ( - echo The path %NUNIT_HOME% does not exist, download Nunit and setup the environment variable - goto exit -) -echo Using %NUNIT_HOME% for NUNIT location - -rem this batch file is designed to help test the juddi-client.net with an active UDDI server, primarily to determine if there are any -rem serialization issues. It must be ran AFTER the complete java build has completed and after the juddi-client.net has been built -rem it is designed to be ran from the root check out folder (ex c:\juddi\trunk\) -cd juddi-tomcat\target\tomcat\apache-tomcat-6.0.26\bin\ -call startup.bat -cd ..\..\..\..\.. -cd juddi-client.net -rem wait until tomcat has started -rem ping 192.0.2.2 -n 1 -w 20000 > nul - -rem run tests -set exitcode=0 - -%NUNIT_HOME%\bin\nunit-console.exe juddi-client.net-integration.test\bin\Debug\juddi-client.net-integration.test.dll -set exitcode=%errorlevel% -echo Exit code captured as %exitcode% -cd .. -cd juddi-tomcat\target\tomcat\apache-tomcat-6.0.26\bin\ -call shutdown.bat -ping 192.0.2.2 -n 1 -w 1000 > nul -call shutdown.bat -ping 192.0.2.2 -n 1 -w 1000 > nul -call shutdown.bat -cd ..\..\..\..\.. -echo Exit code %exitcode% -exit /b %exitcode% -goto ok - -:exit -exit /b 1 - -:ok \ No newline at end of file +@echo off +rem Licensed to the Apache Software Foundation (ASF) under one +rem or more contributor license agreements. See the NOTICE file +rem distributed with this work for additional information +rem regarding copyright ownership. The ASF licenses this file +rem to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance +rem with the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, +rem software distributed under the License is distributed on an +rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +rem KIND, either express or implied. See the License for the +rem specific language governing permissions and limitations +rem under the License. +if "%NUNIT_HOME%"=="" ( + set NUNIT_HOME=C:\juddi\NUnit-2.6.1 + echo WARN - NUNIT_HOME is not defined, using default value, which is probably wrong +) +if not exist "%NUNIT_HOME%" ( + echo The path %NUNIT_HOME% does not exist, download Nunit and setup the environment variable + goto exit +) +echo Using %NUNIT_HOME% for NUNIT location + +rem this batch file is designed to help test the juddi-client.net with an active UDDI server, primarily to determine if there are any +rem serialization issues. It must be ran AFTER the complete java build has completed and after the juddi-client.net has been built +rem it is designed to be ran from the root check out folder (ex c:\juddi\trunk\) +cd juddi-tomcat\target\tomcat\apache-tomcat-6.0.26\bin\ +call startup.bat +cd ..\..\..\..\.. +cd juddi-client.net +rem wait until tomcat has started +rem ping 192.0.2.2 -n 1 -w 20000 > nul + +rem run tests +set exitcode=0 + +%NUNIT_HOME%\bin\nunit-console.exe juddi-client.net-integration.test\bin\Debug\juddi-client.net-integration.test.dll +set exitcode=%errorlevel% +echo Exit code captured as %exitcode% +cd .. +cd juddi-tomcat\target\tomcat\apache-tomcat-6.0.26\bin\ +call shutdown.bat +ping 192.0.2.2 -n 1 -w 1000 > nul +call shutdown.bat +ping 192.0.2.2 -n 1 -w 1000 > nul +call shutdown.bat +cd ..\..\..\..\.. +echo Exit code %exitcode% +exit /b %exitcode% +goto ok + +:exit +exit /b 1 + +:ok
http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/Properties/AssemblyInfo.cs ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/Properties/AssemblyInfo.cs b/juddi-client.net/juddi-client.net-integration.test/Properties/AssemblyInfo.cs index 31756e3..f231a02 100644 --- a/juddi-client.net/juddi-client.net-integration.test/Properties/AssemblyInfo.cs +++ b/juddi-client.net/juddi-client.net-integration.test/Properties/AssemblyInfo.cs @@ -1,36 +1,55 @@ -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("juddi-client.net-integration.test")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Apache Software Foundation")] -[assembly: AssemblyProduct("juddi-client.net-integration.test")] -[assembly: AssemblyCopyright("Copyright © ASF 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("757ce1ab-be31-4305-bb0e-4be6131c1229")] - -// 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("3.2.1.0")] -[assembly: AssemblyFileVersion("3.2.1.0")] +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +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("juddi-client.net-integration.test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Apache Software Foundation")] +[assembly: AssemblyProduct("juddi-client.net-integration.test")] +[assembly: AssemblyCopyright("Copyright © ASF 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("757ce1ab-be31-4305-bb0e-4be6131c1229")] + +// 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("3.2.1.0")] +[assembly: AssemblyFileVersion("3.2.1.0")] http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/installcert.bat ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/installcert.bat b/juddi-client.net/juddi-client.net-integration.test/installcert.bat index 00afd72..153d35f 100644 --- a/juddi-client.net/juddi-client.net-integration.test/installcert.bat +++ b/juddi-client.net/juddi-client.net-integration.test/installcert.bat @@ -1,3 +1,19 @@ -@echo off -echo The password is 'password' without the quotes! -sn.exe -i ../juddi-client.net.test/resources/cert.pfx my \ No newline at end of file +@echo off +rem Licensed to the Apache Software Foundation (ASF) under one +rem or more contributor license agreements. See the NOTICE file +rem distributed with this work for additional information +rem regarding copyright ownership. The ASF licenses this file +rem to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance +rem with the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, +rem software distributed under the License is distributed on an +rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +rem KIND, either express or implied. See the License for the +rem specific language governing permissions and limitations +rem under the License. +echo The password is 'password' without the quotes! +sn.exe -i ../juddi-client.net.test/resources/cert.pfx my http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test-mono.csproj ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test-mono.csproj b/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test-mono.csproj index 8f50333..dd43bb0 100644 --- a/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test-mono.csproj +++ b/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test-mono.csproj @@ -1,91 +1,111 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}</ProjectGuid> - <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>juddi_client.net_integration.test</RootNamespace> - <AssemblyName>juddi-client.net-integration.test</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <TargetFrameworkProfile /> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup> - <StartupObject /> - </PropertyGroup> - <ItemGroup> - <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Core" /> - <Reference Include="System.Data" /> - <Reference Include="System.Web" /> - <Reference Include="System.Web.Services" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="org.apache.juddi.client.test.integration\AutomatedRegistrationTests.cs" /> - <Compile Include="org.apache.juddi.client.test.integration\DigitalSignatureIntegrationTests.cs" /> - <Compile Include="org.apache.juddi.client.test.mocks\Hello_ServiceInterfaces.cs" /> - <Compile Include="org.apache.juddi.client.test.mocks\Program.cs" /> - <Compile Include="org.apache.juddi.client.test.integration\InquiryTests.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\juddi-client.net\juddi-client.net-mono.csproj"> - <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> - <Name>juddi-client.net-mono</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <Content Include="resource\uddi-autoregAnnotations.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="resource\uddisigwinstore.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="resource\uddisigfile.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="resource\uddi.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <PropertyGroup> - <PostBuildEvent>echo cd $(OutDir) mono nunit-console $(TargetFileName)</PostBuildEvent> - </PropertyGroup> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>juddi_client.net_integration.test</RootNamespace> + <AssemblyName>juddi-client.net-integration.test</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup> + <StartupObject /> + </PropertyGroup> + <ItemGroup> + <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Data" /> + <Reference Include="System.Web" /> + <Reference Include="System.Web.Services" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="org.apache.juddi.client.test.integration\AutomatedRegistrationTests.cs" /> + <Compile Include="org.apache.juddi.client.test.integration\DigitalSignatureIntegrationTests.cs" /> + <Compile Include="org.apache.juddi.client.test.mocks\Hello_ServiceInterfaces.cs" /> + <Compile Include="org.apache.juddi.client.test.mocks\Program.cs" /> + <Compile Include="org.apache.juddi.client.test.integration\InquiryTests.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\juddi-client.net\juddi-client.net-mono.csproj"> + <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> + <Name>juddi-client.net-mono</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Content Include="resource\uddi-autoregAnnotations.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="resource\uddisigwinstore.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="resource\uddisigfile.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="resource\uddi.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <PropertyGroup> + <PostBuildEvent>echo cd $(OutDir) mono nunit-console $(TargetFileName)</PostBuildEvent> + </PropertyGroup> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test.csproj ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test.csproj b/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test.csproj index 366ecfe..8c6d4c4 100644 --- a/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test.csproj +++ b/juddi-client.net/juddi-client.net-integration.test/juddi-client.net-integration.test.csproj @@ -1,92 +1,112 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}</ProjectGuid> - <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>juddi_client.net_integration.test</RootNamespace> - <AssemblyName>juddi-client.net-integration.test</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <TargetFrameworkProfile /> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup> - <StartupObject /> - </PropertyGroup> - <ItemGroup> - <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Core" /> - <Reference Include="System.Data" /> - <Reference Include="System.Web" /> - <Reference Include="System.Web.Services" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="org.apache.juddi.client.test.integration\AutomatedRegistrationTests.cs" /> - <Compile Include="org.apache.juddi.client.test.integration\DigitalSignatureIntegrationTests.cs" /> - <Compile Include="org.apache.juddi.client.test.mocks\Hello_ServiceInterfaces.cs" /> - <Compile Include="org.apache.juddi.client.test.mocks\Program.cs" /> - <Compile Include="org.apache.juddi.client.test.integration\InquiryTests.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\juddi-client.net\juddi-client.net.csproj"> - <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> - <Name>juddi-client.net</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <Content Include="resource\uddi-autoregAnnotations.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="resource\uddisigwinstore.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="resource\uddisigfile.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="resource\uddi.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - </ItemGroup> - <ItemGroup /> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <PropertyGroup> - <PostBuildEvent>echo cd $(OutDir) C:\juddi\NUnit-2.6.1\bin\nunit-console.exe $(TargetFileName)</PostBuildEvent> - </PropertyGroup> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>juddi_client.net_integration.test</RootNamespace> + <AssemblyName>juddi-client.net-integration.test</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup> + <StartupObject /> + </PropertyGroup> + <ItemGroup> + <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Data" /> + <Reference Include="System.Web" /> + <Reference Include="System.Web.Services" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="org.apache.juddi.client.test.integration\AutomatedRegistrationTests.cs" /> + <Compile Include="org.apache.juddi.client.test.integration\DigitalSignatureIntegrationTests.cs" /> + <Compile Include="org.apache.juddi.client.test.mocks\Hello_ServiceInterfaces.cs" /> + <Compile Include="org.apache.juddi.client.test.mocks\Program.cs" /> + <Compile Include="org.apache.juddi.client.test.integration\InquiryTests.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\juddi-client.net\juddi-client.net.csproj"> + <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> + <Name>juddi-client.net</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Content Include="resource\uddi-autoregAnnotations.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="resource\uddisigwinstore.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="resource\uddisigfile.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="resource\uddi.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup /> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <PropertyGroup> + <PostBuildEvent>echo cd $(OutDir) C:\juddi\NUnit-2.6.1\bin\nunit-console.exe $(TargetFileName)</PostBuildEvent> + </PropertyGroup> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/InquiryTests.cs ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/InquiryTests.cs b/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/InquiryTests.cs index e27b52e..3f81258 100644 --- a/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/InquiryTests.cs +++ b/juddi-client.net/juddi-client.net-integration.test/org.apache.juddi.client.test.integration/InquiryTests.cs @@ -1,146 +1,165 @@ -using NUnit.Framework; -using org.apache.juddi.jaxb; -using org.apache.juddi.v3.client; -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.Net; -using System.Text; -using System.Threading; - -namespace juddi_client.net_integration.test -{ - [TestFixture] - public class InquiryTests - { - static UDDIClient clerkManager = null; - static Transport transport = null; - static UDDIClerk clerk = null; - static UDDINode node = null; - static org.uddi.apiv3.UDDI_Security_SoapBinding security = null; - static org.uddi.apiv3.UDDI_Inquiry_SoapBinding inquiry = null; - static org.uddi.apiv3.UDDI_Publication_SoapBinding publish = null; - static org.uddi.apiv3.UDDI_Subscription_SoapBinding sub = null; - static bool online = true; - static bool serialize = false; - [TestFixtureSetUp] - public static void init() - { - - if (Environment.GetEnvironmentVariable("debug") != null - && Environment.GetEnvironmentVariable("debug").Equals("true", StringComparison.CurrentCultureIgnoreCase)) - { - serialize = true; - } - - clerkManager = new UDDIClient("resource/uddi.xml"); - - transport = clerkManager.getTransport("default"); - - security = transport.getUDDISecurityService(); - inquiry = transport.getUDDIInquiryService(); - publish = transport.getUDDIPublishService(); - sub = transport.getUDDISubscriptionService(); - clerk = clerkManager.getClerk("default"); - node = clerk.getUDDINode(); - WebClient c = new WebClient(); - - Console.Out.WriteLine("Checking to see if tomcat is running"); - String s = null; - int count = 100; - while (s == null && count > 0) - { - try - { - s = c.DownloadString("http://localhost:8080/"); - Console.Out.WriteLine("Tomcat is running"); - break; - } - catch - { } - Console.Out.WriteLine("tomcat isn't running yet, waiting..."); - Thread.Sleep(1000); - } - - if (s == null) - { - Console.Out.WriteLine("Unable to confirm if tomcat is running, aborting"); - online = false; - } - - } - - - [Test] - public void findBusinesses() - { - Console.Out.Write("findBusinesses"); - Assert.True(online); - find_business fb = new find_business(); - fb.name = new name[] { new name(UDDIConstants.WILDCARD, null) }; - fb.findQualifiers = new string[] { UDDIConstants.APPROXIMATE_MATCH }; - businessList bl = inquiry.find_business(fb); - Assert.NotNull(bl); - Assert.NotNull(bl.businessInfos); - Assert.True(bl.businessInfos.Length > 0); - for (int i = 0; i < bl.businessInfos.Length; i++) - { - Assert.IsNotNullOrEmpty(bl.businessInfos[i].businessKey); - } - PrintUDDI<businessList> p = new PrintUDDI<businessList>(); - if (serialize) - Console.Out.WriteLine(p.print(bl)); - - } - - [Test] - public void findServices() - { - Console.Out.Write("findServices"); - Assert.True(online); - find_service fb = new find_service(); - fb.name = new name[] { new name(UDDIConstants.WILDCARD, null) }; - fb.findQualifiers = new string[] { UDDIConstants.APPROXIMATE_MATCH }; - serviceList bl = inquiry.find_service(fb); - Assert.NotNull(bl); - Assert.NotNull(bl.serviceInfos); - Assert.True(bl.serviceInfos.Length > 0); - for (int i = 0; i < bl.serviceInfos.Length; i++) - { - Assert.IsNotNullOrEmpty(bl.serviceInfos[i].businessKey); - Assert.IsNotNullOrEmpty(bl.serviceInfos[i].serviceKey); - } - PrintUDDI<serviceList> p = new PrintUDDI<serviceList>(); - if (serialize) - Console.Out.WriteLine(p.print(bl)); - } - - [Test] - public void findTmodels() - { - Console.Out.Write("find_tModel"); - Assert.True(online); - find_tModel fb = new find_tModel(); - fb.name = new name(UDDIConstants.WILDCARD, null); - fb.findQualifiers = new string[] { UDDIConstants.APPROXIMATE_MATCH }; - tModelList bl = inquiry.find_tModel(fb); - Assert.NotNull(bl); - Assert.NotNull(bl.tModelInfos); - Assert.True(bl.tModelInfos.Length > 0); - for (int i = 0; i < bl.tModelInfos.Length; i++) - { - Assert.IsNotNullOrEmpty(bl.tModelInfos[i].tModelKey); - Assert.NotNull(bl.tModelInfos[i].name); - } - PrintUDDI<tModelList> p = new PrintUDDI<tModelList>(); - if (serialize) - Console.Out.WriteLine(p.print(bl)); - } - - - - } -} +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +using NUnit.Framework; +using org.apache.juddi.jaxb; +using org.apache.juddi.v3.client; +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.Net; +using System.Text; +using System.Threading; + +namespace juddi_client.net_integration.test +{ + [TestFixture] + public class InquiryTests + { + static UDDIClient clerkManager = null; + static Transport transport = null; + static UDDIClerk clerk = null; + static UDDINode node = null; + static org.uddi.apiv3.UDDI_Security_SoapBinding security = null; + static org.uddi.apiv3.UDDI_Inquiry_SoapBinding inquiry = null; + static org.uddi.apiv3.UDDI_Publication_SoapBinding publish = null; + static org.uddi.apiv3.UDDI_Subscription_SoapBinding sub = null; + static bool online = true; + static bool serialize = false; + [TestFixtureSetUp] + public static void init() + { + + if (Environment.GetEnvironmentVariable("debug") != null + && Environment.GetEnvironmentVariable("debug").Equals("true", StringComparison.CurrentCultureIgnoreCase)) + { + serialize = true; + } + + clerkManager = new UDDIClient("resource/uddi.xml"); + + transport = clerkManager.getTransport("default"); + + security = transport.getUDDISecurityService(); + inquiry = transport.getUDDIInquiryService(); + publish = transport.getUDDIPublishService(); + sub = transport.getUDDISubscriptionService(); + clerk = clerkManager.getClerk("default"); + node = clerk.getUDDINode(); + WebClient c = new WebClient(); + + Console.Out.WriteLine("Checking to see if tomcat is running"); + String s = null; + int count = 100; + while (s == null && count > 0) + { + try + { + s = c.DownloadString("http://localhost:8080/"); + Console.Out.WriteLine("Tomcat is running"); + break; + } + catch + { } + Console.Out.WriteLine("tomcat isn't running yet, waiting..."); + Thread.Sleep(1000); + } + + if (s == null) + { + Console.Out.WriteLine("Unable to confirm if tomcat is running, aborting"); + online = false; + } + + } + + + [Test] + public void findBusinesses() + { + Console.Out.Write("findBusinesses"); + Assert.True(online); + find_business fb = new find_business(); + fb.name = new name[] { new name(UDDIConstants.WILDCARD, null) }; + fb.findQualifiers = new string[] { UDDIConstants.APPROXIMATE_MATCH }; + businessList bl = inquiry.find_business(fb); + Assert.NotNull(bl); + Assert.NotNull(bl.businessInfos); + Assert.True(bl.businessInfos.Length > 0); + for (int i = 0; i < bl.businessInfos.Length; i++) + { + Assert.IsNotNullOrEmpty(bl.businessInfos[i].businessKey); + } + PrintUDDI<businessList> p = new PrintUDDI<businessList>(); + if (serialize) + Console.Out.WriteLine(p.print(bl)); + + } + + [Test] + public void findServices() + { + Console.Out.Write("findServices"); + Assert.True(online); + find_service fb = new find_service(); + fb.name = new name[] { new name(UDDIConstants.WILDCARD, null) }; + fb.findQualifiers = new string[] { UDDIConstants.APPROXIMATE_MATCH }; + serviceList bl = inquiry.find_service(fb); + Assert.NotNull(bl); + Assert.NotNull(bl.serviceInfos); + Assert.True(bl.serviceInfos.Length > 0); + for (int i = 0; i < bl.serviceInfos.Length; i++) + { + Assert.IsNotNullOrEmpty(bl.serviceInfos[i].businessKey); + Assert.IsNotNullOrEmpty(bl.serviceInfos[i].serviceKey); + } + PrintUDDI<serviceList> p = new PrintUDDI<serviceList>(); + if (serialize) + Console.Out.WriteLine(p.print(bl)); + } + + [Test] + public void findTmodels() + { + Console.Out.Write("find_tModel"); + Assert.True(online); + find_tModel fb = new find_tModel(); + fb.name = new name(UDDIConstants.WILDCARD, null); + fb.findQualifiers = new string[] { UDDIConstants.APPROXIMATE_MATCH }; + tModelList bl = inquiry.find_tModel(fb); + Assert.NotNull(bl); + Assert.NotNull(bl.tModelInfos); + Assert.True(bl.tModelInfos.Length > 0); + for (int i = 0; i < bl.tModelInfos.Length; i++) + { + Assert.IsNotNullOrEmpty(bl.tModelInfos[i].tModelKey); + Assert.NotNull(bl.tModelInfos[i].name); + } + PrintUDDI<tModelList> p = new PrintUDDI<tModelList>(); + if (serialize) + Console.Out.WriteLine(p.print(bl)); + } + + + + } +} http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/resource/uddi-autoregAnnotations.xml ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/resource/uddi-autoregAnnotations.xml b/juddi-client.net/juddi-client.net-integration.test/resource/uddi-autoregAnnotations.xml index 6c37844..c54f22d 100644 --- a/juddi-client.net/juddi-client.net-integration.test/resource/uddi-autoregAnnotations.xml +++ b/juddi-client.net/juddi-client.net-integration.test/resource/uddi-autoregAnnotations.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <uddi xmlns="urn:juddi-apache-org:v3_client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:juddi-apache-org:v3_client ..\..\juddi-client\src\main\resources\xsd\uddi-client.xsd"> <reloadDelay>5000</reloadDelay> <client name="test-client"> @@ -90,4 +110,4 @@ <IgnoreSSLErrors>false</IgnoreSSLErrors> </XtoWsdl> </client> -</uddi> \ No newline at end of file +</uddi> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/resource/uddi.xml ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/resource/uddi.xml b/juddi-client.net/juddi-client.net-integration.test/resource/uddi.xml index 3465a15..0d11fd1 100644 --- a/juddi-client.net/juddi-client.net-integration.test/resource/uddi.xml +++ b/juddi-client.net/juddi-client.net-integration.test/resource/uddi.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <uddi xmlns="urn:juddi-apache-org:v3_client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:juddi-apache-org:v3_client ..\..\juddi-client\src\main\resources\xsd\uddi-client.xsd"> <reloadDelay>5000</reloadDelay> <client name="test-client"> @@ -71,4 +91,4 @@ <IgnoreSSLErrors>false</IgnoreSSLErrors> </XtoWsdl> </client> -</uddi> \ No newline at end of file +</uddi> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/resource/uddisigfile.xml ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/resource/uddisigfile.xml b/juddi-client.net/juddi-client.net-integration.test/resource/uddisigfile.xml index 4876071..c38bf3c 100644 --- a/juddi-client.net/juddi-client.net-integration.test/resource/uddisigfile.xml +++ b/juddi-client.net/juddi-client.net-integration.test/resource/uddisigfile.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="utf-8" ?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <uddi xmlns="urn:juddi-apache-org:v3_client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:juddi-apache-org:v3_client ..\..\juddi-client\src\main\resources\xsd\uddi-client.xsd"> <reloadDelay>5000</reloadDelay> <client name="test-client"> @@ -71,4 +91,4 @@ <IgnoreSSLErrors>false</IgnoreSSLErrors> </XtoWsdl> </client> -</uddi> \ No newline at end of file +</uddi> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-integration.test/resource/uddisigwinstore.xml ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-integration.test/resource/uddisigwinstore.xml b/juddi-client.net/juddi-client.net-integration.test/resource/uddisigwinstore.xml index 5b2842a..04b4379 100644 --- a/juddi-client.net/juddi-client.net-integration.test/resource/uddisigwinstore.xml +++ b/juddi-client.net/juddi-client.net-integration.test/resource/uddisigwinstore.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="utf-8" ?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <uddi xmlns="urn:juddi-apache-org:v3_client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:juddi-apache-org:v3_client ..\..\juddi-client\src\main\resources\xsd\uddi-client.xsd"> <reloadDelay>5000</reloadDelay> <client name="test-client"> @@ -69,4 +89,4 @@ <IgnoreSSLErrors>false</IgnoreSSLErrors> </XtoWsdl> </client> -</uddi> \ No newline at end of file +</uddi> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-mono.sln ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-mono.sln b/juddi-client.net/juddi-client.net-mono.sln index 9f5f384..3442f40 100644 --- a/juddi-client.net/juddi-client.net-mono.sln +++ b/juddi-client.net/juddi-client.net-mono.sln @@ -1,67 +1,83 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Express 2012 for Windows Desktop -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net-mono", "juddi-client.net\juddi-client.net-mono.csproj", "{C3D005CD-6C26-49FD-A4D8-08699B66AF6F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{FEB955BD-38E3-4816-94D3-EBF62F4CBB82}" - ProjectSection(SolutionItems) = preProject - .nuget\packages.config = .nuget\packages.config - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net-integration.test-mono", "juddi-client.net-integration.test\juddi-client.net-integration.test-mono.csproj", "{ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net.test-mono", "juddi-client.net.test\juddi-client.net.test-mono.csproj", "{0AD62F71-EC84-4133-87FA-C27083F4D884}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspnetServiceLifeCycle-mono", "example\AspnetServiceLifeCycle\AspnetServiceLifeCycle-mono.csproj", "{53F50B81-088B-4593-9F1C-F3D3F499F28C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WcfServiceLifeCycle-mono", "example\WcfServiceLifeCycle\WcfServiceLifeCycle-mono.csproj", "{072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net-sample-mono", "juddi-client.net-sample\juddi-client.net-sample-mono.csproj", "{7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net.cryptor-mono", "juddi-client.net.cryptor\juddi-client.net.cryptor-mono.csproj", "{15F6DF2F-82AF-49AA-B449-6E21F8409845}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-installer-mono", "juddi-installer\juddi-installer-mono.csproj", "{DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Release|Any CPU.Build.0 = Release|Any CPU - {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Release|Any CPU.Build.0 = Release|Any CPU - {0AD62F71-EC84-4133-87FA-C27083F4D884}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0AD62F71-EC84-4133-87FA-C27083F4D884}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0AD62F71-EC84-4133-87FA-C27083F4D884}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0AD62F71-EC84-4133-87FA-C27083F4D884}.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 - {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 - {7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {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 - {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Debug|Any CPU.Build.0 = Debug|Any CPU - {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Release|Any CPU.ActiveCfg = Release|Any CPU - {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Release|Any CPU.Build.0 = Release|Any CPU - {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net-mono", "juddi-client.net\juddi-client.net-mono.csproj", "{C3D005CD-6C26-49FD-A4D8-08699B66AF6F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{FEB955BD-38E3-4816-94D3-EBF62F4CBB82}" + ProjectSection(SolutionItems) = preProject + .nuget\packages.config = .nuget\packages.config + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net-integration.test-mono", "juddi-client.net-integration.test\juddi-client.net-integration.test-mono.csproj", "{ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net.test-mono", "juddi-client.net.test\juddi-client.net.test-mono.csproj", "{0AD62F71-EC84-4133-87FA-C27083F4D884}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspnetServiceLifeCycle-mono", "example\AspnetServiceLifeCycle\AspnetServiceLifeCycle-mono.csproj", "{53F50B81-088B-4593-9F1C-F3D3F499F28C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WcfServiceLifeCycle-mono", "example\WcfServiceLifeCycle\WcfServiceLifeCycle-mono.csproj", "{072F737E-86E5-4B8E-A7FB-864A3ABB0D9A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net-sample-mono", "juddi-client.net-sample\juddi-client.net-sample-mono.csproj", "{7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-client.net.cryptor-mono", "juddi-client.net.cryptor\juddi-client.net.cryptor-mono.csproj", "{15F6DF2F-82AF-49AA-B449-6E21F8409845}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "juddi-installer-mono", "juddi-installer\juddi-installer-mono.csproj", "{DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C3D005CD-6C26-49FD-A4D8-08699B66AF6F}.Release|Any CPU.Build.0 = Release|Any CPU + {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ABE1C470-52E1-4C28-AB1D-91F1CD7B89C0}.Release|Any CPU.Build.0 = Release|Any CPU + {0AD62F71-EC84-4133-87FA-C27083F4D884}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0AD62F71-EC84-4133-87FA-C27083F4D884}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0AD62F71-EC84-4133-87FA-C27083F4D884}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0AD62F71-EC84-4133-87FA-C27083F4D884}.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 + {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 + {7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {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 + {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Debug|Any CPU.Build.0 = Debug|Any CPU + {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Release|Any CPU.ActiveCfg = Release|Any CPU + {15F6DF2F-82AF-49AA-B449-6E21F8409845}.Release|Any CPU.Build.0 = Release|Any CPU + {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DE0FBD9D-0DD0-4062-B2B3-6DD608F761A0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-sample/App.config ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-sample/App.config b/juddi-client.net/juddi-client.net-sample/App.config index 1145718..a24df1b 100644 --- a/juddi-client.net/juddi-client.net-sample/App.config +++ b/juddi-client.net/juddi-client.net-sample/App.config @@ -1,33 +1,53 @@ -<?xml version="1.0" encoding="utf-8" ?> -<configuration> - <appSettings> - <!-- DEBUG, INFO, WARN, ERROR --> - <add key="org.apache.juddi.v3.client.log.level" value="INFO" /> - <!-- options are CONSOLE, EVENTLOG, FILE. multiple values can be specified, comma delimited --> - <add key="org.apache.juddi.v3.client.log.target" value="CONSOLE" /> - <!-- only used when target=FILE --> - <add key="org.apache.juddi.v3.client.log.logger.file" value="pathToOutputFile" /> - </appSettings> - - <system.serviceModel> - <bindings> - <basicHttpBinding> - <binding name="UDDISubscriptionListenerServiceSoapBinding" ></binding> - </basicHttpBinding> - </bindings> - - <services> - <service - name="org.apache.juddi.v3.client.subscription.SubscriptionCallbackListener"> - <endpoint - binding="basicHttpBinding" - bindingConfiguration="UDDISubscriptionListenerServiceSoapBinding" - bindingName="UDDISubscriptionListenerServiceSoapBinding" - bindingNamespace="org.apache.juddi.v3.client.subscription" - contract="org.apache.juddi.v3.client.subscription.wcf.UDDI_SubscriptionListener_PortType" > - </endpoint> - - </service> - </services> - </system.serviceModel> -</configuration> \ No newline at end of file +<?xml version="1.0" encoding="utf-8" ?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<configuration> + <appSettings> + <!-- DEBUG, INFO, WARN, ERROR --> + <add key="org.apache.juddi.v3.client.log.level" value="INFO" /> + <!-- options are CONSOLE, EVENTLOG, FILE. multiple values can be specified, comma delimited --> + <add key="org.apache.juddi.v3.client.log.target" value="CONSOLE" /> + <!-- only used when target=FILE --> + <add key="org.apache.juddi.v3.client.log.logger.file" value="pathToOutputFile" /> + </appSettings> + + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="UDDISubscriptionListenerServiceSoapBinding" ></binding> + </basicHttpBinding> + </bindings> + + <services> + <service + name="org.apache.juddi.v3.client.subscription.SubscriptionCallbackListener"> + <endpoint + binding="basicHttpBinding" + bindingConfiguration="UDDISubscriptionListenerServiceSoapBinding" + bindingName="UDDISubscriptionListenerServiceSoapBinding" + bindingNamespace="org.apache.juddi.v3.client.subscription" + contract="org.apache.juddi.v3.client.subscription.wcf.UDDI_SubscriptionListener_PortType" > + </endpoint> + + </service> + </services> + </system.serviceModel> +</configuration> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample-mono.csproj ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample-mono.csproj b/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample-mono.csproj index 7f20b0a..292219f 100644 --- a/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample-mono.csproj +++ b/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample-mono.csproj @@ -1,84 +1,104 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}</ProjectGuid> - <OutputType>Exe</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>org.apache.juddi.client.sample</RootNamespace> - <AssemblyName>juddi-client.net-sample</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <TargetFrameworkProfile /> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <PlatformTarget>AnyCPU</PlatformTarget> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <PlatformTarget>AnyCPU</PlatformTarget> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <ItemGroup> - <Reference Include="System" /> - <Reference Include="System.Core" /> - <Reference Include="System.Data" /> - <Reference Include="System.Runtime.Serialization" /> - <Reference Include="System.ServiceModel" /> - <Reference Include="System.Web.Services" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="org.apache.juddi.client.samples\DigitalSignaturesExample.cs" /> - <Compile Include="org.apache.juddi.client.samples\Encryption.cs" /> - <Compile Include="org.apache.juddi.client.samples\findendpoints.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\saveClerkExample.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\saveNodeExample.cs" /> - <Compile Include="org.apache.juddi.client.samples\Program.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - <Compile Include="org.apache.juddi.client.samples\ServiceVersioning.cs" /> - <Compile Include="org.apache.juddi.client.samples\SimpleInquiry.cs" /> - <Compile Include="org.apache.juddi.client.samples\SubscriptionCallbackExample.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\WadlImport.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\WsdlImport.cs" /> - </ItemGroup> - <ItemGroup> - <Content Include="uddi.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - </ItemGroup> - <ItemGroup> - <Content Include="App.config"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - <SubType>Designer</SubType> - </Content> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\juddi-client.net\juddi-client.net-mono.csproj"> - <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> - <Name>juddi-client.net-mono</Name> - </ProjectReference> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>org.apache.juddi.client.sample</RootNamespace> + <AssemblyName>juddi-client.net-sample</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Data" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Web.Services" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="org.apache.juddi.client.samples\DigitalSignaturesExample.cs" /> + <Compile Include="org.apache.juddi.client.samples\Encryption.cs" /> + <Compile Include="org.apache.juddi.client.samples\findendpoints.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\saveClerkExample.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\saveNodeExample.cs" /> + <Compile Include="org.apache.juddi.client.samples\Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="org.apache.juddi.client.samples\ServiceVersioning.cs" /> + <Compile Include="org.apache.juddi.client.samples\SimpleInquiry.cs" /> + <Compile Include="org.apache.juddi.client.samples\SubscriptionCallbackExample.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\WadlImport.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\WsdlImport.cs" /> + </ItemGroup> + <ItemGroup> + <Content Include="uddi.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <Content Include="App.config"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + <SubType>Designer</SubType> + </Content> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\juddi-client.net\juddi-client.net-mono.csproj"> + <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> + <Name>juddi-client.net-mono</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample.csproj ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample.csproj b/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample.csproj index 37abe2b..c742030 100644 --- a/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample.csproj +++ b/juddi-client.net/juddi-client.net-sample/juddi-client.net-sample.csproj @@ -1,86 +1,106 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}</ProjectGuid> - <OutputType>Exe</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>org.apache.juddi.client.sample</RootNamespace> - <AssemblyName>juddi-client.net-sample</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <TargetFrameworkProfile /> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <PlatformTarget>AnyCPU</PlatformTarget> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <PlatformTarget>AnyCPU</PlatformTarget> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <ItemGroup> - <Reference Include="System" /> - <Reference Include="System.Core" /> - <Reference Include="System.Data" /> - <Reference Include="System.Runtime.Serialization" /> - <Reference Include="System.ServiceModel" /> - <Reference Include="System.Web.Services" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="org.apache.juddi.client.samples\AccessUDDIv2Inquiry.cs" /> - <Compile Include="org.apache.juddi.client.samples\AccessUDDIv2Publish.cs" /> - <Compile Include="org.apache.juddi.client.samples\DigitalSignaturesExample.cs" /> - <Compile Include="org.apache.juddi.client.samples\Encryption.cs" /> - <Compile Include="org.apache.juddi.client.samples\findendpoints.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\saveClerkExample.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\saveNodeExample.cs" /> - <Compile Include="org.apache.juddi.client.samples\Program.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - <Compile Include="org.apache.juddi.client.samples\ServiceVersioning.cs" /> - <Compile Include="org.apache.juddi.client.samples\SimpleInquiry.cs" /> - <Compile Include="org.apache.juddi.client.samples\SubscriptionCallbackExample.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\WadlImport.cs" /> - <Compile Include="org.apache.juddi.client.samples.juddi\WsdlImport.cs" /> - </ItemGroup> - <ItemGroup> - <Content Include="uddi.xml"> - <SubType>Designer</SubType> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - </ItemGroup> - <ItemGroup> - <Content Include="App.config"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - <SubType>Designer</SubType> - </Content> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\juddi-client.net\juddi-client.net.csproj"> - <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> - <Name>juddi-client.net</Name> - </ProjectReference> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{7FA52B63-F70A-4EC7-8390-CC7C1C9C6B84}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>org.apache.juddi.client.sample</RootNamespace> + <AssemblyName>juddi-client.net-sample</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Data" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Web.Services" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="org.apache.juddi.client.samples\AccessUDDIv2Inquiry.cs" /> + <Compile Include="org.apache.juddi.client.samples\AccessUDDIv2Publish.cs" /> + <Compile Include="org.apache.juddi.client.samples\DigitalSignaturesExample.cs" /> + <Compile Include="org.apache.juddi.client.samples\Encryption.cs" /> + <Compile Include="org.apache.juddi.client.samples\findendpoints.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\saveClerkExample.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\saveNodeExample.cs" /> + <Compile Include="org.apache.juddi.client.samples\Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="org.apache.juddi.client.samples\ServiceVersioning.cs" /> + <Compile Include="org.apache.juddi.client.samples\SimpleInquiry.cs" /> + <Compile Include="org.apache.juddi.client.samples\SubscriptionCallbackExample.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\WadlImport.cs" /> + <Compile Include="org.apache.juddi.client.samples.juddi\WsdlImport.cs" /> + </ItemGroup> + <ItemGroup> + <Content Include="uddi.xml"> + <SubType>Designer</SubType> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <Content Include="App.config"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + <SubType>Designer</SubType> + </Content> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\juddi-client.net\juddi-client.net.csproj"> + <Project>{c3d005cd-6c26-49fd-a4d8-08699b66af6f}</Project> + <Name>juddi-client.net</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> http://git-wip-us.apache.org/repos/asf/juddi/blob/0833b028/juddi-client.net/juddi-client.net-sample/uddi.xml ---------------------------------------------------------------------- diff --git a/juddi-client.net/juddi-client.net-sample/uddi.xml b/juddi-client.net/juddi-client.net-sample/uddi.xml index b5b90e4..b1540f3 100644 --- a/juddi-client.net/juddi-client.net-sample/uddi.xml +++ b/juddi-client.net/juddi-client.net-sample/uddi.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="utf-8" ?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <uddi xmlns="urn:juddi-apache-org:v3_client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:juddi-apache-org:v3_client ..\..\juddi-client\src\main\resources\xsd\uddi-client.xsd"> <reloadDelay>5000</reloadDelay> <client name="test-client"> @@ -175,4 +195,4 @@ <IgnoreSSLErrors>false</IgnoreSSLErrors> </XtoWsdl> </client> -</uddi> \ No newline at end of file +</uddi> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@juddi.apache.org For additional commands, e-mail: commits-h...@juddi.apache.org