I managed to figure out why these warnings appeared. this was generated XML in 
the wsdd (from WSDL2Java), and the prefix declaration appeared on the same 
element as the attribute whose value used the prefix, and it seems the 
processing code could not handle this! When I moved the namespace declaration 
to the wrapping element, the warnings went away. I would consider this to be a 
bug, but at least i was able to move on. 

Anyway, this brings me to my next problem. I noticed that a lot of the Wiki 
pages on web services had been drastically changed, for example to use the 
wscompile tool instead of the axis tool WSDL2Java. With this change there seems 
to be one significant change, relevant to me at least. I want to process the 
whole document, but the examples showing the jaxrpc mapping talks about a 
message part, being one of the elements contained in the root element, and it 
wants to map this element to a type rather than an element class. 

I want to use my own custom type classes, and  use a class that pas to the 
element rather than the type, and ideally I would like to process the whole 
document, and not just the parts. 

As it is, I am trying to reconcile the wiki pages:

http://www.jboss.org/wiki/Wiki.jsp?page=WSServerJSE
http://www.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping

The first deals with mapping to a part of the message, and the second maps an 
element to a type. I am unable to see how one fits with the other. Hence I am 
in a bit of a bind, and I am getting an error message:

      [exec] org.apache.axis.InternalException: java.lang.Exception: The 
OperationDesc for registerSensor was not synchronized to a method of 
com.mycompany.SensorRegistryEndpoint.

This I have gathered is a sign of a disconnect in types between the mapping 
files and the class. 

So, my question is, is there a way to make the JAX-RPC mapping file map the 
whole document to a class, or alternately communicate in the wsdd that only a 
part of the incoming document will be used? 

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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to