Problem With NetBeans plugin development

View: New views
2 Messages — Rating Filter:   Alert me  

Problem With NetBeans plugin development

by inagendra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Problem With NetBeans plugin development

by Melongo Annabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Nagendra,
Can you please ask this question at the nbdev list? You might be more successful there. Thanks.


From: inagendra <nagendra@...>
To: nbusers@...
Sent: Friday, July 3, 2009 8:29:54 AM
Subject: [nbusers] Problem With NetBeans plugin development


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
--
View this message in context: http://www.nabble.com/Problem-With-NetBeans-plugin-development-tp24323191p24323191.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.