Hi all.
I'm trying to develop a JAX-WS web service based on stateless session bean (EJB
3.0). I'm using the document/literal/wrapped style.
The JBoss-generated WSDL is only partially ok with Visual Studio. In fact, with
the JBoss WSDL, Visual Studio generates methods like this:
createPersonResponse createPerson(createPerson createPerson1)
Instead of the desired:
int createPerson(String name)
It does not "unwrapws" the parameters and return values.
Deploying the same application on Glassfish generates a WSDL which is 100% ok
with Visual Studio.
I noticed that with manually-modifing WSDL, changing the following lines (i
removed the angled brackets for this post...):
message name='PeopleManagerWeb_personExistsResponse
part element='tns:personExistsResponse' name='result'
message
To:
message name='PeopleManagerWeb_personExistsResponse'
part element='tns:personExistsResponse' name='parameters'
message
Solves the problem.
I suppose that JBoss should adhere to this convention ('parameters' instead of
'result', even for output messages).
Do you know any workaround for fixing this with annotations or configuration
files?
Andrea
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938812#3938812
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938812
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user