[Users] The [action] cannot be processed at the receiver

ticolucci ticolucci at gmail.com
Wed Mar 16 11:05:19 CET 2011


Hello,

I'm get started in the SOAP // Web Service // Compositions world, so I'm sorry if this question offends anyone with it's simplicity...

I have a simple set of orchestrations generated automatically with a ruby script. The client sends a foo msg to the first Node, that passes it to another Node, that invokes other Node and so on until a Leaf Node,  whom returns the same msg to its father, and so on again, until the msg returns to the client. 

My problem is that when I have 1 (one) Node and 1 (one) Leaf, it works perfectly, but with 2 (two) Nodes and 1(one) Leaf, it gives the following error:

Code:


<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode xmlns:wsa="http://www.w3.org/2005/08/addressing">wsa:ActionNotSupported</faultcode><faultstring>The [action] cannot be processed at the receiver.</faultstring><detail><Exception>org.apache.axis2.AxisFault: The [action] cannot be processed at the receiver.
	at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:373)
	at org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(AddressingFaultsHelper.java:336)
	at org.apache.axis2.handlers.addressing.AddressingValidationHandler.checkAction(AddressingValidationHandler.java:149)
	at org.apache.axis2.handlers.addressing.AddressingValidationHandler.invoke(AddressingValidationHandler.java:55)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:317)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
	at org.ow2.petals.binding.soap.listener.incoming.servlet.SoapServlet.doPost(SoapServlet.java:122)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>




Googling about it, I found that the error might be in one of my WSDL's... But I spent a lot time changing things and still couldn't get it to work fine. 
Can anybody help me please!!! This is part of my final paper for University... =/

Thanks in advance (a lot)!!!
Thiago



(here are the two kinds of WSDL)

Node: (#{id} is further replaced with it's index...)

Code:

<?xml version="1.0" encoding="UTF-8"?>
    
    <definitions 
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
    	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    	xmlns:wsa="http://www.w3.org/2005/08/addressing" 
    	xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
    	xmlns:tns="http://localhost/NodeNode#{id}" 
    	
    	name="NodeNodeDefinition#{id}" 
    	targetNamespace="http://localhost/NodeNode#{id}">


    	<types />

    	<message name="Message">
    		<part name="Part" element="xsd:string" />
    	</message>


    	<portType name="NodePortType#{id}">
    		<operation name="NodeOperation#{id}">
    			<input name="Input" message="tns:Message" />
    			<output name="Output" message="tns:Message" />
    		</operation>
    	</portType>


    	<binding name="NodeBinding#{id}" type="tns:NodePortType#{id}">
    		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    		<operation name="NodeOperation#{id}">
          <soap:operation soapAction="" style="document"/>
    			<input name="Input">
    				<soap:body use="literal" />
    			</input>
    			<output name="Output">
    				<soap:body use="literal" />
    			</output>
    		</operation>
    	</binding>

    	<service name="NodeService#{id}">
    		<port name="NodePort#{id}" binding="tns:NodeBinding#{id}">
    			<soap:address location="NodeEndpoint#{id}" />
    		</port>
    	</service>

    </definitions>







LeafNode:

Code:


<?xml version="1.0" encoding="UTF-8"?>

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://localhost/LeafNode#{id}"
xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
xmlns:wsa="http://www.w3.org/2005/08/addressing" 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
 name="LeafNodeDefinition#{id}"
targetNamespace="http://localhost/LeafNode#{id}">


<types />



<message name="Message">
	<part name="Part" element="xsd:string" />
</message>


<portType name="LeafPortType#{id}">
	<operation name="LeafOperation#{id}">
		<input name="Input" message="tns:Message" />
		<output name="Output" message="tns:Message" />
	</operation>
</portType>



<binding name="LeafBinding#{id}" type="tns:LeafPortType#{id}">
	<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
		style="document" />
	<operation name="LeafOperation#{id}">	
    <soap:operation soapAction="" style="document"/>
		<input name="Input">
			<soap:body use="literal" />
		</input>
		<output name="Output">
			<soap:body use="literal" />
		</output>
	</operation>
</binding>



<service name="LeafService#{id}">
	<port name="LeafPort#{id}" binding="tns:LeafBinding#{id}">
		<soap:address location="LeafNodeEndpoint#{id}" />
	</port>
</service>
</definitions>









-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31631#31631

-------------------- m2f --------------------






More information about the Users mailing list