You need to sign in to do that
Don't have an account?
Camaleon
WSDL extension apex class.
Hi team,
I have a problem with wsdl generate in salesforce class, the complextype has a extension and in my class generate i do not have this "conversation", how can i do this in wsdl class in apex?
structure wsdl:
I have a problem with wsdl generate in salesforce class, the complextype has a extension and in my class generate i do not have this "conversation", how can i do this in wsdl class in apex?
structure wsdl:
<s:complexType name="PairOfProdutosKeyListaProdutos"> <s:complexContent> <s:extension base="s0:ListaProdutos"> -- here my problem <s:attribute name="ProdutosKey" type="s:string" use="required"/> </s:extension> </s:complexContent> </s:complexType> <s:complexType name="ListaProdutos"> <s:sequence> <s:element minOccurs="0" name="CodigoProduto" type="s:long"/> <s:element minOccurs="0" name="NomeProduto" type="s:string"/> <s:element minOccurs="0" name="Prazo" type="s:long"/> <s:element minOccurs="0" name="Embalagem" type="s:string"/> <s:element minOccurs="0" name="PrecoEntrega" type="s:decimal"/> <s:element minOccurs="0" name="PrecoRetira" type="s:decimal"/> </s:sequence> </s:complexType>
suresh_india found a workaround.
wsdl2apex generated two different classes: try to mix them
https://developer.salesforce.com/forums/?id=906F000000091SrIAI
Does this workaround still work?
Best regards
Alain