Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Trouble to get simple web service registration code running  RSS feed

 
Mangesh Apte
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying register a web service using Java API for XML Registries (JAXR).
I am using IBM UDDI Business Test Registry.
The partial code looks like...

UnknownHostException is thrown while setting security credentials on the connection (At last statement)
This example is provided in this article at sun site (ProviderController.java file)
Any idea to resolve the problem?
[ March 06, 2002: Message edited by: Mangesh Apte ]
[ March 06, 2002: Message edited by: Mangesh Apte ]
 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you use https you have to set the security provider. That may be the issue. Also if you are going thru a proxy server - there would be additional issues.
HTH
Sanjay
 
Mangesh Apte
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Sanjay
I am not behind proxy. Can you elaborate on setting security provider. I am using 1.3
Also, I am wondering, if that's the case, why it is not in the sample code?
 
Mangesh Apte
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to query the registry which uses http.
Got same exception
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!