JBossXB layer has correctly modeled the TypeBinding with a map as

  | xml:lang = typebinding
  | name=typebinding
  | 

But the jaxrpc layer is lost because:

  | <variable-mapping>
  | <java-variable-name>name</java-variable-name>
  | <xml-attribute-name>name</xml-attribute-name>
  | </variable-mapping>
  | <variable-mapping>
  | <java-variable-name>lang</java-variable-name>
  | <xml-attribute-name>lang</xml-attribute-name>
  | </variable-mapping>
  | 

It cannot figure out that the lang is a namespace qualified attrib name with 
prefix xml, so it asks for a typebinding for "lang" and the JBossXB layer 
cannot return the typebinding for it.

My guess is that wscompile should have the following:

  | <variable-mapping>
  | <java-variable-name>lang</java-variable-name>
  | <xml-attribute-name>xml:lang</xml-attribute-name>
  | </variable-mapping>
  | 
because ws4ee spec defines the xml-attribute-name as:

  | The xml-attribute-name element defines name attribute value
  | of a WSDL attribute element within a root type. The value
  | of an xml-attribute-name element must match the value of
  | the ref attribute if mapping an attribute reference.
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925149#3925149

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925149


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to