R
R
RVK2011-10-28 16:20:19
Java
RVK, 2011-10-28 16:20:19

soap not connecting in Resin 4.0.x?

If you read the documentation, then everything is simple, you just need to specify the protocol in the config, and use it.

&lt;servlet-mapping url-pattern=&quot;/my_soap_service&quot; servlet-class=&quot;org.bms.paymentws.MySoapService&quot;&gt;<br/>
 &lt;protocol uri=&quot;cxf:&quot; /&gt;<br/>
&lt;/servlet-mapping&gt;

But reality does not correspond to reality, it is assembled normally, but when you try to contact the service, it writes
WEB-INF/web.xml:5: com.caucho.config.cfg.BeanConfig.setUri(): 'cxf' is<br/>
an unknown scheme for driver 'com.caucho.remote.server.ProtocolServletFactory'.<br/>
The available schemes are '[<b>burlap, hessian</b>]'<br/>
<br/>
3: <br/>
4: &lt;servlet-mapping url-pattern=&quot;/my_soap_service&quot; servlet-class=&quot;org.bms.paymentws.MySoapService&quot;&gt;<br/>
5: &lt;protocol uri=&quot;cxf:&quot;/&gt;<br/>
6: &lt;/servlet-mapping&gt;<br/>
7: &lt;session-config&gt;

That is, the cxf protocol for Rezin is unknown. Digging around, you can find the resin-cxf-4.0.23.jar library in project-jars, but trying to include it in the project somehow does not change anything.
Who faced, tell me how to connect this protocol, what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question