You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by skg <sa...@infosys.com> on 2008/09/18 15:49:53 UTC

Xmlns in http binding

What is the significance of xmlns in file binding to http-binding xbean.xml
in an SU?
for ex.Poller-SU
{<beans xmlns:file="http://servicemix.apache.org/file/1.0"
xmlns:logisticx="http://logisticx.demo.fuse.iona.com/">
<file:poller service="logisticx:file" endpoint="poller" file="file:D:/Polar"
targetService="logisticx:HelloTestService" targetEndpoint="StockEndpoint"
deleteFile="true" autoCreateDirectory="true"/>
</beans>}

Webservice Su

{<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:logisticx="http://logisticx.demo.fuse.iona.com/">
<http:endpoint service="logisticx:HelloTestService" endpoint="StockEndpoint"
role="provider" locationURI="http://localhost:9090/hello"
wsdlResource="http://localhost:9090/hello/?wsdl" />
</beans>
}

while deploying we get an error for this particular line-
xmlns:file="http://servicemix.apache.org/file/1.0file/1.0"

How do we know which link to provide?

-- 
View this message in context: http://www.nabble.com/Xmlns-in-http-binding-tp19553385p19553385.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Xmlns in http binding

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
The namespace to use for the file component is :
xmlns:file="http://servicemix.apache.org/file/1.0"
followed by your namespace definition :
xmlns:myApp="http://www.exemple.com/myApp"

If I have right understood your question :)

Regards

Le Thu, Sep 18, 2008 at 06:49:53AM -0700, skg a écrit :
> 
> What is the significance of xmlns in file binding to http-binding xbean.xml
> in an SU?
> for ex.Poller-SU
> {<beans xmlns:file="http://servicemix.apache.org/file/1.0"
> xmlns:logisticx="http://logisticx.demo.fuse.iona.com/">
> <file:poller service="logisticx:file" endpoint="poller" file="file:D:/Polar"
> targetService="logisticx:HelloTestService" targetEndpoint="StockEndpoint"
> deleteFile="true" autoCreateDirectory="true"/>
> </beans>}
> 
> Webservice Su
> 
> {<beans xmlns:http="http://servicemix.apache.org/http/1.0"
> xmlns:logisticx="http://logisticx.demo.fuse.iona.com/">
> <http:endpoint service="logisticx:HelloTestService" endpoint="StockEndpoint"
> role="provider" locationURI="http://localhost:9090/hello"
> wsdlResource="http://localhost:9090/hello/?wsdl" />
> </beans>
> }
> 
> while deploying we get an error for this particular line-
> xmlns:file="http://servicemix.apache.org/file/1.0file/1.0"
> 
> How do we know which link to provide?
> 
> -- 
> View this message in context: http://www.nabble.com/Xmlns-in-http-binding-tp19553385p19553385.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
jb@nanthrax.net
PGP : 17D4F086