How to craft a response that matches a specification?
I am having some trouble figuring one an aspect of using Ladon.
The documentation and the examples make it clear how to create a service from scratch and I have no questions about that. But I am not sure what the best approach is when there is a WSDL that specifies how the requests and responses should be formed.
For example, please have a look at this sample response: http://
1. must I create a custom data type to be able to include objects such as "MobileUser" into the response?
2. how to ensure that the names of the elements match their counterparts in the SOAP/XML response?
To be more specific, I use a camelCase convention and variables always start with a small letter. In this example, however, the names are different: "UserIdentifier" and "MSISDN" (whereas in my notation they would be "userIdentifier" and "msisdn").
Does this mean that I will have to adjust my coding style to that of the responses? I hope that can be avoided, because there are inconsistencies (ex: "XMLSignature" and "MSS_Signature" - note the underscore) which will affect the uniformity of my own code.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- ladon Edit question
- Assignee:
- jsgaarde Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alex Railean for more information if necessary.