The ns1, ns2, etc namespaces are generated automatically by the  Jboss Axis 
engine used for serialization. The mapping file should take care of the 
namespace mapping, however your WSDL declares the schema as unqualified. 
Because it is unqualified only the parent can have a namespace - CreateLoan in 
your case. But what you want is to have it qualified because agent should be in 
a different namespace.

However JBoss's Axis engine has some issues with the qualified part(it always 
considers unqualified). This should have been solved in the Jboss 4.0.4 
version(JBoss 4.0.x in the cvs I believe). If you ahve to use JBoss 4.0.2 you 
can have in WEB-INF a file named ws4ee-deployment.xml in which you can set up 
the mappings to include whatever namespaces you want.

http://lists.xml.org/archives/xml-dev/200007/msg00025.html

contains an interesting discussion about elementFormDefault.

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to