membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
94 stars 73 forks source link

Parameter set in scheme. #256

Closed holiiveira closed 7 years ago

holiiveira commented 7 years ago

I'm having problems when a particular parameter is defined in a schema, eg:

<message name="Teste">
  <part name="user" type="xsd:string" /> 
  <part name="password" type="xsd:string" /> 
  <part name="parameters" type="tns:hisTesteIn" /> 
</message>

"HisTesteIn" is defined in:

<types>
  <xsd:schema>
    <xsd:import namespace="http://..." schemaLocation="http://...schema.xsd" /> 
  </xsd:schema>
</types>

When I perform the "setFormParam" from the "SOARequestCreator", it does not recognize the parameters defined in "hisTesteIn".

<parameters> </parameters>

The "xpath" is mounted correctly:

xpath:/Teste
xpath:/Teste/user
xpath:/Teste/password
xpath:/Teste/parameters
xpath:/Teste/parameters/codEsc
xpath:/Teste/parameters/codTma