Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Axis 1.4 Client and "Did not understand "MustUnderstand" header(s)" (http://www.velocityreviews.com/forums/t528922-axis-1-4-client-and-did-not-understand-mustunderstand-header-s.html)

Reg 08-13-2007 06:56 PM

Axis 1.4 Client and "Did not understand "MustUnderstand" header(s)"
 
Hello,

I have a Axis 1.4 Java client and .NET Web Service.
When I try to use Web Services method "Did not understand "MustUnderstand"
header(s)"
error occurs. Can anyone say how to get rid of it?

I tried to use code like below but without success.

call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS );

SOAPHeaderElement header = new
SOAPHeaderElement("http://example.com/header",
"very-important-info",
"blah");
header.setMustUnderstand(true);
header.setActor(Constants.URI_SOAP12_ULTIMATE_ROLE );

call.addHeader(header);

Cheers,



GArlington 08-14-2007 02:53 PM

Re: Axis 1.4 Client and "Did not understand "MustUnderstand" header(s)"
 
On 13 Aug, 19:56, "Reg" <r...@re.dot.net> wrote:
> Hello,
>
> I have a Axis 1.4 Java client and .NET Web Service.
> When I try to use Web Services method "Did not understand "MustUnderstand"
> header(s)"
> error occurs. Can anyone say how to get rid of it?
>
> I tried to use code like below but without success.
>
> call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS );
>
> SOAPHeaderElement header = new
> SOAPHeaderElement("http://example.com/header",
> "very-important-info",
> "blah");
> header.setMustUnderstand(true);
> header.setActor(Constants.URI_SOAP12_ULTIMATE_ROLE );
>
> call.addHeader(header);
>
> Cheers,



Try
http://www.pocketsoap.com/weblog/2005/02/1508.html
and
google search for 'axis mustunderstand (header)'


acsimsek 01-28-2013 03:23 PM

axis 1.4 mustunderstand problem
 
in my case, this solved the problem

MyService service = new MyServiceLocator();
MyServicePortType port = service.getMyServiceHttpsSoap11Endpoint();

((Stub) port)._setProperty(Call.CHECK_MUST_UNDERSTAND, Boolean.FALSE);


All times are GMT. The time now is 07:51 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57