[JBossWS] - Re: WS-Eventing - sending notification
by artem_spector
Alessio, thank you for your explanation. These exactly are the things which seem strange to me.
"palin" wrote : I think you can create that xml string the way you prefer, it doesn't matter how you do it as long as what you get is in compliance with the schema you provided in you wsdl; for example, we create it on the fly using jdom.
But wouldn't it be natural to suggest that since the message structure is written in the wsdl, the application sending the notification can use the generated stuff like the endpoint interface, user types etc? This would ensure that the resulting message is compliant to the wsdl. Is JSR-109 client support available for WS-Eventing?
"palin" wrote : The notification endpoint has to be able to process a soap message containing an xml in compliance with the data type schema defined in the wsdl, nothing more
Again, I would expect that I could write the notification endpoint implementation with the convenience provided by JSR-181 or JSR-109 support. Just a java class with annotation pointing to the event source wsdl, as in the JSR-181 POJO example. Is that possible?
Thanks,
Artem
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977821#3977821
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977821
19 years, 7 months
[JNDI/Naming/Network] - Re: ClassCastException after redeploy
by ahachmann
Yes, this what i expected to happen,
But now I have the situation, that when I have taken the war out of the ear, I still need to leave out the Interfaces from the war.
When i deploy the archives at the same time, everything works fine. But when I now change the interfaces implementations and redeploy the ear, i get a class cast exception. I know, that this sounds like the opposite of what i wrote in the first post. And I am confused about that.
What I did now, is that i put the Interfaces in a single jar-file which i deploy itsself. Now i can modify the implementation without any problems.
Is it that way, that the Deployer perhaps does not recognise, that the Interfaces in the new EAR file are the same as the ones in the war file? Then the Classlaoder would load the interfaces again. But the ones in the ear are then different ones to the ones in the war.
Anyone a short comment whether this asumption could be right?
thx,
Alexander
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977815#3977815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977815
19 years, 7 months