[
https://jira.jboss.org/jira/browse/JBIDE-5870?page=com.atlassian.jira.plu...
]
David Ward commented on JBIDE-5870:
-----------------------------------
Wow. Sorry I'm late coming back to the party.
The reason I suggested adding a foo.ear/META-INF/application.xml was so that you could
specify the context root of the war file, so that the URL to the WSDL is what is expected.
That was fine IMO, because I was told the problem only exists if the application
packaging was EAR.
However, if the application packaging is just WAR, then the name of the context root will
default to the name of the WAR file (minus the .war extension). However, if you don't
want that, all you have to do is add a foo.war/WEB-INF/jboss-web.xml and specify the
context root there, like so:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>bar</context-root>
</jboss-web>
So in the above, if the WAR was called "foo.war", having the above would mean
the URL would instead be
http://localhost:8080/bar/.
So basically, you don't have to have an EAR project just because you want to configure
the context root. Make sense?
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
Assignee: Feng Qian
Priority: Critical
Fix For: 3.1.0.CR2
Attachments: JbossWS.java, org.jboss.tools.ws.creation.patch
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