Announcement Announcement Module
Collapse
No announcement yet.
WebService packaging trouble Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • WebService packaging trouble

    Hello everyone.

    I have to make a simple client in my web app to connect to a remote web service.
    I build wsdl artifacts and everything works properly... but just if i put all classes in the main web project deployed in Tomcat.
    If I try to pack them into a jar and put it to the Web-Inf/lib the client doesn't work and I get this error creating client port:

    javax.xml.bind.JAXBException: {http://sapam.com/SSO}GetCacheResult is not a valid property on class com.sapam.sso.GetCacheResponse

    I underline that the not found property exists in the artifacts, infact, as I said before, if I deploy this classes in the main project it works... If I do not change their package name, but just put them into a jar and deploy it in web-inf/lib the that artifacts property can't be load!

    Please, can you help me?

    thanks.
Working...
X