我使用的是Websphere 8.5.5,我注意到我第一次調用JAX-WS Web服務需要很長的時間來響應。我在LOG(跟蹤級別)得到這個,在15分鐘後它可以工作。我的EclipseLink莫西作爲JAXB提供第一次調用SOAP Web服務(JAX-WS)時,爲什麼要花太長時間來響應Websphere?
jaxb.properties:
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
javax.xml.bind.JAXBException:
Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.
- with linked exception:
[Exception [EclipseLink-50007] (Eclipse Persistence Services - 2.4.2.qualifier): org.eclipse.persistence.exceptions.JAXBException
Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.]