• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call webservices from weblogic6.0.. Please help ..  RSS feed

venkateswaran krishnamoorthy
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

we need to call a webservices method from weblogic6.0 . We created the stub classes from the WSDL file using the WSDL2Java. It generated 4 java files . when we compiled and called the class as (standalone)java program , it is working fine . But when we deployed the class in the weblogic and gave thee WSDL2Java.zip file in the weblogic class path , it is giving the error
at org.apache.axis.utils.XMLUtils.getSAXParser(XMLUtils.java:254)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:239)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.verizon.dslweb.xgwimpl.xgwreq.ISPGWWebServicePortStub.isServiceAvailable(ISPGWWebServicePortStub.java:224)
at com.verizon.dslweb.xgwimpl.xgwreq.CallTest1.callService(CallTest1.java:129)
at com.verizon.dslweb.xgwimpl.xgwreq.XGWReq.callWebService(XGWReq.java:283)
at com.verizon.dslweb.xgwimpl.xgwreq.XmlWrapper.getRTXLoopQualObject(XmlWrapper.java:411)
at com.verizon.dslweb.whsl.client.RTXPrequalWrap.getLQObject(RTXPrequalWrap.java:125)
at com.verizon.dslweb.whsl.client.RTXPrequalWrap.run(RTXPrequalWrap.java:95)
at java.lang.Thread.run(Thread.java:484)
Please help us .. It is really urgent .
Lasse Koskela
Posts: 11962
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javadocs for java.lang.NoSuchMethodError says:
Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.

To me, this sounds like you're using a different version of Axis than WebLogic is using. Is that the case?
John Meloro
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AXIS is an "open-source" product and as such does not ship with WebLogic, which is a "commercial product".
So, my question is "Did you successfull deploy AXIS under WebLogic 6.1?"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!