wsrp with https
karink Feb 1, 2007 11:03 AMHi,
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