[jboss-user] [JBossWS] - does not contain operation meta data for: String_1

cingram do-not-reply at jboss.com
Fri Jul 28 09:47:40 EDT 2006


Hi all! 

I am trying to use TrivialService provided from the jbossws-samples-1.0.1.GA

When I call the service I am getting TrivialServicePort does not contain operation meta data for: String_1

Any ideas as to why? Configuration?

partial stack trace

09:31:38,625 ERROR [SOAPFaultExceptionHelper] SOAP request exception
  | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/samples/rpcstyle}
  | TrivialServicePort does not contain oeration meta data for: String_1
  | at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:181)
  | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:107)
  | 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)
  | 

The wsdl 

<?xml version="1.0" encoding="UTF-8"?>
  | <definitions name="SampleService" 
  | targetNamespace="http://org.jboss.ws/samples/rpcstyle" 
  | xmlns:tns="http://org.jboss.ws/samples/rpcstyle" 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  | xmlns="http://schemas.xmlsoap.org/wsdl/">
  | 
  |   <types>
  |   </types>
  |   <message name="TrivialService_purchaseResponse">
  |     <part name="result" type="xsd:string"/>
  |   </message>
  |   <message name="TrivialService_purchase">
  |     <part name="String_1" type="xsd:string"/>
  |     <part name="String_2" type="xsd:string"/>
  |   </message>
  |   <portType name="TrivialService">
  |     <operation name="purchase" parameterOrder="String_1 String_2">
  |       <input message="tns:TrivialService_purchase"/>
  |       <output message="tns:TrivialService_purchaseResponse"/>
  |     </operation>
  |   </portType>
  |   <binding name="TrivialServiceBinding" type="tns:TrivialService">
  |     <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="purchase">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal" namespace="http://org.jboss.ws/samples/rpcstyle"/>
  |       </input>
  |       <output>
  |         <soap:body use="literal" namespace="http://org.jboss.ws/samples/rpcstyle"/>
  |       </output>
  |     </operation>
  |   </binding>
  |   <service name="SampleService">
  |     <port name="TrivialServicePort" binding="tns:TrivialServiceBinding">
  |       <soap:address location="http://localhost:8080/jbossws-samples-rpcstyle"/>
  |     </port>
  |   </service>
  | </definitions>

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

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



More information about the jboss-user mailing list