Загрузка файла мула с помощью конечной точки HTTP

Моя конечная точка HTTP, отвечающая за загрузку файла в конце потока, выдает ошибку. Он продолжает пытаться общаться сhttp://:80/ вместо того, чтобы передать URL. Что я здесь делаю не так?




    
        
        
        
        
        
        
        
        
        
    

Когда изменено, чтобы соответствовать первому ответу, я получаю это исключение:

********************************************************************************
Message               : Failed to invoke REST service "http://santaclaraca.gov/modules/ShowDocument.aspx?documentid=108?followRedirects=true". Message payload is of type: LinkedHas
hMap
Code                  : MULE_ERROR--2
--------------------------------------------------------------------------------
Exception stack is:
1. Failed to invoke REST service "http://santaclaraca.gov/modules/ShowDocument.aspx?documentid=108?followRedirects=true". Message payload is of type: LinkedHashMap (org.mule.transp
ort.http.components.RestServiceException)
  org.mule.transport.http.components.RestServiceWrapper:219 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/http/components/RestServiceException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://santaclaraca.gov/modules/ShowDocument.aspx?documentid=108?followRedirects=true". Mess
age payload is of type: LinkedHashMap
    at org.mule.transport.http.components.RestServiceWrapper.doInvoke(RestServiceWrapper.java:219)
    at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:126)
    at org.mule.component.AbstractComponent.access$000(AbstractComponent.java:61)
    + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************

--- решено ---

Большое спасибо Дэвиду. Это мое окончательное решение:




    
        
            
        
    
    
        
        
        
        
        
        
    
    
        
        
        
            
                
            
        
        
    

Ответы на вопрос(1)

Ваш ответ на вопрос