Hi
I have a c#.net application which is trying to access a java web
service,
I get the following error:
"<SOAPAction name> Unknown SOAP Action(possibly not yet implemented)"
the same method is accessible through JAVA client code.
It is a SOAPHeaderException. We have two set of webservice,
One web service is created using .net and another using Java. Both
have the same signature and methods.
When I am trying to access the webmethod(implemented using .NET) using
a .net windows application, I am able to retrieve the response.
However if I try to access the webmethod(implemented in java), I get
the above error.
I would appreciate if anybody could solve this issue.
Arindrajit Biswas - 05 Nov 2007 10:15 GMT
Are you using WSE.X ?? WSE expects <Action> tag as part of the header.
for example:
<soap:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
..... xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsa:Action>MyMethodName</wsa:Action>
......
</soap:Header>
In .NET web service you specify this by SoapAttribute. So you have to do
similar thing java Web service to provide right header information.
Cheers.
> Hi
>
[quoted text clipped - 15 lines]
>
> I would appreciate if anybody could solve this issue.