Can you provide the JVM vendor & version as well please?

Do you have a sample of your wsdl you can provide?

A ServiceConstructionException can happen at various stages as CXF
compares the provided service, port, bindings with what's been parsed
from the wsdl.


On Tue, Apr 30, 2024 at 8:16 AM Shobha K R <shog...@gmail.com> wrote:
>
> Hi All,
> How to proceed with the below error?
>
> Thanks
> Shobha
>
> ---------- Forwarded message ---------
> From: Shobha K R <shog...@gmail.com>
> Date: Wed, Apr 24, 2024 at 8:58 PM
> Subject: Migration from jboss ws to apache-cxf
> To: <us...@cxf.apache.org>
>
>
> Hi All,
> We are migrating from jboss-4.2.3.GA  to apache-cxf-4.0.4  for
> WS-addressing and WS-Eventing.
>
> While creating the service getting this error, how to proceed?
>
> Apr 24, 2024 10:24:57 AM
> org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
> buildServiceFromWSDL
> INFO: Creating Service
> {http://schemas.xmlsoap.org/ws/2004/08/eventing}EventingService from
> WSDL: file:/xx/wsdl/eventing.wsdl
> Apr 24, 2024 10:24:57 AM
> com.hp.ov.temip.atni.adapter.common.traces.CLTracer logErrorMessage
> SEVERE: [Subscriber:Subscriber] Web Service Exception for subscription
> :incident, Error
> :org.apache.cxf.service.factory.ServiceConstructionException: Could
> not find portType named
> {http://www.w3.org/2011/03/ws-evt}EventSourceEndpoint
> xx.xx.subscription.SubscriptionException: Subscriber(): Web Service
> Error in creating Service or
> Port.org.apache.cxf.service.factory.ServiceConstructionException:
> Could not find portType named
> {http://www.w3.org/2011/03/ws-evt}EventSourceEndpoint
>         at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:344)
>         at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:337)
>         at jakarta.xml.ws.Service.getPort(Service.java:210)
>         at xx.xx.subscription.Subscriber.<init>(Subscriber.java:335)
>         at 
> xx.xx.subscription.SubscriberTest.test_Valid(SubscriberTest.java:105)
>         at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>
> --
> Thanks
> Shobha
>
>
> --
> Thanks
> Shobha

Reply via email to