1. Firstly why are you two different namespace prefixes "demo" and
"hello" as they point to the same uri
2. The problem is not with http su configuration..
It is related to something else (may be your jsr181 su configuration) as
depicted in the error
<component-name>servicemix-jsr181</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg> <msg-loc-info> <loc-token/>
<loc-message>Could not deploy xbean service unit</loc-message>
</msg-loc-info> </task-status-msg>
May be the namespaces in your jsr181 su is incorrect..
3. Also check this
http://incubator.apache.org/servicemix/unrecognized-xbean-namespace-mapp
ing.html
Regards,
Rabi Mishra,
Wipro Technologies,Office: +91-20-39104549, VOIP:842
2545,CELL+91(0)9890363765
http://rabisblog.blogspot.com/
c++; /* this makes c bigger but returns the old value */
-----Original Message-----
From: promila_bisht [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 5:10 PM
To: [email protected]
Subject: RE: Web Service Deployment on ServiceMix
The following is the xbean file i m using:
<?xml version="1.0"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:demo="urn:servicemix:soap-binding"
xmlns:hello="urn:servicemix:soap-binding">
<http:endpoint service="demo:simple-service"
endpoint="simple-service"
role="consumer"
locationURI="http://localhost:8192/Service/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true" />
<http:endpoint service="hello:hello-service"
endpoint="hello-service"
role="consumer"
locationURI="http://localhost:8192/HelloWorld/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true" />
</beans>
and getting following error:
ERROR - DeploymentService - Unable to restore state for
service
assembly soap-demo
java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task
xmlns="http://java.sun.com/xml/ns/jbi/management-message"
version="1.0">
<jbi-task-result>
<frmwk-task-result>
<frmwk-task-result-details>
<task-result-details>
<task-id>start</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-jsr181</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg> <msg-loc-info> <loc-token/>
<loc-message>Could not deploy xbean service unit</loc-message>
</msg-loc-info> </task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token/>
<loc-message>org.springframework.beans.factory.BeanDefinitionStoreExcept
ion:
Unrecognize
xbean namespace mapping:
http://servicemix.apache.org/http/1.0</loc-message>
<stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationExcepti
on:
org.springfr
ework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean
namespace mapping: http://servicemix.apache.org/http/1.0
at
org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(
ServiceManagerRegistry.java:424)
rabi wrote:
>
>
> What do you want exactly?
>
> - Consume an external WS from ServiceMix You can consume them over a
> http provider endpoint.
>
> - Provide (implement/host) a Webservice based on an existing
> WSDL/contract??
> Refer wsdl-first example for this.
>
> Regards,
> Rabi Mishra,
> c++; /* this makes c bigger but returns the old value */
> -----Original Message-----
> From: promila_bisht [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 10, 2007 3:59 PM
> To: [email protected]
> Subject: Web Service Deployment on ServiceMix
>
>
> How can we deploy a web service using an existing wsdl in servicemix.
>
> Please help.
> --
> View this message in context:
> http://www.nabble.com/Web-Service-Deployment-on-ServiceMix-tf4055012s1
> 20
> 49.html#a11518346
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>
>
--
View this message in context:
http://www.nabble.com/Web-Service-Deployment-on-ServiceMix-tf4055012s120
49.html#a11519179
Sent from the ServiceMix - User mailing list archive at Nabble.com.
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com