SOAP webserv PU9

Hi

I did a soap webservice in PU9. Its about reading from x3 and delivering to an external app inside the company network, not external

I have the V1 EDM solution installed in this folder, so the pool is created and EDM is running on it

writing the file to comunicate picking the example from developer.sage.com, i know i have to replace this in red ""www.adonix.com, but not sure what to put in there

i get the pool name, i get where i have to put the webservice name and also the action that should be RUN

i saw somewhere that i should go to administration - server - soap webservices , but the url i get there is: 

http://sagex3:8124/soap-wsdl/syracuse/collaboration/syracuse/CAdxWebServiceXmlCC?wsdl

and this does not seem right... 

where can i get this information?, what should i put instead of www.adonic.com/wss?

Many thanks

<soapenv:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:wss="">http://www.adonix.com/WSS"> <soapenv:Header/> <soapenv:Body> <wss:run soapenv:encodingStyle="">schemas.xmlsoap.org/.../"> <callContext xsi:type="wss:CAdxCallContext"> <codeLang xsi:type="xsd:string">ENG</codeLang> <poolAlias xsi:type="xsd:string">IMPORT-EXPORT</poolAlias> <poolId xsi:type="xsd:string"></poolId> <requestConfig xsi:type="xsd:string"> <![CDATA[adxwss.optreturn=JSON&adxwss.beautify=true&adxwss.trace.on=off]]> </requestConfig> </callContext> <publicName xsi:type="xsd:string">AOWSIMPORT</publicName> # AOWSIMPORT = web service name <inputXml xsi:type="xsd:string"> <![CDATA[{
Parents
  • Hi Luis,

    Let me know if this helps you out.

    Here I'm using Postman to GET a list of customers.

    I set the URI to: http://SERVER:PORT/adxwsvc/services/CAdxWebServiceXmlCC?wsdl

    Then the method to POST

    Under params I enter a key wsdl and a blank value

    Then under the authorization tab I select Basic Auth and enter the username and password I use to sign into Sage.

    After we set the header tab.

    Add a key called: Content-Type Value: text/xml

    Add a key called: SOAPAction Value: ""

    And now here is the XML body I use to get a response from the web service.

    FOLDER = the sage folder you work in

    WEBSERVICE = the web service publication name

    {"GRP1":{"MYBPC":"XYZ022334"}} = the details on the customer 

    <soapenv:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:wss="">http://www.adonix.com/WSS">
        <soapenv:Header/>
        <soapenv:Body>
            <wss:run soapenv:encodingStyle="">schemas.xmlsoap.org/.../">
                <callContext xsi:type="wss:CAdxCallContext">
                    <codeLang xsi:type="xsd:string">ENG</codeLang>
                    <codeUser xsi:type="xsd:string">admin</codeUser>
                    <password xsi:type="xsd:string"></password>
                    <poolAlias xsi:type="xsd:string">FOLDER</poolAlias>
                    <poolId xsi:type="xsd:string"></poolId>
                    <requestConfig xsi:type="xsd:string">adxwss.optreturn=JSON</requestConfig>
                </callContext>
                <publicName xsi:type="xsd:string">WEBSERVICE</publicName>
                <inputXml xsi:type="xsd:string">{"GRP1":{"MYBPC":"XYZ022334"}}</inputXml>
            </wss:run>
        </soapenv:Body>
    </soapenv:Envelope>

    I'm still new to the Sage platform, hope it helps.

    Josh

Reply Children
No Data