Missing signature for RelatesTo

View: New views
4 Messages — Rating Filter:   Alert me  

Missing signature for RelatesTo

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I'm running with the lastest 2.0 nightly, which seems to work just fine except for one thing: I have a policy file which says that a number of headers must be signed on the response. All of the headers are signed, except for one (wsa:RelatesTo) - is this a bug in WSIT or am I missing something? I've attached the policy file and an example message.

Regards,
Joakim
[Message sent by forum member 'recht' (recht@...)]

http://forums.java.net/jive/thread.jspa?messageID=370811

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Missing signature for RelatesTo

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just tried a test case with the same policy in the wsdl.
It works fine with RelatesTo signed. (Note that RelatesTo is in the SignParts
of the output policy but not in  the input policy).

Maybe it is related to the particular
web service in your case (Provider based?).

You may open an issue if you can provide a reproducible test case.
[Message sent by forum member 'jdg6688' (jiandong.guo@...)]

http://forums.java.net/jive/thread.jspa?messageID=370940

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Missing signature for RelatesTo

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I just tried adding RelatesTo to the input policy too, and then the element is signed. However, RelatesTo only exists in outgoing messages (in our case at least), so I would think that it's correct to leave it out of the input policy.
[Message sent by forum member 'recht' (recht@...)]

http://forums.java.net/jive/thread.jspa?messageID=371122

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Missing signature for RelatesTo

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>, so I would think that it's correct to
> leave it out of the input policy.

Yes, this is correct.

I can't reproduce the problem you have with exact same wsdl as yours. So if you can
give us a simple reproducible test case, that will be helpful.
[Message sent by forum member 'jdg6688' (jiandong.guo@...)]

http://forums.java.net/jive/thread.jspa?messageID=371172

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...