Hi, I have deployed Apache axis on JBoss3.0.7 app server. I deployed your Message sample(in axis1-1\samples\message). It worked perfectly. But i was not able to understand it. So i tweaked it a bit. First in the client i added System.out.println(call.getTargetEndpointAddress()+" : " + call.getOperation()+ " : " + call.getSOAPActionURI()); here the getOperation returned null...how does axis identify the target method if this is null?
Again i tweaked the service class..MessageService.class
i added a method to it
public Element[] echoElementsOneMore(Element [] elems) {
DOMImplementationImpl treeBuilder = new DOMImplementationImpl();
Document request = treeBuilder.createDocument("urn:tp","tp",null);
Element[] root = new Element[1];
root[0]=request.getDocumentElement();
return root;
}
and exposed this meth also as a service.
I am then getting a fault.
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Couldnt find an appropriate operation for XML QName {0}
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Couldnt find an appropriate operation for XML QName {0}
faultActor:
faultNode:
faultDetail:
Can anyone throw light on how messaging works in axis....any article?
also is this type of service accessible from other SOAP
implementations...like Microsoft.net etc..?
Regards,
Vinod.
<<attachment: winmail.dat>>
