473,385 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

UDDI at Runtime

Hi there,

I've been experimenting with using UDDI at runtime using the MSDN
example at
http://msdn.microsoft.com/library/en...ntimeuddi1.asp

I keep getting a 401 when I try to contact the UDDI server. It happens
in the RefreshcacheFromUDDI() method defined in the article.

private bool RefreshCacheFromUDDI()
{
//using the UDDI SDK, set the UDDI Access Point;
Inquire.Url = inquiryUrl;
GetBindingDetail gbd = new GetBindingDetail();

gbd.BindingKeys.Add( bindingKey );

try
{
BindingDetail bd = gbd.Send();
bt = bd.BindingTemplates[0];
return true;
}

catch (Exception err)
{
textBox1.Text += err.Message;
return false;
}
}

When I execute BindingDetail bd = gbd.Send(); it throws the 401. I'm
trying to query an internal UDDI server running on Windows 2003. It's a
default install, and the inquiryUrl I'm using is
http://machinename/uddi/api/inquire.asmx

Can anyone shed some light on the situation?

Thanks.

-Ben
Nov 21 '05 #1
1 1754
Apparently this is a problem with my UDDI server's config. Modified
configuration settings to look at http://test.uddi.microsoft.com and I
received a URI back as expected.

When I go to http://localuddiserver/uddi/inquire.asmx I don't get a web
service output. Instead, I get an informational page titled "Accessing
UDDI API and Microsoft API Extensions Interfaces".

Do I have to change a setting to access the inquiry service? (Or other
UDDI services, for that matter.)

Thanks.
-Ben

Ben Bloom wrote:
Hi there,

I've been experimenting with using UDDI at runtime using the MSDN
example at
http://msdn.microsoft.com/library/en...ntimeuddi1.asp

I keep getting a 401 when I try to contact the UDDI server. It happens
in the RefreshcacheFromUDDI() method defined in the article.

private bool RefreshCacheFromUDDI()
{
//using the UDDI SDK, set the UDDI Access Point;
Inquire.Url = inquiryUrl;
GetBindingDetail gbd = new GetBindingDetail();

gbd.BindingKeys.Add( bindingKey );

try
{
BindingDetail bd = gbd.Send();
bt = bd.BindingTemplates[0];
return true;
}

catch (Exception err)
{
textBox1.Text += err.Message;
return false;
}
}

When I execute BindingDetail bd = gbd.Send(); it throws the 401. I'm
trying to query an internal UDDI server running on Windows 2003. It's a
default install, and the inquiryUrl I'm using is
http://machinename/uddi/api/inquire.asmx

Can anyone shed some light on the situation?

Thanks.

-Ben

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greatfree | last post by:
How to Set Up a Private UDDI Server? Dear all, I attempt to set up a private UDDI server using .NET. But I didn't find out enough information on the problem. Anyone can give me some resources on...
1
by: Greatfree | last post by:
Dear all, UDDI has widely been accepted by the developer community to list and integrate XML web services. Unfortunately UDDI is still viewed as a yellow pages web service directory. This leads...
1
by: Chris | last post by:
I was told by someone that all web services must be registered with UDDI before they will function. I created a web service on my local server and it works fine so I don't see any reason why UDDI...
1
by: holder25 | last post by:
Folks, I am trying to run the wsdl.exe tool to generate a server stub for the UDDI wsdl spec file at : http://www.oasis-open.org/committees/uddi-spec/doc/tcspecs.htm#uddiv2 When I run it I get...
1
by: Jenevra | last post by:
I'm one of several developers at my company, and we've all been creating web services for some time. But we don't always know what others are doing and if or how we can take advantage of services...
0
by: cindy.fisher | last post by:
I am querying an internal UDDI server for a web service URL using C#. Initially, the UDDI server was configured for Windows Integrated authentication and it worked fine. When I changed it to UDDI...
2
by: dmckeon | last post by:
I am attempting to query a Microsoft UDDI registry using C# in Visual Studio 2005. I keep getting build errors that say "The type or namespace 'Uddi' does not exist in the namespace 'Microsoft'". ...
11
by: =?Utf-8?B?UGhpbCBTaGFycA==?= | last post by:
Hi I am trying to use Uddi as a directory service. In my development environment it is fine however I have a problem when it comes to deploying into my production environment. I am deploying...
1
by: =?Utf-8?B?U29yaW4gRG9saGE=?= | last post by:
Hello, I have two related questions: 1. Our company hosts a couple Web services that are public, and free to use for anybody (http://DlhSoft.com/WebServices/NewsService.asmx and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.