This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Aras via soap and "action not supported error"

Watter - Tuesday, August 23, 2011 12:32 AM:

I'm attempting to communicate with Aras via SOAP using Java. Using the programmer's guide I've managed to overcome a few initial hurdles and feel that I'm pretty close, but I've now hit a wall. 

So following the mentioned guide, I have constructed the following request:

Headers:

POST /aras/Server/InnovatorServer.aspx HTTP/1.1
AUTHUSER: admin
AUTHPASSWORD: 607920b64fe126f9ab2389e361852af2
DATABASE: InnovatorPLMe920
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction: "ApplyItem"
Content-Type: text/xml; charset=utf-8
Content-Length: 269
User-Agent: Jakarta Commons-HttpClient/3.1
Host: ourarasserver.com

Body:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="schemas.xmlsoap.org/.../">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
    <ApplyItem xmlns:m="www.aras-corp.com/">
        <AML>
            <Item action="get" select="login_name" type="User"/>
        </AML>
    </ApplyItem>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Unfortunately, I'm receiving the following response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="schemas.xmlsoap.org/.../">

<SOAP-ENV:Body>

    <SOAP-ENV:Fault xmlns:af="www.aras.com/InnovatorFault">
        <faultcode>SOAP-ENV:Server</faultcode>
        <faultstring>The action "applyitem" is not supported.</faultstring>
        <detail>
            <af:legacy_detail>The action "applyitem" is not supported.</af:legacy_detail>
        </detail>
    </SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The text here seems pretty straightforward, but I have no idea what to do next to get past this. Any advice?

Matt Welch