« Return to Thread: Problem With NetBeans plugin development

Problem With NetBeans plugin development

by inagendra :: Rate this Message:

Reply to Author | View in Thread

Hi,

We are creating a new plugin in NetBeans. This plugin uses saaj api to send soap messages.

We are developing this plugin on NetBeans 6.5.1 and we are using jdk 1.5. When we try to run the plugin the code that sends soap message is failing with the following exception.
Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl not found
        at javax.xml.soap.MessageFactory.newInstance(Unknown Source)
        at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:167)
        ... 35 more

We have added saaj-api.jar, saaj-impl.jar and all other necessary jars.

If I execute the same code with the same set of jar files in a standalone java client from NetBeans, it works fine. The problem is only while running the code as a plugin. Had any one come across this issue earlier? Any help on this is greatly appreciated.

Thanks,
Nagendra

 « Return to Thread: Problem With NetBeans plugin development