Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object Type dont work whith various class #35

Closed
devexsolutions opened this issue Oct 10, 2016 · 0 comments
Closed

Object Type dont work whith various class #35

devexsolutions opened this issue Oct 10, 2016 · 0 comments
Assignees
Labels

Comments

@devexsolutions
Copy link

/**

  • @webmethod
  • @param object $enviarSolicitud @(wrapper[] $CasillaValorWebVO @classname=\GestorRse\Http\Controllers\CasillaValorWebVO) @int=$modelo @(wrapper[] $DocAdjuntoWebVO @classname=\GestorRse\Http\Controllers\DocAdjuntoWebVO) @int=$version @(wrapper $ProcedimientoWebVO @classname=\GestorRse\Http\Controllers\ProcedimientoWebVO)
  • @return string $returnInfo
    */

I need to create a method that has as a parameter an object composed of 1 class, 2 class array and two integer values. But only get the first class described in the method, other values ​​does not recover.
There is a problem as a parameter to define such a complex object?

In wsdl generated, not describe more types than $CasillaValorWebVO:

<definitions xmlns:tns="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller/types" name="WebServiceController" targetNamespace="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller">
<types>
<xsd:schema xmlns="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller/types" targetNamespace="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller/types">
<xsd:complexType name="ArrayOfCasillaValorWebVO">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" soap:arrayType="ns:GestorRseHttpControllersCasillaValorWebVO[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="GestorRseHttpControllersCasillaValorWebVO">
<xsd:sequence>
<xsd:element name="codCasilla" type="xsd:string"/>
<xsd:element name="valor" type="xsd:string"/>
<xsd:element name="valorFecha" type="xsd:datetime"/>
<xsd:element name="valorLogico" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GestorRseHttpControllersCasillaValorWebVO" nillable="true" type="ns:GestorRseHttpControllersCasillaValorWebVO"/>
<xsd:complexType name="EnviarSolicitud">
<xsd:sequence>
<xsd:element name="CasillaValorWebVO" type="ns:ArrayOfCasillaValorWebVO"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="EnviarSolicitud" nillable="true" type="ns:EnviarSolicitud"/>
</xsd:schema>
</types>
<message name="enviarSolicitudRequest">
<part name="enviarSolicitud" element="ns:EnviarSolicitud"/>
</message>
<message name="enviarSolicitudResponse">
<part name="returnInfo" type="xsd:string"/>
</message>
<message name="verificarCodigoORSERequest">
<part name="nif" type="xsd:string"/>
<part name="codigoORSE" type="xsd:string"/>
</message>
<message name="verificarCodigoORSEResponse">
<part name="returnInfo" type="xsd:string"/>
</message>
<portType name="WebServiceControllerPortType">
<operation name="enviarSolicitud">
<input message="tns:enviarSolicitudRequest"/>
<output message="tns:enviarSolicitudResponse"/>
</operation>
<operation name="verificarCodigoORSE">
<input message="tns:verificarCodigoORSERequest"/>
<output message="tns:verificarCodigoORSEResponse"/>
</operation>
</portType>
<binding name="WebServiceControllerBinding" type="tns:WebServiceControllerPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="enviarSolicitud">
<soap:operation soapAction="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller/#enviarSolicitud"/>
<input>
<soap:body use="encoded" namespace="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="verificarCodigoORSE">
<soap:operation soapAction="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller/#verificarCodigoORSE"/>
<input>
<soap:body use="encoded" namespace="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://localhost/gestor_rse/public/servicio/gestorrse/http/controllers/webservicecontroller" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="WebServiceControllerService">
<port name="WebServiceControllerPort" binding="tns:WebServiceControllerBinding">
<soap:address location="http://localhost/gestor_rse/public/servicio"/>
</port>
</service>
</definitions>
@piotrooo piotrooo closed this as completed Apr 7, 2018
@piotrooo piotrooo self-assigned this Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants