[jboss-user] [JBossWS] - Call invocation failed excepiton when invoking EJB3 WebServi

MmarcoM do-not-reply at jboss.com
Tue Oct 17 15:25:38 EDT 2006


hi all,
 i am exposing an EJB3 SLSB as WebServices....
when i call it i am receiving this exception:


  | Exception in thread "main" java.rmi.RemoteException: Call invocation failed with
  |  code [Client] because of: Endpoint {http://org.jboss.ws/ejb3ws}WSRemoteSEIPort
  | does not contain operation meta data for: {http://org.jboss.ws/samples/jsr181ejb
  | }testWebServiceMethod; nested exception is:
  |         javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/ejb
  | 3ws}WSRemoteSEIPort does not contain operation meta data for: {http://org.jboss.
  | ws/samples/jsr181ejb}testWebServiceMethod
  |         at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:713)
  |         at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
  |         at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
  |         at $Proxy0.testWebServiceMethod(Unknown Source)
  |         at ws.jboss.org.samples.jsr181ejb.WSFacadeTester.doTest(WSFacadeTester.j
  | ava:54)
  |         at ws.jboss.org.samples.jsr181ejb.WSFacadeTester.main(WSFacadeTester.jav
  | a:36)
  | Caused by: javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/
  | ejb3ws}WSRemoteSEIPort does not contain operation meta data for: {http://org.jbo
  | ss.ws/samples/jsr181ejb}testWebServiceMethod
  |         at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SO
  | APFaultExceptionHelper.java:100)
  |         at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(S
  | OAPBindingProvider.java:486)
  |         at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702)
  |         ... 5 more
  | 

my wsdl is as follows


  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions name='WSFacade' targetNamespace='http://org.jboss.ws/samples/jsr181ejb' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://core.j2me.mm.com/jaws' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jsr181ejb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
  |  <types>
  |   <schema targetNamespace='http://core.j2me.mm.com/jaws' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='http://org.jboss.ws/samples/jsr181ejb' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://core.j2me.mm.com/jaws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
  |    <import namespace='http://org.jboss.ws/samples/jsr181ejb'/>
  |    <complexType name='Agency'>
  |     <sequence>
  |      <element name='emailAddress' nillable='true' type='string'/>
  |      <element name='id' type='int'/>
  |      <element name='jobHunter' nillable='true' type='string'/>
  |      <element name='name' nillable='true' type='string'/>
  |      <element name='phoneNumber' nillable='true' type='string'/>
  |      <element name='site' nillable='true' type='string'/>
  |     </sequence>
  |    </complexType>
  |   </schema>
  |   <schema targetNamespace='http://org.jboss.ws/samples/jsr181ejb' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns1='http://core.j2me.mm.com/jaws' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/jsr181ejb' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
  |    <import namespace='http://core.j2me.mm.com/jaws'/>
  |    <complexType name='Agency.Array'>
  |     <sequence>
  |      <element maxOccurs='unbounded' minOccurs='0' name='value' nillable='true' type='ns1:Agency'/>
  |     </sequence>
  |    </complexType>
  |   </schema>
  |  </types>
  |  <message name='WSRemoteSEI_testWebServiceMethod'>
  |   <part name='arrayOfAgency_1' type='tns:Agency.Array'/>
  |  </message>
  |  <message name='WSRemoteSEI_testWebServiceMethodResponse'>
  |   <part name='result' type='tns:Agency.Array'/>
  |  </message>
  |  <portType name='WSRemoteSEI'>
  |   <operation name='testWebServiceMethod' parameterOrder='arrayOfAgency_1'>
  |    <input message='tns:WSRemoteSEI_testWebServiceMethod'/>
  |    <output message='tns:WSRemoteSEI_testWebServiceMethodResponse'/>
  |   </operation>
  |  </portType>
  |  <binding name='WSRemoteSEIBinding' type='tns:WSRemoteSEI'>
  |   <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
  |   <operation name='testWebServiceMethod'>
  |    <soap:operation soapAction=''/>
  |    <input>
  |     <soap:body namespace='http://org.jboss.ws/samples/jsr181ejb' use='literal'/>
  |    </input>
  |    <output>
  |     <soap:body namespace='http://org.jboss.ws/samples/jsr181ejb' use='literal'/>
  |    </output>
  |   </operation>
  |  </binding>
  |  <service name='WSFacade'>
  |   <port binding='tns:WSRemoteSEIBinding' name='WSRemoteSEIPort'>
  |    <soap:address location='http://WorldCorp:9080/ejbJ2me-app-1/TestFacade'/>
  |   </port>
  |  </service>
  | </definitions>
  | 


can anyone tell me why i am having this exception??

thanks and regars
 Marco

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978865#3978865

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978865



More information about the jboss-user mailing list