[jboss-user] [JBoss Web Services] New message: "WS-Addressing serialization interop error"

Guzman Llambi­as do-not-reply at jboss.com
Sat Jan 23 16:27:17 EST 2010

User development,

A new message was posted in the thread "WS-Addressing serialization interop error":


Author  : Guzman Llambi­as
Profile : http://community.jboss.org/people/gllambi

Hi!! I'm doing some interoperability tests with .NET 3.5 using WS-AtomicTransaction and have some problems with a serialization interpretation of WS-Addressing's Endpoint Reference. In particular, with it's metadata tag. 
Here is a SOAP message built by JBossTransactions to register a participant in a transaction. It uses JBossWS to build the soap mesage. In particular, to serialize the endpointReference (RegistrationService). As you can see, it has a metadata tag that's empty. Well, .NET's implementation of WS-AT doesn't understand the message if it has a metadata tag empty!! It can understand it if it doesn't appear or if it has some content.
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
 env:mustUnderstand='1' xmlns:wscoor='http://docs.oasis-open.org/ws-tx/wscoor/2006/06'>
 <wscoor:CoordinationContext xmlns:ns3='http://www.w3.org/2005/08/addressing'>
   <ns3:Metadata />
 <ns1:depositar xmlns:ns1="http://services.lins.fing.edu.uy/">

Ok! This is not a JBossWS interoperability problem. Is a .NET's problem, as the WS-Addressing XML Schema says this scenario may happen. But, as I can't change .NET's implementation and I got to have this working, I want to change JBossWS implementation to remove the metadata tag if it has no content. It still be a correct WS-Addressing message. So, the question where you can help me is: which class (and method) of JBossWS I have to change in order to remove the metadata tag?
It's very important that somebody could tell me this, in order to achieve interoperability with .NET 3.5 using WS-AtomicTransaction. I would appreciate it a lot!!!
Thanks in advance
PD: Here's the link to JBossTransactions forum where I discuss the problem with Adinn http://community.jboss.org/thread/145652. It would be great to find a tidy and quick solution as this one. 


To reply to this message visit the message page: http://community.jboss.org/message/521899#521899

More information about the jboss-user mailing list