[JBoss jBPM] - Please help~~problem when invoking bpel process~~
by sim912
Hi,
I am developing a web service using java web service developer pack. And i am going to deploy it to jboss server.
I have an operation booking() which intake two parameters(int) and return two values.
I have a wsdl file for this web service.
In wsdl file,
after compile the web service using wscompile. It created the endpoint interface called WSPT.java
In WSPT.java:
public interface WSPT extends java.rmi.Remote{
public void booking(int id, int p, StringHolder client, StringHolder time){
return;
}
Can anyone tell me why the return type is void. And how i can return the two strings response using soap message. since at final stage, i will deploy web services as bpel process.
In Booking.bpel:
...
<reply operation="booking" variable="OutputResponse" partener link="caller" portType="tns:WSTP />
....
after deploy to jboss, when i invoke the web service operation booking(), it throws an WSException, It said cannot find java method booking
The details of exeception is:
[SOAPFaultExceptionHelper] SOAP request exceptiom
org.jboss.ws.WSException: cannot find java method: booking
at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:211)
........
So can anyone tell me how to return two values for one operation in this case? and why the return type in interface is void? and Why the response variable place in the parameters of booking()?
public void booking(int id, int p, StringHolder client, StringHolder time)
Thanks a lot!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132038#4132038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132038
16 years, 8 months
[EJB/JBoss] - Re: Too many open files exception JBOSS 4.2
by ajayks
Hello JaiKiran,
Thanks for the reply.
I am using JDK1.5 of SunMicrosystem and the version of JBOSS I have used is 4.2.2.GA.
The following are the stack trace for the exception I have got:-
11:10:22,744 WARN [UILServerILService] Failed to setup client connection
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:159)
at java.lang.Thread.run(Thread.java:595)
11:10:22,747 INFO [STDOUT] exception:Cannot authenticate user; - nested throwable: (java.io.EOFException)
11:10:22,750 WARN [UILServerILService] Failed to setup client connection
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:159)
at java.lang.Thread.run(Thread.java:595)
11:10:22,751 INFO [STDOUT] exception:Cannot authenticate user; - nested throwable: (java.io.EOFException)
I have found after getting above error the AS statas throwing same error whenever client tries to call EJB deployed in JBOSS.
I think there is some configuration issue either at OS level or JBOOS level
like how many file/ports can be opened by the J2EE application.
Thanks to give me solution of my problem.
with regards,
Ajay Kumar
Technical Leader,
STMicroelctronics.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132034#4132034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132034
16 years, 8 months
[JBossWS] - JbossWs for Jboss 4.0.5 and JDK1.4
by tami
Hi ,
I am using Jboss 4.0.5,and JDK 1.4 environment in my project to develop a Jboss Web Service Client. The Client code involves Jboss Ws Eventing and Ws Addressing fundas.Following Jars JBOSSWS14-Core.jar,JBOSS-JAXWS14.jar,JBOSSWS14-Client.jar,JAXAPI-jar were included in the path.
The code gets compiled successfuly but at run time its giving an Exception java.noclassdeffound Error for "javax.xml.bind.annotation.XmlAccessType".
The above package is newly added in JAXB-API.jar of JAXB2.0/JWSDP2.0 which uses JDK1.5. JAXB-API.jar of JAXB1.0 is compiled with JDK1.4 but it does not have the above package.But My project uses Jdk1.4 and I have downloaded all JBossws14 jars from Jbossws1.2.0Sp1.zip which uses JDK1.4.
I wonder then how the jar refers to a package "javax.xml.bind.annotation.XmlAccessType" which is present in JAXB-API.jar compiled with Jdk1.5. Is there any way to Use JBossws with Jdk1.4??Please help with an answer.
Thanks in Advance,
tami
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132029#4132029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132029
16 years, 8 months