sponsored links

Collapse

Announcement

Collapse
No announcement yet.

WSDL2RPG for SOAP request

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WSDL2RPG for SOAP request

    Hi
    I created RPGLE codes for SOAP requests but I can see whole bunch of procedures created and both are NOMAIN rpgle modules so I am getting confused with how to use WSDL2RPG generated code?
    There must be some sequence about how to use it.

    Thanks
    RS
    Last edited by instrucrat1; 1 week ago.

  • #2
    Hi
    I got how to call for generated procedure for WSDL.
    Still cant get response properly. Can you tell if something is wrong in SOAP request I formatted in RPGLE for processing -

    Req = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://webservice.pm.pricing.prosrm.com/xsd">
    <soapenv:Header/>
    <soapenv:Body>
    <xsd:getPrice>
    <xsd:xmlRequest><![CDATA[
    <Request uniqueId="abc" authToken="asdgfg43767GGasdgfgnHa=X">
    <PriceEvaluation getElements="true" evaluationMethod="TXN Raw PG 1030">
    <Dimension name="DO_CUSTOMER" value="0000529086"/>
    <Dimension name="PRODUCT" value="63133490"/>
    <EvaluationMethodElement name="Quantity" value="1"/>
    </PriceEvaluation>
    </Request>
    ]]></xsd:xmlRequest>
    </xsd:getPrice>
    </soapenv:Body>
    </soapenv:Envelope> '


    Comment

    sponsored links

    Collapse

    Working...
    X