Forget about the error, this was a typo. Still needing information on other
pending questions!



mart wrote:
> 
> Hello
> 
> I'm trying to setup an HTTP Binding component, as a server-side component
> where I would upload files that would then be transfered to a FTP Server.
> 
> Is that possible? 
> 
> How well can the component extract the attachment of the HTTP Request and
> redirect it to the FTP component?
> 
> Are there some limits in the nature of the files I can upload (i.e. can I
> upload binaries to the HTTP component ?)?
> 
> Configuration: I feel more comfortable when it comes to configure
> lightweight component through servicemix.xml file but what's the purpose
> of the xbean file? I have tried this:
> 
> xbeans.xml in my su (only file there):
> 
> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>      >
> 
> <http:endpoint service="MyConsumerService"
>                endpoint="myConsumer"
>                role="consumer" 
>                locationURI="http://localhost:8080";
>  />          
> 
> </beans>
> 
> and 
> 
>               </service-unit>
>                         <service-unit>
>                       <identification>
>                               <name>http</name>
>                               <description>http component</description>
>                       </identification>
>                       <target>
>                               <artifacts-zip>http.zip</artifacts-zip>
>                               <component-name>servicemix-http</component-name>
>                       </target>
>               </service-unit>
> 
> in the jbi.xml of my SA.
> 
> I have some exception: 
> 
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Line
> 1 in XML document from file
> [D:\TEST\SM_30\data\smx\service-assemblies\other\ver
> sion_4\sus\servicemix-http\http\xbean.xml] is invalid; nested exception is
> org.x
> ml.sax.SAXParseException: The processing instruction target matching
> "[xX][mM][l
> L]" is not allowed.
> 
> 
> What if I want to add a "message treatment service" in the same workflow
> (i.e. between HTTP and FTP) ? - for this part, I am currently "playing"
> with TransformComponent ?
> 
> 
> Thanks!!!
> 

-- 
View this message in context: 
http://www.nabble.com/HTTP-Binding-tf2493744.html#a6953456
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to