[JBossWS] - Re: jbossws-2.0.2 released
by dschlenk
Trying to install on jboss 4 isn't working:
| [root@portaldev jbossws-native-2.0.2.GA]# ant deploy-jboss405
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss405:
| [delete] Deleting 8 files from /opt/jboss-portal-ha-2.4.1/bin
| [delete] Deleting 16 files from /opt/jboss-portal-ha-2.4.1/client
| [delete] Deleting 5 files from /opt/jboss-portal-ha-2.4.1/server/all/lib
| [delete] Deleting directory /opt/jboss-portal-ha-2.4.1/server/all/deploy/jbossws.sar
| [delete] Deleting directory /opt/jboss-portal-ha-2.4.1/server/all/deploy/juddi-service.sar
| [delete] Deleting 3 files from /opt/jboss-portal-ha-2.4.1/client
| [delete] Deleting 3 files from /opt/jboss-portal-ha-2.4.1/server/all/lib
|
| deploy-jboss405-ejb3:
| [unzip] Expanding: /root/jbossws-native-2.0.2.GA/lib/jbossws-core-scripts.zip into /opt/jboss-portal-ha-2.4.1/bin
| [copy] Copying 18 files to /opt/jboss-portal-ha-2.4.1/client
| [copy] Copying 1 file to /opt/jboss-portal-ha-2.4.1/lib
| [copy] Copying 6 files to /opt/jboss-portal-ha-2.4.1/server/all/lib
| [mkdir] Created dir: /opt/jboss-portal-ha-2.4.1/server/all/deploy/jbossws.sar
| [unjar] Expanding: /root/jbossws-native-2.0.2.GA/lib/jbossws-native40.sar into /opt/jboss-portal-ha-2.4.1/server/all/deploy/jbossws.sar
| [mkdir] Created dir: /opt/jboss-portal-ha-2.4.1/server/all/deploy/juddi-service.sar
| [unzip] Expanding: /root/jbossws-native-2.0.2.GA/lib/juddi-service.sar into /opt/jboss-portal-ha-2.4.1/server/all/deploy/juddi-service.sar
| [unzip] Expanding: /root/jbossws-native-2.0.2.GA/lib/jbossws-framework-scripts.zip into /opt/jboss-portal-ha-2.4.1/bin
| [copy] Copying 3 files to /opt/jboss-portal-ha-2.4.1/client
| [copy] Copying 3 files to /opt/jboss-portal-ha-2.4.1/server/all/lib
|
| deploy-jboss405-no-ejb3:
|
| BUILD FAILED
| /root/jbossws-native-2.0.2.GA/build/build-deploy.xml:26: Could not create task or type of type: macro-setup-native40-no-ejb3.
|
| Ant could not find the task or a class this task relies upon.
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108132#4108132
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108132
16 years, 6 months
[JBossWS] - Re: returning array undefined in web service
by mckeno
The code looks messy, but I can't find the edit functionality in this forum ??!!?? so I did a re post....
-------------
Hi all I am having this problem, not sure whether it is related to jboss web service or the client site application:
I am writing a web service inside EJB container:
| @Stateless
| @WebService(name = "Mojo", targetNamespace = "http://myservice.com/services", serviceName = "CoolService")
| @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
| public class MyWebService {
|
| @WebMethod
| @WebResult
| public int[] getNumber(@WebParam(name = "userName") String sth) {
| int[] number = new int[3];
| number[0] = 7;
| number[1] = 2;
| number[2] = 3;
|
| log.info("ARRAY METHOD CALLED " + number.length);
| return number;
| }
|
| @WebMethod
| @WebResult
| public int getNum(int param) {
| int result = param + 2;
| return result ;
| }
|
| }
The getNum() method works fine, but the getNumber() always return undefined result(I am calling the web service using Web Sevice Connector in Flash application). So I am wondering whether I need any specific annotation for the array returning methods?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107929#4107929
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107929
16 years, 6 months