• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic Proxy client to access web service from weblogic

 
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All,
I created a dynamic client to access the webservice from the weblogic environment.


The issue is i am getting error in the last line of above code.

stacktrace




But the above code works fine with apache axis, if i modify the line setting SERVICEFACTORY_PROPERTY as
System.setProperty(ServiceFactory.SERVICEFACTORY_PROPERTY,"org.apache.axis.client.ServiceFactory");


my sysout in the above code prints the following

//For Apache Axis
Port Class = net.insbridge.wsi.Connector.SoftRater.SoftRaterSoapStub@1a082e2

//For weblogic
Port Class = weblogic.webservice.core.rpc.StubImpl@1eb2c1b

I think problem is in the type of object reurned by the getPort method when i use weblogic
service factory.

It is not returning the right object, it should return the SoftRaterSoap service stub instead of weblogic core stub.

I used ANT task, "clientgen" to generate the stub jar file. And it has the SoftRaterSoapStub.

I am not sure where i am doing wrong.

We don't want to include / put Axis jar into weblogic.

It would be great if someone can help me to figure out the issue.

Thanks
Param
 
Seriously? That's what you're going with? I prefer this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic