[JBossWS] - wsprovide & packages with multiple services
by pmckeown
Hi all, I've been searching the forums and not been able to find any posts regarding this issue and I'm new to JBoss so apologies if this has been previously covered.
I'm attempting to expose the business layer of our application as Web Services. As the business layer has already been written, and is used by other parts of the application, one of the requirements of this project is that it doesn't change, so I'm tasked with only using annotations to mark up our code, to create the Web Services.
However, I'm running into an issue when I expose 2 services in the same package. ServiceX and ServiceY both have a create() method that take an XTransferObject and a YTransferObject as parameters. However, when the wsdl and proxy classes are created by wsprovide, the first service's generated code (com.mypackage.jaxws.Create.java) is being overwritten by the second service's generated code as both method's are named the same.
My question is, is there any way to easily alter the code generated by wsprovide, so that it either
a) names the created classes using both the class and method names, i.e.
com.mypackage.jaxws.ServiceX_Create.java and com.mypackage.jaxws.ServiceY_Create.java
or
b) names the package using the annotated class name, such as com.mypackage.servicex instead of com.mypackage.jaxws
or
c) something else....
Any help would be greatly appreciated.
Thanks,
Paul
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218530#4218530
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218530
17 years, 3 months
[JBoss Messaging] - jms over port 80
by mendret
hello all,
i'm trying to configure JBoss 5.0.1.GA so that it only uses port 80 and http for the whole client-server communication. But I haven't figured out how to do this for messaging, in jboss 4.x it was possible to simply add
| <attribute name="URLPrefix">http://</attribute>
| <attribute name="URLPort">80</attribute>
| <attribute name="UseHostName">false</attribute>
|
to the jboss-service.xml in /jms/jbossmq-httpil.sar/META-INF
in jboss 5.0.1.GA there is no such file, but i'm quite sure that it is still possible to do this. if i change the port for messaging in the bindings.xml to 80 i get the following, understandable error
| address already in use 127.0.0.1:80
|
well i was quite sure that that won't work but gave it at least a try.
does anyone know a possible way to do this?
thanks for any help you can give me
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218529#4218529
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218529
17 years, 3 months