384 endpoint = message.endpointAddress.toString(); |
384 endpoint = message.endpointAddress.toString(); |
385 } else { |
385 } else { |
386 endpoint = (String) requestContext.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY); |
386 endpoint = (String) requestContext.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY); |
387 } |
387 } |
388 // This is existing before packetTakesPriorityOverRequestContext so leaving in place. |
388 // This is existing before packetTakesPriorityOverRequestContext so leaving in place. |
389 if (endpoint == null) |
389 if (endpoint == null) { |
|
390 if (message.endpointAddress == null) throw new WebServiceException(DispatchMessages.INVALID_NULLARG_URI()); |
390 endpoint = message.endpointAddress.toString(); |
391 endpoint = message.endpointAddress.toString(); |
|
392 } |
391 |
393 |
392 String pathInfo = null; |
394 String pathInfo = null; |
393 String queryString = null; |
395 String queryString = null; |
394 if (p && message.invocationProperties.get(MessageContext.PATH_INFO) != null) { |
396 if (p && message.invocationProperties.get(MessageContext.PATH_INFO) != null) { |
395 pathInfo = (String) message.invocationProperties.get(MessageContext.PATH_INFO); |
397 pathInfo = (String) message.invocationProperties.get(MessageContext.PATH_INFO); |