You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Axel Becker <ax...@becker-coding.de> on 2007/09/18 20:24:12 UTC
Using Client in WebApplication (JBoss)
Hello,
i wrote a small webapplikation to display some small webservice results.
but on the first call i got these error
javax.xml.ws.WebServiceException: Cannot create SAAJ factory instance.
org.apache.cxf.jaxws.binding.soap.SOAPBindingImpl.getSOAPFactory(SOAPBindingImpl.java:118)
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:151)
$Proxy142.test(Unknown Source)
de.beckercoding.prod.aec.web.MenuForm.execute(MenuForm.java:16)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
i'm using jboss JBoss_4_2_1_GA.
i tried to delete the jboss-saaj.jar from the default/lib folder and put the
saaj*.jar into it, but it doenst work...
any ideas?
axel
--
View this message in context: http://www.nabble.com/Using-Client-in-WebApplication-%28JBoss%29-tf4476129.html#a12763083
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Using Client in WebApplication (JBoss)
Posted by Daniel Kulp <dk...@apache.org>.
Is there any furtur information down the stack trace? It would be nice
if it could say it couldn't create it due to a class not found or
something.
You might want to put the jboss-saaj stuff back and then remove ours.
That might work.
Dan
On Wednesday 19 September 2007, Axel Becker wrote:
> It doenst work too :-(
>
> Willem2 wrote:
> > How about try to put the saaj*.jar to the jboss lib's endorsed
> > directory?
> >
> > Willem.
> >
> > Axel Becker wrote:
> >> Hello,
> >>
> >> i wrote a small webapplikation to display some small webservice
> >> results.
> >>
> >> but on the first call i got these error
> >>
> >> javax.xml.ws.WebServiceException: Cannot create SAAJ factory
> >> instance.
> >>
> >> org.apache.cxf.jaxws.binding.soap.SOAPBindingImpl.getSOAPFactory(SO
> >>APBindingImpl.java:118)
> >> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:
> >>151) $Proxy142.test(Unknown Source)
> >> de.beckercoding.prod.aec.web.MenuForm.execute(MenuForm.java:16)
> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
> >>l.java:39)
> >>
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
> >>essorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)
> >>
> >> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(Defaul
> >>tActionInvocation.java:404)
> >>
> >> i'm using jboss JBoss_4_2_1_GA.
> >>
> >> i tried to delete the jboss-saaj.jar from the default/lib folder
> >> and put the
> >> saaj*.jar into it, but it doenst work...
> >>
> >> any ideas?
> >> axel
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: Using Client in WebApplication (JBoss)
Posted by Axel Becker <ax...@becker-coding.de>.
It doenst work too :-(
Willem2 wrote:
>
> How about try to put the saaj*.jar to the jboss lib's endorsed directory?
>
> Willem.
> Axel Becker wrote:
>> Hello,
>>
>> i wrote a small webapplikation to display some small webservice results.
>>
>> but on the first call i got these error
>>
>> javax.xml.ws.WebServiceException: Cannot create SAAJ factory instance.
>>
>> org.apache.cxf.jaxws.binding.soap.SOAPBindingImpl.getSOAPFactory(SOAPBindingImpl.java:118)
>> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:151)
>> $Proxy142.test(Unknown Source)
>> de.beckercoding.prod.aec.web.MenuForm.execute(MenuForm.java:16)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> java.lang.reflect.Method.invoke(Method.java:585)
>>
>> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
>>
>> i'm using jboss JBoss_4_2_1_GA.
>>
>> i tried to delete the jboss-saaj.jar from the default/lib folder and put
>> the
>> saaj*.jar into it, but it doenst work...
>>
>> any ideas?
>> axel
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Using-Client-in-WebApplication-%28JBoss%29-tf4476129.html#a12777391
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Using Client in WebApplication (JBoss)
Posted by Willem Jiang <ni...@iona.com>.
How about try to put the saaj*.jar to the jboss lib's endorsed directory?
Willem.
Axel Becker wrote:
> Hello,
>
> i wrote a small webapplikation to display some small webservice results.
>
> but on the first call i got these error
>
> javax.xml.ws.WebServiceException: Cannot create SAAJ factory instance.
>
> org.apache.cxf.jaxws.binding.soap.SOAPBindingImpl.getSOAPFactory(SOAPBindingImpl.java:118)
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:151)
> $Proxy142.test(Unknown Source)
> de.beckercoding.prod.aec.web.MenuForm.execute(MenuForm.java:16)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
>
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
>
> i'm using jboss JBoss_4_2_1_GA.
>
> i tried to delete the jboss-saaj.jar from the default/lib folder and put the
> saaj*.jar into it, but it doenst work...
>
> any ideas?
> axel
>
>