Bonjour,
J'ai un web service :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 @WebService( name="OuvrirSessionPortType", targetNamespace="http://www.toto.com/assur", wsdlLocation="/wsdls/ouvrirSession.wsdl") @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL,parameterStyle=SOAPBinding.ParameterStyle.BARE) public interface OuvrirSessionPortType { @WebMethod(action="", operationName="execute") @WebResult(name="EvtOut", targetNamespace="http://www.toto.com/assur/OuvrirSession") public EvtOut execute(@WebParam(name="EvtIn", targetNamespace="http://www.toto.com/assur/OuvrirSession") EvtIn evtIn) ; }Mon WebService fonctionne, mais je ne connais pas l'URL pour poster ma requête SOAP. Comment déduire l'URL des informations ci-dessus ? Ou bien est-ce que cette url est déclarée dans le web.xml ou quelque chose comme ça ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 @WebService(serviceName="OuvrirSession", targetNamespace="http://www.toto.com/assur", endpointInterface="com.toto.webservice.OuvrirSessionPortType") @WLHttpTransport(contextPath="OuvrirSession", serviceUri="Service", portName="OuvrirSessionPort") public class OuvrirSessionPortTypeImpl implements OuvrirSessionPortType, ServiceLifecycle { [...] }
Partager