Hi,

I am trying to invoke .net webservice which is soap1.1 compliant. I have
created provider and consumer for this service using http component. I am
abel to retrieve proxied webservice wsdl and generate client using apache
axis2 for this webservice. Now when i am trying to invoke web service method
from client side i receive following exception 

org.apache.axis2.AxisFault: Server did not recognize the value of HTTP
Header SOAPAction
        at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:435)

I did some debugging and found that servicemix3.2.3 sends blank soap action
where .net web service expects soap action to be send as combination of
namespace+method name which is compulsory. When i added soapaction attribute
with expected format it allowed me to access webservice from client. But
http provider allows only one soap action to be added so i cant invoke other
methods on webservice. Here is my xbean configuration

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:tut="http://StreetPerfectWebService/";>
                                 
                                  <http:endpoint 
service="tut:StreetPerfectWebService"
                                           
endpoint="StreetPerfectWebServiceSoap"
                                           role="provider"
                                           soap="true"
                                           soapAction=""
                                          
locationURI="http://xyz:922/StreetPerfectWebServices/StreetPerfectService.asmx";
                                          
wsdlResource="http://xyz:922/StreetPerfectWebServices/StreetPerfectService.asmx?WSDL";
                                           />

                                            <http:endpoint 
service="tut:MyConsumerService"
                                           
endpoint="StreetPerfectWebServiceSoap"
                                           role="consumer"
                                           soap="true"
                                           
targetService="tut:StreetPerfectWebService" 
                                           
locationURI="http://localhost:8192/StreetPerfectWebServices/";
                                           
                                             />
                            
</beans>

is there any way i can add multiple soap actions to this configuration?
Please let me know if any one has faced same issue and found solution
-- 
View this message in context: 
http://old.nabble.com/Servicemix-http-doesnt-identify-soap-action-tp28621424p28621424.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to