[
https://issues.jboss.org/browse/JBDS-3461?page=com.atlassian.jira.plugin....
]
Brian Fitzpatrick commented on JBDS-3461:
-----------------------------------------
It appears that the WSDL has to be created before the Client can be generated.
1. Create a dynamic web project, add to an EAR, generate web.xml
2. Create a sample web service using the sample web service wizard
3. Fire up the Web Service wizard, select bottom-up service with the sample service from
previous step as implementation
4. Select JBossWS web service runtime, eg. Wildfly as server.
5. Click Next. Check "Generate WSDL file"
6. Click Finish. Let it do its thing.
7. The generated "SayHelloResponse" for me was invalid. I had to change it to
make it ok.
8. Re-run the WS wizard and generate the WSDL again. It gets created this time.
9. Fire up the Web Service Client wizard, select WSDL we created in previous step.
10. Select JBossWS web service runtime, eg. Wildfly as server.
11. Click Finish. No error.
So there's a workaround. I'm not sure why the response class is being generated
with an error, but suspect that's what's holding up the WSDL creation and not
allowing us to do this all in one go.
But at least there's a workaround.
Creating bottom-up web service with a client result in error
------------------------------------------------------------
Key: JBDS-3461
URL:
https://issues.jboss.org/browse/JBDS-3461
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: webservices
Affects Versions: 9.0.0.Beta1
Reporter: Jan Richter
Assignee: Brian Fitzpatrick
When creating a bottom-up web service along with a client using the web service wizard,
it will create the service, but on the next step it throws an error saying: 'Selection
must be WSDL.'
Note, this does not happen in Eclipse with JBT 4.3.0.Beta1.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)