Debe utilizar WSDL para configurar nodos SOAP. Al utilizar WSDL con un transporte JMS, pueden existir diferentes formatos de URI en el elemento address del WSDL, lo que influye en el modo en que las propiedades se analizan y se aplican en los nodos configurados.
Pueden existir dos formatos de URI diferentes en el elemento address del WSDL. Varias propiedades de nodo se establecen inicialmente a partir de propiedades del WSDL importado, que se analiza en función del tipo de URI encontrado en el elemento WSDL. El primer tipo es el formato de especificación JMS SOAP W3C . Por ejemplo:
<soap:address location="jms:jndi:REPLYTOQ2?jndiConnectionFactoryName=QCF&
jndiInitialContextFactory=com.sun.jndi.fscontext.RefFSContextFactory&
jndiURL=file:/C:/mqsi6/webservices/SOAP/JMS/JNDI&
targetService=SOAPJMSGenMessageSetSOAP_JMS_Service&
timeToLive=30000"
/>
El segundo formato de URI para el elemento address es un formato propietario de IBM® que actualmente está en desuso. Por ejemplo:
<soap:address location="jms:/queue?destination=jms/RequestQ&
connectionFactory=jms/WMBQCF&
targetService=SOAPJMSGenMessageSetSOAP_JMS_Service&
initialContextFactory=com.sun.jndi.fscontext.RefFSContextFactory&
jndiProviderURL=file:/C:/mqsi6/webservices/SOAP/JMS/JNDI"
/>
Existen varias diferencias entre estos formatos de URI. WebSphere Message Broker acepta ambos formatos de URI. Se utilizan propiedades WSDL diferentes para establecer las propiedades del nodo SOAP en función del formato de URI que se utilice en el elemento de dirección WSDL.
Nombre de propiedad de nodo SOAPInput | Nombres de especificación SOAP/JMS W3C | Nombres W3C en el URI | Valores W3C permitidos | Nombre de IBM en URI | Valores permitidos de IBM |
---|---|---|---|---|---|
Origen | soapjms:destinationName | jms-dest (en el URI) | <string> | destination | <string> |
Nombre de fábrica de conexiones | soapjms:jndiConnectionFactoryName | jndiConnectionFactoryName | <string> | connectionFactory | <string> |
Fábrica de contexto inicial | soapjms:jndiInitialContextFactory | jndiInitialContextFactory | <string> | initialContextFactory | <string> |
Ubicación de enlaces URL de JNDI | soapjms:jndiURL | jndiURL | <URL> | jndiProviderURL | <URL> |
Parámetros de JNDI | soapjms:jndiContextParameter | jndi-name=value | <string para nombre y valor> | N/D | <string> |
Modalidad de entrega | soapjms:deliveryMode | deliveryMode | NON_PERSISTENT PERSISTENT1 |
deliveryMode persistence |
<int 1 | 2> |
Prioridad del mensaje | soapjms:priority | priority | <int 0-9> | priority Priority |
<int 0-9> |
Servicio de destino | soapjms:targetService | targetService | <string> | targetService | <string> |
Nombre de la propiedad del nodo SOAPRequest o SOAPAsyncRequest | Nombres de especificación SOAP/JMS W3C | Nombres W3C en el URI | Valores W3C permitidos | Nombre de IBM en URI | Valores permitidos de IBM |
---|---|---|---|---|---|
Destino | soapjms:destinationName | jms-dest (en el URI) | <string> | destination | <string> |
Nombre de fábrica de conexiones | soapjms:jndiConnectionFactoryName | jndiConnectionFactoryName | <string> | connectionFactory | <string> |
Fábrica de contexto inicial | soapjms:jndiInitialContextFactory | jndiInitialContextFactory | <string> | initialContextFactory | <string> |
Ubicación de enlaces URL de JNDI | soapjms:jndiURL | jndiURL | <URL> | jndiProviderURL | <URL> |
Parámetros de JNDI | soapjms:jndiContextParameter | jndi-name=value | <string para nombre y valor> | N/D | <string> |
Modalidad de entrega | soapjms:deliveryMode | deliveryMode | NON_PERSISTENT PERSISTENT1 |
deliveryMode persistence |
<int 1 | 2> |
Caducidad del mensaje | soapjms:timeToLive | timeToLive | <int> | timeToLive | <int> |
Prioridad del mensaje | soapjms:priority | priority | <int 0-9> | priority Priority |
<int 0-9> |
Destino de respuesta | soapjms:replyToName | replyToName | <string> | replyToName replyTo replyToDestination replyDestination |
<string> |
Servicio de destino | soapjms:targetService | targetService | <string> | targetService | <string> |
Parámetros de usuario | UserProperties | <cualquier otro nombre de propiedad> | <string> | <cualquier otro nombre de propiedad> | <string> |