3 Jul 15:30
Problem With NetBeans plugin development
inagendra <nagendra <at> soa-matrix.com>
2009-07-03 13:30:16 GMT
2009-07-03 13:30:16 GMT
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
RSS Feed