Hi,

 

I’m migrating from axis 1.1 to 1.3. My webservice client fails when invoking the method with following axis error.

I tested the same code with axis 1.1 and it works fine.

 

 

Axis fault

 

Exception in thread "main" AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand

 faultSubcode:

 faultString: Did not understand "MustUnderstand" header(s):

 faultActor:

 faultNode:

 faultDetail:

            {http://xml.apache.org/axis/}stackTrace:

            at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)

            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

            at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

            at org.apache.axis.client.Call.invoke(Call.java:2767)

            at org.apache.axis.client.Call.invoke(Call.java:2443)

            at org.apache.axis.client.Call.invoke(Call.java:2366)

            at org.apache.axis.client.Call.invoke(Call.java:1812)

            at net.scandinavian.nibp2.SAPI_v2.AvailabilitySoap_BindingStub.getAvailabilityNewReservation(AvailabilitySoap_BindingStub.java:587)

            at Test.main(Test.java:21)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)

 

            {http://xml.apache.org/axis/}hostname:sajith

 

Did not understand "MustUnderstand" header(s):

            at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)

            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

            at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

            at org.apache.axis.client.Call.invoke(Call.java:2767)

            at org.apache.axis.client.Call.invoke(Call.java:2443)

            at org.apache.axis.client.Call.invoke(Call.java:2366)

            at org.apache.axis.client.Call.invoke(Call.java:1812)

            at net.scandinavian.nibp2.SAPI_v2.AvailabilitySoap_BindingStub.getAvailabilityNewReservation(AvailabilitySoap_BindingStub.java:587)

            at Test.main(Test.java:21)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)

 

 

 

Soap Response.

 

 

<soap:Header>

        <SHAvailHandle soap:mustUnderstand="1" xmlns="https://nibp2.scandinavian.net/SAPI">

            <hAvail>some encoded data</hAvail>

           

Thanks in advance.

Sajith

 

 

Reply via email to