Hello all: I am struggling a bit trying to get my binding.xml file to match up with the incoming XML request. I read all the documentation and a number of the mailing list posts (such as http://www.mail-archive.com/jibx-users@lists.sourceforge.net/msg00811.html) but I do not seem to be getting it correct.
Here is the incoming request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gre="http://foo.com/greeting/" xmlns:cmn="http://foo.com/common/"> <soapenv:Header/> <soapenv:Body> <gre:getGreetingRequest> <cmn:personName>Vic</cmn:personName> </gre:getGreetingRequest> </soapenv:Body> </soapenv:Envelope> Right now, my binding.xml file looks like this: <?xml version="1.0" encoding="UTF-8"?> <binding> <namespace uri="http://foo.com/greeting/" prefix="gre"/> <mapping name="getGreetingRequest" class="com.foo.greeting.GetGreetingRequest"> <namespace uri="http://foo.com/common/" prefix="cmn"/> <value name="personName" field="personName" usage="required"/> </mapping> <mapping name="getGreetingResponse" class="com.foo.greeting.GetGreetingResponse"> <namespace uri="http://foo.com/common/" prefix="cmn"/> <value name="greeting" field="greeting" usage="required"/> </mapping> </binding> However, when I attempt to submit the XML against the binding file, I get the dreaded: JiBX unmarshalling exception: No unmarshaller for element "{http://foo.com/greeting/}getGreetingRequest" If I remove the mapping child namespace elements, I can get it to work as long as personName is part of the greeting namespace, not the common namespace which is not what I am aiming. Thoughts? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users