in reply to Re^7: SOAP::Lite problem
in thread SOAP::Lite problem

However none of the settings are reflected in the output

Probably because you're using the ->service('...wsdl')

But its weird that the soap isn't readable

Its also weird that you're still using ->Payment when you said you wanted PaymentRequestMsg

Replies are listed 'Best First'.
Re^9: SOAP::Lite problem
by doqb (Initiate) on Oct 20, 2015 at 08:38 UTC
    Actually by looking at the wsdl in more detail, there are a number of functions, amongst them I find "Payment" but each function has a "RequestMsg" and "ResponseMsg" object. I dont know why declaring the wsdl only allows the functions and not further objects. This is and extract of the wsdl...
    <xs:element name="PaymentRequestMsg">-<xs:complexType>-<xs:sequence><x +s:element type="common:RequestHeader" name="RequestHeader"/><xs:eleme +nt type="account:PaymentRequest" name="PaymentRequest"/></xs:sequence +></xs:complexType></xs:element> <wsdl:message name="PaymentRequestMessage"><wsdl:part name="part1" ele +ment="accountmgrmsg:PaymentRequestMsg"/></wsdl:message> <wsdl:operation name="Payment"><wsdl:input wsaw:Action="Payment" messa +ge="account:PaymentRequestMessage"/><wsdl:output wsaw:Action="http:// +www.huawei.com/bme/cbsinterface/cbs/accountmgr/CBSInterfaceAccountMgr +/PaymentResponse" message="account:PaymentResultMessage"/></wsdl:oper +ation>

      I dont know why declaring the wsdl only allows the functions and not further objects.

      ;) WSDL is a rabbit hole I dare not interpret on my own, heck, SOAP::Lite can't get it right, so

      i showed you how to generate what you said was required by avoiding WSDL :)

        Totally agreed, I actually took a more coward approached and did the same code on PHP, it worked right out of the box.