File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes JAX-RPC DII Client and Stub._setProperty / Stub._getProperty Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JAX-RPC DII Client and Stub._setProperty / Stub._getProperty" Watch "JAX-RPC DII Client and Stub._setProperty / Stub._getProperty" New topic
Author

JAX-RPC DII Client and Stub._setProperty / Stub._getProperty

Yvan Sand
Greenhorn

Joined: Mar 14, 2011
Posts: 3
Hello

I wrote a webservice client with DII and JAX-RPC, the client is working fine, but I have some problems when I'll get some runtime information about the service - especially with the operations from the javax.xml.rpc.Stub interface.

This code is working perfectly and I can set the Endpoint Address without any problems with the line ((Stub) remote)._setProperty(...) :



But how can I get information about the actual Endpoint Address of the Port for example? Or how can I get all the Property names? I thought it's easy with the operation Stub._getProperty(...) or Stub._getPropertyNames()?!
But when I'll try to add the following code to the above example, I'll get an javax.xml.rpc.JAXRPCException:



results in



When I use the clientgen anttask and initialize the port with the generated stubs, everything is working fine and I can call the _getProperty(..) or getPropertyNames() operation - but I need to use a DII Client.

What's wrong or could you give me a hint how I could get the information about the actual Endpoint Address through another way?

Thanks for helping!

We use Weblogic Server 10gR3/10.3.0.0 with some patches.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-RPC DII Client and Stub._setProperty / Stub._getProperty