- This topic has 3 replies, 2 voices, and was last updated 14 years, 1 month ago by Bill.
-
AuthorPosts
-
BillParticipantHi all,
I’m using Blue to integrate a Web Service Client into an app and I’m not getting the same class defs as my client gets using RationalSoftwareArchitect. I’m doing a JAX-RPC client for WebSphere using a client provided WSDL. With RSA client gets de following interfaces/clases (among others):
ClassName.java
ClassNameProxy.java
ClassNameSoapBindingStub.javaWith Blue, i don’t get a ClassNameProxy.java. My app has to be 100% compatible with my client so I would appreciate some info on the matter. Apparently RSA has an option to select a type of client, one of which is Proxy, but I don’t see that option with Blue. Please reply asap, I’ve got a deadline coming fast.
Thanls,
Bill
Brian FernandesModeratorBill,
We actually use tools provided in your target WebSphere installation (WSDL2Java) to generate web services by sending in your WSDL file, we don’t do the generation ourselves, so compliance should be absolute.
As far as the proxy is concerned, I’m not familiar atm with the code that is generated in the RSA proxy class, but I believe the code you need may actually be embedded in one of the other generated classes (perhaps the Locator class) and you will not need a separate proxy class.
Could you tell us also what version of WAS you are targeting when generating this client?
BillParticipantHi Brian,
My WAS development version is 7.0.0.5 and it’s configured in Blue as a WAS 7.0 server. Since WebSphere is generating this perhaps it’s a problem of WAS versions. My client is using 6.0. Is it possible to configure the WAS server in Blue as a 6.0? Would it make any difference? If I sent you the WSDL, could you generate a 6.0 version, export it and send it to me?
Here are a few more details on using the web service.
The ClassNameProxy is what is instantiated in the app and I have to call 2 methods more or less as follows: (ClassName=GeneracionGUI)
GeneracionGUIProxy generacionGUIProxy = new GeneracionGUIProxy(); generacionGUIProxy.setEndpoint(URL); // standard method? there's no def in the WSDL - URL comes from a resource Hashtable hashtable = generacionGUIProxy.getAutorizacion(String,String,String); // this is the necesary web service call
Locator doesn’t have the required methods nor any other class as far as I could see.. Could you suggest anything else?
Thanks,
Bill
BillParticipantI really need a hand with this.
Can anybody help me out?
Thanks,
Bill -
AuthorPosts