[Fedora-suds-list] suds client and soaplib
John Aherne
jjaherne at googlemail.com
Fri Apr 23 14:53:07 UTC 2010
On Fri, Apr 23, 2010 at 2:16 PM, Jeff Ortel <jortel at redhat.com> wrote:
> Hey John,
>
> I'm sure we can figure this out. But, as you can understand by the trace,
> these things are must more easily resolved by stepping through the
> unmarshalling in the debugger. Can you provide me a copy of the wsdl and
> the reply that is giving you the problem?
>
> Oh, sorry for the delayed reply -- been busy ;)
>
> Thanks,
>
> Jeff
>>
>>
>>
Jeff,
Thanks for taking a look at his. The wsdl is generated by soaplib from the
classes not done by hand. I had to dump it out and pretty print it. So I
hope this is good
The messsage I get from SUDS is below:
WARNING:suds.umx.typed:attribute (type) type, not-found
Here is the wsdl
Let me know if you need more info
Thanks
John Aherne
<wsdl:definitions name="CreateJob" targetNamespace="CreateJob.CreateJob"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<ns1:schema targetNamespace="CreateJob.CreateJob" xmlns:ns1="
http://www.w3.org/2001/XMLSchema">
<ns1:element name="JobArray" type="tns:JobArray" />
<ns1:complexType name="SpecialInstructionArray">
<ns1:sequence>
<ns1:element maxOccurs="unbounded" minOccurs="0"
name="SpecialInstruction" type="tns:SpecialInstruction" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="SpecialInstruction" type="tns:SpecialInstruction"
/>
<ns1:element name="cancel_job" type="tns:cancel_job" />
<ns1:complexType name="StopArray">
<ns1:sequence>
<ns1:element maxOccurs="unbounded" minOccurs="0" name="Stop"
type="tns:Stop" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="amend_job" type="tns:amend_job" />
<ns1:complexType name="get_jobResponse">
<ns1:sequence>
<ns1:element name="get_jobResult" type="tns:Job" />
</ns1:sequence>
</ns1:complexType>
<ns1:complexType name="SpecialInstruction">
<ns1:sequence>
<ns1:element minOccurs="0" name="type" type="xs:string" />
<ns1:element minOccurs="0" name="id" type="xs:integer" />
<ns1:element minOccurs="0" name="value" type="xs:string" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="get_job" type="tns:get_job" />
<ns1:complexType name="get_job">
<ns1:sequence>
<ns1:element name="number" type="xs:integer" />
</ns1:sequence>
</ns1:complexType>
<ns1:complexType name="cancel_job">
<ns1:sequence>
<ns1:element name="number" type="xs:integer" />
</ns1:sequence>
</ns1:complexType>
<ns1:complexType name="add_job">
<ns1:sequence>
<ns1:element name="job" type="tns:Job" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="StopArray" type="tns:StopArray" />
<ns1:element name="add_job" type="tns:add_job" />
<ns1:element name="SpecialInstructionArray"
type="tns:SpecialInstructionArray" />
<ns1:element name="add_jobResponse" type="tns:add_jobResponse" />
<ns1:complexType name="add_jobResponse">
<ns1:sequence>
<ns1:element name="add_jobResult" type="xs:integer" />
</ns1:sequence>
</ns1:complexType>
<ns1:complexType name="JobArray">
<ns1:sequence>
<ns1:element maxOccurs="unbounded" minOccurs="0" name="Job"
type="tns:Job" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="ActorArray" type="tns:ActorArray" />
<ns1:complexType name="ActorArray">
<ns1:sequence>
<ns1:element maxOccurs="unbounded" minOccurs="0" name="Actor"
type="tns:Actor" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="list_jobsResponse" type="tns:list_jobsResponse" />
<ns1:element name="Job" type="tns:Job" />
<ns1:element name="Stop" type="tns:Stop" />
<ns1:complexType name="Actor">
<ns1:sequence>
<ns1:element minOccurs="0" name="id" type="xs:integer" />
<ns1:element minOccurs="0" name="email" type="xs:string" />
<ns1:element minOccurs="0" name="role" type="xs:string" />
<ns1:element minOccurs="0" name="name" type="xs:string" />
<ns1:element minOccurs="0" name="telephone" type="xs:string" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="get_jobResponse" type="tns:get_jobResponse" />
<ns1:complexType name="Stop">
<ns1:sequence>
<ns1:element minOccurs="0" name="note" type="xs:string" />
<ns1:element minOccurs="0" name="meetingPoint" type="xs:string" />
<ns1:element minOccurs="0" name="airportStop" type="xs:string" />
<ns1:element minOccurs="0" name="specialPlace" type="xs:string" />
<ns1:element minOccurs="0" name="arrivalFrom" type="xs:string" />
<ns1:element minOccurs="0" name="terminal" type="xs:string" />
<ns1:element minOccurs="0" name="airport" type="xs:string" />
<ns1:element minOccurs="0" name="location" type="xs:string" />
<ns1:element minOccurs="0" name="operationType" type="xs:string"
/>
<ns1:element minOccurs="0" name="id" type="xs:integer" />
<ns1:element minOccurs="0" name="flightNo" type="xs:string" />
</ns1:sequence>
</ns1:complexType>
<ns1:element name="Actor" type="tns:Actor" />
<ns1:complexType name="amend_job">
<ns1:sequence>
<ns1:element name="job" type="tns:Job" />
</ns1:sequence>
</ns1:complexType>
<ns1:complexType name="Job">
<ns1:sequence>
<ns1:element minOccurs="0" name="specialInstructions"
type="tns:SpecialInstructionArray" />
<ns1:element minOccurs="0" name="asSoonAsPossible"
type="xs:boolean" />
<ns1:element minOccurs="0" name="callerName" type="xs:string" />
<ns1:element minOccurs="0" name="lastDrop" type="xs:string" />
<ns1:element minOccurs="0" name="jobDate" type="xs:dateTime" />
<ns1:element minOccurs="0" name="callerPhone" type="xs:string" />
<ns1:element minOccurs="0" name="number" type="xs:integer" />
<ns1:element minOccurs="0" name="stops" type="tns:StopArray" />
<ns1:element minOccurs="0" name="pinCode" type="xs:string" />
<ns1:element minOccurs="0" name="delay" type="xs:string" />
<ns1:element minOccurs="0" name="cancelledOnArrival"
type="xs:boolean" />
<ns1:element minOccurs="0" name="actors" type="tns:ActorArray" />
<ns1:element minOccurs="0" name="firstPickUp" type="xs:string" />
<ns1:element minOccurs="0" name="cancelled" type="xs:boolean" />
<ns1:element minOccurs="0" name="mainPassenger" type="xs:string"
/>
<ns1:element minOccurs="0" name="price" type="xs:float" />
<ns1:element minOccurs="0" name="callerEmail" type="xs:string" />
<ns1:element minOccurs="0" name="id" type="xs:integer" />
<ns1:element minOccurs="0" name="serviceCode" type="xs:string" />
</ns1:sequence>
</ns1:complexType>
<ns1:complexType name="list_jobsResponse">
<ns1:sequence>
<ns1:element name="list_jobsResult" type="tns:JobArray" />
</ns1:sequence>
</ns1:complexType>
</ns1:schema>
</wsdl:types>
<wsdl:message name="add_job">
<wsdl:part element="tns:add_job" name="add_job" />
</wsdl:message>
<wsdl:message name="add_jobResponse">
<wsdl:part element="tns:add_jobResponse" name="add_jobResponse" />
</wsdl:message>
<wsdl:message name="amend_job">
<wsdl:part element="tns:amend_job" name="amend_job" />
</wsdl:message>
<wsdl:message name="cancel_job">
<wsdl:part element="tns:cancel_job" name="cancel_job" />
</wsdl:message>
<wsdl:message name="get_job">
<wsdl:part element="tns:get_job" name="get_job" />
</wsdl:message>
<wsdl:message name="get_jobResponse">
<wsdl:part element="tns:get_jobResponse" name="get_jobResponse" />
</wsdl:message>
<wsdl:message name="list_jobs" />
<wsdl:message name="list_jobsResponse">
<wsdl:part element="tns:list_jobsResponse" name="list_jobsResponse" />
</wsdl:message>
<wsdl:portType name="CreateJob">
<wsdl:operation name="add_job" parameterOrder="add_job">
<wsdl:documentation />
<wsdl:input message="tns:add_job" name="add_job" />
<wsdl:output message="tns:add_jobResponse" name="add_jobResponse" />
</wsdl:operation>
<wsdl:operation name="amend_job" parameterOrder="amend_job">
<wsdl:documentation />
<wsdl:input message="tns:amend_job" name="amend_job" />
</wsdl:operation>
<wsdl:operation name="cancel_job" parameterOrder="cancel_job">
<wsdl:documentation />
<wsdl:input message="tns:cancel_job" name="cancel_job" />
</wsdl:operation>
<wsdl:operation name="get_job" parameterOrder="get_job">
<wsdl:documentation />
<wsdl:input message="tns:get_job" name="get_job" />
<wsdl:output message="tns:get_jobResponse" name="get_jobResponse" />
</wsdl:operation>
<wsdl:operation name="list_jobs" parameterOrder="list_jobs">
<wsdl:documentation />
<wsdl:input message="tns:list_jobs" name="list_jobs" />
<wsdl:output message="tns:list_jobsResponse" name="list_jobsResponse"
/>
</wsdl:operation>
</wsdl:portType>
<ns1:partnerLinkType name="CreateJob" xmlns:ns1="
http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<ns1:role name="CreateJob">
<ns1:portType name="tns:CreateJob" />
</ns1:role>
</ns1:partnerLinkType>
<wsdl:binding name="CreateJob" type="tns:CreateJob">
<ns1:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
<wsdl:operation name="add_job">
<ns1:operation soapAction="add_job" style="document" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
<wsdl:input name="add_job">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
<wsdl:output name="add_jobResponse">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="amend_job">
<ns1:operation soapAction="amend_job" style="document" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
<wsdl:input name="amend_job">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="cancel_job">
<ns1:operation soapAction="cancel_job" style="document" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
<wsdl:input name="cancel_job">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="get_job">
<ns1:operation soapAction="get_job" style="document" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
<wsdl:input name="get_job">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
<wsdl:output name="get_jobResponse">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="list_jobs">
<ns1:operation soapAction="list_jobs" style="document" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
<wsdl:input name="list_jobs">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
<wsdl:output name="list_jobsResponse">
<ns1:body use="literal" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CreateJob">
<wsdl:port binding="tns:CreateJob" name="CreateJob">
<ns1:address location="http://localhost:7789/CreateJob" xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20100423/8fc290ed/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jah2_wsdl.xml
Type: text/xml
Size: 11291 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/suds/attachments/20100423/8fc290ed/attachment-0001.xml
More information about the suds
mailing list