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

karink do-not-reply at jboss.com
Thu Feb 1 11:03:19 EST 2007


Hi,
I use JBoss Portal 2.6 DR1.
I would like to access Remote Portlets by means of WSRP over https.
The exposed WSDL contains not https service location but http.

I can access the wsdl by means of https
but the soap address location stays http.

e.g. invoking https://host:httpsport/portal-wsrp/PortletManagementService?wsdl

the shown wsdl looks like:

	<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="http://host:httpport/portal-wsrp/PortletManagementService"/>
  | </wsdl:port>
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
  | <soap:address location="https://host:httpport/portal-wsrp/RegistrationService"/>
  | </wsdl:port>
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
  | <soap:address location="https://host:httpportportal-wsrp/MarkupService"/>
  | </wsdl:port>
  | ?
  | 	<wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
  | <soap:address location="https://host:httpport/portal-wsrp/ServiceDescriptionService"/>
  | </wsdl:port>
  | </wsdl:service>
  | </wsdl:definitions>



I did modify it manually in the file portal-wsrp.jse (file wsrp_services.wsdl).
changing  <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
to 
https//REPLACE_WITH_ACTUAL_URL. 
It does not work. I also changed the web.xml file and inserted the following



<security-constraint>
  | 	<web-resource-collection>
  | 			<web-resource-name>all</web-resource-name>
  | 			<url-pattern>/*</url-pattern>
  | 		</web-resource-collection>
  | 		<user-data-constraint>
  | 			<transport-guarantee>CONFIDENTIAL</transport-guarantee>
  | 		</user-data-constraint>
  | 	</security-constraint>

-> Does not work either?

Any other ideas? 
Regards
Karin

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

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



More information about the jboss-user mailing list