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

Problem with Magento API #9

Open
appfabtech opened this issue Oct 10, 2013 · 0 comments
Open

Problem with Magento API #9

appfabtech opened this issue Oct 10, 2013 · 0 comments

Comments

@appfabtech
Copy link

Hello

trying the mwsc with Magento API v2 and get the following error

mwsc -pico -prefix SOAP_ -d generated http://consoleplanet.httdev.it/api/v2_soap?wsdl
parsing WSDL...

11-ott-2013 10.55.58 freemarker.log.JDK14LoggerFactory$JDK14Logger error
GRAVE: Error on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt
method.parameters?first is undefined.
It cannot be assigned to param

Error on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt
method.parameters?first is undefined.
It cannot be assigned to param

The problematic instruction:

==> assignment: param=method.parameters?first [on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt]

Java backtrace for programmers:

freemarker.core.InvalidReferenceException: Error on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt
method.parameters?first is undefined.
It cannot be assigned to param
at freemarker.core.Assignment.accept(Assignment.java:111)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
at freemarker.core.Environment.visit(Environment.java:417)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment.process(Environment.java:190)
at freemarker.template.Template.process(Template.java:237)
at com.leansoft.mxjc.module.FreemarkerProcessor.processTemplate(FreemarkerProcessor.java:68)
at com.leansoft.mxjc.module.FreemarkerProcessor.processTemplate(FreemarkerProcessor.java:85)
at com.leansoft.mwsc.module.AbstractWSClientModule.processTemplate(AbstractWSClientModule.java:97)
at com.leansoft.mwsc.module.AbstractWSClientModule.generateFile(AbstractWSClientModule.java:74)
at com.leansoft.mwsc.module.pico.PicoWSClientModule.generate(PicoWSClientModule.java:83)
at com.leansoft.mwsc.WsimportTool.run(WsimportTool.java:243)
at com.leansoft.mwsc.WsImport.doMain(WsImport.java:32)
at com.leansoft.mwsc.WsImport.main(WsImport.java:14)

Error on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt
method.parameters?first is undefined.
It cannot be assigned to param

The problematic instruction:

==> assignment: param=method.parameters?first [on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt]

Java backtrace for programmers:

freemarker.core.InvalidReferenceException: Error on line 27, column 5 in jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt
method.parameters?first is undefined.
It cannot be assigned to param
at freemarker.core.Assignment.accept(Assignment.java:111)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
at freemarker.core.Environment.visit(Environment.java:417)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment.process(Environment.java:190)
at freemarker.template.Template.process(Template.java:237)
at com.leansoft.mxjc.module.FreemarkerProcessor.processTemplate(FreemarkerProcessor.java:68)
at com.leansoft.mxjc.module.FreemarkerProcessor.processTemplate(FreemarkerProcessor.java:85)
at com.leansoft.mwsc.module.AbstractWSClientModule.processTemplate(AbstractWSClientModule.java:97)
at com.leansoft.mwsc.module.AbstractWSClientModule.generateFile(AbstractWSClientModule.java:74)
at com.leansoft.mwsc.module.pico.PicoWSClientModule.generate(PicoWSClientModule.java:83)
at com.leansoft.mwsc.WsimportTool.run(WsimportTool.java:243)
at com.leansoft.mwsc.WsImport.doMain(WsImport.java:32)
at com.leansoft.mwsc.WsImport.main(WsImport.java:14)
[ERROR] Fail to process template jar:file:/Developer/Projects/HTT-GliStockisti/SOAPTools/mwsc-0.6.0/lib/mwsc-0.6.0.jar!/com/leansoft/mwsc/module/pico/template/client-endpoint-soap-interface.fmt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant