[jboss-user] [JBoss Portal] - Re: wsrp with https

karink do-not-reply at jboss.com
Tue Feb 13 11:53:13 EST 2007


hi,
setting the hostname and port directly in the file
portal-wsrp.sar/portal-wsrp.jse/WEB-INF/wsdl/wsrp_services.xml	

has the same effect than the solution with the security-constraints (as Julien told me first).

Means that my wsdl looks like this

<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
  | <wsdl:import location="https://host/portal-wsrp/PortletManagementService?wsdl&resource=wsrp_v1_bindings.wsdl" namespace="urn:oasis:names:tc:wsrp:v1:bind"/>
  | ?
  | 	<wsdl:service name="WSRPService">
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
  | <soap:address location="https://host:8444/portal-wsrp/PortletManagementService"/>
  | </wsdl:port>
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
  | <soap:address location="https://host:8444/portal-wsrp/RegistrationService"/>
  | </wsdl:port>
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
  | <soap:address location="https://host:8444/portal-wsrp/MarkupService"/>
  | </wsdl:port>
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
  | <soap:address location="https://host:8444/portal-wsrp/ServiceDescriptionService"/>
  | </wsdl:port>
  | </wsdl:service>
  | </wsdl:definitions>

Again in the WSDL import there is no port specified:
see
<wsdl:import location="https://host/portal-wsrp/PortletManagementService?wsdl&resource=wsrp_v1_bindings.wsdl" namespace="urn:oasis:names:tc:wsrp:v1:bind"/>
  | 

Shouldn't it look like:
<wsdl:import location="https://host:8444/portal-wsrp/PortletManagementService?wsdl&resource=wsrp_v1_bindings.wsdl" namespace="urn:oasis:names:tc:wsrp:v1:bind"/>
  | 
	

Furthermore, I would like to have a way by not setting port and host
manually in a WSRP internal file. We have more than 40 applications having their own port. They should just use WSRP as a deployed service and  not to have to modify internal WSRP files by themselfes.

regards
Karin

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015899#4015899

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015899



More information about the jboss-user mailing list