Hi!

I have an annoying problem here:

I used wsdl2java to create a stub for the following service:

public class GetXmlService {

    public String getXml(String xml) {
        //do sometthing
        return testReplyXml = "..some xml";
    }

}


then I used the following embedded server implementation:



ConfigurationContext context = ConfigurationContextFactory
        .createConfigurationContextFromFileSystem(null, null);
Map mrMap = new HashMap();
mrMap.put("http://www.w3.org/2004/08/wsdl/in-out";,
RPCMessageReceiver.class.newInstance());
AxisService service = AxisService.createService(GetXmlService.class
        .getName(), context.getAxisConfiguration(), mrMap, "",
        "http://ws.apache.org/axis2";, GetXmlService.class
        .getClassLoader());
context.getAxisConfiguration().addService(service);
SimpleHTTPServer server = new SimpleHTTPServer(context, 8080);
        server.start();


the error I get is this:

org.apache.axis2.AxisFault: Message Receiver not found for AxisOperation: getXml
        at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
        at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
...


is something wrong with my configuration?

please help

greetings,
arash


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to