users@glassfish.java.net

ActionNotSupported

From: <forums_at_java.net>
Date: Wed, 30 Mar 2011 09:48:11 -0500 (CDT)

Hi,

I have this Soap Header which is working fine with Metro 1.5

  <soap:Header xmlns:add="http://www.w3.org/2005/08/addressing">
    <add:Action
soap:mustUnderstand="1">urn:gov:hhs:fha:nhinc:nhincproxyxdr:async:request:ProvideAndRegisterDocumentSet-bAsyncRequest_Request</add:Action>
    <add:MessageID
soap:mustUnderstand="1">uuid:6c9f13a6-a220-4639-baa3-7344bb33b9c0</add:MessageID>
    <add:To
soap:mustUnderstand="1">http://localhost:8080/CONNECTMsgProxyWeb/EntityService/PassthruDocSubmissionDeferredRequestUnsecured</add:To>
  </soap:Header>
 

But, when I use Metro 2.1, it fails with ActionNotSupported in the response

                <?xml version='1.0' encoding='UTF-8'?>
                <S:Envelope
xmlns:S="http://www.w3.org/2003/05/soap-envelope">
                  <S:Header>
                    <To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
                    <Action
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</Action>
                    <MessageID
xmlns="http://www.w3.org/2005/08/addressing">uuid:42a2e3a0-b62f-4519-85c4-d0cd15304ae9</MessageID>
                    <RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">uuid:307edb5e-3e6f-4c5b-b41a-ba2f43cc7613</RelatesTo>
                  </S:Header>
                  <S:Body>
                    <S:Fault
xmlns:ns4="http://schemas.xmlsoap.org/soap/envelope/">
                      <S:Code>
                        <S:Value>S:Sender</S:Value>
                        <S:Subcode>
                          <S:Value
xmlns:ns1="http://www.w3.org/2005/08/addressing">ns1:ActionNotSupported</S:Value>
                        </S:Subcode>
                      </S:Code>
                      <S:Reason>
                        <S:Text xml:lang="en">The
&quot;urn:gov:hhs:fha:nhinc:nhincproxyxdr:async:request:ProvideAndRegisterDocumentSet-bAsyncRequest_Request&quot;
cannot be processed at the receiver</S:Text>
                      </S:Reason>
                      <S:Detail>
                        <ProblemAction:ProblemAction
xmlns:ProblemAction="http://www.w3.org/2005/08/addressing"
xmlns="http://www.w3.org/2005/08/addressing">
                         
<Action>urn:gov:hhs:fha:nhinc:nhincproxyxdr:async:request:ProvideAndRegisterDocumentSet-bAsyncRequest_Request</Action>
                        </ProblemAction:ProblemAction>
                      </S:Detail>
                    </S:Fault>
                  </S:Body>
                  </S:Envelope>

I have seached around but couldn't find anything related, does anybody know
what is wrong?

Thanks in advance,

Ngoc


--
[Message sent by forum member 'NgocM6']
View Post: http://forums.java.net/node/786989