Hello, When I get the WSDL of a web service of the globus using url: https://ibm.grid:8443/wsrf/services/examples/core/wfs/WFService?wsdl. I got the following one:
<wsdl:definitions name="WebFeatureService" targetNamespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/service"> <wsdl:import location="https://192.168.6.140:8443/share/schema/wfs/WFS_bindings.wsdl" namespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/bindings"/> <wsdl:service name="WebFeatureService"> <wsdl:port binding="binding:WFSPortTypeSOAPBinding" name="WFSPortTypePort"> <soap:address location="https://192.168.6.140:8443/wsrf/services/examples/core/wfs/WFService"/> </wsdl:port> </wsdl:service> </wsdl:definitions However, I need to get one that use my hostname instead of IP, like the following: <wsdl:definitions name="WebFeatureService" targetNamespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/service"> <wsdl:import location="https://ibmgrid:8443/share/schema/wfs/WFS_bindings.wsdl" namespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/bindings"/> <wsdl:service name="WebFeatureService"> <wsdl:port binding="binding:WFSPortTypeSOAPBinding" name="WFSPortTypePort"> <soap:address location="https://ibm.grid:8443/wsrf/services/examples/core/wfs/WFService"/> </wsdl:port> </wsdl:service> </wsdl:definitions> I found the The in the WSDL is the same as what the console output as I start the container using command: globus-start-container: SO What configuration should I do to make the container to use my host name instead of IP ? When I first ran globus-start-container, It start as: [1]: https://127.0.0.1:8443/wsrf/services/mds/test/execsource/IndexServiceEntry [2]: https://127.0.0.1:8443/wsrf/services/ManagedExecutableJobService [3]: https://127.0.0.1:8443/wsrf/services/ManagementService .......... When I add a the a line (<parameter name="logicalHost" value="ibm.grid" />) to the file $GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd. The contianer still start as: [1]: https://127.0.0.1:8443/wsrf/services/mds/test/execsource/IndexServiceEntry [2]: https://127.0.0.1:8443/wsrf/services/ManagedExecutableJobService [3]: https://127.0.0.1:8443/wsrf/services/ManagementService ....................................... After I change the /etc/hosts to be: 192.168.11.137 ibm.grid 127.0.0.1 ibm.grid localhost.localdomain localhost that's to say I change the order of entry 127.0.0.1 and 192.168.11.137 , then then container start as: [1]: https://192.168.11.137:8443/wsrf/services/mds/test/execsource/IndexServiceEntry [2]: https://192.168.11.137:8443/wsrf/services/ManagedExecutableJobService [3]: https://192.168.11.137:8443/wsrf/services/ManagementService .......... When I remove the the lines containing ibm.grid from /etc/hosts, the container failed to start: Failed to start container: Container failed to initialize [Caused by: gaobb.lreis]. Can any one help me? I need the all the url to contain my hostname instead of my IP because the java program(the ServiceInvocation of java cogkit) don't think the IP and the hostname to identifying the same subject, but I use the host name as the subject name in the certificate, so I come across a authentication problem. thank you
