HI PROBLEM SOLVED!
On Tue, Nov 18, 2014 at 2:37 PM, Dieter Maurer <[email protected]> wrote: > Jerry Rocteur wrote at 2014-11-18 14:23 +0100: > >On Tue, Nov 18, 2014 at 1:49 PM, Dieter Maurer <[email protected]> > wrote: > > > >> Jerry Rocteur wrote at 2014-11-18 12:49 +0100: > >> >Hi Dieter, > >> > ... > >> >Thanks, I know it is somethign I missed but can't put my finger on it > as I > >> >have no experience with this in general.. > >> > > >> >Here it is. > >> > > >> > > >> > - >>> print client > >> > > >> > Suds ( https://fedorahosted.org/suds/ ) version: 0.4 GA build: > >> > R699-20100913 > >> > > >> > Service ( GasOrderService ) tns=" > https://system.globalsign.com/cr/ws/" > >> > Prefixes (1) > >> > ns0 = "https://system.globalsign.com/cr/ws/" > >> > Ports (1): > >> > (GasOrderServicePort) > >> > Methods (9): > >> > GetOrderByOrderId(GetCrOrderByOrderIdRequest Request, ) > >> > >> This means, it expects an "GetOrderByOrderIdRequest" parameter. > >> You should use "client.factory.create" to create an object > >> of this type, fill it and then pass the result to > >> "client.service.GetOrderByOrderId". > >> > >> -- > >> Dieter > >> > > > >Thanks Dieter, am I doing it wrong ?: > > > >>>> from suds.client import Client > ... > >suds.TypeNotFound: Type not found: 'GetOrderByOrderIdRequest' > > The type is strangely spelled: "GetCrOrderByOrderIdRequest" > rather than "GetOrderByOrderIdRequest". I, too, did not get it right > the first time. > -- > Dieter > Dieter, At this stage of the game, in my frustration with this, I was doing what you were saying word for word without thinking ;-) I'd like to thank you very much Dieter. This did the trick: In [45]: m.OrderDetail.OrderInfo. m.OrderDetail.OrderInfo.IssueDate m.OrderDetail.OrderInfo.ProductCode m.OrderDetail.OrderInfo.LicenseNo m.OrderDetail.OrderInfo.ProfileNo m.OrderDetail.OrderInfo.OrderDate m.OrderDetail.OrderInfo.RequestAfterDate m.OrderDetail.OrderInfo.OrderNo m.OrderDetail.OrderInfo.RequestBeforeDate m.OrderDetail.OrderInfo.OrderStatus m.OrderDetail.OrderInfo.RequestDate m.OrderDetail.OrderInfo.OriginalOrderIDForReIssue m.OrderDetail.OrderInfo.ValidityPeriod In [45]: m.OrderDetail.OrderInfo.OrderStatus Out[45]: ISSUED Most grateful. Regards, -- Jerry Rocteur [email protected]
_______________________________________________ Soap mailing list [email protected] https://mail.python.org/mailman/listinfo/soap
