indigo client can not access web service published by Axis
1,I published a web service written in Java using axis ,and it works fun
2,created ws client proxy using tool "svcutil" successfully
3,I created a indigo client and accessed the ws through generated proxy,the exception is shown on the server said that SoapAction Header is not set on client side.then I checked the generated proxy file again and found that the following attribute has been set:
[System.ServiceModel.OperationContractAttribute(Action="http://localhost:8080/axis/services/LoginService/loginRequest", ReplyAction="http://localhost:8080/axis/services/LoginService/loginResponse", Style=System.ServiceModel.ServiceOperationStyle.DocumentBare)]
I am not sure whether the SoapAction Header is really set or not.if it is really not set,then what is the above code block for?Is there another way to set it ?as I am not very familiar with indigo,so any help will be great appreciated
2,created ws client proxy using tool "svcutil" successfully
3,I created a indigo client and accessed the ws through generated proxy,the exception is shown on the server said that SoapAction Header is not set on client side.then I checked the generated proxy file again and found that the following attribute has been set:
[System.ServiceModel.OperationContractAttribute(Action="http://localhost:8080/axis/services/LoginService/loginRequest", ReplyAction="http://localhost:8080/axis/services/LoginService/loginResponse", Style=System.ServiceModel.ServiceOperationStyle.DocumentBare)]
I am not sure whether the SoapAction Header is really set or not.if it is really not set,then what is the above code block for?Is there another way to set it ?as I am not very familiar with indigo,so any help will be great appreciated
浙公网安备 33010602011771号