You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2012/12/10 15:41:22 UTC
[jira] [Commented] (CXF-4325) ws?js not working with Spring based
config in JBoss 7.1
[ https://issues.apache.org/jira/browse/CXF-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527963#comment-13527963 ]
Alessio Soldano commented on CXF-4325:
--------------------------------------
Timothy, I actually did no testing of the js support in JBoss integration with Apache CXF, however I'd like to ask you to confirm/clarify few info on your environment: are you actually using JBoss AS 7.1 ? asking as that does not come with CXF 2.5.2 and does not have common/lib folder (btw AS 7.1 classloading mechanism is modular, not hierarchical as it was in former AS versions)
> ws?js not working with Spring based config in JBoss 7.1
> -------------------------------------------------------
>
> Key: CXF-4325
> URL: https://issues.apache.org/jira/browse/CXF-4325
> Project: CXF
> Issue Type: Bug
> Components: JavaScript Client, JAX-WS Runtime
> Affects Versions: 2.6
> Environment: Linux + JBoss 7.1
> project in Netbeans 7.1.2. Simple WAR (clean project)
> Reporter: Timothy Heider
> Priority: Minor
> Fix For: NeedMoreInfo
>
>
> I have everything working except for the one thing I really want: ?js code rendering. It returns this:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>
> No such operation: null (HTTP GET PATH_INFO: /pbx/pbxnull)
> </faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> which is the same as if the JS wasn't hooked in at all.
> Here is my beans.xml file:
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:jaxws="http://cxf.apache.org/jaxws"
> xmlns:jaxrs="http://cxf.apache.org/jaxrs"
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://cxf.apache.org/jaxws
> http://cxf.apache.org/schemas/jaxws.xsd
> http://cxf.apache.org/jaxrs
> http://cxf.apache.org/schemas/jaxrs.xsd">
>
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> <import resource="classpath:META-INF/cxf/cxf-extension-javascript-client.xml"/>
> <jaxws:endpoint id="pbx"
> implementor="realise.pbx.core.PbxCoreImpl"
> address="/pbx"/>
> </beans>
> I am able to get wsdl's by ?wsdl and execute services using JaxWsProxyFactoryBean.
> The beverages sample works with the same jar's to generate JS so I know the feature works. I'm somewhat baffled. I built the 2.6.0 source today but I thought before I dig in too much more I would see if you knew about something like this already being a problem.
> Thanks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira