Xmlns in http binding

classic Classic list List threaded Threaded
2 messages Options
skg
Reply | Threaded
Open this post in threaded view
|

Xmlns in http binding

skg
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?
Reply | Threaded
Open this post in threaded view
|

Re: Xmlns in http binding

Jean-Baptiste Onofré
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
[hidden email]
PGP : 17D4F086