Hi,
I guess I know what you want, you actually want to control the service
namespace using in servicemodel which is generated from pojo. What I
suggest you do previously is specify the servicename used for jbi
endpoint. By default we extract the the jbi endpoint service/endpoint
name from servicemodel, but you also can specify it yourself as I
suggest before.
If you want to control the service name using in servicemodel, you can
add annotation like
@WebService(name = "PersonImpl", targetNamespace = "http://sample.com")
to your pojo, this should work.
Freeman
On 2010-3-10, at 下午6:36, chris charles harris wrote:
Hi,
What i am saying is it is deployed with the parameters which is
given by me.
No problem with that.
Problem is when i invoked the service it says like this.
WARNING: Interceptor for
{http://wsdl_first.samples.servicemix.apache.org/}PersonImpl has
thrown
exception, unwinding now
org.apache.cxf.interceptor.Fault: unknown operation
{http://sample.com}GetPerson
Even it shows service name correctly it is not registered with given
parameters.
I attached my code and pls have a look at it.
http://old.nabble.com/file/p27847972/cxf-wsdl-first.zip cxf-wsdl-
first.zip
Thanks,
chis
--
View this message in context:
http://old.nabble.com/How--to-pass-complex-object-in-to-a-web-service-tp27779954p27847972.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com