[Tomcat, HTTPD, Servlets & JSP] - Re: Exception in the Lookup Operation
by snejboss
Thanks for your reply.
I was deploying both ear and war files in deploy directory of jboss both of remote/home interfaces are packed in these two files. so i removed war file and deployed only ear file. it contains both war and jar files. now i am getting following error. could you please have a look at it.
javax.servlet.ServletException: Lookup of Fibo failed
jbosstut.web.ComputeServlet.init(ComputeServlet.java:54)
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Thread.java:797)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981191#3981191
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981191
19 years, 6 months
[JBossWS] - Re: Are Axis client calls to JBossWS @WebService services su (Repost)
by jlselsewh
"heiko.braun(a)jboss.com" wrote : Well, the Axis implementation might not follow standards, still the messages on the wire need to. Could you provide some more detailed error description, i.e. stacktrace, log output?
OK, here's the details.
The web service in JBoss 4.0.4.GA/JBossWS 1.0.2.GA looks like this.
It's basically a simple method that takes two strings as parameters.
// JSR-181 annotations
@WebService(name="AarEndpointInterface",
targetNamespace="http://service.bar.foo.com/Aar",
serviceName="AarService")
@SOAPBinding(style=SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL)
// EJB3 annotations
@Remote(AarEJB3RemoteInterface.class)
@Stateless
// JBoss annotations
@RemoteBinding(jndiBinding = "/webservice/bar/Aar")
public class Aar implements AarEJB3RemoteInterface {
@WebMethod
public boolean func(
String firstInfo,
String messageText)
{ ...
The Axis 1.2-based client makes a call, which sends in this SOAP envelope,
as shown in the JBoss server.log:
2006-08-18 09:21:14,000 DEBUG [jbossws.SOAPMessage] Incomming SOAPMessage
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<soapenv:Header/>
<soapenv:Body>
<ns1:func soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:ns1='http://service.bar.foo.com/Aar'>
<ns1:arg0 xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:string'>fff</ns1:arg0>
<ns1:arg1 xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:string'>g6</ns1:arg1>
</ns1:func>
</soapenv:Body>
</soapenv:Envelope>
2006-08-18 09:21:14,000 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {http://service.bar.foo.com/Aar}func
2006-08-18 09:21:14,000 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindRequestMessage: {http://service.bar.foo.com/Aar}func
2006-08-18 09:21:14,000 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Cannot find child element: String_1,actor=null,detail=null]^M
2006-08-18 09:21:14,000 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: Cannot find child element: String_1
at org.jboss.ws.binding.soap.SOAPBindingProvider.getParameterFromMessage(SOAPBindingProvider.java:777)
at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindRequestMessage(SOAPBindingProvider.java:236)
at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:112)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:219)
at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
...
The "Cannot find child element: String_1" exception is thus propogated
back to the Axis client.
thanks again,
J.L.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966117#3966117
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966117
19 years, 6 months