[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5870) Cannot create JbossWS service with client enabled
David Ward (JIRA)
jira-events at lists.jboss.org
Thu Feb 18 12:12:09 EST 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515242#action_12515242 ]
David Ward commented on JBIDE-5870:
-----------------------------------
I looked at what Brian sent me, and I have a fix. Basically, you need to add a META-INF/application.xml to the ear file, and define a context path for the war. If you don't, the URL for WSDL defaults to this:
http://127.0.0.1:8080/JBIDE1105WSEAR-JBIDE1105WS/JbossWS?wsdl
when it really needs to be this:
http://127.0.0.1:8080/JBIDE1105WS/JbossWS?wsdl
So, the fix, as I mentioned above, is to add a META-INF/application.xml to the ear file like specificying the context path:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
<display-name>JBIDE1105WS</display-name>
<module>
<web>
<web-uri>JBIDE1105WS.war</web-uri>
<context-root>/JBIDE1105WS</context-root>
</web>
</module>
</application>
Hope this helps,
David
> Cannot create JbossWS service with client enabled
> -------------------------------------------------
>
> Key: JBIDE-5870
> URL: https://jira.jboss.org/jira/browse/JBIDE-5870
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Webservices
> Affects Versions: 3.1.0.CR1
> Reporter: Libor Zoubek
> Priority: Critical
> Fix For: 3.1.0.CR2
>
> Attachments: JbossWS.java
>
>
> creation of new JbossWS cannot be finished when
> Steps to reproduce :
> 1. Create new Dynamic project
> 2. Create new class with javax.jws annotations or use the attached one
> 3. Create new JbossWS based web service : New -> Other -> Web Service
> 3.1. Service implementation:select your class
> 3.2. Web service runtime: JbossWS
> 3.3. Client type : java Proxy, move slider to 'Develop client' or above
> 4. Finish or Next, does not matter if you check anything there
> 5. You get a MessageBox telling : Selection must be WSDL.
> 6. WSDL seems to get published, web service seems too, but one can' test it
> btw: How can I retrieve WSDL from jboss as? Jboss-as does not say something like : 'New service is deployed, wsdl is here'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list