Matt,

For getting the client-side invocations and stub classes right, we recommend

The following  steps:

A) generate wsdl from the deployed web services.
B) generate stub classes from the wsdl using wsdl2java. 

Using Axis/MbeanInvocationHandler lacks a lot of deployment information
(basically,
The client-side of the web-service.xml) that we try to default
from java reflection. 

This may work for simple cases, but once you declare additional 
data structures and serializers, it becomes very hairy on the client side,
otherwise.

CGJ

-----Urspr�ngliche Nachricht-----
Von: Matt Munz [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 20. September 2002 17:41
An: JBoss Developers Group
Betreff: [JBoss-dev] writing a jboss.net (jmx.net?) client


CGJ & JBoss.Net Developers,

  First, let me say "Thank you".  I now have MBeans in the server exposed as
web services.  Although it took a bit of research to figure out how to do
this, the minimal amount of (xml) code required to expose MBeans as
webservices (should I call this "JMX.Net"?) speaks for itself.

  I was again pleased to see that the client side is also straightforward,
once I knew what to do.  Basically, I emulated the code in the testsuite for
JBoss.Net.  This works with the following caveat.

  The org.jboss.net.axis.AxisInvocationHandler class is deprecated.
MBeanInvocationHandler, the class I am using on the client side, extends
AxisInvocationHandler.  What should I do instead of using this class (which
seems to work perfectly well)?

  I found the following in AxisInvocationHandler.  Could anyone explain this
further?

 Due to the inherent deficiencies in
 using pure reflection meat-data to access web services, we recommend  using
the axis "stub" way of creating web service references

  Thanks again.

  - Matt




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Jboss-development mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to