Opa, pessoal, td bem?
Do lado do servidor na hora de implementar o RentalServiceRPC_Impl,
por exemplo, o método findMovieById(int id) é feito dessa forma:
public VideoRentalStore.webservice.gen.MovieInfo findMovieById(int id)
throws
VideoRentalStore.webservice.gen.NotFoundExceptionType,
java.rmi.RemoteException {
VideoRentalStore.webservice.gen.MovieInfo _retVal = null;
Context initialContext;
try {
initialContext = new InitialContext();
VideoRentalStoreService service =(VideoRentalStoreService)
initialContext.lookup("java:comp/env/service/videorental");
RentalServiceRPC port =
(RentalServiceRPC)service.getRentalServiceRPCPort();
_retVal = port.findMovieById(id);
} catch (NamingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}catch (ServiceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return _retVal;
}
porque está dando um erro
no jboss nessa linha
VideoRentalStoreService service =(VideoRentalStoreService)
initialContext.lookup("java:comp/env/service/videorental");
javax.naming.NameNotFoundException:service not bound
e o log do server aparece:
2006-06-15 18:30:08,203 DEBUG [org.jboss.ws.server.ServiceEndpointServlet]
doPost: /videorental/rentalservicerpc
2006-06-15 18:30:08,250 DEBUG [org.jboss.ws.soap.MessageContextAssociation]
pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@22b8ff
2006-06-15 18:30:08,250 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN
handleRequest: jboss.ws:di=videorental.sar/videorental.war
,service=VideoRentalStoreService,port=RentalServiceRPCPort
2006-06-15 18:30:08,250 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init
handler chain with [0] handlers
2006-06-15 18:30:08,250 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl]
Create a handler chain for roles: []
2006-06-15 18:30:08,250 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl]
init: [config=null]
2006-06-15 18:30:08,312 DEBUG [org.jboss.ws.soap.MessageFactoryImpl]
createMessage: [contentType=text/xml; charset=UTF-8]
2006-06-15 18:30:08,406 DEBUG [org.jboss.ws.soap.SOAPContentElement]
setXMLFragment: <id>1</id>
2006-06-15 18:30:08,421 DEBUG [org.jboss.ws.server.ServiceEndpoint]
Incomming SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:findMovieById xmlns:ns1='http://www.ime.usp.br/SOD06'>
<id>1</id>
</ns1:findMovieById>
</env:Body>
</env:Envelope>
2006-06-15 18:30:08,437 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher]
getDispatchDestination: {http://www.ime.usp.br/SOD06}findMovieById
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider]
unbindRequestMessage: {http://www.ime.usp.br/SOD06}findMovieById
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.binding.EndpointInvocation]
setRequestParamValue: [name=id,value=org.jboss.ws.soap.SOAPContentElement]
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.metadata.OperationMetaData]
Found java method: public abstract VideoRentalStore.webservice.gen.MovieInfo
VideoRentalStore.webservice.gen.RentalServiceRPC.findMovieById(int) throws
VideoRentalStore.webservice.gen.NotFoundExceptionType,
java.rmi.RemoteException
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.metadata.OperationMetaData]
Compare method params by type name: true
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.metadata.OperationMetaData]
Matched parameter: int == int
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.metadata.OperationMetaData]
Found best matching java method: public abstract
VideoRentalStore.webservice.gen.MovieInfo
VideoRentalStore.webservice.gen.RentalServiceRPC.findMovieById(int) throws
VideoRentalStore.webservice.gen.NotFoundExceptionType,
java.rmi.RemoteException
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.server.ServiceEndpointInvokerJSE]
invokeServiceEndpoint: findMovieById
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.binding.EndpointInvocation]
getRequestPayload
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.binding.EndpointInvocation]
getRequestParamValue: id
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.soap.SOAPContentElement]
getObjectValue [xmlType={http://www.w3.org/2001/XMLSchema}int,javaType=int]
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.soap.SOAPContentElement]
getXMLFragment from DOM
2006-06-15 18:30:08,453 DEBUG [org.jboss.ws.soap.SOAPContentElement]
xmlFragment: <id>1</id>
2006-06-15 18:30:08,453 DEBUG [
org.jboss.ws.jaxrpc.encoding.SimpleDeserializer] deserialize:
[xmlName=id,xmlType={http://www.w3.org/2001/XMLSchema}int]
2006-06-15 18:30:08,468 DEBUG [org.jboss.ws.soap.SOAPContentElement]
objectValue: java.lang.Integer
2006-06-15 18:30:08,468 DEBUG [org.jboss.ws.binding.EndpointInvocation]
transformPayloadValue: org.jboss.ws.soap.SOAPContentElement ->
java.lang.Integer
2006-06-15 18:30:08,468 DEBUG [org.jboss.ws.binding.EndpointInvocation]
syncEndpointInputParam: java.lang.Integer -> java.lang.Integer
2006-06-15 18:30:08,468 ERROR [STDERR] javax.naming.NameNotFoundException:
service not bound
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.server.NamingServer.lookup(NamingServer.java:270)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
2006-06-15 18:30:08,468 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialContext.java:351)
2006-06-15 18:30:08,468 ERROR [STDERR] at
VideoRentalStore.webservice.gen.RentalServiceRPC_Impl.findMovieById
(RentalServiceRPC_Impl.java:81)
2006-06-15 18:30:08,468 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-06-15 18:30:08,468 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
2006-06-15 18:30:08,468 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
2006-06-15 18:30:08,468 ERROR [STDERR] at java.lang.reflect.Method.invoke(
Method.java:585)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(
ServiceEndpointInvokerJSE.java:95)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpointInvoker.invoke(
ServiceEndpointInvoker.java:118)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpointServlet.doPost(
ServiceEndpointServlet.java:120)
2006-06-15 18:30:08,468 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2006-06-15 18:30:08,468 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:96)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
SecurityAssociationValve.java:175)
2006-06-15 18:30:08,468 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:74)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
2006-06-15 18:30:08,484 ERROR [STDERR] at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
MasterSlaveWorkerThread.java:112)
2006-06-15 18:30:08,484 ERROR [STDERR] at java.lang.Thread.run(Thread.java
:595)
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.binding.EndpointInvocation]
setReturnValue: null
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider]
bindResponseMessage: {http://www.ime.usp.br/SOD06}findMovieById
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.binding.EndpointInvocation]
getReturnValue
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.binding.EndpointInvocation]
transformPayloadValue: null -> null
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.soap.SOAPContentElement]
setObjectValue: null
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.binding.EndpointInvocation]
setReturnValue: org.jboss.ws.soap.SOAPContentElement
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.soap.SOAPContentElement]
getXMLFragment from Object [xmlType={
http://www.ime.usp.br/SOD06}MovieInfo,javaType=class
VideoRentalStore.webservice.gen.MovieInfo]
2006-06-15 18:30:08,484 DEBUG [
org.jboss.ws.jaxrpc.encoding.NullValueSerializer] serialize:
[xmlName=result,xmlType={http://www.ime.usp.br/SOD06}MovieInfo]
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.soap.SOAPContentElement]
xmlFragment: <result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:nil='1'/>
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.server.ServiceEndpoint] Outgoing
SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:findMovieByIdResponse xmlns:ns1='http://www.ime.usp.br/SOD06'>
<result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:nil='1'/>
</ns1:findMovieByIdResponse>
</env:Body>
</env:Envelope>
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.server.ServiceEndpoint] END
handleRequest: jboss.ws:di=videorental.sar/videorental.war
,service=VideoRentalStoreService,port=RentalServiceRPCPort
2006-06-15 18:30:08,484 DEBUG [org.jboss.ws.soap.MessageContextAssociation]
popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@22b8ff
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.server.ServiceEndpointServlet]
doPost: /videorental/rentalservicerpc
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.MessageContextAssociation]
pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@f4b65d
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN
handleRequest: jboss.ws:di=videorental.sar/videorental.war
,service=VideoRentalStoreService,port=RentalServiceRPCPort
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.MessageFactoryImpl]
createMessage: [contentType=text/xml; charset=UTF-8]
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.SOAPContentElement]
setXMLFragment: <id>1</id>
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.server.ServiceEndpoint]
Incomming SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:findMovieById xmlns:ns1='http://www.ime.usp.br/SOD06'>
<id>1</id>
</ns1:findMovieById>
</env:Body>
</env:Envelope>
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher]
getDispatchDestination: {http://www.ime.usp.br/SOD06}findMovieById
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider]
unbindRequestMessage: {http://www.ime.usp.br/SOD06}findMovieById
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.binding.EndpointInvocation]
setRequestParamValue: [name=id,value=org.jboss.ws.soap.SOAPContentElement]
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.server.ServiceEndpointInvokerJSE]
invokeServiceEndpoint: findMovieById
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.binding.EndpointInvocation]
getRequestPayload
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.binding.EndpointInvocation]
getRequestParamValue: id
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.SOAPContentElement]
getObjectValue [xmlType={http://www.w3.org/2001/XMLSchema}int,javaType=int]
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.SOAPContentElement]
getXMLFragment from DOM
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.SOAPContentElement]
xmlFragment: <id>1</id>
2006-06-15 18:30:28,703 DEBUG [
org.jboss.ws.jaxrpc.encoding.SimpleDeserializer] deserialize:
[xmlName=id,xmlType={http://www.w3.org/2001/XMLSchema}int]
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.soap.SOAPContentElement]
objectValue: java.lang.Integer
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.binding.EndpointInvocation]
transformPayloadValue: org.jboss.ws.soap.SOAPContentElement ->
java.lang.Integer
2006-06-15 18:30:28,703 DEBUG [org.jboss.ws.binding.EndpointInvocation]
syncEndpointInputParam: java.lang.Integer -> java.lang.Integer
2006-06-15 18:30:28,703 ERROR [STDERR] javax.naming.NameNotFoundException:
service not bound
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.server.NamingServer.lookup(NamingServer.java:270)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
2006-06-15 18:30:28,703 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
2006-06-15 18:30:28,703 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialContext.java:351)
2006-06-15 18:30:28,703 ERROR [STDERR] at
VideoRentalStore.webservice.gen.RentalServiceRPC_Impl.findMovieById
(RentalServiceRPC_Impl.java:81)
2006-06-15 18:30:28,703 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-06-15 18:30:28,703 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
2006-06-15 18:30:28,703 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
2006-06-15 18:30:28,703 ERROR [STDERR] at java.lang.reflect.Method.invoke(
Method.java:585)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(
ServiceEndpointInvokerJSE.java:95)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpointInvoker.invoke(
ServiceEndpointInvoker.java:118)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.ws.server.ServiceEndpointServlet.doPost(
ServiceEndpointServlet.java:120)
2006-06-15 18:30:28,718 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2006-06-15 18:30:28,718 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:96)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
SecurityAssociationValve.java:175)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:74)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
2006-06-15 18:30:28,718 ERROR [STDERR] at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
MasterSlaveWorkerThread.java:112)
2006-06-15 18:30:28,718 ERROR [STDERR] at java.lang.Thread.run(Thread.java
:595)
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.binding.EndpointInvocation]
setReturnValue: null
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider]
bindResponseMessage: {http://www.ime.usp.br/SOD06}findMovieById
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.binding.EndpointInvocation]
getReturnValue
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.binding.EndpointInvocation]
transformPayloadValue: null -> null
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.soap.SOAPContentElement]
setObjectValue: null
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.binding.EndpointInvocation]
setReturnValue: org.jboss.ws.soap.SOAPContentElement
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.soap.SOAPContentElement]
getXMLFragment from Object [xmlType={
http://www.ime.usp.br/SOD06}MovieInfo,javaType=class
VideoRentalStore.webservice.gen.MovieInfo]
2006-06-15 18:30:28,718 DEBUG [
org.jboss.ws.jaxrpc.encoding.NullValueSerializer] serialize:
[xmlName=result,xmlType={http://www.ime.usp.br/SOD06}MovieInfo]
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.soap.SOAPContentElement]
xmlFragment: <result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:nil='1'/>
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.server.ServiceEndpoint] Outgoing
SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:findMovieByIdResponse xmlns:ns1='http://www.ime.usp.br/SOD06'>
<result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:nil='1'/>
</ns1:findMovieByIdResponse>
</env:Body>
</env:Envelope>
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.server.ServiceEndpoint] END
handleRequest: jboss.ws:di=videorental.sar/videorental.war
,service=VideoRentalStoreService,port=RentalServiceRPCPort
2006-06-15 18:30:28,718 DEBUG [org.jboss.ws.soap.MessageContextAssociation]
popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@f4b65d
Obrigado
Rodrigo