Web service result cannot be parsed by Mendix

0
I am trying to get a web service call to work. So far I'm not successful. The web service I am trying to call is the "login" service for Confluence. The result of the service is a single string element. I know Confluence is used at Mendix as well for the documentation, so I hope you can help me out here. Here is the link to the WSDL: https://imqubator.onconfluence.com/rpc/soap-axis/confluenceservice-v2?wsdl I am calling the "login" action from this WSDL. I had to create a custom body to get it to work. Looking at the trace output in the console, I have noticed that the web service returns the result correctly. Response message received in Tube [ MesageDumpingTube ] Instance [ 1 ] Engine [ Metro/2.1 (branches/2.1-6728; 2011-02-03T14:14:58+0000) JAXWS-RI/2.2.3 JAXWS/2.2: Stub for https://imqubator.onconfluence.com/rpc/soap-axis/confluenceservice-v2 ] Thread [ akka:event-driven:dispatcher:request-dispatching-26 ]: < ?xml version='1.0' encoding='UTF-8'?> < soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> < soapenv:Body> < ns1:loginResponse xmlns:ns1="http://soap.rpc.confluence.atlassian.com" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> < loginReturn xsi:type="xsd:string">fe767172a306869fe562cf30967f4c18b53d5c8f</loginreturn> < /ns1:loginResponse> < /soapenv:Body> < /soapenv:Envelope> But when Mendix tries to parse the result, it fails with the following error message: Web service request login has failed: Could not find element for path part 'https://imqubator.onconfluence.com/rpc/soap-axis/confluenceservice-v2:loginResponse' on path 'https://imqubator.onconfluence.com/rpc/soap-axis/confluenceservice-v2:loginResponse|loginReturn' at oh.a(SourceFile:89) at oh.a(SourceFile:60) at lp.a(SourceFile:121) at lp.a(SourceFile:83) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.executeSync(SourceFile:196) at li.a(SourceFile:70) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.execute(SourceFile:219) at gm.execute(SourceFile:186) at iW.a(SourceFile:304) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:148) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:140) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:138) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:134) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192) I have searched the forum and found this post. Alexander Willemsen gave an answer in this thread, which he later updated with remarks about incorrect processing of actions that return a single string element. Maybe this is the problem? Is it possible to fix this issue by editing the WSDL, just as Alexander suggested in the thread linked above? Or is there something else that I can do to fix this?
asked
0 answers