Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Dear All,
I try to write an application which creates an object with JAX-WS library, but Creo gives JAXBException.
The same code works very well in a standalone application.
I think that Creo cannot run JAX-WS libraries. I try to add jaxws library to the project manually but it does not work.
try {
EdmonWSSoap ws = new EdmonWS().getEdmonWSSoap();
} catch (Exception e) {
DisplayMessage(e.getMessage());
DisplayMessage(e.getCause().getMessage());
return true;
}
Error Message:
javax.xml.bind.JAXBException: {http://tempuri.org/}eitem is not a valid property on class org.tempuri.CreateEItem
{http://tempuri.org/}eitem is not a valid property on class org.tempuri.CreateEItem
class org.tempuri.CreateEItem do not have a property of the name {http://tempuri.org/}eitem
Is there any solution for this issue?
In the meantime, I try to send Creo BoM to our ERP application. We have a SOAP Web Service for ERP connection I can reed CREO data very well and all web-service classes are ready but I cannot fix ws connection issue 😞
Thanks in advance for your support.
Check this
I have not used JAX-WS yet, but I problem might be in your configuration.
I do not know how JAX-WS works, but if it creates thread which communicate with main thread it may cause problem, because jlink app in single-threaded and communication with any other thread may cause problems of whole application.