Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
shivang sarawagi
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic