tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Fryer <apfr...@hotmail.com>
Subject Re: JAX-WS: Reading WSDL file from JAR file
Date Sat, 29 Nov 2014 03:28:51 GMT
This is interesting because I found i had to use "classpath:..." in
wsdlLocation when i was setting up tomee to reuse a single JAXBContext like
follows...

@Stateless
@Local(AcceptPaymentForAncillariesPortType.class)
@WebService(
                portName="AcceptPaymentForAncillariesPortType",
                serviceName="AcceptPaymentForAncillariesService",
                targetNamespace =
"urn:www.virginaustralia.com:service:contract:departure-management",
               
endpointInterface="com.virginaustralia.service.contract.departure_management.AcceptPaymentForAncillariesPortType",
               
wsdlLocation="classpath:/com/virginaustralia/service/contract/departure_management/AcceptPaymentForAncillaries.wsdl"
                )
public class AcceptPaymentForAncillariesImpl implements
AcceptPaymentForAncillariesPortType {
 ...
} 

The thread related to this is here 

http://tomee-openejb.979440.n4.nabble.com/Use-single-JAXBContext-for-multiple-web-services-td4670019.html




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/JAX-WS-Reading-WSDL-file-from-JAR-file-tp4670256p4673080.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message