[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trying to recover value of an Attribute, depending on another attribute
Hi, all.
This is my first question on this forum.
First of all, congratulations for your work.
I'm new on RPGIV and, of course, new using LIBHTTP.
My question is about how is the correct method to get the value of one
attribute, but, I want to recover that value, only if the value of
another attribute (on its parent node) is equal to a parameter.
I copy you part of the xml (really it is a wsdl).
<binding name="DatosPolizaPortSoapBinding" type="tns:DatosPolizaPort">
<documentation>Process SOAP binding</documentation>
<soap:binding style="document"
transport="[1]http://schemas.xmlsoap.org/soap/http"/>
<operation name="DatosPolizaImpresion">
<soap:operation
soapAction="[2]http://www.filenet.com/ns/fnpe/2004/12/po/%7E%7E1%09VWS
ervice0%3ADEV%3AFileNet%091%0915248%0986%091263560605!ImprDocsPoliza!D
atosPolizaPort!DatosPolizaImpresion!-2!11!12!0!0" style="document"/>
<input>
<soap:body use="literal"/>
</input>
</operation>
</binding>
What I want to do, is getting the value of the soapAction attribute,
in soap:operation node, but just in case that attribute name
="DatosPolizaImpresion" on node operation has the value
"DatospolizaImpresion".
The program receives the operation name as parameter.
And I'm trying to recover the soapAction for that operation name. That
is, because, of course, the wsdl can contains various operations, but
I want to get just the soapAction for one operation.
Can you help me?
Thanks a lot
Íñigo
References
1. http://schemas.xmlsoap.org/soap/http
2. http://www.filenet.com/ns/fnpe/2004/12/po/%7E%7E1%09VWService0%3ADEV%3AFileNet%091%0915248%0986%091263560605!ImprDocsPoliza!DatosPolizaPort!DatosPolizaImpresion!-2!11!12!0!0
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------