SOAP Exception in netbeans

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

SOAP Exception in netbeans

by phanisekhar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I created new module in NetBeans.I added jars to this module.When ever i run this module
I am getting this 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
I added saaj-api.jar and saaj-impl.jar.

can anybody helpon this

Re: SOAP Exception in netbeans

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.
Try to add the jar files to the project's classpath as well. Thanks.


From: phanisekhar <phaniinuguri@...>
To: nbusers@...
Sent: Friday, July 3, 2009 4:53:58 AM
Subject: [nbusers] SOAP Exception in netbeans


Hi,

I created new module in NetBeans.I added jars to this module.When ever i run
this module
I am getting this 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
I added saaj-api.jar and saaj-impl.jar.

can anybody helpon this
--
View this message in context: http://www.nabble.com/SOAP-Exception-in-netbeans-tp24320490p24320490.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.



Re: SOAP Exception in netbeans

by phanisekhar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I added all jar files to module dependency.
How to add jars in the classpath of the module.
Thans.
Melongo Annabel wrote:
Try to add the jar files to the project's classpath as well. Thanks.




________________________________
From: phanisekhar <phaniinuguri@yahoo.com>
To: nbusers@netbeans.org
Sent: Friday, July 3, 2009 4:53:58 AM
Subject: [nbusers] SOAP Exception in netbeans


Hi,

I created new module in NetBeans.I added jars to this module.When ever i run
this module
I am getting this 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
I added saaj-api.jar and saaj-impl.jar.

can anybody helpon this
--
View this message in context: http://www.nabble.com/SOAP-Exception-in-netbeans-tp24320490p24320490.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.


     

Re: SOAP Exception in netbeans

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.
So does it work now? There's a big difference between adding a jar file to a module and adding it to the project's classpath. If you add it only to a module, you will get errors that files associated with that jar file aren't found throughout your application; but once you add the jar file's reference to the project's classpath, the errors disappear. Thanks.


From: phanisekhar <phaniinuguri@...>
To: nbusers@...
Sent: Tuesday, July 7, 2009 2:07:33 AM
Subject: Re: [nbusers] SOAP Exception in netbeans


I added all jar files to module dependency.
How to add jars in the classpath of the module.
Thans.

Melongo Annabel wrote:

>
> Try to add the jar files to the project's classpath as well. Thanks.
>
>
>
>
> ________________________________
> From: phanisekhar <phaniinuguri@...>
> To: nbusers@...
> Sent: Friday, July 3, 2009 4:53:58 AM
> Subject: [nbusers] SOAP Exception in netbeans
>
>
> Hi,
>
> I created new module in NetBeans.I added jars to this module.When ever i
> run
> this module
> I am getting this 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
> I added saaj-api.jar and saaj-impl.jar.
>
> can anybody helpon this
> --
> View this message in context:
> http://www.nabble.com/SOAP-Exception-in-netbeans-tp24320490p24320490.html
> Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
>
>
>     
>

--
View this message in context: http://www.nabble.com/SOAP-Exception-in-netbeans-tp24320490p24368188.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.