Warnings regarding "Could not find endpoint"

1,088 views
Skip to first unread message

Thomas Papke

unread,
Apr 25, 2016, 9:04:36 AM4/25/16
to ipf-...@googlegroups.com

Hello IPF users,

 

Running IPF 3.1 with cxf 3.1 causing log of warnings (seen blow) during application startup. I am not sure how long this already exists, but it slightly looks like a mismatch between the wsdl and the IPF service annotation.

 

*****************

2016-04-25T14:30:41,648 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:41,721 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:41,772 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:41,815 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:42,049 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2010}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2010}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:42,105 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2010}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2010}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:42,348 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRepository_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRepository_Port_Soap12.

2016-04-25T14:30:42,608 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRepository_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRepository_Port_Soap12.

2016-04-25T14:30:44,058 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRepository_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRepository_Port_Soap12.

2016-04-25T14:30:44,238 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:pcc:qed:2007}ClinicalDataSource_PortTypePort in wsdl. Using {urn:ihe:pcc:qed:2007}ClinicalDataSource_Port_Soap11.

2016-04-25T14:30:44,443 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:44,489 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRegistry_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRegistry_Port_Soap12.

2016-04-25T14:30:44,686 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}InitiatingGateway_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}InitiatingGateway_Port.

2016-04-25T14:30:44,719 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRepository_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRepository_Port_Soap12.

2016-04-25T14:30:44,772 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}DocumentRepository_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}DocumentRepository_Port_Soap12.

2016-04-25T14:30:45,143 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}InitiatingGateway_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}InitiatingGateway_Port.

2016-04-25T14:30:45,257 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}RespondingGateway_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}RespondingGateway_Port_Soap12.

2016-04-25T14:30:45,340 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}RespondingGateway_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}RespondingGateway_Port_Soap12.

2016-04-25T14:30:45,423 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:pdqv3:2007}PDSupplier_PortTypePort in wsdl. Using {urn:ihe:iti:pdqv3:2007}PDSupplier_Port_Soap12.

2016-04-25T14:30:45,475 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:pdqv3:2007}PDSupplier_PortTypePort in wsdl. Using {urn:ihe:iti:pdqv3:2007}PDSupplier_Port_Soap12.

2016-04-25T14:30:45,506 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xcpd:2009}InitiatingGateway_PortTypePort in wsdl. Using {urn:ihe:iti:xcpd:2009}InitiatingGateway_Port.

2016-04-25T14:30:45,537 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:pdqv3:2007}PDSupplier_PortTypePort in wsdl. Using {urn:ihe:iti:pdqv3:2007}PDSupplier_Port_Soap12.

2016-04-25T14:30:45,562 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xcpd:2009}InitiatingGatewayDeferredResponse_PortTypePort in wsdl. Using {urn:ihe:iti:xcpd:2009}InitiatingGateway_Response_Port_Soap12.

2016-04-25T14:30:45,610 WARN  [main] org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory(138) - Could not find endpoint/port for {urn:ihe:iti:xds-b:2007}RespondingGateway_PortTypePort in wsdl. Using {urn:ihe:iti:xds-b:2007}RespondingGateway_Port_Soap12.

 

*****************

 

I have checked the ITI18 service as an example and found the @Webservice annotation on the following class:

org.openehealth.ipf.commons.ihe.xds.iti18.Iti18PortType  (webservice.name is defined to “DocumentRegistry_PortType”)

wsdl/iti18.wsdl à since no “portName” is defined in the annotation, the portname is derived from service-name + “Port” (http://java.boot.by/ocewsd6-guide/ch01s02.html). But the iti18.wsdl does not define this port name, instead a soap 1.1 and soap 1.2 port is defined (with different naming) in the IPF wsdl.

 

The wsdl shared by IHE only contain one portName: ftp://ftp.ihe.net/TF_Implementation_Material/ITI/wsdl/XDS.b_DocumentRegistry.wsdl

 

I have never seen a functional impact caused by the warnings in my log.

Does any IPF user has a similar problem, do I need some additional configuration? From my understanding, all the IPF @webservice annotations need to extended with a “portName” attribute that match with the name of the port in the wsdl. So for the ITI18PortType the annotation should be:

“@WebService(targetNamespace = "urn:ihe:iti:xds-b:2007", name = "DocumentRegistry_PortType", portName=”DocumentRegistry_Port_Soap12”)

 

Regards,

Thomas



InterComponentWare AG:
Vorstand: Peter Kirschbauer (Vors.), Matthias Glück
Aufsichtsratsvors.: Prof. Dr. Christof Hettich
Unternehmenssitz: 69190 Walldorf, Altrottstraße 31
AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516

Dmytro Rud

unread,
Apr 25, 2016, 10:05:45 AM4/25/16
to ipf-...@googlegroups.com
Hi Thomas,

these warnings are not new and have always been there.  Maybe their log level has been raised to WARN in the new CXF version, and therefore you see them.  You can ignore them.

Best regards
Dmytro

--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christian Ohr

unread,
Apr 25, 2016, 11:56:45 AM4/25/16
to ipf-...@googlegroups.com
If it doesn't break backwards-compatibility, it would still be nice to get rid of these warnings...

Christian

Dmytro Rud

unread,
Apr 25, 2016, 12:06:41 PM4/25/16
to ipf-...@googlegroups.com
Ok, I will do it till the end of this week.
Reply all
Reply to author
Forward
0 new messages