By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,357 Members | 1,021 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,357 IT Pros & Developers. It's quick & easy.

UDDI at Runtime

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.