File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Client classes generated for a WSDL using WAS 7 and WAS 6 are different with RAD 7.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Client classes generated for a WSDL using WAS 7 and WAS 6 are different with RAD 7.5" Watch "Client classes generated for a WSDL using WAS 7 and WAS 6 are different with RAD 7.5" New topic
Author

Client classes generated for a WSDL using WAS 7 and WAS 6 are different with RAD 7.5

shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 147
Hi ,

I am using RAD to generate client proxy classes for the WSDL. I have both WAS 6.1 and WAS 7.0 servers installed with RAD 7.5.
When I import the EAR using WAS 6.1 and if I generate client proxies for the WSDL it generates the Proxy class as <service_Name>_PortTypeProxy.java.
When I generate the client classes for the same wsdl on WAS 7.o it generates the proxy class as <service_Name>Proxy.java .
And also there is difference in the JNDI look up name that is being passed in this class .
i.e. on WAS 6.1 :

initialContext.lookUp("java:comp/env/service/Service_Name")

But on WAS 7.1 , it looks like : initialContext.lookUp("java:comp/env/service/Service_Name_Service") because of this Log Handler in not invoked .

I tried many ways to fix this . I did not succeed.

Can you please suggest what is the best course of action to resolve this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client classes generated for a WSDL using WAS 7 and WAS 6 are different with RAD 7.5
 
Similar Threads
Unable to access WS in J2EE way
WebServices NullPointerException when Client tried to get SOAP
Webservice internals
Axis1 (1.4) - Simple client proof of concept - SAXParserException: Content is not allowed in prolog
WebService Client - Basic HTTP Auth Setup - RAD 7.5.5 [WAS 7.0]