Show the WSDL file part for updateRoutePartition

--
Victor Varvaryuk (Виктор Варварюк)


On 31 July 2013 20:16, daniele visaggio <visaggio.daniele@gmail.com> wrote:
Hi all,

using version: 0.4.1 (beta)  build: R703-20101015.

I built a soap client from a wsdl file. The method I'm trying to use is the following:

updateRoutePartition(xs:string newName, xs:string description, ns0:XFkType timeScheduleIdName, ns0:boolean useOriginatingDeviceTimeZone, ns0:XTimeZone timeZone, )

The problem is that a fundamental argument is missing from the method arguments' list. The result is that on the outgoing request a crucial xml tag is not present.

This is the resulting xml sent on the wire (it's broken and the request fails):

<SOAP-ENV:Envelope xmlns:ns0="http://www.cisco.com/AXL/API/8.5" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <ns1:Body>
      <ns0:updateRoutePartition>
         <newName>newName</newName>
         <description>NewDescrition</description>
      </ns0:updateRoutePartition>
   </ns1:Body>
</SOAP-ENV:Envelope>

>From soapui I see that the correct xml should be:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:updateRoutePartition sequence="?">
         <name>?</name> <---- missing tag!
         <newName>?</newName>
         <description>?</description>
      </ns:updateRoutePartition>
   </soapenv:Body>
</soapenv:Envelope>


Is there a way to overcome this issue? why suds is showing me a method with a missing argument?

Thank you in advance,

Daniele

p.s. pls see attached wsdl/xsd files I'm using



_______________________________________________
suds mailing list
suds@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds