c++ - WSDLPull using complex type inputs -


i'm trying call web service method using wsdlpull , pretty simple until 1 service method accepts parameter array of complextypes, in case takes 1 parameter unbounded number of types containing 2 members - array of name/value pairs.

<s:complextype name="senddetails">   <s:sequence>     <s:element minoccurs="0" maxoccurs="unbounded" name="detail" type="tns:detail"/>   </s:sequence> </s:complextype>  <s:complextype name="detail">   <s:sequence>     <s:element minoccurs="0" maxoccurs="1" name="name" type="s:string"/>     <s:element minoccurs="0" maxoccurs="1" name="value" type="s:string"/>   </s:sequence> </s:complextype> 

and have no clue how go setting these parameters wsdlpull.

does have example code or snippet me started before rewrite using different tool?

it seems wsdlinvoker doesn't have support (yet?). setvalue calls setinputvalue in turn calls validate, method stops processing when complex type detected:

const xsdtype * ptype = sparser_->gettype(typeid); if (ptype && !ptype->issimple()){    return 0; } 

the complex type seems supported 1 contains simple content model.

this said, think gsoap2 , microsoft windows web services api better native alternatives.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -