You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2011/09/24 16:27:26 UTC
[jira] [Resolved] (JUDDI-528) Where should the uddi.xml be located
or configured for a custom uddi web client
[ https://issues.apache.org/jira/browse/JUDDI-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt T Stam resolved JUDDI-528.
-------------------------------
Resolution: Invalid
Please ask questions on the user forum.
> Where should the uddi.xml be located or configured for a custom uddi web client
> -------------------------------------------------------------------------------
>
> Key: JUDDI-528
> URL: https://issues.apache.org/jira/browse/JUDDI-528
> Project: jUDDI
> Issue Type: Bug
> Components: uddi-client
> Affects Versions: 3.1.0
> Environment: juddi 3.1.0. jdk 1.6, Windows 7 32 bit.
> Reporter: Sean Kang
> Assignee: Kurt T Stam
>
> In building a custom web client that uses the uddi-ws and juddi-client components, my web client code would like to invoke the transport=WebHelper.getTransport(servletContext) and UDDIPublicationPortType publish = transport.getUDDIPublishService().
> Where should the uddi.xml be located or configured in a tomcat6 based java servlet application? I see that it looks for the uddi.xml inside the getUDDIClerkManager by first looking at the ServletContext.getInitParameter("uddi.client.config.file").
> So, in my web application, i have put the uddi.client.config.file in the web.xml.
> <servlet>
> <description></description>
> <display-name>MyServlet</display-name>
> <servlet-name>MyServlet</servlet-name>
> <servlet-class>my.uddi.MyServlet</servlet-class>
> <init-param>
> <param-name>uddi.client.config.file</param-name>
> <param-value>c:/temp/uddi.xml</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
> But that does not get picked up within the tomcat6 bundled pluto when I run my web app as another app in the pluto bundle.
> Any suggestions?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira