Results 1 to 2 of 2
  1. #1
    pankaj_salwan is offline Member
    Join Date
    Jul 2008
    Location
    india
    Posts
    35
    Rep Power
    0

    Default Problem with saaj-1.3 api.jar

    Hi

    I have a problem with saaj-api ..i am getting following error message while running my application on weblogic 9.2

    java.lang.NoSuchMethodError: javax.xml.soap.MessageFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory;
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConn ection.<init>(HttpSOAPConnection.java:72)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConn ectionFactory.createConnection(HttpSOAPConnectionF actory.java:44)
    at src.WebserviceHTTPClient.createOrder(WebserviceHTT PClient.java:100)
    at src.Testwbservice.run(Testwbservice.java:28)
    at com.mslv.oms.automation.plugin.AbstractAutomator._ runAutomator(Unknown Source)
    at src.osm_ejb_test_951w7m_EOImpl._runAutomator(osm_e jb_test_951w7m_EOImpl.java:204)
    at src.osm_ejb_test_951w7m_EOImpl_WLSkel.invoke(Unkno wn Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(Se rverRequest.java:174)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:223)
    at src.osm_ejb_test_951w7m_EOImpl_921_WLStub._runAuto mator(Unknown Source)
    at com.mslv.oms.automation.AutomationDispatcher.a(Unk nown Source)
    at com.mslv.oms.automation.plugin.AutomationEventHand lerImpl.processMessage(Unknown Source)
    at com.mslv.oms.automation.AutomationDispatcher.onMes sage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute (MDListener.java:429)
    at weblogic.ejb.container.internal.MDListener.transac tionalOnMessage(MDListener.java:335)
    at weblogic.ejb.container.internal.MDListener.onMessa ge(MDListener.java:291)
    at weblogic.jms.client.JMSSession.onMessage(JMSSessio n.java:4060)
    at weblogic.jms.client.JMSSession.execute(JMSSession. java:3953)
    at weblogic.jms.client.JMSSession$UseForRunnable.run( JMSSession.java:4467)
    at weblogic.work.ExecuteRequestAdapter.execute(Execut eRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:117)




    kindly help me to get the solution..

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    805
    Rep Power
    6

    Default

    Hi,
    iam not having any idea regarding this api.

    But check this link.open the class in jar and see the source for method def

    Gothru this link too
    java.lang: public class: NoSuchMethodError
    Ramya:cool:

Similar Threads

  1. problem when generating MIME header of a SOAP packet using SAAJ
    By kumar.jyotish@gmail.com in forum Advanced Java
    Replies: 1
    Last Post: 10-18-2010, 05:03 PM
  2. Replies: 0
    Last Post: 01-19-2009, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •