I found the problem that was causing the exception!

I do not remember exactly how I created the jax-rpc mapping file, but I assume 
I must have copied and pasted it from somewhere and changed the details to fit 
my own. 

On the root element of the mapping file was the following schemaLocation:

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";
  | 

I have seen this schemaLocation used in several jax-rpc mapping files on boards 
here, and a JAX-RPC page mentions this schema location, so I assume this is a 
common thing to do.

When I go the schema at that location, I notice that it uses a lot of types in 
the same namespace (using the j2ee prefix) that it then doesn't define. It does 
however include a file j2ee_1_4.xsd, which I am unable to open from the stated 
location, so I assume that is where the problem lies. Being able to find the 
schema it goes into validatin mode, but being unable to load the entire 
definition the validation fails.

When I remove the schemaLocation attribute, it seems to skip validation, and my 
code completes and it sends the request to the server. Now if I can only get my 
web service to work (different thread), I should be all set... :-)

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to