[JBoss-user] [JBossWS] - Re: SOAPConnection Problem
OK, The previous problem seems to be my fault, beleive it or not :-) I had forgot to tell my ide not to package the dependant jars into the web-app and therefore had loads of unwelcome stuff in my lib directory. Now I seem to be getting the original problem, I cannot make a call from the connection object, and I cant get it to throw an exception. It doesnt matter what the value in the URL object is it always continues through till it thinks it has completed succesfully. When in fact the URL value I have never existed ? Again any comments would be useful. Cheers, JonnyEmm. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895135#3895135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895135 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: SOAPConnection Problem
Im sure this is turning into a silly question, but here goes. I took a step back and have written a servlet outside the world of struts which when called calls: SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance(); SOAPConnection connection = soapConnectionFactory.createConnection(); connection.call(messageFactory.createMessage(),new URL("http://:8080/soapservice/listener")); connection.close(); This now produces the error message: Failed to create SOAPConnectionFactory: org.jboss.webservice.soap.SOAPConnectionFactoryImpl I'm not really sure why this is happening, especially when the same code works inside an EJB. Im presuming now that this same exception is being thrown inside my Action class but is being caught/wrapped by the strutts environment and isn't rethrown to the caller/client. Any suggestions would be appreciated as I dont really want to seperate this piece of client code into a seperate EJB as it isnt quite logical. Cheers, JonnyEmm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895113#3895113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895113 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - SOAPConnection Problem
I curently have a problem using a SOAPConnection inside a STRUTS Action class. I set up the connection in the usual way: SOAPConnectionFactory.getConnectionFactory(); soapConnectionFactory.createConnection(); And use the standard method: connection.call(SOAPMessage,URL) I have a debug statement before and after the connection call in which both lines are printed and no exceptions are thrown or caught during the entire process, but the message is never sent from the Action class. Does any 1 know of any problems using web sevices inside a struts environment like this ? I initially thought it may be a class loader issue, but so far have not been able to track a solution down. Any thoughts would be appreciated. Cheers JonnyEmm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894461#3894461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894461 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ClassCastException SoapElementAxisImpl
For Info, This error was caused by adding the root of the attached xml document using body.addChildElement(). I changed this to use body.addBodyElement() and this worked OK. I stiil used element.addChildElement() whilst converting the element nodes from one implementation to another sucessfully. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878704#3878704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878704 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user